FA-82063 / Poker hand evaluation / Member archive
Odd chip of a hi-lo pot goes to the low half · case 03
In an odd pot the low winner gets the extra chip.
Case contract
Input: {"pot", "high": [winners], "low": [qualifying low winners, possibly empty], "order": [seat order from the button's left]}. With a qualifying low the pot is halved, the odd chip going to the high half; each half is split among its winners with odd chips by seat order. Without a low, high winners scoop. A player winning both halves is paid both. Return {player: chips} sorted.
Why this case matters
Hi-lo games halve and quarter pots; the odd chip and scoop rules are frequent disputes.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| odd pot two winners | {"a": 50, "b": 51} | {"a": 51, "b": 50} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗