Spaces:
Running
Running
[email protected]
commited on
Commit
·
f4362fc
1
Parent(s):
1708c18
update
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -159,6 +159,8 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
159 |
model_result_filepaths = []
|
160 |
print(results_path)
|
161 |
for root, _, files in os.walk(results_path):
|
|
|
|
|
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 |
continue
|
|
|
159 |
model_result_filepaths = []
|
160 |
print(results_path)
|
161 |
for root, _, files in os.walk(results_path):
|
162 |
+
print(root)
|
163 |
+
print(files)
|
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 |
continue
|