Skip to content

Official Codebase of 3DCodeVerse

Python

skills: the round's aggregated joint_sweep findings route — R2 and R13 missed most of them

gaoypengaff047f99332
diff --git a/harness/codeverse3d/skills/registry.py b/harness/codeverse3d/skills/registry.py
index 62b98563..c0d199e0 100644
--- a/harness/codeverse3d/skills/registry.py
+++ b/harness/codeverse3d/skills/registry.py
@@ -43,6 +43,7 @@ CONTRACT_INSTANCE_COUNT = "contract/instance_count"
CONTRACT_SCENE_BOUNDS = "contract/scene_bounds"
JOINT_SWEEP_LINK_OVERLAP = "joint_sweep/link_overlap"
JOINT_SWEEP_DISCONNECTED = "joint_sweep/disconnected"
+JOINT_SWEEP_BURIED = "joint_sweep/buried_link"
MOTION_WRONG_AXIS = "motion_direction/wrong_axis"
MOTION_SKIPPED = "motion_direction/skipped"
SCENE_DARK_OR_FLAT = "scene_frames/dark_or_flat"
@@ -69,7 +70,10 @@ _RULES: tuple[tuple[str, str, str], ...] = (
("contract", r"missing from the GLB|not found in the exported scene", CONTRACT_MISSING_PART),
("contract", r"instance\(s\), plan asks for", CONTRACT_INSTANCE_COUNT),
("contract", r"exceeds the planned bounds", CONTRACT_SCENE_BOUNDS),
- ("joint_sweep", r"overlap by", JOINT_SWEEP_LINK_OVERLAP),
+ # "overlap by" is one pose; the round gate aggregates a pair's poses ("overlap in N of the
+ # sampled poses") and summarises the pairs past its cap ("more overlapping pair(s)")
+ ("joint_sweep", r"overlap by|overlap in \d+ of the sampled poses|more overlapping pair", JOINT_SWEEP_LINK_OVERLAP),
+ ("joint_sweep", r"lies entirely inside", JOINT_SWEEP_BURIED),
("joint_sweep", r"apart at rest|nothing physically connects", JOINT_SWEEP_DISCONNECTED),
("motion_direction", r"check skipped|checks skipped", MOTION_SKIPPED),
("motion_direction", r"WRONG", MOTION_WRONG_AXIS),
diff --git a/harness/tests/skills/data/gate_findings.json b/harness/tests/skills/data/gate_findings.json
index 48f22563..e54ea74c 100644
--- a/harness/tests/skills/data/gate_findings.json
+++ b/harness/tests/skills/data/gate_findings.json
@@ -160,6 +160,30 @@
"n": 48,
"kind": "joint_sweep/link_overlap"
},
+ {
+ "gate": "joint_sweep",
+ "severity": "error",
+ "message": "links 'body|door' overlap in 2 of the sampled poses (worst 199.9 mm at hinge=0.79)",
+ "n": 0,
+ "kind": "joint_sweep/link_overlap",
+ "origin": "codeverse3d source (the round gate's aggregated form, 2026-09-22)"
+ },
+ {
+ "gate": "joint_sweep",
+ "severity": "warn",
+ "message": "3 more overlapping pair(s) not listed: base|lid, base|arm, arm|lid",
+ "n": 0,
+ "kind": "joint_sweep/link_overlap",
+ "origin": "codeverse3d source (the round gate's aggregated form, 2026-09-22)"
+ },
+ {
+ "gate": "joint_sweep",
+ "severity": "error",
+ "message": "link 'Hinge' lies entirely inside 'Body' at rest (100% of its surface): it can neither be seen nor move",
+ "n": 0,
+ "kind": "joint_sweep/buried_link",
+ "origin": "codeverse3d source (the round gate's aggregated form, 2026-09-22)"
+ },
{
"gate": "lint:blender",
"severity": "warn",