Behnamm commited on
Commit
67ece5f
1 Parent(s): 7a40a84

Update src/populate.py

Browse files
Files changed (1) hide show
  1. src/populate.py +2 -0
src/populate.py CHANGED
@@ -13,6 +13,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
13
  raw_data = get_raw_eval_results(results_path, requests_path)
14
  all_data_json = [v.to_dict() for v in raw_data]
15
 
 
 
16
  df = pd.DataFrame.from_records(all_data_json)
17
  print(df)
18
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False) if AutoEvalColumn.average.name in df.columns else df
 
13
  raw_data = get_raw_eval_results(results_path, requests_path)
14
  all_data_json = [v.to_dict() for v in raw_data]
15
 
16
+ print(all_data_json)
17
+
18
  df = pd.DataFrame.from_records(all_data_json)
19
  print(df)
20
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False) if AutoEvalColumn.average.name in df.columns else df