kz-transformers commited on
Commit
408f433
·
verified ·
1 Parent(s): ea0ef47

Update src/leaderboard/build_leaderboard.py

Browse files
src/leaderboard/build_leaderboard.py CHANGED
@@ -72,7 +72,9 @@ def download_openbench():
72
 
73
  def build_leadearboard_df():
74
  # Retrieve the leaderboard DataFrame
75
- with open(f"{os.path.abspath(DATA_PATH)}/leaderboard.json", "r", encoding="utf-8") as eval_file:
 
 
76
  f=json.load(eval_file)
77
  print(f)
78
  df = pd.DataFrame.from_records(f)
 
72
 
73
  def build_leadearboard_df():
74
  # Retrieve the leaderboard DataFrame
75
+ initial_file_path = f"{os.path.abspath(DATA_PATH)}/leaderboard.json"
76
+ print(f'READING INITIAL LB STATE FROM: {initial_file_path}')
77
+ with open(initial_file_path, "r", encoding="utf-8") as eval_file:
78
  f=json.load(eval_file)
79
  print(f)
80
  df = pd.DataFrame.from_records(f)