timmyburn commited on
Commit
163d9c7
·
verified ·
1 Parent(s): 6bece9c

Update README.md — 8300 games (scraper pull 2026-06-18)

Browse files
Files changed (1) hide show
  1. README.md +11 -69
README.md CHANGED
@@ -1,77 +1,19 @@
1
- ---
2
- license: mit
3
- pretty_name: Hexo Human Corpus (encoding-free)
4
- task_categories:
5
- - other
6
- tags:
7
- - hex
8
- - hex-tac-toe
9
- - board-games
10
- - game-records
11
- - reinforcement-learning
12
- - alphazero
13
- size_categories:
14
- - 1K<n<10K
15
- ---
16
-
17
  # Hexo Human Corpus
18
 
19
- Encoding-free corpus of **6,902** decisive human *Hex Tac Toe* games — hexagonal
20
- grid, six-in-a-row to win (player 1 opens with 1 move, then both players play 2
21
- moves per turn; the board is theoretically infinite).
22
-
23
- Each line is one game as a **raw axial move list + outcome**. Nothing about any
24
- neural-network encoding is baked in — no planes, no fixed board size, no action
25
- space. Read it with the stdlib `json` module and build whatever representation
26
- you want.
27
-
28
- ## Files
29
-
30
- | file | description |
31
- |------|-------------|
32
- | `hexo_human_corpus.jsonl` | the corpus — one game per line |
33
- | `SCHEMA.md` | full per-line schema + conventions |
34
- | `dataset_metadata.json` | provenance: counts, sha256, source filter |
35
-
36
- ## Schema
37
-
38
- One JSON object per line:
39
-
40
- ```json
41
- {"game_hash":"0f8c6bdfc55e7f6f","moves":[[0,0],[2,-2],[-3,3]],"winner":1,"source":"human","elo":[898,955]}
42
- ```
43
-
44
- | field | type | meaning |
45
- |-------|------|---------|
46
- | `game_hash` | string (16 hex) | SHA-256 of the move sequence — stable content/dedup key |
47
- | `moves` | array of `[x, y]` | axial hex coords `(x,y)=(q,r)`, in play order |
48
- | `winner` | `1` or `-1` | `1` = first player (X) wins, `-1` = second player (O) |
49
- | `source` | string | `"human"` |
50
- | `elo` | `[int\|null, int\|null]` | `[elo_p1, elo_p2]` |
51
-
52
- **Conventions**
53
-
54
- - Axial hex coordinates `(x, y)`; the board is infinite so values can be
55
- negative. The first player's forced opener is always `(0, 0)`.
56
- - Replay `moves` in order to reconstruct any board state.
57
- - Only decisive (six-in-a-row) games are included — there are **no draws**.
58
 
59
- ## Usage
 
60
 
61
  ```python
62
  import json
63
-
64
- games = [json.loads(line) for line in open("hexo_human_corpus.jsonl")]
65
- print(len(games), "games") # 6902
66
- g = games[0]
67
- print(g["moves"], g["winner"]) # [[0,0], [2,-2], ...] 1
68
  ```
69
 
70
- ## Provenance
71
-
72
- Rated human games filtered to: rated, ≥20 moves, decisive by six-in-a-row.
73
- Per-game `elo` is each player's rating at game time. Games are anonymised
74
- (player ids dropped; only relative Elo retained). See `dataset_metadata.json`
75
- for the exact sha256 and counts.
76
-
77
- License: MIT.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Hexo Human Corpus
2
 
3
+ Encoding-free corpus of **8300** decisive human *Hex Tac Toe*
4
+ games (hexagonal grid, six-in-a-row to win). Each line is one game as a raw
5
+ axial move list plus outcome build any encoding you like on top.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
+ See `SCHEMA.md` for the per-line schema and `dataset_metadata.json` for full
8
+ provenance (sha256, counts, source filter).
9
 
10
  ```python
11
  import json
12
+ with open("hexo_human_corpus.jsonl") as f:
13
+ for line in f:
14
+ game = json.loads(line)
15
+ moves, winner = game["moves"], game["winner"]
 
16
  ```
17
 
18
+ - Coordinates: axial hex `(x,y)`, infinite board, opener at `(0,0)`.
19
+ - Winner: `1` = first player (X), `-1` = second player (O). No draws.