FredericFan Claude Opus 4.6 commited on
Commit
e8782bc
ยท
1 Parent(s): bf70dba

Fix leaderboard header colors and update paper/code URLs

Browse files

Lighten table header backgrounds for better readability and add
actual arxiv/GitHub links in place of placeholder '#' hrefs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (2) hide show
  1. create_leaderboard.py +2 -2
  2. tabs/leaderboard_tab.py +4 -4
create_leaderboard.py CHANGED
@@ -92,8 +92,8 @@ with gr.Blocks(title="M3-Bench Leaderboard") as demo:
92
  </div>
93
  <div class="intro-block">
94
  Evaluating LLMs through game-theoretic interactions across 4 difficulty levels and 3 evaluation views.<br>
95
- <a href="#" target="_blank">๐Ÿ“„ Paper</a> |
96
- <a href="#" target="_blank">๐Ÿ’ป Code</a> |
97
  <a href="#" target="_blank">๐ŸŒ Website</a>
98
  <br>
99
  <span class="info-badge">๐Ÿค– Models: {model_count}</span>
 
92
  </div>
93
  <div class="intro-block">
94
  Evaluating LLMs through game-theoretic interactions across 4 difficulty levels and 3 evaluation views.<br>
95
+ <a href="https://arxiv.org/abs/2601.08462" target="_blank">๐Ÿ“„ Paper</a> |
96
+ <a href="https://github.com/FredericVAN/PKU_M3Bench" target="_blank">๐Ÿ’ป Code</a> |
97
  <a href="#" target="_blank">๐ŸŒ Website</a>
98
  <br>
99
  <span class="info-badge">๐Ÿค– Models: {model_count}</span>
tabs/leaderboard_tab.py CHANGED
@@ -94,7 +94,7 @@ def make_ranked_html(df: pd.DataFrame, sort_col: str = "Overall") -> str:
94
  font-size: 14px;
95
  }
96
  .lb-table th {
97
- background: #1a1a2e;
98
  color: #fff;
99
  padding: 10px 8px;
100
  text-align: center;
@@ -104,7 +104,7 @@ def make_ranked_html(df: pd.DataFrame, sort_col: str = "Overall") -> str:
104
  z-index: 10;
105
  }
106
  .lb-table th.group-header {
107
- border-bottom: 2px solid #16213e;
108
  }
109
  .lb-table td {
110
  padding: 8px 8px;
@@ -153,7 +153,7 @@ def make_ranked_html(df: pd.DataFrame, sort_col: str = "Overall") -> str:
153
  html += '<th style="width:50px">Rank</th>'
154
  html += '<th style="text-align:left;width:180px">Model</th>'
155
  html += '<th style="width:80px">Category</th>'
156
- html += '<th style="width:70px;background:#16213e">Overall</th>'
157
 
158
  level_groups = [
159
  ("Level 1", ["PD", "SH", "UG"]),
@@ -171,7 +171,7 @@ def make_ranked_html(df: pd.DataFrame, sort_col: str = "Overall") -> str:
171
  # Second header row with group labels
172
  html += "<tr>"
173
  html += '<th colspan="4"></th>'
174
- colors = ["#2a2a4a", "#2a3a2a", "#3a2a2a", "#2a2a3a", "#1a1a2e"]
175
  for i, (name, cols) in enumerate(level_groups):
176
  html += f'<th colspan="{len(cols)}" class="group-header" style="background:{colors[i]};font-size:12px">{name}</th>'
177
  html += "</tr></thead>"
 
94
  font-size: 14px;
95
  }
96
  .lb-table th {
97
+ background: #4a6fa5;
98
  color: #fff;
99
  padding: 10px 8px;
100
  text-align: center;
 
104
  z-index: 10;
105
  }
106
  .lb-table th.group-header {
107
+ border-bottom: 2px solid #3a5f95;
108
  }
109
  .lb-table td {
110
  padding: 8px 8px;
 
153
  html += '<th style="width:50px">Rank</th>'
154
  html += '<th style="text-align:left;width:180px">Model</th>'
155
  html += '<th style="width:80px">Category</th>'
156
+ html += '<th style="width:70px;background:#3a5f95">Overall</th>'
157
 
158
  level_groups = [
159
  ("Level 1", ["PD", "SH", "UG"]),
 
171
  # Second header row with group labels
172
  html += "<tr>"
173
  html += '<th colspan="4"></th>'
174
+ colors = ["#5b7fb5", "#5b8f5b", "#8f5b5b", "#5b5b8f", "#4a6fa5"]
175
  for i, (name, cols) in enumerate(level_groups):
176
  html += f'<th colspan="{len(cols)}" class="group-header" style="background:{colors[i]};font-size:12px">{name}</th>'
177
  html += "</tr></thead>"