Repository navigation
equivalence: tranadd fractional amounts at, above and below half (Part of #5401) - #5840
Merged
Merged
Conversation
…lf (Part of #5401) COTRN02C truncates NUMVAL-C of the amount into S9(9)V99; every case amount had cents below .50, so a HALF_UP mutant of the integer part survived. Four scenarios (.75, .50, .99, negative .75) kill 35957e9be4 and 77da652333. Report d2fca7d77a is left: a fractional date part is not provable (GnuCOBOL truncates, IBM rounds a float-mode store, C6). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
9 tasks done
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 08:05
squid-protocol
enabled auto-merge (squash)
October 21, 2026 08:05
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. Checklist: partial [c:9c764f86] -- report
d2fca7d77a(fractional date part, blocked on the GnuCOBOL/IBM float-store difference, C6) and billpay868815f4c6/29f0e18174(large balances)What
COTRN02C moves NUMVAL-C of the amount into
S9(9)V99; the port truncates (RoundingMode.DOWN). Every tranadd amount had cents below .50, so aHALF_UPmutant of the integer part survived. tranadd gains four scenarios:amount-fraction-above-half(.75),-at-half(.50),-nines(.99),amount-negative-fraction-above-half.Evidence
equivalence.py run carddemo-tranadd --record: proven on 78 scenarios, 72/75 branches (java-facade); det sweep of the case proven on 78 (det_coverage_ledger.py update).35957e9be4and77da652333killed (BDM, Cotrn02cService.java:603/604). Scores not recorded.test_carddemo_fractional_5401.py(pure JSON): cents below/at/above half, both signs, valid format.pr_gates --fast7/7,--ratchets8/8,test_evidence.pyand the tree-wide guards pass. No engine change, no golden bless.Class table (rounding with a fractional value)
unsignedDigitsHALF_UP).9date part kills it on the model port, but GnuCOBOL truncates NUMVAL-C into PIC 99 while IBM rounds a float-mode store (register C6,RT-HFP-FLOAT-STATEMENT-STORE); the det port follows IBM, so the det sweep of carddemo-report fails. Scenario not committed. Burned program: CORPT00CLessons for agents
equivalence.py runon the model port but failsproof_sweep.py --det-only. Run the det sweep of a case before committing a scenario that stores a float-mode value.🤖 Generated with Claude Code