Skip to content

Commit 91eabd4

Browse files
committed
Right align cost; add tooltips for oclumn headers
1 parent 3166477 commit 91eabd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/mainResults.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ function renderLeaderboardTable(leaderboard) {
100100
<tr>
101101
<th class="sortable" data-sort="name">Model</th>
102102
<th class="sortable" data-sort="resolved">% Resolved</th>
103-
${isBashOnly ? '<th class="sortable" data-sort="instance_cost">Avg. $</th>' : ''}
103+
${isBashOnly ? '<th class="sortable" data-sort="instance_cost" title="Average cost per task instance in the benchmark">Avg. $</th>' : ''}
104104
<th class="sortable" data-sort="org">Org</th>
105105
<th class="sortable" data-sort="date">Date</th>
106106
${!isBashOnly ? '<th class="sortable" data-sort="site">Site</th>' : ''}
107-
${isBashOnly ? '<th class="sortable" data-sort="release">Release</th>' : ''}
107+
${isBashOnly ? '<th class="sortable" data-sort="release" title="mini-swe-agent release with which the benchmark was run. Click the release to see the release note. Generally, results should be very comparable across releases.">Release</th>' : ''}
108108
</tr>
109109
</thead>
110110
<tbody>
@@ -126,7 +126,7 @@ function renderLeaderboardTable(leaderboard) {
126126
</div>
127127
</td>
128128
<td><span class="number fw-medium text-primary">${parseFloat(item.resolved).toFixed(2)}</span></td>
129-
${isBashOnly ? `<td><span class="number fw-medium text-primary">${item.instance_cost !== null && item.instance_cost !== undefined ? parseFloat(item.instance_cost).toFixed(2) : ''}</span></td>` : ''}
129+
${isBashOnly ? `<td class="text-right"><span class="number fw-medium text-primary">${item.instance_cost !== null && item.instance_cost !== undefined ? parseFloat(item.instance_cost).toFixed(2) : ''}</span></td>` : ''}
130130
<td>
131131
${item.logo && item.logo.length > 0 ? `
132132
<div style="display: flex; align-items: center;">

0 commit comments

Comments
 (0)