Spaces:
Sleeping
Sleeping
Bazsalanszky
commited on
Commit
•
92b8020
1
Parent(s):
a76b40b
Test
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -162,7 +162,7 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
162 |
print(f"\"{file}\"")
|
163 |
|
164 |
# We should only have json files in model results
|
165 |
-
if len(files) == 0 or any([not f.endswith(".json") for f in files]):
|
166 |
print(f"Skipping {root} as it does not contain any json files")
|
167 |
continue
|
168 |
|
|
|
162 |
print(f"\"{file}\"")
|
163 |
|
164 |
# We should only have json files in model results
|
165 |
+
if len(files) == 0 or not any([not f.endswith(".json") for f in files]):
|
166 |
print(f"Skipping {root} as it does not contain any json files")
|
167 |
continue
|
168 |
|