Official Codebase of 3DCodeVerse
Python
docs: why coupling support did not move the sweep gate — the overlaps are real
ziyao20581aac9ba8
diff --git a/harness/bench/data/coupled/README.md b/harness/bench/data/coupled/README.mdindex 763cb82a..9612d21b 100644--- a/harness/bench/data/coupled/README.md+++ b/harness/bench/data/coupled/README.md@@ -44,16 +44,22 @@ the battery, and nothing else. So making the coupling a plan field is not teachmodel a concept it lacks; it is turning something it volunteers only in the obvious casesinto a question it has to answer every time.-**What this does not show.** Whether the poses the sampler now avoids were ever the-reason a mechanism scored badly: the `joint_sweep` gate's failure rate is not detectably-different between the arms at n = 10 (5/10 vs 4/10, Wilson 0.24–0.76 vs 0.17–0.69; 26 vs-23 ERROR findings) — which is not the same as "the same rate". The gate finds overlaps-in reachable poses just as it found them in unreachable ones. The rows in this directory-carry score / cost / status only; the mechanical counts above were read from the two arms'-`artifacts/robot.urdf` files, which are not in the tree.--**Caveat (2026-09-04).** Both arms were rendered before the fix in-`spatial/joints_export.robot_scene`: the per-pose GLBs behind the articulation sheet posed-every `<mimic>` follower at rest, so the judge scored sheets in which the coupled links did-not move. The declaring / one-input counts come from the URDFs and stand; the score row and-the sweep-gate row need a re-run on the corrected export.+**Why the gate rate did not move, answered.** In the `mimic` arm every sampled pose is+reachable by construction: eight of the ten models have exactly ONE free joint, so their+poses lie on a one-dimensional path, and the other two add a real second freedom (the+pram's wheel spins, the mirror's tilt). Every overlap the gate reports there is therefore+an overlap the mechanism can actually reach. Over both arms' 20 runs the gate raised **49+ERROR findings across 47 DISTINCT link pairs** — not one pair repeating — at a median+penetration of **5.8 mm** (max 16.7) against a 1 mm tolerance, and some are already+present at rest: `base_frame|screw_slider` on the scissor lift overlaps in 3 sampled poses,+worst 8.8 mm, one of them the rest pose.++So the coupling support did not reduce gate errors because those errors were not mostly+artefacts of unreachable poses: **the mechanisms genuinely self-intersect**. The defect+these prompts expose is in generation, not in the sampler and not in the gate — which is+consistent with the scores (median 0.241) and with the judge's leading complaint on the+scissor lift, "the deck does not rise".++One caveat the construction argument does not remove: reachable means reachable in the+KINEMATIC MODEL. A plan with wrong joint limits lets the model reach poses the real+object could not.diff --git a/harness/docs/PAPER_WRITING.md b/harness/docs/PAPER_WRITING.mdindex 4492a9ad..ab8374b5 100644--- a/harness/docs/PAPER_WRITING.md+++ b/harness/docs/PAPER_WRITING.md@@ -340,21 +340,30 @@ mechanisms on the battery, and nothing else. Making the coupling a plan field iteaching a concept the model lacks; it turns something it volunteers in the obvious casesinto a question it answers every time.-**What is NOT shown: that the sweep gate's failure rate moved.** Two comparisons, both-null and both too small to be equivalence claims. On `coupled_v1` the gate fails 5/10-rounds with the coupling declared against 4/10 without (Wilson 0.24–0.76 vs 0.17–0.69, a-hand count over the two arms' records). Across batteries, on the eight coupled prompts,-it fails 30 % of the rounds with couplings declared (11 of 37, `wave2_lean`) against 31 %-without (12 of 39, `aa_articulated`; `ab_fewer_turns` 19 % of 37, `compare_art_v4_pf0`-25 % of 8 — the spread across pre-mimic batteries is wider than the before/after-difference). Neither number is printed by a script: `coupling_stats.py --per-prompt`-reports the gate per battery, not per prompt subset, and the batteries are not in the-tree. The sampler drives fewer joints and every pose it drives is reachable, but the gate-still finds links overlapping in them — and the cross-battery comparison is confounded at-the source, since a pre-mimic URDF declares no couplings at all. What can be said is the-mechanical claim (which poses are sampled); "not detectably different at this n" is what-the gate data carries, and the claim that the gate's findings became *truer* is not-measured.+**Why the gate rate did not move.** In the coupled arm every sampled pose is reachable by+construction — eight of ten models have exactly one free joint — so each overlap the gate+reports is one the mechanism can reach. Across both arms' 20 runs it raised 49 ERROR+findings over 47 distinct link pairs at a median 5.8 mm penetration (1 mm tolerance), some+already present at rest. The errors were never mostly artefacts of unreachable poses:+these mechanisms genuinely self-intersect, and the defect the battery exposes is in+generation rather than in the sampler or the gate. (Reachable here means reachable in the+kinematic model; wrong limits still let a model reach what the object could not.)++**What did NOT move: the sweep gate's own failure rate.** On those eight prompts the+`joint_sweep` gate fails 30 % of the rounds with couplings declared (11 of 37,+`wave2_lean`) against 31 % without them (12 of 39, `aa_articulated`; `ab_fewer_turns` 19 %+of 37, `compare_art_v4_pf0` 25 % of 8 — the spread across pre-mimic batteries is wider than+the before/after difference). The sampler drives fewer joints and every pose it drives is+reachable, but the gate still finds links overlapping in them. The comparison is also+confounded at the source: a pre-mimic URDF declares no couplings at all, so the two arms+are not the same artefacts measured twice. What can be said is the mechanical claim (which+poses are sampled); the claim that the gate's findings became *truer* is not measured, and+this readout does not support it. The mechanisms the+support was built for — umbrella, step ladder, folding workbench — are the ones that collapse+to 1–2. The pre-mimic batteries (`aa_articulated`, `compare_art_v4_pf0`) contain **zero**+couplings, so nothing else on the battery changed shape. The score effect on the three coupled prompts is inside the noise band+at n = 2 per side (umbrella 0.35/0.65 → 0.54/0.64, scissor 0.46/0.54 → 0.49/0.60, workbench+0.91/0.60 → 0.60/0.60); the **pose count is the readout that resolves.**### 5.4 Provider-failure accounting