Skip to content

mutation: account for all zecs-zecsnc survivors (L5) (Part of #4628) - #7333

Merged
squid-protocol merged 1 commit into
mainfrom
feat/zecs-zecsnc-l5
Oct 31, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/zecs-zecsnc-l5

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Account for 100% of surviving mutants for zecs-zecsnc (ZECSNC), bringing another ZECS program to Level 5 (L5):

  • zecs-zecsnc (ZECSNC): 546/546 mutants evaluated (exhaustive run, 0 sampling), 240 killed, 22 stillborn, 284 survived -> 284/284 survivors accounted for (260 equivalent, 24 unreachable) -> L5

Each mutant is categorized as either equivalent or unreachable with technical justifications:

  • equivalent:

    • Base64 image constants for unused structures or overwritten initial states (IMAGE_s_MSG_AREA, IMAGE_s_TD_RECORD, IMAGE_s_RECORD_KEY, IMAGE_s_SYSID, IMAGE_s_APPLID, IMAGE_s_DFHEIBLK).
    • Unused batch return code field scale (f123_GG_RETURN_CODE).
    • Mathematical identity operations (base - 0 vs base + 0).
    • Arraycopy deletions for initial state of unreferenced fields (TD_RECORD, RECORD_KEY, SYSID, APPLID).
    • Working-storage assignments for unreferenced / unused fields (f18_SYSID, f19_APPLID).
    • Task header calculations for fields never read in the program (f93_EIBDATE, f92_EIBTIME).
    • Buffer expansion multiplier for performThru (mine * 3 vs mine * 2) where program nesting depth never exceeds 1.
    • Paragraph loop exit check (if (i != thru)) which skips only empty no-op -EXIT paragraphs.
    • In ZECSNC, after commands like RECEIVE, START, SEND, WRITEQ TD, and WRITE OPERATOR, EIBRESP and EIBRESP2 are never checked; writes to f98_EIBRESP and f99_EIBRESP2 after these commands are dead stores.
    • System values APPLID and SYSID are retrieved via ASSIGN but never referenced in program logic.
    • Terminal buffer max length (9 vs 10) allows full receipt of all scenario terminal inputs (which are <= 4 bytes).
  • unreachable:

    • All CICS commands specify NOHANDLE, so dynamic condition handling (condition()), paragraph dispatching (paragraph(), PARAGRAPHS), and abend handling (abended()) are completely unused.
    • Unreachable exception branches, negative duration guards, and dynamic dispatch table lookups.
    • DTO mapping methods (in_ZecsncDfhcommarea, fill_ZecsncDfhcommarea) and facade helpers (handleLink(request, area)).

Verification:

  • det_mutation.py check passes with 0 problems
  • det_mutation.py stale-check --vs origin/main passes with no stale ledgers
  • det_mutation.py table zecs-zecsnc reports L5: yes with 0 unaccounted survivors
  • pr_gates.py --fast passes (9/9 gates)

Part of #4628.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 31, 2026 17:42
@squid-protocol
squid-protocol merged commit 5fbeb41 into main Oct 31, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the feat/zecs-zecsnc-l5 branch October 31, 2026 18:27
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.

1 participant