lixuejing commited on
Commit
838df9b
·
1 Parent(s): b6eb12e

update log

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +3 -0
src/leaderboard/read_evals.py CHANGED
@@ -195,6 +195,9 @@ def get_raw_eval_results(results_path: str, requests_path: str, dynamic_path: st
195
 
196
  for root, _, files in os.walk(results_path):
197
  print("root",root, "files",files)
 
 
 
198
  # We should only have json files in model results
199
  if len(files) == 0 or any([not f.endswith(".json") for f in files]):
200
  continue
 
195
 
196
  for root, _, files in os.walk(results_path):
197
  print("root",root, "files",files)
198
+ print(len(files) == 0 , any([not f.endswith(".json") for f in files]))
199
+ for f in files:
200
+ print("f end with json",f, f.endswith(".json"))
201
  # We should only have json files in model results
202
  if len(files) == 0 or any([not f.endswith(".json") for f in files]):
203
  continue