Square key plate built from a text specification.
| File | Kind | Size |
|---|---|---|
| chiral-keyplate.step | STEP | 29 KB |
| chiral-keyplate.stl | STL | 10 KB |
contract.yaml (design contract)
Model the square key plate described in the attached text spec as one solid. Frame: origin at the plate centre in XY, z = 0 on the bottom face, +z through the thickness, +x and +y along the plate edges. Cut four identical rectangular slots from the top as 4 mm-deep pockets in a C4 pinwheel whose first slot is centred at (20, 8) mm with its long axis along x; the other three are 90 degree rotations about z. The pinwheel is chiral — do not emit the mirrored arrangement, a centred cross, or any pattern with a mirror plane. Name the four pocket floors. One solid; export STEP and STL.
| Tier | Gate | Result | Evidence |
|---|---|---|---|
| A | contract_provenance Contract validates; every value carries provenance and a tolerance | PASS | designs/chiral-keyplate/contract.yaml: 8 parameters {'stated': 8} |
| A | envelope Bounding box of the exported STEP equals the contract envelope | PASS | results/chiral-keyplate/inspect.json bbox.max_error = 0.0 (tol 0.05) |
| A | mass_properties Volume, surface area and centre of mass within contract tolerance (independent STEP measurement) | PASS | results/chiral-keyplate/inspect.json volume = 49664.0 vs 49664.0 |
| A | features Every required feature, section and named face verified on the STEP | PASS | results/chiral-keyplate/inspect.json features: 6/6 ok; failed required []; failed optional []; unverified [] |
| A | reference_fidelity Deviation from the reference model within the contract band (when a reference exists) | n/a | results/chiral-keyplate/inspect.json deviation.p95 = None hausdorff = None silhouette_iou_min = None |
| B | export_agreement KCL (Zoo), STEP (OpenCascade) and STL (trimesh) volumes agree | PASS | results/chiral-keyplate/inspect.json agreement kcl=49664.00150389442 step=49664.00000000001 stl=49664.0 (rel tol 0.002) |
| B | edit_robustness Declared parameter edits rebuild with the expected effect; baseline re-export hash unchanged | PASS | results/chiral-keyplate/edit.json 2/2 edit tests ok; restore.ok = True |
| B | source_hygiene KCL 2, mm, formatted, lint-clean, named parameters match the contract, asserts present | PASS | results/chiral-keyplate/verify.json hygiene: kcl2=True mm=True legacy=[] params_ok=True asserts=12 |
| C | export_integrity Deterministic STEP (two exports identical), valid B-rep, expected solid count, watertight STL (solid shells == solids) | PASS | results/chiral-keyplate/export.json step.deterministic = True sha256 82d9bdc009ce; stl=present; glb=present |
| C | traceability Every stage JSON present with tool versions, git head, Codex thread ids, engine-call ledger; no --allow-errors | PASS | stages present: {'plan': True, 'model': True, 'verify': True, 'export': True, 'inspect': True, 'edit': True} |
| C | evidence_separation Contract agreement, reference agreement and physical validation are reported as separate verdicts | PASS | results/chiral-keyplate/inspect.json carries contract checks (volume/bbox/features) and a separate deviation block (reference = None) |
| C | independence The KCL is editable construction: no import of reference geometry, sketch blocks and features present | PASS | results/chiral-keyplate/verify.json hygiene.forbidden_imports = [] sketch_blocks = 5 feature_ops = 6 lines = 237 |