Update src/populate.py
Browse files- src/populate.py +2 -2
src/populate.py
CHANGED
@@ -17,12 +17,12 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
17 |
# df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
18 |
# df = df.sort_values(by=[AutoEvalColumn.task5.name], ascending=True)
|
19 |
|
20 |
-
df[AutoEvalColumn.
|
21 |
np.stack(
|
22 |
np.array(df[AutoEvalColumn.task2.name].values)
|
23 |
).squeeze()
|
24 |
)
|
25 |
-
df[AutoEvalColumn.
|
26 |
np.stack(
|
27 |
np.array(df[AutoEvalColumn.task3.name].values)
|
28 |
).squeeze()
|
|
|
17 |
# df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
18 |
# df = df.sort_values(by=[AutoEvalColumn.task5.name], ascending=True)
|
19 |
|
20 |
+
df[AutoEvalColumn.task2.name] = pd.Series(
|
21 |
np.stack(
|
22 |
np.array(df[AutoEvalColumn.task2.name].values)
|
23 |
).squeeze()
|
24 |
)
|
25 |
+
df[AutoEvalColumn.task3.name] = pd.Series(
|
26 |
np.stack(
|
27 |
np.array(df[AutoEvalColumn.task3.name].values)
|
28 |
).squeeze()
|