Spaces:
Running
Running
kexinhuang12345
commited on
Commit
•
acffd67
1
Parent(s):
ea92d15
add
Browse files- src/populate.py +1 -0
src/populate.py
CHANGED
@@ -113,6 +113,7 @@ def get_leaderboard_df(EVAL_REQUESTS_PATH, task_type) -> pd.DataFrame:
|
|
113 |
|
114 |
ranks = df_res[list(name2short_name.values())].rank(ascending = ascending)
|
115 |
df_res.rename(columns={'model': 'Model', 'author': 'Author', 'email': 'Email', 'paper_url': 'Paper URL', 'github_url': 'Github URL', 'submitted_time': 'Time'}, inplace=True)
|
|
|
116 |
df_res['Average Rank⬆️'] = ranks.mean(axis=1)
|
117 |
df_res.sort_values(by='Average Rank⬆️', ascending=True, inplace=True)
|
118 |
#df_res = make_bold(df_res, list(name2short_name.values()), ascending = ascending)
|
|
|
113 |
|
114 |
ranks = df_res[list(name2short_name.values())].rank(ascending = ascending)
|
115 |
df_res.rename(columns={'model': 'Model', 'author': 'Author', 'email': 'Email', 'paper_url': 'Paper URL', 'github_url': 'Github URL', 'submitted_time': 'Time'}, inplace=True)
|
116 |
+
df_res.Model.replace('Relbench User Study', 'Human Data Scientist', inplace=True)
|
117 |
df_res['Average Rank⬆️'] = ranks.mean(axis=1)
|
118 |
df_res.sort_values(by='Average Rank⬆️', ascending=True, inplace=True)
|
119 |
#df_res = make_bold(df_res, list(name2short_name.values()), ascending = ascending)
|