Spaces:
Running
Running
Added result screener + UI format
Browse files
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)
|