Skip to content

mutation: account for all zecs-ecs001 survivors without sampling (L5) (Part of #4628) - #7363

Merged
squid-protocol merged 1 commit into
mainfrom
feat/zecs-ecs001-full-l5
Nov 1, 2026
Merged

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Account for 100% of surviving mutants for zecs-ecs001 (ECS001) across the entire program (0 sampling), upgrading it from sampled (150 mutants) to fully analyzed (684 mutants):

  • zecs-ecs001 (ECS001): 684/684 mutants evaluated (exhaustive run, 0 sampling), 339 killed, 22 stillborn, 323 survived -> 323/323 survivors accounted for with sound technical justifications -> L5

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

  • equivalent:

    • Base64 initial working-storage image constants for unreferenced or overwritten initial states (IMAGE_s_CLIENT_REQUEST, IMAGE_s_WS_SERVER_RESPONSE, IMAGE_s_WS_STATUS_REASON, IMAGE_s_HTTP_RESP, IMAGE_s_DFHCOMMAREA, IMAGE_s_DFHEIBLK, IMAGE_s_GG_RETURN_CODE, etc.).
    • Compiler annotation strings on internal methods (@SuppressWarnings).
    • Task header calculations for EIB fields never read in the program (f72_EIBTASKN, f69_EIBTIME, f70_EIBDATE, f71_EIBTRNID, f73_EIBTRMID, f76_EIBCALEN).
    • Field group definitions and intermediate display formats (f1_CLIENT_REQUEST, f34_HTTP_RESP, f37_HTTP_RESPONSE, f59_WS_RECORD_LENGTH, f100_GG_RETURN_CODE).
    • caBack reset and call in runTask and Z1000-EXIT-PROGRAM, which is a no-op runnable as ECS001 uses no caller COMMAREA.
    • task.returnTransid(null, null) in Z1000-EXIT-PROGRAM where fallback in runTask executes identical return if omitted.
    • Return statements at paragraph exits within perform blocks where paragraph exit conditions immediately return (A0000-EXIT, A2000-EXIT, A3000-EXIT, A4000-EXIT, A4100-EXIT, A5000-EXIT).
  • unreachable:

    • Dynamic condition dispatching (condition()), paragraph map lookups (paragraph(), PARAGRAPHS), and abend handler branches (abended()), as all CICS commands in ECS001 specify NOHANDLE or explicit RESP checks.
    • File control store method (store()) as ECS001 contains no file control operations.
    • Typed DTO getters/setters and remote region facade methods (in_Ecs001Dfhcommarea, fill_Ecs001Dfhcommarea, out_Ecs001Dfhcommarea, handleTransaction, lastAnswerBytes).
    • COMMAREA handling branches, linkArea handling, and PastFrom exception handling.
    • Error handling paragraphs and abend paths (A0000-ERROR, A2000-ERROR, A3000-ERROR, A4000-ERROR, A4100-ERROR, A5000-ERROR) as web operations and CICS commands succeed normally with DFHRESP(NORMAL) and HTTP status 200 in the equivalence test suite.
    • Fallthrough cases in evaluation / response-code inspection switches where all expected responses are handled.

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-ecs001 reports L5: yes with 0 unaccounted survivors (339/662 51% kill rate)
  • pr_gates.py --fast passes (9/9 gates)

Part of #4628.

@squid-protocol
squid-protocol enabled auto-merge (squash) November 1, 2026 00:38
@squid-protocol
squid-protocol merged commit 3e8cf64 into main Nov 1, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the feat/zecs-ecs001-full-l5 branch November 1, 2026 01:19
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