Action matrix: every ordinary action on every face, edge, vertex and body of the design corpus (#553)

apps/solidcraft-cli/tests/action_matrix.rs tries sketch, offset/angle/mid planes, press pull, extrude from a face, hole, draft, shell, fillet, chamfer, axes, points, planes, projection, move, copy, mirror and pattern on the final bodies of 104 designs (the old design files, the examples, the 76 reference recipes, the enclosure demos, the Pi case built through the UI, eight typical parts), through the commands and picks the desktop sends, each design in its own process, with an edit round on a sample of passes. tests/action_matrix/baseline.json is a ratchet: an action that passed there and fails now fails the test; newly passing ones are reported for cargo xtask action-matrix --bless. Every CI run checks a fixed sample; the nightly Action matrix job runs the whole matrix in four parts. 30,567 of 35,576 actions pass (85.9%); results and causes in docs/action-matrix.md, one ignored reproduction per open cause (#556-#568).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bherbruckandClaude Opus 5.5 authored and GitHub committed 2026-10-13 02:41:17 -04:00
1 parent 9283d2b5bb
commit 736d9277b8
17 files changed
+14314

No files matched your search

+2
View File
@@ -675,6 +675,8 @@ def main():
if any(abs(v - w) > 1e-5 for side in want for v, w in zip(box.get(side, []), want[side])):
raise RuntimeError(f"the case did not rebuild to 95 x 66 x 32 mm: {box}")
if a.save:
# The finished case, as built through the UI (tests/action_matrix uses it).
d.execute("file.save_as", {"path": a.save, "format": "json"})
with open(a.save + ".measure.json", "w") as proof:
json.dump(design, proof, indent=2)
elif a.save and a.until == 10**6: