Spaces:
Running
Running
Harness under model; short notes
Browse files
data/leaderboard.js
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
home.js
CHANGED
|
@@ -8,7 +8,9 @@
|
|
| 8 |
/* Shared cells. */
|
| 9 |
function rowHead(r) {
|
| 10 |
const th = el("th", "rowh");
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
return th;
|
| 13 |
}
|
| 14 |
function heat(td, share, scale, hue) {
|
|
@@ -103,7 +105,7 @@
|
|
| 103 |
if (rec) cc.append(el("small", null, rec));
|
| 104 |
tr.append(cc);
|
| 105 |
const nt = el("td", "l notes");
|
| 106 |
-
if (r.why)
|
| 107 |
flags(r).forEach(([lvl, text]) => nt.append(el("span", "fl fl--" + lvl, text)));
|
| 108 |
tr.append(nt);
|
| 109 |
tb.append(tr);
|
|
|
|
| 8 |
/* Shared cells. */
|
| 9 |
function rowHead(r) {
|
| 10 |
const th = el("th", "rowh");
|
| 11 |
+
const name = el("span", "rn");
|
| 12 |
+
name.append(link(rowPage(r), title(r), "rname"), el("span", "harn", r.agent));
|
| 13 |
+
th.append(el("span", "rk", String(r.rank)), name);
|
| 14 |
return th;
|
| 15 |
}
|
| 16 |
function heat(td, share, scale, hue) {
|
|
|
|
| 105 |
if (rec) cc.append(el("small", null, rec));
|
| 106 |
tr.append(cc);
|
| 107 |
const nt = el("td", "l notes");
|
| 108 |
+
if (r.why) { const w = el("span", "why", r.short || r.why); w.title = r.why; nt.append(w); }
|
| 109 |
flags(r).forEach(([lvl, text]) => nt.append(el("span", "fl fl--" + lvl, text)));
|
| 110 |
tr.append(nt);
|
| 111 |
tb.append(tr);
|
row.js
CHANGED
|
@@ -67,7 +67,8 @@
|
|
| 67 |
const meta = el("p", "row-meta");
|
| 68 |
meta.append(el("span", "harn", r.agent), el("span", null, [r.modelOrg].filter(Boolean).join(" · ")));
|
| 69 |
meta.append(link(r.source, r.pr ? "PR #" + r.pr + " ↗" : "Submission ↗", "ext"));
|
| 70 |
-
r.jobs.forEach(j => meta.append(link("https://hub.harborframework.com/jobs/" + j, "Hub job ↗", "ext")));
|
|
|
|
| 71 |
head.append(meta);
|
| 72 |
if (r.why) head.append(el("p", "why-line", r.why));
|
| 73 |
const probs = problems(r);
|
|
|
|
| 67 |
const meta = el("p", "row-meta");
|
| 68 |
meta.append(el("span", "harn", r.agent), el("span", null, [r.modelOrg].filter(Boolean).join(" · ")));
|
| 69 |
meta.append(link(r.source, r.pr ? "PR #" + r.pr + " ↗" : "Submission ↗", "ext"));
|
| 70 |
+
if (r.jobs.length <= 3) r.jobs.forEach(j => meta.append(link("https://hub.harborframework.com/jobs/" + j, "Hub job ↗", "ext")));
|
| 71 |
+
else meta.append(el("span", null, r.jobs.length + " Hub jobs: each trial links its own"));
|
| 72 |
head.append(meta);
|
| 73 |
if (r.why) head.append(el("p", "why-line", r.why));
|
| 74 |
const probs = problems(r);
|
style.css
CHANGED
|
@@ -131,7 +131,10 @@ details.trials summary .label { font-weight: 650; }
|
|
| 131 |
.grid thead th.sortable { cursor: pointer; } .grid thead th.sortable:hover, .grid thead th.sorted { color: var(--ink); }
|
| 132 |
.grid thead th.sorted::after { content: " ↕"; }
|
| 133 |
.grid tbody tr:hover > * { background-color: color-mix(in srgb, var(--inset) 70%, transparent); }
|
| 134 |
-
.grid .rowh { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; min-width:
|
|
|
|
|
|
|
|
|
|
| 135 |
.grid thead .rowh { z-index: 2; }
|
| 136 |
.rk { display: inline-block; width: 22px; font: 600 12px var(--code-f); color: var(--muted); }
|
| 137 |
.rname { font-weight: 750; text-decoration: none; }
|
|
|
|
| 131 |
.grid thead th.sortable { cursor: pointer; } .grid thead th.sortable:hover, .grid thead th.sorted { color: var(--ink); }
|
| 132 |
.grid thead th.sorted::after { content: " ↕"; }
|
| 133 |
.grid tbody tr:hover > * { background-color: color-mix(in srgb, var(--inset) 70%, transparent); }
|
| 134 |
+
.grid .rowh { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; min-width: 170px; white-space: nowrap; }
|
| 135 |
+
.rowh .rk { vertical-align: top; }
|
| 136 |
+
.rowh .rn { display: inline-block; vertical-align: top; line-height: 1.25; }
|
| 137 |
+
.rowh .rn .harn { display: block; margin-left: 0; }
|
| 138 |
.grid thead .rowh { z-index: 2; }
|
| 139 |
.rk { display: inline-block; width: 22px; font: 600 12px var(--code-f); color: var(--muted); }
|
| 140 |
.rname { font-weight: 750; text-decoration: none; }
|