Skip to content

mutation_crucible: fast mode (generated project copied per mutant), compare gate (Part of #4047) - #5821

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4047-20261021T0415Z
Oct 21, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4047-20261021T0415Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4047.

Checklist: partial [c:0f9790f1] -- entry runs (no burned port has any) and crucible samples above 24 / the other 14 ports

What

The 17 crucible ports (mutation_crucible.py) had no fast mode. Every scenario of a side already ran in one JVM; what each mutant repeated was the refactor + cobol-to-java generate. Now:

  • cics_crucible.py --forge-cache DIR: the first forge fills it with the generated project (before overlay and compile), later ones copy it (without target/), lay the overlay and compile.
  • mutation_crucible.py run: fast mode is the default (baseline fills the cache), --full generates for every mutant. Both sides (java-ported, java-facade) still run every scenario, so verdicts and killed_by are unchanged and no proof is loosened.
  • mutation_crucible.py compare A B --require-agree N: the gate (reuses mutation.compare).

Evidence

--sample 24 --seed 2 --jobs 2, --full then fast, burned crucible ports: CASUB 24/24, GTSTART 24/24, HXEXT 24/24 agree (72/72, ops AOR COR CON DEL LIT NEG RET ROR). Proof seconds full -> fast: 397 -> 292, 342 -> 335, 371 -> 308. The saving is modest (2-26%): a crucible proof is mostly the two Maven runs.

Class table

member status
crucible runner (17 ports) fast mode here, 3 ports validated
equivalence runners (batch, call, CICS) done earlier (#5762)
entry runs no burned port has one: nothing to prove
Db2 / IMS cases JVM per run, unchanged

Tests: forge cache generated once and each copy has its own overlay and no build output; proof command; compare gate. Gates: pr_gates --fast 7/7, --ratchets 8/8, audit_check clear, time ratchet 0 over.

Lessons for agents

  • mutation_crucible.py work dirs are DIR/<case>/<PROG>; compare takes those, not DIR.

Cross-repo

None (cics-crucible read only at its pin).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 21, 2026 04:42
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant