Skip to content

equivalence: L5 mutation for the two lowered-DFSORT sort cases (Part of #4268) - #7297

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4268-20261031T1131Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4268-20261031T1131Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4268.

Checklist: partial [c:2148d504] -- 3 DD-label mutants open (harness-gap): a faulted SORT USING open is not modelled by the port, so no fault run can compare the label.

What changed

  • L5 (det_mutation, Evidence L5: mutation testing on det ports, survivors accounted for (#4601) #4628) for the two lowered-DFSORT cases, seed 0, 150 sampled mutants each:
    • carddemo-sort-combtran: 44 killed, 91 survived (89 stated, 2 open), 15 stillborn.
    • carddemo-sort-tranrept: 60 killed, 80 survived (79 stated, 1 open), 10 stillborn.
  • Ledgers tests/equivalence/det_mutation/ (tool-written) and det_mutation_survivors/ (verdict and reason per survivor): CICS/EIB boilerplate of the generated service, PERFORM stack, record-area initial images, refusal-message text, key widening over distinct keys.
  • docs/language_status/register/F4.md quotes the counts and the open residual; test_sort_case_4268.py pins both ledgers.
  • No engine change, so no golden bless. Hand-written files: F4.md, the test; the survivors ledgers carry the reviewed verdicts.

Evidence

det_mutation.py check ok; pr_gates --fast 9/9; --ratchets det-mutation PASS; test_sort_case_4268.py 191 passed.

Class / Sibling gaps

  • The 3 open DD-label survivors: a fault run (OPEN 35 on SORTIN / SORTIN1 / SORTIN2) was tried; the oracle carries on and the port stops by name (Sort$NotModelled), so the run differs. Needs a Sort USING/GIVING file-status model in the runtime; burned program that needs it: none (no burned program uses the COBOL SORT verb; only these two JCL DFSORT cases).
  • COBOL-verb SORT/MERGE with RELEASE/RETURN: no burned program, out of scope.
  • IDCAMS/IEBGENER oracle execution is the separate item [c:ac8b71e6].
  • A mutation score of 43% / 33% mostly reflects the generated service's unused CICS scaffolding, stated unreachable.

Remaining slices

  • The Sort USING/GIVING file-status model, then a fault run per sort-input DD to kill the 3 open mutants (checklist item then done).

Lessons for agents

  • A fault plan on a SORT USING DD is not committable: the port refuses a non-00 status by name (Sort$NotModelled) and the oracle carries on, so the fault run DIFFERS. Check with det_port.py run CASE --faults all --work DIR before adding "faults" to a sort case.
  • det_mutation.py check reports "not a committed file" for new ledgers until they are git added.

🤖 Generated with Claude Code

…s, every survivor stated but the DD labels (Part of #4268)

det_mutation run (seed 0, 150 sampled) on carddemo-sort-tranrept and carddemo-sort-combtran, 150 survivors stated equivalent/unreachable, 3 DD-label mutants open as a harness-gap (a faulted SORT USING open is refused by name by the port); F4 register and a pin test updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 12:18
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 31, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 12:26
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit a3f78a1 into main Oct 31, 2026
66 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4268-20261031T1131Z branch October 31, 2026 13:01
squid-protocol added a commit that referenced this pull request Oct 31, 2026
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