yibum commited on
Commit
1d1e9b6
1 Parent(s): f4017ee

update default sort logic

Browse files
Files changed (1) hide show
  1. src/populate.py +1 -1
src/populate.py CHANGED
@@ -60,7 +60,7 @@ def get_leaderboard_df_crm(
60
  )
61
 
62
  leaderboard_accuracy_df = leaderboard_accuracy_df.sort_values(
63
- by=[AutoEvalColumn.accuracy_metric_average.name], ascending=False
64
  )
65
  leaderboard_accuracy_df = leaderboard_accuracy_df[accuracy_cols].round(decimals=2)
66
  return leaderboard_accuracy_df
 
60
  )
61
 
62
  leaderboard_accuracy_df = leaderboard_accuracy_df.sort_values(
63
+ by=[AutoEvalColumn.use_case_name.name, AutoEvalColumn.accuracy_metric_average.name], ascending=[True, False]
64
  )
65
  leaderboard_accuracy_df = leaderboard_accuracy_df[accuracy_cols].round(decimals=2)
66
  return leaderboard_accuracy_df