fix(core): a zero plan prints 0 every month, as the cent rule always has
The K-U5 review's probe compared 1.5 million plans as printed text, legacy against new, and found one difference: a zero total's last month printed -0 (the kernel's 0 - 0), where the old plan printed 0. A zero total is never registered, so no journaled schedule is touched, but the promise is that the same plan prints the same, so the zero plan now prints a bare 0 every month; a test pins it (and fails without the fix). Also from the review: the kernel's GOAL said no month is more than a rounding from the rest, which the last month need not be (INVARIANT 4 bounds it); and WB-prepaid-2's Checked list lacked the fifth harness. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
317c53fa00
commit
d47bc47508
3 files changed
+29
-4
No files matched your search
@@ -85,4 +85,5 @@ refuses as newer books.
|
||||
`an_unknown_rounding_is_newer_not_corrupt`,
|
||||
`schedule_minor_unit_is_its_own_feature`, `even_parts_sum`,
|
||||
`even_parts_all_but_last_equal`, `even_parts_last_absorbs`,
|
||||
`even_parts_within_half_step`.
|
||||
`even_parts_within_half_step`,
|
||||
`even_parts_refuses_no_months_and_a_bad_step`.
|
||||
Reference in new issue
Block a user