Skip to content

Official Codebase of 3DCodeVerse

Python

docs: eval write-ups launch from eval/ and stop naming api-agent, cost/routing and C3D_FEWER_TURNS as live

gaoypeng04a70f7b31c0
diff --git a/eval/README.md b/eval/README.md
index 7f65281b..f8aa7b30 100644
--- a/eval/README.md
+++ b/eval/README.md
@@ -15,8 +15,8 @@ evaluations share one set of battery files — `bench/prompts/*.yaml` — and `l
ask one-shot from there (`llm/config.py: HARNESS_BATTERIES`).
```bash
-pip install -e ../harness # once; both evaluations import codeverse3d
cd eval
+pip install -e ../harness # once; both evaluations import codeverse3d
python -m bench.run_bench bench/prompts/static_objects_v1.yaml --generator gemini-cli:gemini-3.7-flash
python -m bench.report bench/out/static_objects_v1 # rebuild report.md + report.html
python bench/compare_backends.py --prompts bench/prompts/compare_v1.yaml --arms harness:gemini-cli:gemini-3.7-flash,oneshot:gemini:gemini-3.7-flash --out bench/out/compare_v1
diff --git a/eval/docs/EVAL.md b/eval/docs/EVAL.md
index 4aec0224..6bb11a81 100644
--- a/eval/docs/EVAL.md
+++ b/eval/docs/EVAL.md
@@ -172,7 +172,7 @@ Pending: rerun the parked sol battery, then terra, then luna, then the claude-co
## 5. Comparing backends inside the harness
-Same battery, same `--judge`, different `--generator` (`api-agent:*`, `single-shot:*`,
+Same battery, same `--judge`, different `--generator` (`single-shot:*`,
`gemini-cli:*`, `claude-code:*`, `codex:*`, `agy:*`). Report baseline, picked, delta,
cost, time per tier; optionally feed the picked rounds of two arms through
`PairwiseJudge.compare(spec, renders_a, renders_b)` (`flywheel pairs` already emits
@@ -288,10 +288,10 @@ Notes: the earlier criteria-first schema compressed flash to 0.6–0.7 (std 0.01
29 corpus rounds that still carry view PNGs + the 24 h2h object-sides re-rendered from their
GLBs — judged three times each with the identical prompt (`VlmJudge(fixed_order=True)`,
pro, $7.79): σ of the final overall mean 0.035, median 0.027, p90 0.060; per criterion
- 0.037 (intent) – 0.065 (structure). That is the number `cost/routing.JUDGE_NOISE` already
- tables (0.030, measured with per-sample view shuffles), so the loop's σ-keyed stops are
- keyed to the right magnitude and the 0.072 round-to-round spread in the corpus is
- generation variance, not the judge. Untested: temperature 0.0 (brilliana measured 0.013
+ 0.037 (intent) – 0.065 (structure). That is the number `cost/routing.JUDGE_NOISE` tabled
+ (0.030, measured with per-sample view shuffles; the table and the loop's σ-keyed stops went
+ on 2026-09-22), and the 0.072 round-to-round spread in the corpus is generation variance,
+ not the judge. Untested: temperature 0.0 (brilliana measured 0.013
vs 0.035 between 0.0 and 0.2 on 512 calls) — one more $8 battery.
* Never tune rubric text against the battery you report on; bump the rubric version
(`*_v2`) instead and re-run.
diff --git a/eval/docs/PAPER_WRITING.md b/eval/docs/PAPER_WRITING.md
index 9c784c64..b2955a63 100644
--- a/eval/docs/PAPER_WRITING.md
+++ b/eval/docs/PAPER_WRITING.md
@@ -585,25 +585,26 @@ truncation and degenerate-plan re-asks around the planner (§5.1).
## 10. Reproduction
```bash
-cd harness
+cd eval # the bench scripts live here since 2026-09-22 (they were harness/bench/)
# the instrument
python bench/ab_plan.py --prompts bench/prompts/articulated_v2.yaml --aa --pin-plan \
--generator gemini-cli:gemini-3.7-flash --judge gemini:gemini-3.1-pro-preview \
--n-samples 3 --rounds 3 --out bench/out/aa_articulated
-# a switch A/B (generation-side switches only; plan-side is refused for --pin-plan)
+# a switch A/B (generation-side switches only; plan-side is refused for --pin-plan). The arm
+# measured in §4 was C3D_FEWER_TURNS=1, a switch deleted since; name a live Settings flag instead
python bench/ab_plan.py --prompts bench/prompts/articulated_v2.yaml \
- --variant-env C3D_FEWER_TURNS=1 --pin-plan --out bench/out/fewer_turns
+ --variant-env C3D_<SWITCH>=1 --pin-plan --out bench/out/<switch>
# harness vs one-shot
python bench/compare_backends.py --prompts bench/prompts/articulated_v2.yaml \
--arms harness:gemini-cli:gemini-3.7-flash,oneshot+repair:gemini:gemini-3.7-flash \
--judge gemini:gemini-3.1-pro-preview --judge-samples 3 --out bench/out/art
# the loss-event channel: the plan stage alone, one row per call
-python bench/plan_stage_bench.py --tree . --label restart_on --reps 20 \
+python bench/plan_stage_bench.py --tree ../harness --label restart_on --reps 20 \
--out bench/data/plan_stage/restart_on.jsonl --env C3D_PLAN_RESTART=1
python bench/plan_stage_report.py bench/data/plan_stage/*.jsonl
# the corpus the loop produces
3dcode flywheel refine bench/out refine.jsonl --with-code
-python ../toolkits/llamafactory/build_refine_sft.py refine.jsonl --out refine_sft.jsonl # repo root, not harness/
+python ../toolkits/llamafactory/build_refine_sft.py refine.jsonl --out refine_sft.jsonl # toolkits/ is at the repo root
```
Recorded runs referenced above (not committed): `bench/out/{compare_v4_calm, compare_art_v2,