Skip to content

mutation: COUSR00C survivor triage (0 case gaps), 8 scenarios, 2 port defects fixed (Part of #4049) - #6075

Merged
squid-protocol merged 5 commits into
mainfrom
churn/4049-20261022T1942Z
Oct 22, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/4049-20261022T1942Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Part of #4049 (slice 2: COUSR00C hand-port survivor triage + mutation_scores refresh).

Changes

  • tests/equivalence/carddemo-userlist/case.json: 8 scenarios (55 total): short-commarea-187, enter-lists-with-eleven-left, enter-lists-only-the-last-user, select-two-rows-first-wins, rows-sent-back-pf8-readnext-io-error, rows-sent-back-pf7-readprev-io-error, pf8-with-low-values-last-id, select-row-with-no-id-received.
  • port/service/Cousr00cService.java: two real hand-port defects the new scenarios exposed, both fixed. str() kept all of a field the COMMAREA ends inside (COBOL keeps EIBCALEN - offset bytes); receiveUsrlstScreen made an unsent map field blank where COBOL has LOW-VALUES. Proven 55/55 against GnuCOBOL (95/100 branches, 16/16 paragraphs).
  • Full mutation enumeration (510 mutants, not the old 100 sample): 377 killed, 128 survived, 5 stillborn, 7 timeout. Verdicts: 55 equivalent, 71 unreachable, 2 harness gap, 0 case gap. Raw 377/505 (75%), adjusted 377/379 (99%). Each verdict has its reason in mutation_scores.json.
  • Generated: mutation_scores.json, the table in mutation_testing.md, evidence.json (re-proved with --record), the det-port ledger det_mutation/carddemo-userlist.json (renewed for the new case).
  • test_proof_reach.py pins 95 -> 109 flagged survivors (106 unreachable, 3 equivalent): 14 COUSR00C facade survivors.
  • det_mutation_survivors/carddemo-userlist.json: det-port survivor b5d8f195c8 was stated unreachable, but rows-sent-back-pf7-readprev-io-error kills it, so the claim was wrong and the entry is removed.

Evidence level

Translated: hand port (not det-port). Executed-equivalent: 55 scenarios incl. 8 fault runs, 0 diffs. Residual risk: the 2 harness-gap returns after XCTL/abend are not observed; oracle is GnuCOBOL plus our stub.

Checklist: partial [c:2150e2e2] -- COUSR00C is done; the other menu-family ports and the remaining slices of #4049 are left
Checklist: done [c:7392709d] -- stop rule recorded in docs/language_status/mutation_testing.md: no case gap left, the 2 open survivors need a harness change

Class sweep

Class: a hand port diverging from COBOL on partial or unsent inputs (short COMMAREA, unreceived map field).
Sibling gaps: other menu-family cases may carry the same two normalize/receive shapes (not checked here); IOERR has no oracle abend code (abendOn defaults to INVREQ); failed-XCTL and blank-id key gaps.

Lessons for agents

  • Mutant ids hash the source: a port edit that shifts lines invalidates every id, so triage by (op, after text) and re-run in full after the last port edit.
  • A *_survivors det-port ledger claim of "unreachable" is re-checked on det_mutation.py refresh; a new scenario can kill it and the claim must go.
  • test_proof_reach.py pins move when a stale-skipped record (port sha mismatch) is re-recorded.

Cross-repo

None.

Cross-repo / merge note

Merged origin/main (conflict only in mutation_testing.md: took main's tables, regenerated with mutation_scores.py table). Main's translator change moved the COUSR00C det port: re-ran det_mutation.py run (136/147 killed, 11 survive, was 108/147), refreshed det_mutation/carddemo-userlist.json, and dropped 27 det_mutation_survivors claims that the run now kills (the 38 stated entries are now 11). The det table row says 1 unaccounted, so L5 stays "no".

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 22, 2026 17:12
…partial-field COMMAREA, unreceived map field) (WIP, Part of #4049)

short-commarea-187 showed the port keeping all of a field the COMMAREA ends inside
(COBOL keeps only EIBCALEN - offset bytes); select-row-with-no-id-received showed an
unreceived map field arriving blank in the port but LOW-VALUES in COBOL. Both fixed
in Cousr00cService; the case proves on 55 scenarios.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ps), record and evidence refreshed (Part of #4049)

Full pass of the hand port (510 mutants): 377 killed, 128 survived (55 equivalent, 71
unreachable, 2 harness gaps), adjusted 377/380. mutation_scores, the table, the
proof-reach pins, the evidence record and the det-port ledger follow the 55-scenario case.
The det-port survivor b5d8f195c8 was stated unreachable but rows-sent-back-pf7-readprev-io-error
kills it; removed from the survivors ledger.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Conflict in docs/language_status/mutation_testing.md resolved by taking main's
tables and regenerating them with mutation_scores.py table. Main's translator
now kills 28 more COUSR00C det-port mutants (136/147 killed, 11 survive), so
the det_mutation ledger was re-run and 27 stated survivor claims that the run
now kills were dropped from det_mutation_survivors/carddemo-userlist.json.
Slice paragraph adjusted score corrected to 377/379.

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 22, 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 22, 2026 22:58
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 22:58
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6075 @ c82a05a: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39868635517/job/120139403237
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 172 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 140119
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d05d102fe5587914232dbf2769a6ff01a11ce44b2452c80d97902cd1ff4a61bb
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12465108436
Artifact det-sweep-ledger has been successfully uploaded! Final size is 140119 bytes. Artifact ID is 12465108436
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39868635517/artifacts/12465108436
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/850414a5-5e39-4465-ae85-d3a3bb2dd1ec' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 22, 2026
squid-protocol and others added 2 commits October 22, 2026 19:13
…4049)

The slice added 8 scenarios (47 -> 55); coverage unchanged at 16/16 paragraphs,
95/100 branches. Regenerated with det_coverage_ledger.py update.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (a2ee070) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 23:27
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 14ebb03 into main Oct 22, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/4049-20261022T1942Z branch October 22, 2026 23:39
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