Skip to content

Official Codebase of 3DCodeVerse

Python

Merge simplify lane L3

gaoypengd81ce46526eb
diff --cc harness/CLAUDE.md
index 4e8a331b,da0f9fcf..7c298570
--- a/harness/CLAUDE.md
+++ b/harness/CLAUDE.md
@@@ -97,14 -97,15 +97,14 @@@ cd harnes
# Every track states REQUIREMENTS, never templates (D106 scene, D107 the rest, 2026-10-15): no language ships a cookbook, no inlined
# recipes, placeholder skeletons; a prompt / skill keeps only interface, sandbox rules and measured thresholds, each contract.md ONE
# executable interface example (tests/prompts/test_snippets_run.py), the craft as short optional practices in the skills (fences ≤ ~12 lines).
-3dcodeverse make "..." --variant argon # per-model prompt/skill overlay: prompts/variants/<name>/ + skills/variants/<name>/ (D105; C3D_VARIANT, C3D_VARIANTS='{"agy:gemini-4-argon": "argon"}')
3dcodeverse make "neon rain on a window" --track graphics --language glsl_shader
-3dcodeverse make "..." --image ref.png --candidates 3 --rounds 2 --dim height=0.45 --must "three legs" --no-run
+3dcodeverse make "..." --image ref.png --rounds 2 --dim height=0.45 --must "three legs" --no-run
3dcodeverse make "..." --no-pick # a run = baseline + --rounds refine rounds (fixed); make then picks a round → deliverable/ unless --no-pick
- 3dcodeverse pick <slug> [--by score|pairwise] [--round N] [--judge MODEL] # hand over a round (codeverse3d/addons/select.py)
- 3dcodeverse resume <slug> · 3dcodeverse show <slug> [--section status] (`status` = its STATUS section) · 3dcodeverse render <slug> [--mode wire] · 3dcodeverse judge <slug> [--model ... --n 3 --thinking medium]
+ 3dcodeverse pick <slug> [--round N] # hand over a round (codeverse3d/addons/select.py)
+ 3dcodeverse resume <slug> · 3dcodeverse show <slug> [--section status] (`status` = its STATUS section) · 3dcodeverse judge <slug> [--model ... --n 3 --thinking medium]
3dcodeverse tools list · 3dcodeverse tools measure --workspace runs/<slug> · 3dcodeverse mcp --workspace runs/<slug>
- 3dcodeverse cost <slug> · 3dcodeverse cost --runs-dir ../eval/bench/out/<battery> · 3dcodeverse cost cache <slug>
- 3dcodeverse cost prices [--stale] · 3dcodeverse cost estimate gemini:gemini-3.1-pro-preview --in 12000
+ 3dcodeverse cost <slug> · 3dcodeverse cost --runs-dir ../eval/bench/out/<battery>
+ 3dcodeverse cost prices [--stale]
3dcodeverse flywheel export runs/ dataset/ [--pack --drop-duplicates --captions-dir d/] · 3dcodeverse flywheel pairs runs/ pairs.jsonl
3dcodeverse flywheel caption <slug> [--out dir] # the gallery is `3dcodeverse gallery build --embed`
3dcodeverse gallery serve [ROOTS...] [--port 8765] [--reload] · 3dcodeverse gallery build --out gallery.html [--embed]
diff --cc harness/README.md
index 776b8302,7faaed18..548307db
--- a/harness/README.md
+++ b/harness/README.md
@@@ -15,7 -15,7 +15,7 @@@ renders, judges, refines and records ev
the list is `docs/ARCHITECTURE.md` §5.
* **Judging:** rubric VLM judge (default `gemini:gemini-4-argon`, thinking `medium`) on labelled 2×2
montages with binary defect checklists; code-computed scores, floors and caps from
- deterministic gates; pairwise, reference and likeness judges;
- deterministic gates; reference and likeness judges; best-of-N candidates;
++ deterministic gates; reference and likeness judges;
a calibration harness (`addons/calibration.py`).
* **Flywheel:** git-versioned `src/` per round, `record.json`, sample export with
quality tiers + dedupe (+ parquet, tar locators), preference/repair/cross-backend
diff --cc harness/codeverse3d/cli/inspect_cmd.py
index bb4eecda,0173c1bd..74fbf4cd
--- a/harness/codeverse3d/cli/inspect_cmd.py
+++ b/harness/codeverse3d/cli/inspect_cmd.py
@@@ -123,9 -55,8 +54,8 @@@ def judge
**({"thinking": thinking} if thinking else {}))
except ValueError as e:
raise C.CliError(str(e), code=2) from e
- n_images = J.count_prompt_images(inp, rubric_name, judge_obj)
- # writes into the run: one writer per run dir; judged under the run's variant
- with C.mutating(ws, what=f"3dcodeverse judge {ws.root.name}", action="judge"), C.replay_variant(rec):
+ # writes into the run: one writer per run dir
+ with C.mutating(ws, what=f"3dcodeverse judge {ws.root.name}", action="judge"):
try:
with join_post_run(ws):
verdict = judge_obj.judge(inp)
diff --cc harness/codeverse3d/tracks/plan_features.py
index 5f2d7d78,be39fb87..e83e5e20
--- a/harness/codeverse3d/tracks/plan_features.py
+++ b/harness/codeverse3d/tracks/plan_features.py
@@@ -5,7 -5,8 +5,7 @@@ from __future__ import annotation
from codeverse3d.config import Settings
- GENERATION_SIDE_ENV: frozenset[str] = frozenset({"C3D_SKILLS", "C3D_SKILLS_ONLY", "C3D_REFERENCE_DIFF"})
-GENERATION_SIDE_ENV: frozenset[str] = frozenset({"C3D_SKILLS", "C3D_SKILLS_MAX", "C3D_SKILLS_UNVERIFIED",
- "C3D_SKILLS_ONLY"})
++GENERATION_SIDE_ENV: frozenset[str] = frozenset({"C3D_SKILLS", "C3D_SKILLS_ONLY"})
NODE_SIDE_ENV: frozenset[str] = frozenset({"C3D_BROWSER_REUSE", "C3D_PAGE_TTL_MS"})
diff --cc harness/docs/ARCHITECTURE.md
index edd3ea81,e9be4815..27dbb975
--- a/harness/docs/ARCHITECTURE.md
+++ b/harness/docs/ARCHITECTURE.md
@@@ -138,14 -140,15 +138,14 @@@ codeverse3d
judges/ base.py (JudgeInput; round_input + plan_summary, the ONE payload builder the in-run judge,
`3dcodeverse judge`, calibration and eval all use), rubrics.py + rubrics/*.yaml (defect
checklists, the wire schema, caps and scoring), prompt_builder.py (image prep, montages, the
- judge messages), vlm_judge.py (+ the reference/likeness judges), pairwise.py. No Judge
+ judge messages), vlm_judge.py (+ the reference/likeness judges). No Judge
Protocol: a judge is duck-typed `.judge(JudgeInput) -> Judgment`
- reference.py a user `--image` against the render: proportions and the render-vs-reference mismatch diff
+ reference.py a user `--image` against the render: the proportion check
orchestrator.py the round loop's LIBRARY, not the loop: RoundPolicy, refine-task compilation + grouping,
StageRunner + RunState (resume), BudgetGuard (the clock). The loop itself is
- tracks/lifecycle.py:_round_loop → tracks/steps.py:run_round; a best-of-N candidate IS
- steps._run_round(kind='candidate') in a _cand/c<k> sub-workspace
+ tracks/lifecycle.py:_round_loop → tracks/steps.py:run_round
tracks/ __init__.py (get_track(track, **options) → a lifecycle.BaseTrack), lifecycle.py, steps.py,
- candidates.py (best-of-N baseline candidates and their ranking), generation.py (agent +
+ generation.py (agent +
single-shot strategies + the file envelope), repair.py, planner.py (the ONE planner loop + the
cached EngineeringBrief, plan budgets, and the ONE owner of what differs per track when
planning: template, example, temperature, output floor, acceptance), prompting.py (prompt
diff --cc harness/docs/RUNBOOK.md
index 3a310294,9743ef27..db703306
--- a/harness/docs/RUNBOOK.md
+++ b/harness/docs/RUNBOOK.md
@@@ -116,19 -125,18 +116,18 @@@ bookmarked. `--reload` re-scans on eve
*pending*, a half-written one as *broken*). The server binds `127.0.0.1` unless you pass
`--host` and never serves a path outside the declared roots.
- ## 5. Resume, re-render, re-judge, export
+ ## 5. Resume, re-judge, export
New runs and standalone calibration default to `gemini:gemini-4-argon` with thinking
- `medium`. Existing runs retain the judge model in `record.spec.backends.judge`: `resume`,
- `judge` and `pick --by pairwise` use that model by default. `resume` has no `--judge`
+ `medium`. Existing runs retain the judge model in `record.spec.backends.judge`: `resume` and
+ `judge` use that model by default. `resume` has no `--judge`
override. Thinking still comes from the current `judge.thinking` setting (default `medium`),
- not the recorded model; `judge --thinking` overrides it for that call. `pick --by score`
+ not the recorded model; `judge --thinking` overrides it for that call. `pick`
uses the recorded scores without calling a judge. To re-judge an old run with Argon, use
- `3dcodeverse judge <slug> --model gemini:gemini-4-argon --thinking medium`. For a pairwise
- pick with Argon, use `3dcodeverse pick <slug> --by pairwise --judge gemini:gemini-4-argon`.
+ `3dcodeverse judge <slug> --model gemini:gemini-4-argon --thinking medium`.
```bash
-3dcodeverse resume <slug> [--candidates N] [--no-pick]
+3dcodeverse resume <slug> [--no-pick]
# continues from run_state + stages/*.json and from the LAST round. A
# max_rounds run resumes only with a raised --rounds, a budget run with any
# raised cap; an agent_quota, judge_unavailable or failed run resumes as is.