Skip to content

UPDACC: single-NULL seed rows kill the -305 test's case-gap survivors (Part of #4049) - #6217

Merged
squid-protocol merged 6 commits into
mainfrom
churn/4049-20261023T0936Z
Oct 23, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/4049-20261023T0936Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: done [c:a8db4026]

What

Triage of the CBSA UPDACC model-written port (cbsa-updacc, full enumeration, 139 mutants, seed 0). The issue's "38 untriaged" was stale: the survivors were already triaged, and 15 were case_gap on the model port. All 15 are resolved: killed 95 -> 103 of 139, case_gap 15 -> 0.

  • seed.sql: eight rows (accno 10-17, sort code 987654), each with exactly one NULL column (EYECATCHER, CUSTOMER_NUMBER, NEXT_STATEMENT, AVAILABLE_BALANCE, ACTUAL_BALANCE, ACCOUNT_TYPE, INTEREST_RATE, OVERDRAFT_LIMIT). UPDACC has no indicator variables, so the && / || mutants of the -305 test hid behind the old seed's only NULL (ACCOUNT_LAST_STATEMENT).
  • case.json: eight null-* scenarios, one per row. The GnuCOBOL oracle judges them; no expected value is hand-written.
  • 7 fault-arm survivors (-904 on SELECT and UPDATE) restated harness_gap: sql_faults is refused for this JDBC port ("no SQL fault hook in UPDACC"); the det case cbsa-updacc-faults proves -904 / -913 / -803.
  • 6 handleLink(request, area) mutants are unreachable (no proof calls it); test_proof_reach pin 108 -> 114.
  • Pin test test_the_updacc_case_judges_each_nullable_column_of_the_select_alone in test_strengthen_loop.py.
  • Regenerated: mutation_scores.json, the mutation_testing.md table row (plus one bullet), evidence.json, det_mutation/cbsa-updacc.json (port unchanged, 394/688), det_sweep_coverage/cbsa-updacc.json (21 -> 29 scenarios, 6/6 branches).

Evidence level: executed-equivalent on 27 scenarios (model port, java-facade), 7/7 paragraphs, 5/6 branches; mutation 103/139 raw, 103/110 without equivalent + unreachable. Oracle is GnuCOBOL plus our stub, not z/OS.

Class table (survivors judged by a case that only the seed/inputs can reach: nullable columns)

member status
cbsa-updacc (model port) done here
cbsa-updacc-generated no case gap (same case, generated port)

Sibling gaps

  • INQACC: 43 case gaps (burned estate; over this PR's file limit).
  • GenApp ports: LGAPDB01 (71), LGSTSQ (43), LGUPDB01 (6), LGICDB01 (1) case gaps.
  • UPDACC's 7 fault-arm harness gaps: harness work (a SQL fault hook for JDBC ports), not case gaps.

Remaining slices

None for this item.

Gates

pr_gates --fast 7/7. pr_gates --ratchets: 8 pass, det-mutation fails on 11 carddemo ledgers that are not this PR's cases (a scratch worktree of origin/main at 43e3d65 reports 28 stale ledgers; cbsa-updacc's is fresh). Pytest on test_proof_reach, test_strengthen_loop, test_cbsa_generated_siblings, test_det_mutation, test_cics_spec, test_source_reads: pass. equivalence.py run cbsa-updacc: 27 scenarios proven. Format clean; ruff backlog unchanged.

Cross-repo: none. Merged origin/main (PR #6205 also touches mutation_testing.md; my change there is one table row and one bullet).

Facts checked: #4049 and the checklist item text; survivor counts against mutation_scores.json after the run; main's stale det-mutation count by running stale-check in a worktree of origin/main.

Lessons for agents

  • mutation.py needs a full run for a stale port: mutant ids change when the port changes, so map old verdicts by (op, after-text).
  • A case change stales three things in one PR: det_mutation/<case>.json (det_mutation.py refresh), det_sweep_coverage/<case>.json (proof_sweep.py --det-only --db2-only --cases CASE --no-ratchet --skip-ledger-check, then det_coverage_ledger.py update) and evidence.json (equivalence.py run CASE --record).
  • A survivor in code no proof runs must be unreachable, not harness_gap: test_proof_reach fails otherwise and pins the flagged count.

🤖 Generated with Claude Code

squid-protocol and others added 6 commits October 23, 2026 05:50
…; re-judged 95 -> 103 killed (Part of #4049)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…arness gaps (Part of #4049)

The six handleLink(request, area) mutants sit in code no proof runs, which
test_proof_reach pins as unreachable (flagged 108 -> 114). Evidence record
regenerated after the merge moved the harness and oracle fingerprints.

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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 10:46
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 10:47
@squid-protocol
squid-protocol merged commit bc57dc8 into main Oct 23, 2026
55 checks passed
@squid-protocol
squid-protocol deleted the churn/4049-20261023T0936Z branch October 23, 2026 11:12
squid-protocol added a commit that referenced this pull request Oct 27, 2026
#5863)

#6185 and #6217 landed the same dto_entry work with re-judged survivors
and a fresh ledger at the same 394/688; this branch's versions add no kills
and would stale main's ledger, so both conflicts resolve to main's side.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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