FA-81859 / Poker hand evaluation / Member archive
One pair hands leak into the two pair branch · case 04
A single pair of nines with three unpaired cards is labelled two pair.
Case contract
Input: five distinct cards as rank+suit strings; ranks 2-9, T or 10, J, Q, K, A (case-insensitive), suits c/d/h/s (case-insensitive). Return the standard five-card category name in lower case; A-2-3-4-5 is a straight; royal flush is reported as "straight flush".
Why this case matters
Poker engines settle real money pots from these comparisons; a single misranked hand pays the wrong seat.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| one pair | "two pair" | "one pair" | 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 ↗