Spaces:
Runtime error
Runtime error
Commit
·
128985f
1
Parent(s):
a1984af
Test
Browse files
src/leaderboard/read_evals.py
CHANGED
|
@@ -174,7 +174,8 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
| 174 |
files = [files[-1]]
|
| 175 |
|
| 176 |
for file in files:
|
| 177 |
-
|
|
|
|
| 178 |
|
| 179 |
eval_results = {}
|
| 180 |
for model_result_filepath in model_result_filepaths:
|
|
|
|
| 174 |
files = [files[-1]]
|
| 175 |
|
| 176 |
for file in files:
|
| 177 |
+
if file.endswith(".json"):
|
| 178 |
+
model_result_filepaths.append(os.path.join(root, file))
|
| 179 |
|
| 180 |
eval_results = {}
|
| 181 |
for model_result_filepath in model_result_filepaths:
|