Repository navigation
mutation scores: declared_difference verdict (float-store-rounding, C6); CORPT00C d2fca7d77a (Part of #5401) - #6289
Merged
Merged
Conversation
…6); CORPT00C d2fca7d77a recorded under it (Part of #5401) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 19:47
squid-protocol
enabled auto-merge (squash)
October 23, 2026 19:51
Owner
Author
|
No description provided. |
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. |
…nerated) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
CI shepherd: the head of this PR (c432381) is not the one a maintainer labelled |
squid-protocol
disabled auto-merge
October 23, 2026 20:48
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5401 (completes "Rounding with fractional amounts" for the last member, CORPT00C
d2fca7d77a). NoCloses: 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 verdictdeclared_difference. The entry must carryclass(float-store-rounding) and the class'sregisterentry (C6), or the build/retriage is refused. Unlikeequivalent/unreachableit 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).d2fca7d77aretriagedcase_gap->declared_difference(mutation_scores.py retriage, no re-run);mutation_scores.json, the table, and the carddemo-reportevidence.jsonregenerated.docs/language_status/mutation_testing.md: the "Rounding with fractional amounts" paragraph records the ruling.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.pySURVIVOR_CLASSES,tests/tools/progress_report.pyandtests/tools/det_mutation.pydo not know the verdict yet (they ignore it, no burned program needs more); a pointer indocs/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.pyall clear; pytesttest_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