Repository navigation
equivalence: det-port mutation tooling and the L5 hook (slice 1 of #4628) - #5146
Merged
Merged
Conversation
…ce L5, #4628) tests/tools/det_mutation.py runs mutation.py on the det port of a case (its service/*.java, the entry points the case's kind never calls out of scope), records it in tests/equivalence/det_mutation.json keyed by fingerprints, and checks the reviewed survivor list tests/equivalence/det_mutation_survivors.json (a run that kills a stated equivalent / unreachable mutant fails). status() is the evidence report's L5 hook (#4603). mutation.py: --port / --files, javac stillborn check --jobs at a time. Strengthened carddemo-signon (PF4, both XCTLs failing) and cbsa-updcust (four scenarios) for killable survivors; evidence record and coverage ledger regenerated. Part of #4270. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ivors (#4628) PF4, PF3's XCTL failing (PGMIDERR), and a COMMAREA with every field set. An unhandled XCTL condition (NOTAUTH) was tried and left out: the committed model port sends the menu instead of abending, and the det runtime knows no abend code for NOTAUTH. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ors (#4628) PF3's XCTL failing (the task abends), and a COMMAREA with every field set with the FSET header fields received back. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ors (#4628) A failed lookup after the FSET fields come back, and a COMMAREA with every field set (the CU03 part too). PF3's XCTL failing was tried and left out: the committed model port RETURNs instead of abending. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ors (#4628) The first name changed alone, the FSET fields sent back with nothing changed, a COMMAREA with every field set, and PF12's XCTL failing. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…vors (#4628) The FSET header fields sent back, a COMMAREA with every field set (the CT01 part too), and PF5's XCTL failing. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ors (#4628) A COMMAREA with every field set (the CB00 part too). PF3's XCTL failing was tried and left out: the committed model port RETURNs instead of abending. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…grams (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…vors (#4628) PF15 (CSSTRPFY's PF3), a COMMAREA with every field set and the card filter blank, a card filter of zeros, '*', and a COMMAREA from the card list with another mapset. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ors (#4628) One malformed part at a time in the amount and both dates, the FSET header fields sent back, and a COMMAREA with every field set. PF3's XCTL failing was tried and left out (#4648: the model port RETURNs). det_mutation.py record takes a lock so two runs cannot lose an entry. Evidence record and coverage ledger regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#4628) Paused at the owner's usage limit; see handoff-4628-det-mutation.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…trengthened cases on main (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015Xn8Wqph5U7RpbsjSBbBwp
…-10-08) into churn/4628 Generated files (evidence.json, the retired det_sweep_coverage.json, the git-ignored evidence pages) take main's side; they are regenerated by their tools for the strengthened cases. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dence report places L5 and shows the raw score (#4628) det_mutation.json / det_mutation_survivors.json become tests/equivalence/det_mutation/<CASE>.json and det_mutation_survivors/<CASE>.json (as det_sweep_coverage/, #4789). det_mutation.measured() returns a stale result marked stale; status() stays the strict L5 hook. evidence_report.level_of places L5 on a fresh, all-accounted entry; a raw-score column and the one-line accounting per program. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… per component as an evidence record (#4731, #4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d (proposed) (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… of the strengthened cases; COSGN00C survivors triaged (proposed) (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ved: re-run mutation after) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-measured after the main merge (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…erdicts carried (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…et-port caWhole survivors (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… kill (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tant 6311acc336); evidence re-proved, det coverage re-measured (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…df1a4, 2d6479e41b; evidence re-proved (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…5 case-gaps closed (#4628) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t of #4628) test_posix_only_imports_4934 failed on full-suite part 3: the record lock's `import fcntl` was unguarded. Off POSIX the entry is written unlocked. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
CI shepherd: the head of this PR (376c06a) is not the one a maintainer labelled |
squid-protocol
disabled auto-merge
October 18, 2026 10:57
Owner
Author
|
No description provided. |
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 #4628 (evidence L5: det-port mutation testing, every surviving mutant accounted for). Slice 1 of 6, the tooling and the L5 hook. Opus rescue, 2026-10-17: the PR had grown to 45 files (tooling, scenario strengthening for 10 cases, per-case runs and triage), and six fix runs in 24 h didn't finish it. It is now cut to five hand-written files. Everything else is in the branch history at
7a05c8efffor the later slices.What's here
tests/tools/det_mutation.py(+test_det_mutation.py): runsmutation.pyon the det port of an equivalence case (det_port.py run --translate-only,service/*.javaonly, entry points the case's kind never calls are dropped; sample 150, seed 0, same harness and operators). It writes a per-case ledger (tests/equivalence/det_mutation/<case>.json) fingerprinted on port, case, corpus, harness, oracle and generator, so a moved input makes the entry stale. It also writes a reviewed survivor list (det_mutation_survivors/<case>.json, the proof_blockers: the strict branch bar counts statically dead outcomes -- 13 CardDemo programs cannot reach it (#4270) #4602 pattern):equivalent/unreachablecount as accounted for, whilecase-gap/harness-gapare triaged but not accounted for. A run that kills a statedequivalent/unreachablemutant fails.tests/tools/mutation.py:--port/--files/selecthook (mutate a port outside the case), and javac runs--jobsat a time.tests/tools/evidence_report.py(tooling: purchaser-facing evidence report (#4601) #4603): places L5 from a fresh entry with every survivor accounted for, and shows the raw score as its own column.docs/language_status/mutation_testing.md: the det-port L5 section.No ledger is committed in this slice, so the evidence report shows every program as "not measured" for L5. No level moves.
Gates
pr_gates.py --fast: 6/6 pass.--ratchets --only-ratchets time: pass.test_det_mutation.py+test_evidence_report.py: 84 passed;test_mutation_tooling.py+test_timeouts_4904.py: 22 passed (plainpytestfrom/tmp).Class table
Class: the 13 strict-bar det-port programs of #4628 and their L5 status.
Remaining slices
Each is one PR of <= 5 hand-written files. Generated files (evidence.json, det_sweep_coverage, det_mutation ledgers) don't count toward that limit.
2. First ledgers: the
.gitignoreexception fordet_mutation/+det_mutation_survivors/. Run signon (COSGN00C) and updcust (UPDCUST), which were nearest to done (1 harness-gap each), on the strengthenedcase.jsonof those two from7a05c8eff. Re-prove evidence,det_coverage_ledger.py update, commit the ledgers plus the reviewed survivor lists. Acceptance:det_mutation.py checkclean,tableshows both.3. adminmenu, billpay, tranadd (case.json from
7a05c8eff, already merged with #5293's XCTL scenarios): re-prove, re-run, carry the verdicts over (handoffs/4628-triage/carry.py), triage the rest.4. cardview, tranview (COCRDSLC, COTRN01C) + tranlist (COTRN00C, never run).
5. useradd, userupd, userdel (COUSR01C, COUSR02C, COUSR03C).
6. userlist (COUSR00C, 57 untriaged) + cbsa-abndproc (ABNDPROC).
Owner review of the
equivalent/unreachableclaims happens in each slice's PR.Uncommitted ledgers from the last runs (cardview, tranlist, tranview, useradd, userdel, userlist, userupd, plus a newer billpay) are saved at
handoffs/4628-triage/uncommitted-at-rescue-7a05c8eff/. They are stale on the strengthened cases, so they're useful only as triage input.Owner decisions
Owner OK (phone, 2026-10-17): fix PR #5146 (churn/4628-20261014T1221Z): conflicts with main. Work on the PR's own branch: merge origin/main (never rebase), resolve (regenerate generated docs, never hand-merge them), read any red check and fix what is real, gates, push; report the PR's CI.
Owner OK (phone 2026-10-17): one more fix run on PR #5146, narrower brief: fix ONLY the failures listed in the latest review/CI on the PR's own branch (merge origin/main first), no scope growth, stop and report on any permission denial.
Owner OK (2026-10-17): a rescue run may close this PR and edit issue #4628.
🤖 Generated with Claude Code