FAILURE MAP
← Case archive

FA-82119 / Poker hand evaluation / Member archive

Substring test accepts empty and multi-letter ranks · case 04

A card with no rank or a rank token "KQ" produces a hand label instead of "invalid".

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input: two hole cards as strings (rank may be "10"; rank and suit case-insensitive). Return canonical hold'em notation: pairs "QQ", otherwise higher rank first with "s" for suited or "o" for offsuit (e.g. "AKs", "T9o"). Return "invalid" for duplicate cards or unknown ranks.

Why this case matters

Range tools, solvers and hand histories key statistics on this notation.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
empty rank"Ko""invalid"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 ↗