martinigoyanes commited on
Commit
acbb7be
·
1 Parent(s): 06f9b96
data_agents_benchmark/leaderboard.py CHANGED
@@ -243,7 +243,7 @@ def generate_leaderboard_df(dataset_name: str) -> pd.DataFrame:
243
  # renaming
244
  col_map = {
245
  "agent_name": "Agent",
246
- "all": "Overall Score %",
247
  "1": "Level 1 Accuracy (%)",
248
  "2": "Level 2 Accuracy (%)",
249
  "3": "Level 3 Accuracy (%)",
@@ -260,7 +260,7 @@ def generate_leaderboard_df(dataset_name: str) -> pd.DataFrame:
260
  # processing
261
 
262
  # convert scores to %
263
- df["Overall Score %"] = df["Overall Score %"].apply(lambda x: round(x * 100, 4))
264
  df["Level 1 Accuracy (%)"] = df["Level 1 Accuracy (%)"].apply(lambda x: round(x * 100, 4))
265
  df["Level 2 Accuracy (%)"] = df["Level 2 Accuracy (%)"].apply(lambda x: round(x * 100, 4))
266
  df["Level 3 Accuracy (%)"] = df["Level 3 Accuracy (%)"].apply(lambda x: round(x * 100, 4))
 
243
  # renaming
244
  col_map = {
245
  "agent_name": "Agent",
246
+ "all": "Overall Score (%)",
247
  "1": "Level 1 Accuracy (%)",
248
  "2": "Level 2 Accuracy (%)",
249
  "3": "Level 3 Accuracy (%)",
 
260
  # processing
261
 
262
  # convert scores to %
263
+ df["Overall Score (%)"] = df["Overall Score (%)"].apply(lambda x: round(x * 100, 4))
264
  df["Level 1 Accuracy (%)"] = df["Level 1 Accuracy (%)"].apply(lambda x: round(x * 100, 4))
265
  df["Level 2 Accuracy (%)"] = df["Level 2 Accuracy (%)"].apply(lambda x: round(x * 100, 4))
266
  df["Level 3 Accuracy (%)"] = df["Level 3 Accuracy (%)"].apply(lambda x: round(x * 100, 4))