FAILURE MAP
← Case archive

FA-82219 / Poker hand evaluation / Member archive

Short-deck ranks valued from the full-deck offset · case 04

The ace scores as 10, so the A-6-7-8-9 pattern never matches.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input: [hand_a, hand_b], five cards each from a 36-card deck (ranks 6-A). Short-deck ranking: straight flush > quads > flush > full house > straight > trips > two pair > pair > high card. A-6-7-8-9 is the lowest straight (nine high). A card below 6 in either hand makes the result "invalid". Return 1, -1, 0 or "invalid".

Why this case matters

Short-deck tables reuse full-deck evaluators and must patch exactly these rules.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
short wheel is a straight-11Failed

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 ↗