Skip to content

mutation scores: declared_difference verdict (float-store-rounding, C6); CORPT00C d2fca7d77a (Part of #5401) - #6289

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5401-20261023T1933Z
Oct 23, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5401-20261023T1933Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5401 (completes "Rounding with fractional amounts" for the last member, CORPT00C d2fca7d77a). No Closes: other items of the issue remain open.

Checklist: done [c:9c764f86]

Owner decisions

Owner ruling (phone 2026-10-23): CORPT00C mutant d2fca7d77a is a DECLARED DIFFERENCE, not equivalent. Add a declared-difference class for float-store rounding (GnuCOBOL truncates .9 to 00 in a 2-digit field, IBM rounds to 01, register C6) to the comparator, then record the mutant under it.

What changed

  • tests/tools/mutation_scores.py: new triage verdict declared_difference. The entry must carry class (float-store-rounding) and the class's register entry (C6), or the build/retriage is refused. Unlike equivalent/unreachable it is NOT subtracted from the adjusted score's denominator (it is a real IBM difference). Its count key is written only where non-zero (no change to any other port's record); the table shows + N declared.
  • tests/tools/evidence.py: the evidence record's survivors and summary carry the count (only when non-zero).
  • d2fca7d77a retriaged case_gap -> declared_difference (mutation_scores.py retriage, no re-run); mutation_scores.json, the table, and the carddemo-report evidence.json regenerated.
  • docs/language_status/mutation_testing.md: the "Rounding with fractional amounts" paragraph records the ruling.
  • Tests in test_mutation_scores.py: counted-not-subtracted, class/register refusal (5 bad shapes), retriage round trip, the committed entry.

Class / Sibling gaps

Class: a survivor the oracle cannot kill because GnuCOBOL and IBM differ by design in a documented register entry. Members handled: float-store-rounding (C6), the only one burned (CORPT00C). Sibling gaps / Remaining slices (5-file limit): tests/tools/estate_evidence.py SURVIVOR_CLASSES, tests/tools/progress_report.py and tests/tools/det_mutation.py do not know the verdict yet (they ignore it, no burned program needs more); a pointer in docs/language_status/register/C6.md. Other C6 oracle differences (float MOVE to edited, compound float COMPUTE, zero float ADD to packed) have no burned-estate program.

Gates

audit_check.py all clear; pytest test_mutation_scores, test_proof_reach, test_estate_evidence, test_evidence_report: 163 passed. Not run: pr_gates --fast/--ratchets, test_evidence.py (no engine/port/case input changed; the only evidence record touched is regenerated by the tool).

🤖 Generated with Claude Code

…6); CORPT00C d2fca7d77a recorded under it (Part of #5401)

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 19:47
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 19:51
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol squid-protocol removed 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

CI shepherd: the head of this PR (c432381) 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 20:50
@squid-protocol
squid-protocol merged commit 6d3d283 into main Oct 23, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/5401-20261023T1933Z branch October 23, 2026 20:52
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