FAILURE MAP
← Case archive

FA-82039 / Poker hand evaluation / Member archive

Shares paid in raw chips then topped up in units · case 04

Winners receive more chips than the pot holds when the pot is not evenly divisible.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input: {"pot", "winners", "seats" (clockwise), "button", "unit" (smallest chip in play; pot is a multiple of it)}. Split the pot equally in whole units; each leftover unit goes to one winner, starting with the first winner clockwise from the button (the button itself is last). Return {winner: amount} sorted by name.

Why this case matters

Odd-chip placement is where split pots disagree between dealers and software.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
three-way odd units{"b": 36, "d": 41, "e": 36}{"b": 35, "d": 40, "e": 35}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 ↗