FA-82067 / Poker hand evaluation / Member archive
Empty low side still takes half the pot · case 02
With no qualifying low, evaluation fails dividing the low half among zero winners instead of scooping.
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 |
|---|---|---|---|
| no low scoop | "error:ZeroDivisionError" | {"a": 100} | 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 ↗