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,6 @@
|
||||
Control: the same idea without a lock (timing dependent: the figure differs every run)
|
||||
======================================================================================
|
||||
|
||||
expected total: 1600000
|
||||
actual total: 740725
|
||||
updates lost: 859275 (always zero or more, and usually well above zero)
|
||||
Reference in New Issue
Block a user