odunbar commited on
Commit ·
663f796
1
Parent(s): 6aead36
reorder suitability table
Browse files
src/common/leaderboard.py
CHANGED
|
@@ -46,7 +46,10 @@ def _render_suitability_table(
|
|
| 46 |
ratio_threshold: float = 3.0,
|
| 47 |
) -> None:
|
| 48 |
"""Render the method × benchmark suitability grid above the leaderboard controls."""
|
| 49 |
-
benchmarks = sorted(
|
|
|
|
|
|
|
|
|
|
| 50 |
methods = sorted(store["abbreviation"].dropna().unique().tolist())
|
| 51 |
|
| 52 |
target_str = str(float(suitability_target))
|
|
|
|
| 46 |
ratio_threshold: float = 3.0,
|
| 47 |
) -> None:
|
| 48 |
"""Render the method × benchmark suitability grid above the leaderboard controls."""
|
| 49 |
+
benchmarks = sorted(
|
| 50 |
+
store["benchmark"].unique().tolist(),
|
| 51 |
+
key=lambda bm: benchmark_dims[bm][0] if (benchmark_dims and bm in benchmark_dims) else bm,
|
| 52 |
+
)
|
| 53 |
methods = sorted(store["abbreviation"].dropna().unique().tolist())
|
| 54 |
|
| 55 |
target_str = str(float(suitability_target))
|