Home / Off-the-shelf datasets

Retrograde Chess

Reconstructing and proving legal chess histories from a final position.

The sample buttons take you to huggingface.co, where the public sample set lives. The download is a Parquet file from the PDL-Bench repository.

100 data points

in the full dataset you can license

12 free sample tasks

on Hugging Face under CC BY 4.0

Move verifier and weighted proof rubric

how every task is graded

Non-exclusive licence

What’s in it

Constructive proof games and analytical retrograde problems. The model must reason backwards under the full rules of chess, and a verifier checks every move.

A sample task, shown in full

See the work, not just the claim.

Sample task: Find every possible last move

Task ID RETRO-R0171 · graded by hybrid

Prompt

Consider the chess position shown in the diagram. Assume that this position was reached from the standard initial chess position through a sequence of legal moves.

For clarity, the position is also given in FEN piece-placement notation:

1BR2kq1/b1Pp3P/BRbrQKPp/1p1prpp1/1P2p3/8/8/8

Your task. Determine all possible last moves leading to this position. There are two solutions. Provide a rigorous justification that each is compatible with a legal history and that no other last move is possible.

In your final answer, put each solution on its own line.

Final answer format. After your reasoning, give the sequence in chronological order using long algebraic notation. Give the piece letter (except for pawns), departure square and arrival square. Use - for ordinary moves, × for captures, + for check and # for checkmate. Omit move numbers. Write promotions as =B, =N, =R or =Q. Include the captured piece’s identity for every capture (use P for a captured pawn). For example, Ra1×Bb1+ means a rook captures a bishop with check, g7×Rh8=N+ means a pawn captures a rook and promotes to a knight with check, and Qh5-h7# means a queen delivers checkmate. These are independent illustrative moves, not a sequence from the given position. Write castling as O-O or O-O-O, and mark en passant captures with e.p. Separate moves with a comma and space, for example: e2-e4, e7-e5, Ng1-f3, Nb8-c6, Bf1-c4, Ng8-f6

Chess position for task RETRO-R0171

Reference answer

b7×Rc8=R#; b7×Nc8=R#

How it’s graded

  • Exact final alternatives and notation (25 points)

  • Force the terminal capture-promotion (10 points)

  • Sound capture and promotion accounting (8 points)

  • Globally exclude a bishop victim (14 points)

  • Exhaustive local analysis of the queen-victim cage (12 points)

  • Global exclusion of all queen-victim histories (16 points)

Plus 2 more criteria. The full rubric ships with the task on Hugging Face.

The samples are for evaluation. Please don’t train on them: that’s what the licence is for.

Want the full 100?

Every sample comes from a 100-task dataset written by the same experts and put through the same peer review. Licences are non-exclusive, so you can start this week.