Spaces:
Running
Running
Commit ·
56deaf2
1
Parent(s): a8ef6ef
Leaderboard: drop the secondary notes under the charts and above the ranking
Browse filesThe bar note, the Pareto caption, the ranking notes and the cost footnote
markers are gone; cost details stay in the table's hover tooltips.
scripts/t2s_sandbox_round.py no longer writes them back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files changed (3)
33 unmodified lines3435363738373839404133 unmodified lines 0.2 × Detailed + 0.6 × Overview + 0.2 × Physical; a case without a valid scene scores 0; the model's score is the mean. As on the internal leaderboard, scores are never rounded up (bar labels ×100 rounded down, table values truncated to three decimals) and cost is the median USD per case, to the cent. An agent that records no token usage, or a run on self-hosted weights that is not priced, has no cost and no Pareto point; the table, tooltips, Pareto caption and gallery say which. self-hosted weights that is not priced, has no cost and no Pareto point; the table's cost tooltips and the gallery say which. Since 2026-11-11 the leaderboard shows no secondary notes (bar note, Pareto caption, ranking notes).- Gemma 4 31B (thinking on) ran on self-hosted weights, so nothing was billed; its cost is the token counts its agent logged on every model call (`scripts/t2s_token_cost.py`, no cached input) at Gemma 4 31B's OpenRouter list price ($0.20 input, $0.40 output per million): median $0.056 per case (user, 2026-10-16).268 unmodified lines26927027127227227327427522 unmodified lines2982993003013013023033043053063073083093053063072 unmodified lines310311312318319320321322323324313314315328329330331332316317318319320321268 unmodified lines tags = ('<span class="tag open">open weights</span>' if r["open"] else "") + \ ('<span class="tag front">Pareto</span>' if r["front"] else "") tip = f' title="{html.escape(r["name"])}: {html.escape(r["cost_basis"])}"' if r["cost_basis"] else "" cost = (f'<td class="dim" data-v="{r["cost"]}"{tip}>${r["cost"]:.2f}{"*" if r["cost_basis"] else ""}</td>' if r["cost"] is not None else cost = (f'<td class="dim" data-v="{r["cost"]}"{tip}>${r["cost"]:.2f}</td>' if r["cost"] is not None else f'<td class="dim" data-v="" title="{html.escape(r["name"])}: {html.escape(r["cost_none"])}">–</td>') rows.append( f'<tr data-model-key="{r["key"]}" data-search="{html.escape((r["name"] + " " + r["org"]).lower())}">'22 unmodified lines one(lb.find(id="bars-t2s"), "bars-t2s")["aria-label"] = f"Text-to-Scene scores for the {n} Code4Scene configurations" # the charts name the task, not the track (user, 2026-10-17: "Research Track?不要这个吧 … 下面那个图上") one(lb.select_one('.bar-heading h3 span.q[data-view="t2s"]'), "bar qualifier").string = "Text-to-Scene" # the bar note: one per view # no secondary notes under the charts or above the ranking (user, 2026-11-11: "所有的细节次级内容都可以不用") card = one(lb.find(class_="bar-card"), "bar card") for note in card.find_all("p", class_="note"): note.decompose() card.append(frag( '<p class="note" data-view="t2s">Sorted by score. Bar labels are scores ×100, rounded down; the table truncates ' 'to three decimal places. One color per model provider.</p>' '<p class="note" data-view="i2s" style="display:none">Sorted by score. Bar labels round scores ×100; the table ' 'preserves three decimal places. One color per model provider.</p>')) # the Pareto: median cost for this tab pc = one(lb.find(class_="pareto-card"), "pareto card") one(pc.find("p", class_="figure-subtitle", attrs={"data-view": "t2s"}), "pareto t2s subtitle").string = \2 unmodified lines "t2s score against median cost per case. More expensive runs on the left; logarithmic scale." for cap in pc.find_all("p", class_="figure-caption"): cap.decompose() miss = "".join(f" {r['name']} has no point: {r['cost_none']}." for r in D["models"] if r["cost"] is None) basis ="".join(f" {r['name']} is {r['cost_basis']}." for r in D["models"] if r["cost_basis"]) pc.append(frag( '<p class="figure-caption" data-view="t2s">Solid: the frontier — nothing cheaper scores higher. One point per ' f'configuration, at its evaluated reasoning effort. Cost is the median USD per case.{html.escape(miss + basis)}</p>' '<p class="figure-caption" data-view="i2s" style="display:none">Solid: the frontier — nothing cheaper scores ' 'higher. One point per configuration, at its evaluated reasoning effort. Cost is the mean USD per case.</p>')) # the ranking one(lb.find(id="ranking-count"), "ranking count").string = f"{n} configurations" t2s = one([d for d in lb.find_all("div", attrs={"data-view": "t2s"}) if d.find("table", class_="board")], "t2s ranking")[0] one(t2s.find("p", class_="board-note"), "t2s board note").string = \ ("Research Track, 20 scenes, re-run in October 2026 with every agent in the same sandbox. Case score = 0.2 × " "Detailed + 0.6 × Overview + 0.2 × Physical; a case without a valid scene scores 0. Detailed, Overview and " "Physical are means of the per-case scores. Cost is the median per case." + "".join(f" *{r['name']} is {r['cost_basis']}." for r in D["models"] if r["cost_basis"])) for old in lb.find_all("p", class_="board-note"): if "gallery-link" not in old.get("class", []): old.decompose() th = one(t2s.find("th", attrs={"data-k": "c_t2s"}), "t2s cost header") th.string = "Median cost" tbody = one(t2s.find("table", class_="board").tbody, "t2s tbody")README.md+2-2
index.html
scripts/t2s_sandbox_round.py+5-19