apsys commited on
Commit
521f99a
·
1 Parent(s): b47b51e

Added result screener + UI format

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +1 -1
src/submission/check_validity.py CHANGED
@@ -84,7 +84,7 @@ def already_submitted_models(requested_models_dir: str) -> set[str]:
84
  current_depth = root.count(os.sep) - requested_models_dir.count(os.sep)
85
  if current_depth == depth:
86
  for file in files:
87
- if not file.endswith(".json"):
88
  continue
89
  with open(os.path.join(root, file), "r") as f:
90
  info = json.load(f)
 
84
  current_depth = root.count(os.sep) - requested_models_dir.count(os.sep)
85
  if current_depth == depth:
86
  for file in files:
87
+ if not file.endswith(".json") or 'toeval' in file:
88
  continue
89
  with open(os.path.join(root, file), "r") as f:
90
  info = json.load(f)