A recurring giving ledger. Collection is exactly-once per schedule per period,
receipt numbers are gap-free within a fiscal year, and period boundaries are resolved in each
giver's own timezone rather than UTC.
Standing schedules
Giver
Fund
Timezone
Anchor
Amount
Collected
Ruth Abara
General Fund
America/Los_Angeles
day 1
$120.00
0
Daniel Okonkwo
General Fund
America/New_York
day 15
$50.00
0
Marisol Vega
Missions
America/Chicago
day 31
$75.00
0
Peter Lindqvist
Building
America/Denver
day 28
$250.00
0
Grace Mbeki
General Fund
Pacific/Honolulu
day 31
$30.00
0
Try the race. "Race 32" fires 32 simultaneous collections at one
schedule for one period, the way a scheduler would if it were run twice or scaled to two workers.
The ledger writes exactly one charge and refuses the other 31. The same assertion runs in
TestCollectIsExactlyOnceUnderConcurrency.