Skip to content

Commit 3d9ccf4

Browse files
committed
Small fix
1 parent 5bdf361 commit 3d9ccf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

leaderboard.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,14 @@ <h2 id="panel-model-name" class="text-lg font-semibold text-gray-900">Model Resu
480480
const statusFilter = document.getElementById('panel-filter-status').value;
481481
const repoFilter = document.getElementById('panel-filter-repo').value;
482482

483-
// Filter tasks that have results for this model
483+
// Filter tasks that have results for this model AND have trajectory files
484484
let tasks = coopIndex.tasks.filter(task => {
485485
if (!task.results[currentModelKey]) return false;
486486

487+
// Only show tasks with trajectory files
488+
const hasTrajectory = task.hasTrajectory && task.hasTrajectory[currentModelKey];
489+
if (!hasTrajectory) return false;
490+
487491
const result = task.results[currentModelKey];
488492

489493
// Apply filters

0 commit comments

Comments
 (0)