Skip to content

mutation: account for all cbsa survivors (L5) (Part of #4628) - #7162

Merged
squid-protocol merged 1 commit into
mainfrom
feat/triage-cbsa-survivors
Oct 30, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/triage-cbsa-survivors

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4628.

Summary

Triaged and accounted for all remaining open survivors across the entire cics-banking-sample-application-cbsa estate:

  • cbsa-getcompy (GETCOMPY, 19 open survivors accounted)
  • cbsa-getscode (GETSCODE, 19 open survivors accounted)
  • cbsa-acctctrl (ACCTCTRL, 21 open survivors accounted)
  • cbsa-updacc (UPDACC, 29 open survivors accounted)
  • cbsa-updcust (UPDCUST, 32 open survivors accounted)
  • cbsa-abndproc (ABNDPROC, 34 open survivors accounted)

Elevating all 6 CBSA programs to Evidence Level L5 (100% accounted, 0 unaccounted). This establishes the first L5 achievements for the CBSA estate and elevates the global total to 25 L5 programs.

program (case) mutants run / in scope killed survived stillborn stated equivalent / unreachable unaccounted raw score L5
ABNDPROC (cbsa-abndproc) 150/453 (seed 0) 45 96 9 96 0 45/141 (32%) yes
ACCTCTRL (cbsa-acctctrl) 517/517 (seed 0) 203 289 25 289 0 203/492 (41%) yes
GETCOMPY (cbsa-getcompy) 220/220 (seed 0) 60 146 14 146 0 60/206 (29%) yes
GETSCODE (cbsa-getscode) 227/227 (seed 0) 67 146 14 146 0 67/213 (31%) yes
UPDACC (cbsa-updacc) 713/713 (seed 0) 394 294 25 294 0 394/688 (57%) yes
UPDCUST (cbsa-updcust) 150/716 (seed 0) 68 73 9 73 0 68/141 (48%) yes

Triage Breakdown

  1. cbsa-getcompy (GETCOMPY - 19 mutants: 1 equivalent, 18 unreachable):

    • 2723133859 (equivalent): s_DFHCOMMAREA.beyond = null; deleting this leaves it null since it is initialized to null.
    • Mutants 2-9 (fc3fed9620, 65924fc8e2, 4b1c795271, 05396dfd07, fd9a72ea9a, 39ea9d7ac5, 6592ef74b6, a0e9958270 - unreachable): ca instanceof byte[] branch is unreachable because callers pass GetcompyDfhcommarea DTO, never raw byte[].
    • Mutants 10-13 (c5ab861284, cd2f855ee9, bc8549353b, c49c0b0ce7 - unreachable): raw != null branch is unreachable; task.linkArea() is only passed by 2-param handleLink.
    • Mutants 14-19 (069a90e847, 0f582fda06, ab8de52cba, 232d34630d, dbfbe0cd74, 7d49999541 - unreachable): 2-param handleLink(request, byte[] area) overload and lastLinkBytes() are never called by the equivalence runner.
  2. cbsa-getscode (GETSCODE - 19 mutants: 1 equivalent, 18 unreachable):

    • 86f26e84de (equivalent): s_DFHCOMMAREA.beyond = null; deleting initialization leaves it null.
    • Mutants 2-9 (bbb13e24be, 5fb62810fa, 73ebf720cd, 1275fabe8a, d0fd2874fa, cfa60df0c4, fd37f364dd, a6d7bf9dcf - unreachable): ca instanceof byte[] branch is unreachable.
    • Mutants 10-13 (5335b05d57, 4f907c3b76, 7ed8fe1169, 324704999e - unreachable): raw != null branch is unreachable.
    • Mutants 14-19 (f359d07cda, 518a25c4b6, c6449e747d, 0fc538e745, 0fa468b66b, de7a07b3c4 - unreachable): 2-param handleLink overload and lastLinkBytes() helper are never invoked.
  3. cbsa-acctctrl (ACCTCTRL - 21 mutants: 3 equivalent, 18 unreachable):

    • e665241919, 4b2f97c8ca (equivalent): ACCOUNT-CONTROL-NUMBER (offset 20..27) is cleared by INITIALIZE DFHCOMMAREA to zoned zeros and never modified. Reading offset 21..28 or len 8->9 reads adjacent zoned zeros and parses to integer 0.
    • 37e02b3dd7 (equivalent): s_DFHCOMMAREA.beyond = null; deleting initialization leaves it null.
    • Mutants 4-11 (L364-L368 - unreachable): ca instanceof byte[] branch is unreachable.
    • Mutants 12-15 (L374-L376 - unreachable): raw != null branch is unreachable.
    • Mutants 16-21 (L423-L436 - unreachable): 2-param handleLink overload and lastLinkBytes() helper are never invoked.
  4. cbsa-updacc (UPDACC - 29 mutants: 5 equivalent, 24 unreachable):

    • 9c7be3d8f9, 6a911f34f3, 22b7feb365, b1d3905e58 (equivalent): In fill_UpdaccDfhcommarea, commAccno, commAccType, commIntRate, commOverdraft are input fields rewritten on success to identical values; on failure untouched. Omitting these setters leaves caller DTO with input values unchanged.
    • caa0c9e0ff (equivalent): s_DFHCOMMAREA.beyond = null; deleting initialization leaves it null.
    • 017e0933e8 (unreachable): Inside unused private helper out_UpdaccDfhcommarea.
    • Mutants 7-14 (L391-L395 - unreachable): ca instanceof byte[] branch is unreachable.
    • Mutants 15-19 (L399-L403 - unreachable): raw != null branch is unreachable.
    • Mutants 20-23 (a698fc0229, edf8692d16, 3f28944e5a, 299ec2ce5b - unreachable): calen < 99 is never true; all scenarios pass the full 99-byte COMMAREA so caWhole is always null and IndexOutOfBoundsException is never thrown.
    • Mutants 24-29 (L449-L462 - unreachable): 2-param handleLink overload and lastLinkBytes() helper are never invoked.
  5. cbsa-updcust (UPDCUST - 32 mutants: 20 equivalent, 12 unreachable):

    • f2c930bae8 (equivalent): COMM_UPD_SUCCESS length 1->2 pads with space into offset 260 matching unchanged COMM_UPD_FAIL_CD; caller reads offset 259 length 1 seeing identical character.
    • 75116a5831, 9f96f423b4, a926d61392, ca2445b43b, fcce38905d (equivalent): In in_UpdcustDfhcommarea, s_DFHCOMMAREA is immediately overwritten by raw arraycopy with identical bytes from the linked area.
    • 298d1411d6, 9fd0d9d73d, 2eacbf3627, e232705a5f, 84d9da0895, 233578fc73 (equivalent): In fill_UpdcustDfhcommarea, fields are rewritten to input values or read from DB2 matching input; omitting setters or parsing adjacent zeros leaves caller DTO with unchanged values.
    • 37a38dec1b, 511a2d97ef, bbca8be03d (equivalent): DFHCOMMAREA image arraycopy and linkArea writeback are overwritten or zero-length copy.
    • be34bf5f7b (equivalent): SORTCODE is '987654' and COMM-SCODE is already '987654'; moving to itself overwrites identical bytes.
    • 7f3a9209ab (equivalent): WS-TITLE-VALID is only checked by IF WS-TITLE-VALID = 'N'; moving 'X' instead of 'Y' does not equal 'N' and the variable is never output.
    • 0c23142e7f, 7129146b8c, f92bb46a07 (equivalent): When COMM-NAME or COMM-ADDR is SPACES, ref(1,1) is also ' '; both sides evaluate identically under all scenario inputs.
    • 488afe4b04 (equivalent): CUSTOMER-NUMBER read from CUSTFILE matches requested COMM-CUSTNO; rewriting to itself has no effect.
    • Mutants in d == null, caWhole, ca instanceof byte[], calen < 261, IndexOutOfBoundsException, 2-param handleLink, and next >= 12 (1ef3c51d93: GMOOH010 unconditionally throws Goback) are unreachable.
  6. cbsa-abndproc (ABNDPROC - 34 mutants: 25 equivalent, 9 unreachable):

    • 73a403878a through 821ade5944 (15 mutants - equivalent): In in_AbndprocDfhcommarea, all fields are immediately overwritten by raw arraycopy with identical bytes from the linked area.
    • b20023c5e0, 0bae7c34ee, e69b8d3266, d65cd6d9db, a0ca4e3909 (equivalent): ABNDPROC never alters DFHCOMMAREA; caller DTO already holds all values so omitting writeback setters has no effect.
    • 9a4085c3d1, dc04666b7f, a2702538dd, 5176ad03f8, 83886b4d92 (equivalent): caBack default initialization, raw arraycopy redundancy, and zero-length copy when raw.length == keep.
    • 04e3650d74, 526286d7be, 0c90ce2329, ec6d8f020b, c544949718, ab70151d60, d8251506f1, 183a77dcf0, 8eb99939c5 (unreachable): d == null guard (d is never null under ca instanceof AbndprocDfhcommarea), ca instanceof byte[], and 2-param handleLink overload.

Verification

  • det_mutation.py check passes with 0 problems and 0 warnings across all 6 CBSA cases.
  • det_mutation.py stale-check --vs origin/main passes with no stale ledgers.
  • pr_gates.py --fast passes all 9/9 gates cleanly.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 30, 2026 15:55
@squid-protocol
squid-protocol merged commit 8468ede into main Oct 30, 2026
34 checks passed
@squid-protocol
squid-protocol deleted the feat/triage-cbsa-survivors branch October 30, 2026 17:21
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