FA-82332 / Poker hand evaluation / Member archive
Reports the most hole cards that can play · case 02
When the board plays, the hand is annotated as using both hole cards.
Case contract
Input: {"hole": two cards, "board": five cards}. Return the minimum number of hole cards (0, 1 or 2) needed to make the player's best possible five-card hand; 0 means the board plays.
Why this case matters
"Board plays" detection drives split-pot explanations and hand-history annotations.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| hole ranks duplicate board straight | 2 | 0 | 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 ↗