Add splitwise module: equal/exact/percent/share split strategies with largest-remainder paise arithmetic, derived ledger, greedy and exact debt simplification, concurrency control (13 tests, 12 transcripts)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4aCTv6BYCer55YdjZ
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Seeded property check: 200000 random divisions
|
||||
==============================================
|
||||
|
||||
trials: 200000
|
||||
every trial: shares add up to the total exactly
|
||||
every share: equal to the exact amount rounded down, or one paisa more
|
||||
largest gap above the rounded-down amount: 1 paisa
|
||||
Reference in New Issue
Block a user