Spaces:
Running
Running
Update index.html
Browse files- index.html +9 -5
index.html
CHANGED
|
@@ -408,6 +408,10 @@
|
|
| 408 |
renderTable();
|
| 409 |
}
|
| 410 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 411 |
// Render Leaderboard Table
|
| 412 |
function renderTable() {
|
| 413 |
const tbody = document.getElementById('leaderboard-body');
|
|
@@ -449,11 +453,11 @@
|
|
| 449 |
</td>
|
| 450 |
<td class="py-3 px-3 text-right text-slate-400">${formatParams(m.params)}</td>
|
| 451 |
<td class="py-3 px-3 text-right font-bold text-brand-400 font-sans text-sm">${m.overall.toFixed(1)}%</td>
|
| 452 |
-
<td class="py-3 px-3 text-right text-slate-300">${(m.scores['AIME 2026'] * 100).toFixed(1)}%</td>
|
| 453 |
-
<td class="py-3 px-3 text-right text-slate-300">${(m.scores['Arc_easy'] * 100).toFixed(1)}%</td>
|
| 454 |
-
<td class="py-3 px-3 text-right text-slate-300">${(m.scores['Arc_challenge'] * 100).toFixed(1)}%</td>
|
| 455 |
-
<td class="py-3 px-3 text-right text-slate-300">${(m.scores['PIQA'] * 100).toFixed(1)}%</td>
|
| 456 |
-
<td class="py-3 px-3 text-right text-slate-300">${(m.scores['HellaSwag'] * 100).toFixed(1)}%</td>
|
| 457 |
<td class="py-3 px-3 text-center">
|
| 458 |
<a href="${m.card_url}" target="_blank" class="text-slate-400 hover:text-brand-400 text-xs transition">
|
| 459 |
<i class="fa-solid fa-arrow-up-right-from-square"></i>
|
|
|
|
| 408 |
renderTable();
|
| 409 |
}
|
| 410 |
|
| 411 |
+
function formatScore(score) {
|
| 412 |
+
return score > 0 ? `${score.toFixed(1)}%` : '-';
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
// Render Leaderboard Table
|
| 416 |
function renderTable() {
|
| 417 |
const tbody = document.getElementById('leaderboard-body');
|
|
|
|
| 453 |
</td>
|
| 454 |
<td class="py-3 px-3 text-right text-slate-400">${formatParams(m.params)}</td>
|
| 455 |
<td class="py-3 px-3 text-right font-bold text-brand-400 font-sans text-sm">${m.overall.toFixed(1)}%</td>
|
| 456 |
+
<td class="py-3 px-3 text-right text-slate-300">${(formatScore(m.scores['AIME 2026'] * 100).toFixed(1))}%</td>
|
| 457 |
+
<td class="py-3 px-3 text-right text-slate-300">${(formatScore(m.scores['Arc_easy'] * 100).toFixed(1))}%</td>
|
| 458 |
+
<td class="py-3 px-3 text-right text-slate-300">${(formatScore(m.scores['Arc_challenge'] * 100).toFixed(1))}%</td>
|
| 459 |
+
<td class="py-3 px-3 text-right text-slate-300">${(formatScore(m.scores['PIQA'] * 100).toFixed(1))}%</td>
|
| 460 |
+
<td class="py-3 px-3 text-right text-slate-300">${(formatScore(m.scores['HellaSwag'] * 100).toFixed(1))}%</td>
|
| 461 |
<td class="py-3 px-3 text-center">
|
| 462 |
<a href="${m.card_url}" target="_blank" class="text-slate-400 hover:text-brand-400 text-xs transition">
|
| 463 |
<i class="fa-solid fa-arrow-up-right-from-square"></i>
|