FAILURE MAP
← Case archive

FA-82655 / Chess move legality / Member archive

Pawn resolves a capture toward its own side · case 05

"exd3" resolves for a white pawn on e4.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input: {"board", "white": side to move, "san"} for a non-castling move. Check suffixes + and # are ignored. Resolve the SAN to the unique origin square of a pseudo-legal move (sliders need a clear path; pawns push one or, from their start rank through an empty square, two; pawns capture one step diagonally forward). "x" requires an enemy piece on the target and its absence requires an empty target. File/rank disambiguators filter candidates. Return the origin, "ambiguous" or "illegal".

Why this case matters

PGN import and move entry depend on resolving SAN to exactly one move.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
backward pawn capture"e4""illegal"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 ↗