lvwerra HF Staff commited on
Commit
0d500b4
·
verified ·
1 Parent(s): 3da4cc3

Leaderboard: drop neg/SOTA tags from method column

Browse files
Files changed (1) hide show
  1. static/index.html +1 -14
static/index.html CHANGED
@@ -205,15 +205,6 @@
205
  .lb-table tr.baseline-row { color: var(--muted-2); }
206
  .lb-table tr.baseline-row .agent,
207
  .lb-table tr.baseline-row .desc { color: var(--muted-2); }
208
- .lb-table .tag {
209
- display: inline-block;
210
- font-size: 9px; font-weight: 500; letter-spacing: 1px;
211
- text-transform: uppercase;
212
- padding: 1px 5px; margin-left: 6px;
213
- border: 1px solid var(--border);
214
- color: var(--muted-2);
215
- border-radius: 2px;
216
- }
217
 
218
  /* --- Messages (right column) --- */
219
  /* Sticky chat that fills the available viewport height.
@@ -1054,20 +1045,16 @@ function renderLeaderboard(entries) {
1054
  const rank = i + 1;
1055
  const isBest = e === bestAgent; // highlight the best agent-run, not the SOTA baseline
1056
  const isBaseline = e.status === 'baseline' || e.agent === 'baseline';
1057
- const isNegative = e.status === 'negative';
1058
  const tr = document.createElement('tr');
1059
  if (isBest) tr.classList.add('best');
1060
  if (isBaseline) tr.classList.add('baseline-row');
1061
- const tag = isBaseline ? '<span class="tag">SOTA</span>'
1062
- : isNegative ? '<span class="tag">neg</span>'
1063
- : '';
1064
  const d = new Date(e.date);
1065
  const dateStr = d.toLocaleDateString('en-US', { year: '2-digit', month: 'short', day: 'numeric' });
1066
  tr.innerHTML = `
1067
  <td>${rank}</td>
1068
  <td class="num bytes">${e.score.toLocaleString()}</td>
1069
  <td class="num">${escapeHtml(e.bpc || '')}</td>
1070
- <td>${escapeHtml(e.method || '')}${tag}</td>
1071
  <td class="agent">${escapeHtml(e.agent)}</td>
1072
  <td class="desc">${escapeHtml(e.run || '')}</td>
1073
  <td>${dateStr}</td>
 
205
  .lb-table tr.baseline-row { color: var(--muted-2); }
206
  .lb-table tr.baseline-row .agent,
207
  .lb-table tr.baseline-row .desc { color: var(--muted-2); }
 
 
 
 
 
 
 
 
 
208
 
209
  /* --- Messages (right column) --- */
210
  /* Sticky chat that fills the available viewport height.
 
1045
  const rank = i + 1;
1046
  const isBest = e === bestAgent; // highlight the best agent-run, not the SOTA baseline
1047
  const isBaseline = e.status === 'baseline' || e.agent === 'baseline';
 
1048
  const tr = document.createElement('tr');
1049
  if (isBest) tr.classList.add('best');
1050
  if (isBaseline) tr.classList.add('baseline-row');
 
 
 
1051
  const d = new Date(e.date);
1052
  const dateStr = d.toLocaleDateString('en-US', { year: '2-digit', month: 'short', day: 'numeric' });
1053
  tr.innerHTML = `
1054
  <td>${rank}</td>
1055
  <td class="num bytes">${e.score.toLocaleString()}</td>
1056
  <td class="num">${escapeHtml(e.bpc || '')}</td>
1057
+ <td>${escapeHtml(e.method || '')}</td>
1058
  <td class="agent">${escapeHtml(e.agent)}</td>
1059
  <td class="desc">${escapeHtml(e.run || '')}</td>
1060
  <td>${dateStr}</td>