spatial-code-hq / QUALITY.md
summer
pilot v0: 178 verified OpenSCAD+CadQuery pairs, seed=42, exec+mesh gates PASS
dc251b5 verified
|
Raw History Blame Contribute Delete
1.11 kB

QUALITY — gate results (pilot v0, seed=42)

Tools: OpenSCAD 2021.01 (official AppImage, CLI -o x.stl), CadQuery 2.8.0, trimesh 5.2.0.

gate rule result
dedupe exact sha256 of dialect+code 6 duplicates removed
exec_ok OpenSCAD exit 0, STL written, no "ERROR"; CadQuery exec + STL export without exception 0 failures
mesh non-empty, finite bbox, is_watertight, volume>0 16 rejected (all CadQuery: 7 sphere, 9 cube−sphere; STL tessellation not watertight per trimesh)
license only self-generated code, Apache-2.0 100% synthetic; no external/NC/unknown sources included

Totals: generated 200 → verified 178 (OpenSCAD 97, CadQuery 81) / rejected 22. Splits (sha256(seed:prompt) mod 100: <80 train, <90 test, else hold; both dialects of a prompt share a split → no prompt leakage): train 147 / test 13 / hold 18. Unique prompts: 97.

Not verified: semantic match prompt↔geometry is by construction (templates), not checked by an independent measurement; no near-duplicate (parametric) dedupe — many rows differ only by numbers; no human review.