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>
- README.md +2 -2
- index.html +0 -0
- scripts/t2s_sandbox_round.py +5 -19
README.md
CHANGED
|
@@ -34,8 +34,8 @@ paper's evaluation; the Takeaways and the explorer say so.
|
|
| 34 |
0.2 × Detailed + 0.6 × Overview + 0.2 × Physical; a case without a valid scene scores 0; the model's score is the mean.
|
| 35 |
As on the internal leaderboard, scores are never rounded up (bar labels ×100 rounded down, table values truncated to
|
| 36 |
three decimals) and cost is the median USD per case, to the cent. An agent that records no token usage, or a run on
|
| 37 |
-
self-hosted weights that is not priced, has no cost and no Pareto point; the table
|
| 38 |
-
|
| 39 |
- Gemma 4 31B (thinking on) ran on self-hosted weights, so nothing was billed; its cost is the token counts its agent
|
| 40 |
logged on every model call (`scripts/t2s_token_cost.py`, no cached input) at Gemma 4 31B's OpenRouter list price
|
| 41 |
($0.20 input, $0.40 output per million): median $0.056 per case (user, 2026-10-16).
|
|
|
|
| 34 |
0.2 × Detailed + 0.6 × Overview + 0.2 × Physical; a case without a valid scene scores 0; the model's score is the mean.
|
| 35 |
As on the internal leaderboard, scores are never rounded up (bar labels ×100 rounded down, table values truncated to
|
| 36 |
three decimals) and cost is the median USD per case, to the cent. An agent that records no token usage, or a run on
|
| 37 |
+
self-hosted weights that is not priced, has no cost and no Pareto point; the table's cost tooltips and the gallery
|
| 38 |
+
say which. Since 2026-11-11 the leaderboard shows no secondary notes (bar note, Pareto caption, ranking notes).
|
| 39 |
- Gemma 4 31B (thinking on) ran on self-hosted weights, so nothing was billed; its cost is the token counts its agent
|
| 40 |
logged on every model call (`scripts/t2s_token_cost.py`, no cached input) at Gemma 4 31B's OpenRouter list price
|
| 41 |
($0.20 input, $0.40 output per million): median $0.056 per case (user, 2026-10-16).
|
index.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scripts/t2s_sandbox_round.py
CHANGED
|
@@ -269,7 +269,7 @@ def table_rows(D: dict) -> str:
|
|
| 269 |
tags = ('<span class="tag open">open weights</span>' if r["open"] else "") + \
|
| 270 |
('<span class="tag front">Pareto</span>' if r["front"] else "")
|
| 271 |
tip = f' title="{html.escape(r["name"])}: {html.escape(r["cost_basis"])}"' if r["cost_basis"] else ""
|
| 272 |
-
cost = (f'<td class="dim" data-v="{r["cost"]}"{tip}>${r["cost"]:.2f}
|
| 273 |
f'<td class="dim" data-v="" title="{html.escape(r["name"])}: {html.escape(r["cost_none"])}">–</td>')
|
| 274 |
rows.append(
|
| 275 |
f'<tr data-model-key="{r["key"]}" data-search="{html.escape((r["name"] + " " + r["org"]).lower())}">'
|
|
@@ -298,15 +298,10 @@ def leaderboard(soup, D: dict) -> None:
|
|
| 298 |
one(lb.find(id="bars-t2s"), "bars-t2s")["aria-label"] = f"Text-to-Scene scores for the {n} Code4Scene configurations"
|
| 299 |
# the charts name the task, not the track (user, 2026-10-17: "Research Track?不要这个吧 … 下面那个图上")
|
| 300 |
one(lb.select_one('.bar-heading h3 span.q[data-view="t2s"]'), "bar qualifier").string = "Text-to-Scene"
|
| 301 |
-
# the
|
| 302 |
card = one(lb.find(class_="bar-card"), "bar card")
|
| 303 |
for note in card.find_all("p", class_="note"):
|
| 304 |
note.decompose()
|
| 305 |
-
card.append(frag(
|
| 306 |
-
'<p class="note" data-view="t2s">Sorted by score. Bar labels are scores ×100, rounded down; the table truncates '
|
| 307 |
-
'to three decimal places. One color per model provider.</p>'
|
| 308 |
-
'<p class="note" data-view="i2s" style="display:none">Sorted by score. Bar labels round scores ×100; the table '
|
| 309 |
-
'preserves three decimal places. One color per model provider.</p>'))
|
| 310 |
# the Pareto: median cost for this tab
|
| 311 |
pc = one(lb.find(class_="pareto-card"), "pareto card")
|
| 312 |
one(pc.find("p", class_="figure-subtitle", attrs={"data-view": "t2s"}), "pareto t2s subtitle").string = \
|
|
@@ -315,21 +310,12 @@ def leaderboard(soup, D: dict) -> None:
|
|
| 315 |
"t2s score against median cost per case. More expensive runs on the left; logarithmic scale."
|
| 316 |
for cap in pc.find_all("p", class_="figure-caption"):
|
| 317 |
cap.decompose()
|
| 318 |
-
miss = "".join(f" {r['name']} has no point: {r['cost_none']}." for r in D["models"] if r["cost"] is None)
|
| 319 |
-
basis ="".join(f" {r['name']} is {r['cost_basis']}." for r in D["models"] if r["cost_basis"])
|
| 320 |
-
pc.append(frag(
|
| 321 |
-
'<p class="figure-caption" data-view="t2s">Solid: the frontier — nothing cheaper scores higher. One point per '
|
| 322 |
-
f'configuration, at its evaluated reasoning effort. Cost is the median USD per case.{html.escape(miss + basis)}</p>'
|
| 323 |
-
'<p class="figure-caption" data-view="i2s" style="display:none">Solid: the frontier — nothing cheaper scores '
|
| 324 |
-
'higher. One point per configuration, at its evaluated reasoning effort. Cost is the mean USD per case.</p>'))
|
| 325 |
# the ranking
|
| 326 |
one(lb.find(id="ranking-count"), "ranking count").string = f"{n} configurations"
|
| 327 |
t2s = one([d for d in lb.find_all("div", attrs={"data-view": "t2s"}) if d.find("table", class_="board")], "t2s ranking")[0]
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
"Physical are means of the per-case scores. Cost is the median per case."
|
| 332 |
-
+ "".join(f" *{r['name']} is {r['cost_basis']}." for r in D["models"] if r["cost_basis"]))
|
| 333 |
th = one(t2s.find("th", attrs={"data-k": "c_t2s"}), "t2s cost header")
|
| 334 |
th.string = "Median cost"
|
| 335 |
tbody = one(t2s.find("table", class_="board").tbody, "t2s tbody")
|
|
|
|
| 269 |
tags = ('<span class="tag open">open weights</span>' if r["open"] else "") + \
|
| 270 |
('<span class="tag front">Pareto</span>' if r["front"] else "")
|
| 271 |
tip = f' title="{html.escape(r["name"])}: {html.escape(r["cost_basis"])}"' if r["cost_basis"] else ""
|
| 272 |
+
cost = (f'<td class="dim" data-v="{r["cost"]}"{tip}>${r["cost"]:.2f}</td>' if r["cost"] is not None else
|
| 273 |
f'<td class="dim" data-v="" title="{html.escape(r["name"])}: {html.escape(r["cost_none"])}">–</td>')
|
| 274 |
rows.append(
|
| 275 |
f'<tr data-model-key="{r["key"]}" data-search="{html.escape((r["name"] + " " + r["org"]).lower())}">'
|
|
|
|
| 298 |
one(lb.find(id="bars-t2s"), "bars-t2s")["aria-label"] = f"Text-to-Scene scores for the {n} Code4Scene configurations"
|
| 299 |
# the charts name the task, not the track (user, 2026-10-17: "Research Track?不要这个吧 … 下面那个图上")
|
| 300 |
one(lb.select_one('.bar-heading h3 span.q[data-view="t2s"]'), "bar qualifier").string = "Text-to-Scene"
|
| 301 |
+
# no secondary notes under the charts or above the ranking (user, 2026-11-11: "所有的细节次级内容都可以不用")
|
| 302 |
card = one(lb.find(class_="bar-card"), "bar card")
|
| 303 |
for note in card.find_all("p", class_="note"):
|
| 304 |
note.decompose()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 305 |
# the Pareto: median cost for this tab
|
| 306 |
pc = one(lb.find(class_="pareto-card"), "pareto card")
|
| 307 |
one(pc.find("p", class_="figure-subtitle", attrs={"data-view": "t2s"}), "pareto t2s subtitle").string = \
|
|
|
|
| 310 |
"t2s score against median cost per case. More expensive runs on the left; logarithmic scale."
|
| 311 |
for cap in pc.find_all("p", class_="figure-caption"):
|
| 312 |
cap.decompose()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 313 |
# the ranking
|
| 314 |
one(lb.find(id="ranking-count"), "ranking count").string = f"{n} configurations"
|
| 315 |
t2s = one([d for d in lb.find_all("div", attrs={"data-view": "t2s"}) if d.find("table", class_="board")], "t2s ranking")[0]
|
| 316 |
+
for old in lb.find_all("p", class_="board-note"):
|
| 317 |
+
if "gallery-link" not in old.get("class", []):
|
| 318 |
+
old.decompose()
|
|
|
|
|
|
|
| 319 |
th = one(t2s.find("th", attrs={"data-k": "c_t2s"}), "t2s cost header")
|
| 320 |
th.string = "Median cost"
|
| 321 |
tbody = one(t2s.find("table", class_="board").tbody, "t2s tbody")
|