ai-forever commited on
Commit
c04507d
·
verified ·
1 Parent(s): 7d9acaa

Update leaderboard display

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -427,7 +427,7 @@ def create_category_df(df, category, retrieval_col, generation_col):
427
  category_df = df.copy()
428
 
429
  # Calculate total score for this category
430
- category_df[f'Score'] = category_df[retrieval_col] + category_df[generation_col]
431
 
432
  # Sort by total score
433
  category_df = category_df.sort_values(f'Score', ascending=False)
 
427
  category_df = df.copy()
428
 
429
  # Calculate total score for this category
430
+ category_df[f'Score'] = (category_df[retrieval_col] + category_df[generation_col]).round(4)
431
 
432
  # Sort by total score
433
  category_df = category_df.sort_values(f'Score', ascending=False)