t0-0 commited on
Commit
5d48846
·
verified ·
1 Parent(s): 1acd9b5

Update src/populate.py

Browse files
Files changed (1) hide show
  1. src/populate.py +1 -0
src/populate.py CHANGED
@@ -24,6 +24,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
24
 
25
  # スコア列を100で割り、.4f形式でフォーマット
26
  df[existing_score_cols] = (df[existing_score_cols] / 100).applymap(lambda x: f'{x:.4f}')
 
27
  df = df[cols].round(decimals=2)
28
 
29
  # filter out if any of the benchmarks have not been produced
 
24
 
25
  # スコア列を100で割り、.4f形式でフォーマット
26
  df[existing_score_cols] = (df[existing_score_cols] / 100).applymap(lambda x: f'{x:.4f}')
27
+ df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
28
  df = df[cols].round(decimals=2)
29
 
30
  # filter out if any of the benchmarks have not been produced