Skip to content

equivalence: READ-10 fault runs kill the SORT input DD-label mutants (Part of #4268) - #7305

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
churn/4268-20261031T1236Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
churn/4268-20261031T1236Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4268 (slice 2): closes the 3 harness-gap mutants (the SORT input DD labels) in the L5 ledgers of carddemo-sort-tranrept and carddemo-sort-combtran.

What changed (and what the plan got wrong)

The plan called for a Sort USING/GIVING file-status model in the runtime. Measuring the oracle showed it is not needed: an OPEN 35 on a USING DD is undefined by IBM under FASTSRT, the oracle carries on (RC 0) and the port refuses by name. A READ status-10 fault is defined by IBM and also names the DD, so it kills the label mutant. No gen.py / Sort.java change.

  • case.json of both cases: one fault run per sort-input DD (sortin-eof; sortin1-eof, sortin2-eof), READ nth 2 status 10. Both cases re-proved (tranrept 2 runs, combtran 3).
  • L5 ledgers re-run: combtran 46 killed / 89 survived (all stated) / 15 stillborn; tranrept 61 / 79 (all stated) / 10. The 3 harness-gap survivor entries are removed; stated entries re-keyed to the new mutant ids.
  • F4.md counts and note; test_sort_case_4268.py now requires every survivor stated and one READ-10 fault per input DD.
  • Hand-written: 2 case.json, F4.md, test_sort_case_4268.py (4). Regenerated: evidence.json x2, det_mutation ledgers x2, survivors files x2 (mechanical).

Checklist: partial [c:2148d504] -- DD labels killed by READ-10 runs; no Sort status model built (not needed); OPEN/GIVING faults still open
Checklist: partial [c:ac8b71e6] -- sort-input DDs covered; GIVING (SORTOUT) fault runs not added
Checklist: partial [c:9e003ccd] -- L5 now has no open survivor for both sort cases; OPEN-failure handling needs an owner decision

Class / Sibling gaps

Class: implicit-I/O errors on a SORT/MERGE USING or GIVING file. Siblings:

  • USING/GIVING OPEN, READ (non-10), CLOSE and WRITE failures: the port still refuses by name (Sort.expect); the oracle's OPEN 35 is RC 0 and IBM is FASTSRT-undefined. Needs an owner/register decision (follow cobc or refuse).
  • An explicit OPEN/READ failure with no FILE STATUS, USE or AT END: the oracle gives a run-time error (RC 1), the port carries on RC 0. General translator rule, not Sort-specific (tranrept SORTIN OPEN 35 shows it).
  • GIVING-side (SORTOUT) fault runs not added.

Remaining slices

The three sibling gaps above.

Gates

pr_gates --fast + --ratchets (9 pass), det_mutation.py check ok, sort tests and test_evidence.py pass.

Lessons for agents

  • Check what the oracle does for a fault before building a model for it: a defined-status fault (READ 10) may need no engine change.
  • Mutant ids move when the generator changes; re-key stated survivors by (op, line, before, after) and run det_mutation.py refresh to renew the survivors fingerprint.

🤖 Generated with Claude Code

squid-protocol and others added 7 commits October 31, 2026 08:16
…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]>
…runs, F4 counts (Part of #4268)

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 13:34
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 13:37
@squid-shepherd
squid-shepherd Bot merged commit 781e188 into main Oct 31, 2026
71 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4268-20261031T1236Z branch October 31, 2026 13:54
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