Spaces:
Sleeping
Sleeping
Clémentine
commited on
Commit
•
e2bf6df
1
Parent(s):
ee8ce53
debug
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -158,8 +158,10 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
158 |
model_result_filepaths = []
|
159 |
|
160 |
for root, _, files in os.walk(results_path):
|
|
|
161 |
# We should only have json files in model results
|
162 |
if len(files) == 0 or any([not f.endswith(".json") for f in files]):
|
|
|
163 |
continue
|
164 |
|
165 |
# Sort the files by date
|
|
|
158 |
model_result_filepaths = []
|
159 |
|
160 |
for root, _, files in os.walk(results_path):
|
161 |
+
print(root, files)
|
162 |
# We should only have json files in model results
|
163 |
if len(files) == 0 or any([not f.endswith(".json") for f in files]):
|
164 |
+
print("Skipping")
|
165 |
continue
|
166 |
|
167 |
# Sort the files by date
|