File size: 2,976 Bytes
90f7991
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7dc54bf
 
 
 
 
 
 
 
90f7991
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
license: cc0-1.0
pretty_name: Rukh puzzle splits
language:
  - en
task_categories:
  - text-generation
  - question-answering
size_categories:
  - 100K<n<1M
source_datasets:
  - original
tags:
  - chess
  - rukh
  - puzzles
---

# chorcat/rukh-puzzles-split

Lichess puzzles with rating deviation <= 100 and at least 100 plays, banded by difficulty (1000-1500, 1500-2000, 2000+) and split into test and train by a seeded hash of the puzzle id, each with the moves of the game it came from, for tactical evaluation and fine-tuning.

Part of [Rukh](https://github.com/borja-glez/rukh), a chess language model built from scratch
as a course on generative and agentic AI. Every derived dataset ships with the exact filters and
counts of its `manifest.json`, so it can be regenerated with `rukh data puzzles`.

## Files

| File | Bytes | SHA-256 |
|---|---:|---|
| `puzzles.parquet` | 22333530 | `48d753215820498e41f4ef8e25ae5094582f284651bf1889da0882a89ebdba13` |

Rows: **312000**.

## Columns

| Column | Description |
|---|---|
| `puzzle_id` | Lichess puzzle id |
| `fen` | position before the opponent's last move (Lichess convention) |
| `moves` | UCI moves: the opponent's move first, then the solution |
| `rating` | puzzle rating |
| `themes` | Lichess theme tags |
| `band` | `1000-1500`, `1500-2000` or `2000+` |
| `split` | `test` or `train` |
| `prefix_uci` | the real game's UCI moves up to `fen`, space-separated |
| `prefix_plies` | number of moves in `prefix_uci` |
| `white_elo` | rating of White in that game |
| `black_elo` | rating of Black in that game |

## Provenance and filters

Source: `Lichess/chess-puzzles-with-games` on the Hugging Face Hub.

```json
{
  "max_rating_deviation": 100,
  "min_plays": 100,
  "bands": [
    "1000-1500",
    "1500-2000",
    "2000+"
  ],
  "n_test": 2000,
  "n_train": 50000,
  "seed": 42,
  "split_by": "blake2b(seed:PuzzleId)",
  "with_games": true,
  "prefix": {
    "source": "movetext replayed to the puzzle FEN",
    "dropped": {},
    "dropped_fraction": 0.0
  }
}
```

Counts:

```json
{
  "1000-1500/test": 2000,
  "1000-1500/train": 50000,
  "1500-2000/test": 2000,
  "1500-2000/train": 50000,
  "2000+/test": 2000,
  "2000+/train": 50000,
  "selected": 156000,
  "dropped_no_prefix": 0
}
```

Generated on 2026-09-19 with `rukh` 0.0.1.

## In the course

- Built in [M1 · Del PGN al tensor: los labs](https://lab.rukh.borjaglez.com/curso/m1/02-labs-del-pipeline/), the lesson that runs every command behind this repository.
- Measured in the [single results table](https://lab.rukh.borjaglez.com/proyecto/): every stage of the course, the same suite, the same day.
- Bring it to the paths the configs read: `uv run rukh pull rukh-puzzles-split`.



## License

CC0 1.0. The games, puzzles and evaluations come from the Lichess open database (https://database.lichess.org, https://huggingface.co/Lichess), published under CC0; the derived files keep that license. Please credit Lichess when you use them.