Skip to content

Official Codebase of 3DCodeVerse

Python

docs: D47 — judge payload v3, the 14-view rig through the montage machinery

gaoypeng91b2f443a6ae
diff --git a/harness/docs/ARCHITECTURE.md b/harness/docs/ARCHITECTURE.md
index ac38ecbc..55096ad1 100644
--- a/harness/docs/ARCHITECTURE.md
+++ b/harness/docs/ARCHITECTURE.md
@@ -68,7 +68,7 @@ the flywheel unit.
```
codeverse/
- conventions.py frames (LANGUAGE_FRAME, GLB_FRAME), units, OBJECT_VIEWS/_QUICK, SCENE_VIEWS,
+ conventions.py frames (LANGUAGE_FRAME, GLB_FRAME), units, OBJECT_VIEWS/_QUICK/_CLAY_VIEWS, SCENE_VIEWS,
to_snake/to_pascal/slugify, MAX_TRIS_*, BBOX_TOLERANCE_M, CONTACT_GAP_M (THE source)
config.py Settings (CV3D_* env, ~/.config/codeverse/config.yaml; role defaults come from
contracts Backends; Settings.backends(**overrides) builds a Spec's Backends;
@@ -334,9 +334,10 @@ server (name `3dcv`) for the vendor CLIs, (c) a native tool schema for any embed
## 6. Judging (protocol v2)
-`VlmJudge(rubric, model_id, n_samples)` sends **montages, not loose views**: ≤ 3
+`VlmJudge(rubric, model_id, n_samples)` sends **montages, not loose views**: ≤ 5
labelled 2×2 montages (shaded / geometry-only clay-or-normals / poses) + ≤ 2 detail
-crops at ≤ 1024 px, shuffled per sample. The wire schema is **observe-then-score**
+crops at ≤ 1024 px, shuffled per sample — sized for the 14-view object rig + the
+clay montage (D47; was ≤ 3 under the 8-view rig). The wire schema is **observe-then-score**
(summary, strengths, issues, **defect checklist**, acceptance *before* criteria) —
criteria-first measurably compressed flash to 0.6–0.7. Every rubric carries binary
`defects` (id/text/penalty/cap); defect and acceptance votes are majority (an exact
@@ -461,7 +462,7 @@ margin so pairwise picked the winner at 0.915 confidence; r00 0.563 → r01 0.61
total $0.24 / 7.6 min. Graphics `neon_rain` (single-shot flash, glsl_shader):
plan → 328-line shader compiled first try, `gl_frames` clean, judged 0.786 →
stop=pass after round 0, $0.045. Per-stage timings: plan 7–60 s; Blender build
-0.1–0.6 s; GL build + 12 frames ~2–5 s; 8-view GPU render ~1.5 s; judge verdict
+0.1–0.6 s; GL build + 12 frames ~2–5 s; GPU view-rig render ~1.5 s at 8 views (D47's 14-view rig scales with view count, not re-timed); judge verdict
$0.02–0.03 (flash) / ~$0.2 (pro); api-agent generation 3–6 min per object round.
## 10. Known limits (as of 2026-08-23)
diff --git a/harness/docs/COST.md b/harness/docs/COST.md
index 1c63ee53..11173e11 100644
--- a/harness/docs/COST.md
+++ b/harness/docs/COST.md
@@ -594,6 +594,17 @@ montage at the same tile count at both sizes (**+0.03 % tokens, not −20 %**),
768 px measurably *raises* sampling σ (0.0326 → 0.0421, +29 %). **1024 px stays
the default for every profile.**
+### Payload v3 (D47, 2026-08-31): 5 montages for the 14-view rig
+
+The rig A/B (docs/EVAL.md judge-experiments log) re-priced the verdict: the adopted
+payload C (14 views + clay, 5 montages + 2 crops) bills **$0.155/verdict at pro n=3
+(40.9k input tokens)** against the old 8-view payload's $0.146–0.150/30.0–34.0k — a
++3–6 % price for the only payload change that has survived multiplicity (+0.038
+same-cap). The rejected 14-singles arm B cost $0.198 & 67.5k tok/verdict for a
+*negative* delta. Every profile's `judge_montages` is 5 (economy included: the
+flash replica prices a C verdict at ~$0.032, and 3 montages would silently drop the
+low ring + poles).
+
### The crop-count experiment — INCONCLUSIVE, not adopted
The other payload lever is the **image count**. The same round
diff --git a/harness/docs/DECISIONS.md b/harness/docs/DECISIONS.md
index a7dc4d8f..5b393f6e 100644
--- a/harness/docs/DECISIONS.md
+++ b/harness/docs/DECISIONS.md
@@ -432,6 +432,36 @@ written) that were accepted because the code works that way and the tests pin it
(free to count), or a paired A/B (~$5.50, 46 runs × 2 arms) shows the judge under-prices the
OPEN lines it already reads.
+* **D47 Judge payload v3: the 14-view rig through the montage machinery (2026-08-31).**
+ Supersedes D30's ≤ 3-montage cap. `OBJECT_VIEWS` becomes the brilliana 14-view rig
+ (three rings ±30° + eye-level cardinals + poles); the measured legacy clay cameras
+ move to their own `OBJECT_CLAY_VIEWS` (its `top` is el 88, the rig's is 90 — clay
+ tiles carry `mode != shaded` and label their own cameras); `OBJECT_RANK` packs
+ montage 1 as {front_right_high, back_left_high, top, bottom} so a cap truncation
+ still sees the underside; `MAX_MONTAGES` / `Judge.montages` / every profile's
+ `judge_montages` go 3 → 5 (at 3 the low ring + poles are silently dropped; flash-C
+ is $0.032/verdict, so economy keeps the full payload too). `OBJECT_VIEWS_QUICK`
+ stays 4 views by name, so agent contact sheets / texture pass / candidates / scene
+ assets keep their cost.
+ Measured: 4-arm A/B, 42 items (18 corpus rounds + 24 h2h sides) × n=3 pro, plus
+ 3.7-flash and 3.6-flash replicas, ≈ $47. Arms: A = 8 views, no clay (old
+ baseline); A2 = production-faithful 8 views + clay; B = 14 labelled 640 px single
+ views; C = 14 views + clay through our montage machinery (this decision). The
+ only comparison that survives multiplicity is same-cap C−A **+0.038** (n=29,
+ p=.009); the raw deltas C−B p=.041 and C−A p=.024 do NOT survive Holm — cap flips
+ make the raw delta distribution heavy-tailed (sd(d) ~0.10–0.14). The cap story
+ is the visible one: clean-item `untextured_flat` caps 11(A) / 6(A2) / 8(B) /
+ **3(C)** — more sky and underside pixels stop the judge inventing flatness.
+ B rejected: $0.198 & 67.5k input tok/verdict (C: $0.155 / 40.9k), its −0.025 vs A2
+ is entirely cap flips (~half contradicting the pixels on eyeball), and its
+ "best defect-hunter" halo was text-quoting — the provenance pass over every
+ defect-PRESENT vote shows interpenetration pure-view TP 0/14 in EVERY arm (the
+ 14/14 naive TP measures reading comprehension of the shared gate text, not payload
+ quality), and B's floating lead reduces to one genuinely visual item. Flash
+ replicas (3.7 and 3.6): payload Δ ≈ 0 — the rig pays only at pro tier, which is
+ the verdict judge anyway. Underside full-res singles (the espresso catch) are
+ queued as the C+ experiment; its battery's numbers get appended here when it lands.
+
## Rejected / deferred
* A versioned `Spec`/`RunRecord`/`RunState` load-normaliser (rejected 2026-08-30: of the seven
diff --git a/harness/docs/EVAL.md b/harness/docs/EVAL.md
index 3c81d5f9..61747a64 100644
--- a/harness/docs/EVAL.md
+++ b/harness/docs/EVAL.md
@@ -14,7 +14,7 @@ fooling ourselves. Tools: `3dcv bench`, `bench/compare_backends.py`,
distinctions (overall std ≈ 0.08–0.12 at n=3) — its dynamic range comes from
the rubric defect checklist, not the criteria.
2. **Same evidence for every arm.** The evaluator rebuilds from code: lint+build →
- `measure_glb` → connectivity gate → canonical 8-view `render_glb` (`OBJECT_VIEWS`,
+ `measure_glb` → connectivity gate → canonical 14-view `render_glb` (`OBJECT_VIEWS`,
studio rig) → `VlmJudge`. A failed build scores 0 (error recorded). Acceptance
items come from the battery's `must_have` list for *all* arms (no plan-derived
items, so harness and one-shot are judged alike).
@@ -96,7 +96,7 @@ Arms:
Every arm ends with a `src/model.py` copied into a fresh eval workspace and scored by
the same `FixedEvaluator` (`BlenderRuntime` lint+build → measure → connectivity →
-8-view render → `VlmJudge(static_object_v1, --judge, n_samples=2)`). Then a pairwise
+14-view render → `VlmJudge(static_object_v1, --judge, n_samples=2)`). Then a pairwise
arena runs every harness arm against every one-shot arm per prompt (both orderings).
Output under `--out`: `matrix.json`, `results.jsonl` (cells, resume source),
`pairwise.jsonl`, `cells/<prompt>/<arm>/{run,gen,eval}`, `report.md`, `report.html`.
@@ -636,3 +636,18 @@ day), not in judge prose. Flash stays a ranking/fallback judge; pro stays the v
Two calibration-tool defects found the same day (colliding `run` labels overwriting judgment
files; old records whose stored overall contradicts their own criterion scores) are fixed in
`judges/calibration.py` and flagged in its report.
+**2026-08-31 — judge payload v3: the 14-view rig ADOPTED (D47).** 4-arm A/B on 42 items
+(18 corpus rounds + 24 h2h sides) × n=3 `gemini-3.1-pro-preview`, plus full 3.7-flash and
+3.6-flash replicas, ≈ $47. Arms: A = 8 views no clay (old baseline) · A2 =
+production-faithful 8 views + clay · B = 14 labelled 640 px single views · C = 14-view rig
++ clay through the montage machinery (5 montages + 2 crops). C mean overall 0.6835 vs A
+0.6427 / A2 0.6558 / B 0.6308; the only multiplicity survivor is same-cap C−A +0.038
+(n=29, p=.009) — raw C−B p=.041 / C−A p=.024 do not survive Holm because cap flips make
+the deltas heavy-tailed. Clean-item `untextured_flat` caps: 11(A) / 6(A2) / 8(B) / 3(C).
+B rejected at $0.198 & 67.5k tok/verdict: its deficit is entirely cap flips (~half
+contradicting the pixels), and a defect-provenance pass over every PRESENT vote showed its
+defect-hunter halo was text-quoting — interpenetration pure-view TP is 0/14 in EVERY arm
+(the naive 14/14 measures reading comprehension of the shared gate text), and B's floating
+lead reduces to one genuinely visual item. Flash replicas: payload Δ ≈ 0 on both 3.7 and
+3.6 — the rig pays only at pro tier. C ships as D47 ($0.155/verdict, 40.9k input tok);
+underside full-res singles (the espresso catch) are queued as the C+ follow-up.