Spaces:
Running
Running
Split: leaderboard (waffle, scores, leads), accounting (trace completeness, models, history, cost), recording detail
Browse filesFiles changed (2)
- home.js+70-78
- index.html+20-14
63 unmodified lines64656667686970711 unmodified line737475767778798081828384858687888 unmodified lines97989910010110210310410510610710810910 unmodified lines12012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421584 unmodified lines30030130230330463 unmodified linesconst leadsOnly = $("leads-only");const SORTS = {rank: r => r.rank, score: r => -r.lb.accuracy, adj: r => -r.scan.adjusted.accuracy, leads: r => -r.scan.leads,hidden: r => -((r.scan.holes.tokens.mix || {}).hidden || 0),cost: r => -(r.scan.holes.cost.estimate || 0),};function board() {const cols = [1 unmodified line{ name: hasLb ? "Leaderboard" : "Score", sort: "score", help: hasLb ? "published accuracy ± 95% half-width" : "rewarded trials ± 95% half-width over the five attempt rounds" },{ name: "Our estimate", sort: "adj", help: ESTIMATE_HELP },{ name: "Leads", sort: "leads", help: "rewarded trials with an unexcused high or critical finding" },{ name: "Output tokens · trace completeness", sort: "hidden", cls: "l", help: "the row's output tokens: tool calls, messages and reasoning with text in the trace, and (orange) output with no text in it. The figure is the share the trace holds." },{ name: "Why not in trace", help: "why some output tokens have no text in the trace" },{ name: "Cost", sort: "cost", help: "our estimate: recorded trial costs, uncosted trials priced from their tokens at the row's own fitted rates, and any reasoning left out of the output tokens" },{ name: "Notes", cls: "l" },];const t = $("board");t.replaceChildren(headRow(cols, "Model · harness"));const tb = el("tbody");D.rows.slice().sort((a, b) => sortDir * (SORTS[sortKey](a) - SORTS[sortKey](b)) || a.rank - b.rank).forEach(r => {const h = r.scan.holes, tr = el("tr"), adj = r.scan.adjusted;tr.append(rowHead(r));const s = el("td", "l"); s.append(strip(r, { leadsOnly: leadsOnly.checked })); tr.append(s);const sc = el("td"); sc.append(num(fmt1(r.lb.accuracy), "n big"), el("span", "pm", "±" + fmt1(r.lb.ci95)));8 unmodified linesif (r.scan.leads) ld.append(link(rowPath(r) + "highlights/index.html", String(r.scan.leads), "n big hot"));else ld.append(el("span", "z", "0"));tr.append(ld);const oc = el("td", "l"); oc.append(mixBar(h.tokens)); tr.append(oc);const rz = el("td", "rz rz--" + h.text.why, RZ[h.text.why]); rz.title = RZ_HELP[h.text.why]; tr.append(rz);const c = h.cost, cc = el("td");cc.append(num(c.estimate === null ? "–" : (c.lowerBound ? "≥" : "") + money(c.estimate), "n"));const rec = hasLb && r.lb.cost !== null ? "LB " + money(r.lb.cost) : c.imputed || c.unbilled ? "rec. " + money(c.recorded) : "";if (rec) cc.append(el("small", null, rec));tr.append(cc);const nt = el("td", "l notes");if (r.why) { const w = el("span", "why", r.short || r.why); w.title = r.why; nt.append(w); }flags(r).forEach(([lvl, text]) => nt.append(el("span", "fl fl--" + lvl, text)));10 unmodified lines}leadsOnly.addEventListener("change", board);/* 2. Gaps & accounting: what the traces hold and what the trials cost, each analysis once. */function gaps() {const groups = [["Models", [["Served, by share of steps", "l", "per-step model names; red: another model than the configured one"]]],["Output tokens · trace completeness", [["Median trial", "", "reported output tokens of the median trial"],["In trace", "", "share of the row's output tokens whose text the trace holds"],["No text", "", "share with no text in the trace: generated and billed, not readable"],["Why", "l", "why that output has no text in the trace"],["Basis", "l", "counted: the harness reports reasoning tokens; inferred: from the recorded text at ≈3.2 characters per token"],["Undercounted", "", "the reverse: recorded reasoning text the reported output tokens leave out (and so the cost), as a share of reported output"]]],["Web", [["Trials using it", "", "trials that searched or opened web pages"],["Results not in trace", "", "of those, trials where the search or fetch results aren't in the trace (only the query or URL is)"]]],["History", [["Compacted", "", "trials whose history was compacted into a summary: earlier steps aren't in the trace"],["No trajectory", "", "listed trials without a trajectory"]]],["Cost", [["Recorded", "", "sum of the trials' recorded costs"],["Our estimate", "", "recorded + uncosted trials priced from their tokens + undercounted reasoning, at the row's fitted rates"],["Fitted $/M in · cached · out", "", "rates fitted to the row's own trial costs and tokens (R² shown on hover)"]]],["Evidence", [["Undecided", "", "trials with a behavioural check atif-scan couldn't decide"]]],];const g = el("tr", "groups"), hr = el("tr");g.append(el("th", "rowh", ""));hr.append(el("th", "rowh", "Row"));groups.forEach(([name, cols], i) => {const th = el("th", "grp" + (i ? " gstart" : ""), name); th.colSpan = cols.length; g.append(th);cols.forEach(([cname, cls, help], j) => {const c = el("th", (cls || "") + (j === 0 && i ? " gstart" : ""), cname); c.title = help; hr.append(c);});});const thead = el("thead"); thead.append(g, hr);const t = $("gaps-table");t.replaceChildren(thead);const tb = el("tbody");const start = td => { td.classList.add("gstart"); return td; };D.rows.forEach(r => {const h = r.scan.holes, n = r.scan.trials, m = h.models, tk = h.tokens, c = h.cost, tr = el("tr");tr.append(rowHead(r));const md = el("td", "l models-cell" + (m.mismatch && !m.alias ? " bad" : ""));m.served.filter(x => x.share >= 0.005).slice(0, 3).forEach(x =>md.append(el("span", x.configured || m.alias ? "mdl" : "mdl off", shortModel(x.model) + (m.served.length > 1 ? " " + pct0(x.share) : ""))));if (m.foreignTrials) md.append(link(holeHref(r, "foreign"), m.foreignTrials + " trials", "mlink"));tr.append(start(md));tr.append(start(el("td", "n", tk.outputMedian ? compactN(tk.outputMedian) : "–")));tr.append(el("td", "n", tk.mix ? pct0(1 - tk.mix.hidden) : "–"));const hid = el("td", "n");if (tk.mix) {heat(hid, tk.mix.hidden, 1, "warm");hid.append(link(holeHref(r, "unseen"), pct0(tk.mix.hidden)));} else hid.append(el("span", "z", "–"));tr.append(hid);const why = el("td", "l rz rz--" + h.text.why, RZ[h.text.why]); why.title = RZ_HELP[h.text.why]; tr.append(why);tr.append(el("td", "l small", tk.mix ? (tk.measured ? "counted" : "inferred") : "–"));const ub = el("td", "c");if (h.text.uncounted) ub.append(link(holeHref(r, "uncounted"), "≥" + pct0(h.text.uncounted), "bad"));else ub.append(el("span", "z", "·"));tr.append(ub);tr.append(start(el("td", "n" + (h.webTrials ? "" : " z"), h.webTrials ? String(h.webTrials) : "·")));tr.append(h.webTrials ? countCell(r, "webUnrecorded", h.webUnrecorded, n, { of: h.webTrials, scale: 1, help: "results not in the trace / trials using the web" }) : el("td", "c z", "·"));tr.append(start(countCell(r, "compacted", h.compacted, n, { scale: 0.2 })));tr.append(countCell(r, "noTrajectory", h.noTrajectory, n, { scale: 0.2 }));tr.append(start(el("td", "n", money(c.recorded))));const est = el("td", "n" + (c.estimate && c.estimate > c.recorded * 1.02 ? " bad" : ""));est.append(document.createTextNode(c.estimate === null ? "–" : (c.lowerBound ? "≥" : "") + money(c.estimate)));if (c.imputedTrials || c.unbilled || c.unpriced) {const parts = [];if (c.imputedTrials) parts.push("+" + money(c.imputed) + " " + c.imputedTrials + " priced");if (c.unbilled) parts.push("+" + money(c.unbilled) + " undercounted");if (c.unpriced) parts.push(c.unpriced + " unpriced");est.append(el("small", null, parts.join(" · ")));}tr.append(est);const rt = el("td", "n small");if (c.rates) { rt.textContent = [c.rates.uncached, c.rates.cached, c.rates.output].map(v => v.toFixed(2)).join(" · "); rt.title = "R² " + c.rates.r2; }else rt.append(el("span", "z", "–"));tr.append(rt);const und = el("td", "n", String(h.evidenceIncomplete)); heat(und, h.evidenceIncomplete / n, 1.5, "cool");tr.append(start(und));tb.append(tr);});t.append(tb);}/* 3. Findings by family: a dot per family, its area the share of trials; filled when some were rewarded. */function families() {const keys = Object.keys(D.categories).filter(k => D.rows.some(r => (r.scan.categories[k] || {}).trials));const t = $("families-table");84 unmodified linesnotes.append(el("dt", null, r.agent), el("dd", null, note));});board(); gaps(); families(); checks();})();63 unmodified lines6465666768691 unmodified line717273747576777879808182838 unmodified lines92939495969710 unmodified lines10810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620784 unmodified lines29229329429529663 unmodified linesconst leadsOnly = $("leads-only");const SORTS = {rank: r => r.rank, score: r => -r.lb.accuracy, adj: r => -r.scan.adjusted.accuracy, leads: r => -r.scan.leads,};function board() {const cols = [1 unmodified line{ name: hasLb ? "Leaderboard" : "Score", sort: "score", help: hasLb ? "published accuracy ± 95% half-width" : "rewarded trials ± 95% half-width over the five attempt rounds" },{ name: "Our estimate", sort: "adj", help: ESTIMATE_HELP },{ name: "Leads", sort: "leads", help: "rewarded trials with an unexcused high or critical finding" },{ name: "Notes", cls: "l" },];const t = $("board");t.replaceChildren(headRow(cols, "Model · harness"));const tb = el("tbody");D.rows.slice().sort((a, b) => sortDir * (SORTS[sortKey](a) - SORTS[sortKey](b)) || a.rank - b.rank).forEach(r => {const tr = el("tr"), adj = r.scan.adjusted;tr.append(rowHead(r));const s = el("td", "l"); s.append(strip(r, { leadsOnly: leadsOnly.checked })); tr.append(s);const sc = el("td"); sc.append(num(fmt1(r.lb.accuracy), "n big"), el("span", "pm", "±" + fmt1(r.lb.ci95)));8 unmodified linesif (r.scan.leads) ld.append(link(rowPath(r) + "highlights/index.html", String(r.scan.leads), "n big hot"));else ld.append(el("span", "z", "0"));tr.append(ld);const nt = el("td", "l notes");if (r.why) { const w = el("span", "why", r.short || r.why); w.title = r.why; nt.append(w); }flags(r).forEach(([lvl, text]) => nt.append(el("span", "fl fl--" + lvl, text)));10 unmodified lines}leadsOnly.addEventListener("change", board);/* A table with grouped column heads; cells(r) returns one cell per column, in order. */function grouped(id, groups, cells) {const g = el("tr", "groups"), hr = el("tr"), first = new Set();g.append(el("th", "rowh", ""));hr.append(el("th", "rowh", "Model · harness"));let n = 0;groups.forEach(([name, cols], i) => {const th = el("th", "grp" + (i ? " gstart" : ""), name); th.colSpan = cols.length; g.append(th);if (i) first.add(n);cols.forEach(([cname, cls, help], j) => {const c = el("th", (cls || "") + (j === 0 && i ? " gstart" : ""), cname); c.title = help; hr.append(c); n++;});});const thead = el("thead"); thead.append(g, hr);const t = $(id);t.replaceChildren(thead);const tb = el("tbody");D.rows.forEach(r => {const tr = el("tr");tr.append(rowHead(r));cells(r).forEach((td, k) => { if (first.has(k)) td.classList.add("gstart"); tr.append(td); });tb.append(tr);});t.append(tb);}const zero = (cls, v) => el("td", cls + " z", v || "·");/* 2. Accounting: where the output tokens went, what ran, what's missing, what it cost. */function accounting() {grouped("acct-table", [["Output tokens", [["Trace completeness", "l", "the row's output tokens: tool calls, messages and reasoning with text in the trace, and (orange) output with no text in it; the figure is the share the trace holds"],["Why not in trace", "l", "why some output tokens have no text in the trace"],["Median trial", "", "reported output tokens of the median trial"]]],["Models", [["Served, by share of steps", "l", "per-step model names; red: another model than the configured one"]]],["History", [["Compacted", "", "trials whose history was compacted into a summary: earlier steps aren't in the trace"],["No trajectory", "", "listed trials without a trajectory"]]],["Cost", [...(hasLb ? [["Leaderboard", "", "the leaderboard's total"]] : []),["Recorded", "", "sum of the trials' recorded costs"],["Our estimate", "", "recorded + uncosted trials priced from their tokens + undercounted reasoning, at the row's fitted rates; ≥ where some trials can't be priced"]]],], r => {const h = r.scan.holes, n = r.scan.trials, m = h.models, tk = h.tokens, c = h.cost;const bar = el("td", "l"); bar.append(mixBar(tk));const why = el("td", "l rz rz--" + h.text.why, RZ[h.text.why]); why.title = RZ_HELP[h.text.why];const md = el("td", "l models-cell" + (m.mismatch && !m.alias ? " bad" : ""));m.served.filter(x => x.share >= 0.005).slice(0, 3).forEach(x =>md.append(el("span", x.configured || m.alias ? "mdl" : "mdl off", shortModel(x.model) + (m.served.length > 1 ? " " + pct0(x.share) : ""))));if (m.foreignTrials) md.append(link(holeHref(r, "foreign"), m.foreignTrials + " trials", "mlink"));const est = el("td", "n" + (c.estimate && c.estimate > c.recorded * 1.02 ? " bad" : ""));est.append(document.createTextNode(c.estimate === null ? "–" : (c.lowerBound ? "≥" : "") + money(c.estimate)));const parts = [];if (c.imputedTrials) parts.push("+" + money(c.imputed) + " " + c.imputedTrials + " priced");if (c.unbilled) parts.push("+" + money(c.unbilled) + " undercounted");if (c.unpriced) parts.push(c.unpriced + " unpriced");if (parts.length) est.append(el("small", null, parts.join(" · ")));return [bar, why, el("td", "n", tk.outputMedian ? compactN(tk.outputMedian) : "–"), md,countCell(r, "compacted", h.compacted, n, { scale: 0.2 }), countCell(r, "noTrajectory", h.noTrajectory, n, { scale: 0.2 }),...(hasLb ? [el("td", "n", r.lb.cost === null ? "–" : money(r.lb.cost))] : []),el("td", "n", money(c.recorded)), est];});}/* 3. Recording detail: how the accounting is known, and gaps that limit the checks. */function detail() {grouped("gaps-table", [["Output tokens", [["Basis", "l", "counted: the harness reports reasoning tokens; inferred: from the recorded text at ≈3.2 characters per token"],["Text per token", "", "recorded characters per reported output token: ≈3.2 when the trace holds everything"],["Undercounted", "", "recorded reasoning text the reported output tokens leave out (and so the cost), as a share of reported output"]]],["Web", [["Trials using it", "", "trials that searched or opened web pages"],["Results not in trace", "", "of those, trials where the search or fetch results aren't in the trace (only the query or URL is)"]]],["Cost", [["Fitted $/M in · cached · out", "", "rates fitted to the row's own trial costs and tokens (R² on hover); used to price uncosted trials"]]],["Evidence", [["Undecided", "", "trials with a behavioural check atif-scan couldn't decide"]]],], r => {const h = r.scan.holes, n = r.scan.trials, tk = h.tokens, c = h.cost;const ub = el("td", "c");if (h.text.uncounted) ub.append(link(holeHref(r, "uncounted"), "≥" + pct0(h.text.uncounted), "bad"));else ub.append(el("span", "z", "·"));const rt = el("td", "n small");if (c.rates) { rt.textContent = [c.rates.uncached, c.rates.cached, c.rates.output].map(v => v.toFixed(2)).join(" · "); rt.title = "R² " + c.rates.r2; }else rt.append(el("span", "z", "–"));const und = el("td", "n", String(h.evidenceIncomplete)); heat(und, h.evidenceIncomplete / n, 1.5, "cool");return [el("td", "l small", tk.mix ? (tk.measured ? "counted" : "inferred") : "–"),el("td", "n", h.text.allCpt === null || h.text.allCpt === undefined ? "–" : String(h.text.allCpt)), ub,h.webTrials ? el("td", "n", String(h.webTrials)) : zero("n"),h.webTrials ? countCell(r, "webUnrecorded", h.webUnrecorded, n, { of: h.webTrials, scale: 1, help: "results not in the trace / trials using the web" }) : zero("c"),rt, und];});}/* 4. Findings by family: a dot per family, its area the share of trials; filled when some were rewarded. */function families() {const keys = Object.keys(D.categories).filter(k => D.rows.some(r => (r.scan.categories[k] || {}).trials));const t = $("families-table");84 unmodified linesnotes.append(el("dt", null, r.agent), el("dd", null, note));});board(); accounting(); detail(); families(); checks();})();
18 unmodified lines192021222324258 unmodified lines3435363738394011 unmodified lines52535455565758596061626364656667686970717218 unmodified lines<a class="brand" href="index.html"><span class="wordmark">TB2.1</span><span class="product">annotated</span></a><nav class="topnav"><a href="#leaderboard">Leaderboard</a><a href="#gaps">Gaps</a><a href="#checks">Checks</a><a href="#about">Method</a><a href="https://huggingface.co/spaces/evalstate/tb21-submissions-annotated">Submissions ↗</a>8 unmodified linesSubmissions that never made the board: <a href="https://huggingface.co/spaces/evalstate/tb21-submissions-annotated">TB2.1 submissions, annotated</a>.</p></section><nav class="subnav" aria-label="Sections"><a href="#leaderboard">Leaderboard</a><a href="#gaps">Gaps & accounting</a><a href="#families">Findings by family</a><a href="#checks">Checks × rows</a><a href="#about">Method</a></nav>11 unmodified lines<i class="sq sq--0 sq--nt"></i>no trajectory <i class="sq sq--1 sq--fb"></i>fallback model in the trial ·corner: highest finding <i class="sq sq--1 sq--c"></i>critical <i class="sq sq--1 sq--h"></i>high <i class="sq sq--1 sq--m"></i>medium<br><b>Our estimate</b> leaves out rewarded trials with an unexcused high or critical finding (review leads) and trials partly run by afallback model (a Gemini preview name served as another Gemini preview is an alias, not a fallback).<b>Trace completeness</b>: the row's output tokens as <i class="mx mx--tool"></i>tool calls <i class="mx mx--message"></i>messages<i class="mx mx--reasoning"></i>reasoning, all with text in the trace, and <i class="mx mx--hidden"></i>no text in the trace(generated and billed, not readable); the figure is the share the trace holds. <b>Cost</b>: recorded trial costs, uncosted trials priced from their tokens at the row's ownrates, and reasoning left out of the output tokens; ≥ where some trials can't be priced (no usage, or no rates that fit the recorded costs).</p></section><section id="gaps" class="block"><header class="block-head"><h2>Gaps & accounting</h2><span class="muted small">trials per row unless marked · shading is the share · click a figure for its trials</span></header><p class="explain-line">Every output token is accounted for: text in the trace (<b>In trace</b>) or not (<b>No text</b>: inpractice reasoning, never web results, which are input). <b>Why</b>: withheld by the model's provider, not kept by theharness, lost converting its session files, or only a summary returned. <b>Basis</b>: counted where the harness reportsreasoning tokens, otherwise inferred from the recorded characters (≈3.2 per token when the trace holds everything).<b>Undercounted</b> is the reverse: reasoning text the reported output tokens, and so the cost, leave out. <b>Web</b>: of the trials that searched or fetched, how manyhold only the query or URL, not what came back. Tool-result pairing, call records missing from the steps, unanswered finalcalls and timestamps are on each row's page: recording-format quirks that limit some checks (counted under Undecided) butdon't hide what the agent did.</p>18 unmodified lines192021222324258 unmodified lines3435363738394011 unmodified lines52535455565758596061626364656667686970717273747576777818 unmodified lines<a class="brand" href="index.html"><span class="wordmark">TB2.1</span><span class="product">annotated</span></a><nav class="topnav"><a href="#leaderboard">Leaderboard</a><a href="#accounting">Accounting</a><a href="#checks">Checks</a><a href="#about">Method</a><a href="https://huggingface.co/spaces/evalstate/tb21-submissions-annotated">Submissions ↗</a>8 unmodified linesSubmissions that never made the board: <a href="https://huggingface.co/spaces/evalstate/tb21-submissions-annotated">TB2.1 submissions, annotated</a>.</p></section><nav class="subnav" aria-label="Sections"><a href="#leaderboard">Leaderboard</a><a href="#accounting">Accounting</a><a href="#gaps">Recording detail</a><a href="#families">Findings by family</a><a href="#checks">Checks × rows</a><a href="#about">Method</a></nav>11 unmodified lines<i class="sq sq--0 sq--nt"></i>no trajectory <i class="sq sq--1 sq--fb"></i>fallback model in the trial ·corner: highest finding <i class="sq sq--1 sq--c"></i>critical <i class="sq sq--1 sq--h"></i>high <i class="sq sq--1 sq--m"></i>medium<br><b>Our estimate</b> leaves out rewarded trials with an unexcused high or critical finding (review leads) and trials partly run by afallback model (a Gemini preview name served as another Gemini preview is an alias, not a fallback).</p></section><section id="accounting" class="block"><header class="block-head"><h2>Accounting</h2><span class="muted small">trials per row unless marked · shading is the share · click a figure for its trials</span></header><p class="explain-line"><b>Trace completeness</b>: every output token, as <i class="mx mx--tool"></i>tool calls<i class="mx mx--message"></i>messages <i class="mx mx--reasoning"></i>reasoning, all with text in the trace, or<i class="mx mx--hidden"></i>no text in the trace: generated and billed, not readable (in practice reasoning, never webresults, which are input). <b>Why</b>: withheld by the model's provider, not kept by the harness, or only a summary returned.<b>Our estimate</b> of cost: recorded trial costs, uncosted trials priced from their tokens at the row's own rates, andundercounted reasoning; ≥ where some trials can't be priced (no usage, or no rates that fit the recorded costs).</p><div class="scroll"><table id="acct-table" class="grid grid--gaps"></table></div></section><section id="gaps" class="block"><header class="block-head"><h2>Recording detail</h2><span class="muted small">how the accounting is known, and what limits the checks</span></header><p class="explain-line"><b>Basis</b>: counted where the harness reports reasoning tokens, otherwise inferred from therecorded characters (≈3.2 per token when the trace holds everything). <b>Undercounted</b> is the reverse gap: reasoningtext the reported output tokens, and so the cost, leave out. <b>Web</b>: of the trials that searched or fetched, how manyhold only the query or URL, not what came back. Tool-result pairing, call records missing from the steps, unanswered finalcalls and timestamps are on each row's page: recording-format quirks that limit some checks (counted under Undecided) butdon't hide what the agent did.</p>
home.js+70-78
index.html+20-14