Skip to content

Strengthen the case-gap mutation survivors: survivor-driven loop, CICS fault plans, COBOL-derived crucible scenarios (#4049) - #4289

Merged
squid-protocol merged 3 commits into
mainfrom
feat/4049-strengthen-case-gaps
Oct 4, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
feat/4049-strengthen-case-gaps

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Part of #4049: strengthen the case-gap mutation survivors.

The strengthening loop is now driven by the surviving mutants: each proposed scenario is aimed at named survivors. Its expected result still comes from running the COBOL, never from the model.

Tooling

  • tests/tools/strengthen.py: the survivor-driven loop.
  • tests/tools/equivalence_cics.py, tests/equivalence/cics/ggcics.c: CICS fault plans.
  • tests/tools/cics_crucible.py: crucible scenarios derived from the COBOL run. A COMMAREA is written by its layout's fields, so COMP/COMP-3 bytes are never transcoded as text.
  • mutation_crucible.py, mutation_scores.py, and the transaction forge, updated to match.

Case data (reviewed and approved by Joe)

  • carddemo-acctview: new CICS scenarios (blank or * account id, PF3 with no COMMAREA or from itself, carried fields on re-entry, a large-balance account). Also one synthetic account, customer and card-xref record appended to the VSAM inputs.
  • carddemo-dateutil: boundary dates (year 0000, day 00, January, 0001-02-30, ...).
  • carddemo-menu: small update.

Docs: oracle_assumptions.md.

Fix in this PR: the derived-log test expected the old plain-text COMMAREA ("001FIRST"). It now checks against the hand-written log's field layout.

🤖 Generated with Claude Code

Comment thread tests/tools/strengthen.py
Comment on lines +152 to +154
parts += ["", "## Mistakes no current input exposes: small changes to the Java port that every run still "
"passes. An input on which the original and the changed code behave differently kills one; name "
"the ids you aim at in `targets`.",
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 4, 2026 08:04
…ds (#4049)

derive_expected writes a COMMAREA by the case's STATE layout
(WS-COUNT / WS-NAME), as the hand-written three-visits log already
does. The last assertion still expected the old plain-text form
("001FIRST"), so it failed on every run of this PR. Assert against
the hand-written log instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol changed the title [needs Joe's review] WIP: #4049 strengthen the case-gap mutation survivors Strengthen the case-gap mutation survivors: survivor-driven loop, CICS fault plans, COBOL-derived crucible scenarios (#4049) Oct 4, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review October 4, 2026 12:59
@squid-protocol
squid-protocol merged commit 737cab8 into main Oct 4, 2026
38 checks passed
@squid-protocol
squid-protocol deleted the feat/4049-strengthen-case-gaps branch October 4, 2026 12:59
squid-protocol added a commit that referenced this pull request Oct 4, 2026
field_testing.json merged by entry (main's #4243 defect kept; this
branch's defect renumbered where its ID collided), then
cics_field_testing.md and fact_channel_confidence.json regenerated
with `tests/tools/field_testing.py report --write` rather than
hand-merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 4, 2026
field_testing.json merged by entry (main's #4243 defect kept; this
branch's defect renumbered where its ID collided), then
cics_field_testing.md and fact_channel_confidence.json regenerated
with `tests/tools/field_testing.py report --write` rather than
hand-merged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants