Repository navigation
fix(l5): the in-process CICS mutant path judges the java-facade side (Part of #8599) - #8639
Merged
Merged
Conversation
… as the baseline does (Part of #8599) A CICS baseline is proven through runTask and through the deployed entry points (run_case facades, #4449), and a separate-run mutant proof does both; the in-process worker ran runTask only, so facade-only mutants (handleLink, lastLinkBytes) survived falsely (ABNDPROC 661ba858a8). With a facade side in the baseline, the worker now runs it after a passing runTask side (own epoch: a fresh class loader) and judges it with judge_facade (new `quiet`); kills are `<scenario> [java-facade]`, and killers() names them for a separate run too. cbsa-abndproc's 212 recorded survivors re-judged in process: 8 die, 187 survive. The 8 plus 6 survivors with --no-one-jvm: 14 of 14 agree, same killed_by. None of the 8 was a stated claim. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 19, 2026
squid-protocol
marked this pull request as ready for review
November 19, 2026 21:53
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 20, 2026
…vivors, 7 new rows stated (Part of #7954) (#8733) * CBSA ABNDPROC and UPDCUST: re-judge the facade-only wrapper survivors, state the 7 new rows (L5) (Part of #7954) The 16 open rows (linked()/run() names, lastLinkBytes) were recorded before #8639 made the in-process judge run the java-facade pass; a full re-run kills all 16. The 7 mutants the port move added: 4 constants nothing reads (auto-state), 3 EIBCALEN / caBack rows stated equivalent after an attack on record. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * X10: slice 22, ABNDPROC and UPDCUST reach L5 (Part of #7954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8599: the java-facade false survivors.
The gap
A CICS baseline is proven twice: through
runTask, and again through the program's deployed entry points (run_case(facades=True), #4449). A separate-run mutant proof (--no-one-jvm, or the fallback) also does both. The in-process worker (mutation._DirectContext, fast+one-jvm, non-Db2/non-IMS) ran only therunTaskside and judged it withevaluate_cics_outputs. So a mutant in facade-only code (handleLink,handleTransaction,lastLinkBytes) survived in process where a separate run killed it. Example: ABNDPROC661ba858a8, COR onlastLinkBytes.Summary
mutation._DirectContext._run_facade: when the baseline has a facade side (report["facade"]), the worker runs every scenario again with-Dequivalence.facades=true, after a passingrunTaskside. It runs in the same session JVM, under its own epoch (<id>:facade, so a fresh class loader, as a separate JVM would have). The result is judged withequivalence_cics.judge_facade, the same judgerun_caseuses for the baseline. A timeout counts as timeout, and a broken session falls back to the separate run, as on therunTaskside.mutation.facade_killers/killers: a facade kill is named<scenario> [java-facade]. Separate runs now name these too (before,killersignoredreport["facade"]and returned[]).equivalence_cics.judge_facade(quiet=...): no per-scenario lines when called from mutant workers (stdout is shared between threads).docs/language_status/mutation_testing.md: the gap and the validation.Verification
--no-one-jvm. 14 of 14 agree, with identicalkilled_by(2 s in process against 31–54 s as separate runs).equivalent/unreachableclaim (416 stated rows checked), so this refutes no existing claim.tests/tools/test_mutation_facade_8599.py(new; stubbed session):error;runTaskkill skips the facade side;killerson a separate run;quiet.pytestmutation suites (test_l5_speedups,test_det_mutation,test_mutation_bytes,test_survivor_attack, thecobol_mainframemutation tests) plus the new file: 253 passed, 1 skipped. The harness tests that calljudge_facade(test_equivalence_cics,test_equivalence_cics_facade_bytes_7607,test_equivalence_cics_facade_raw_bytes_8121): 89 passed, 2 skipped.Not done here
INFO, not staleness, so recorded false survivors stay until their case is re-run. 112 CICS ledgers can use the in-process path, with 30,800 survivors between them (about 9–10 h on nyx at 2 jobs). That sweep needs a box and a decision. cbsa-abndproc's ledger is not re-recorded here either: its port moved, so a freshrunalso brings new survivors.survivor_attack.py trystill proves with--no-facades. That's fine for an attack, because a facade-only kill now shows up on the next det-mutation run and refutes any wrong claim.mutation.py.Type of change
🤖 Generated with Claude Code