Spaces:
Runtime error
Runtime error
Commit
·
a39a98e
1
Parent(s):
9c0c2d6
Test commit
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -159,6 +159,7 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
159 |
for root, _, files in os.walk(results_path):
|
160 |
# We should only have json files in model results
|
161 |
if len(files) == 0 or any([not f.endswith(".json") for f in files]):
|
|
|
162 |
continue
|
163 |
|
164 |
# Sort the files by date
|
|
|
159 |
for root, _, files in os.walk(results_path):
|
160 |
# We should only have json files in model results
|
161 |
if len(files) == 0 or any([not f.endswith(".json") for f in files]):
|
162 |
+
print(f"Skipping {root} as it does not contain any json files")
|
163 |
continue
|
164 |
|
165 |
# Sort the files by date
|