Skip to content

corpus 302 tables; site puzzles with themes and a Theme filter, 1071 puzzles - #27

Merged
osick merged 1 commit into
mainfrom
docs/corpus-302-puzzle-themes
Sep 11, 2026
Merged

osick merged 1 commit into
mainfrom
docs/corpus-302-puzzle-themes

Conversation

@osick

@osick osick commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

Corpus. ~/tb/raw had two tables the compressed corpus and the Hugging Face dataset lacked: KBvkqqn (six-piece, 29 GB raw → 2.0 GB block-compressed, deepest unique problem h#9.5 with 341 such positions) and the all-unsolvable marker KBvkqqq. Both are compressed into ~/tb and pushed to osick/helpmate-tables. DEEPEST.json/.md/.tex regenerated from all 302 tables (234 entries). README, the dataset card, CONTRIBUTING-TABLES and COOPERATIVE-TABLEBASE now say 16 of 645 six-piece classes done, 629 outstanding, 279 in the 32 GiB tier, 302 tables / 52.2 GiB, 343.0 billion cells.

Site puzzles. Every puzzle in site/data/puzzles.json carries the themes it shows (build_site_data.py calls helpmate probe --themes once per puzzle). The puzzle screen has a Theme filter (each theme with its puzzle count) and shows a solved or revealed puzzle's themes as tags, hidden before that because a mate picture's name is a spoiler. The set is re-mined at --per-bucket 22 on the same ladder and seed: 1071 puzzles (was 930), 1070 with at least one theme.

Test plan

  • make test-site: 8/8 node tests incl. new byTheme/themeCounts, syntax check of all site JS
  • Headless Chromium: theme dropdown populated (27 themes with counts), filter narrows the pool, tags hidden before reveal, shown after reveal, cleared on the next puzzle, no page errors
  • build_site_data.py: 1071 puzzles, 0 dropped; 234 deepest positions; 302 material rows
  • make lint clean
  • PDF booklet (make booklet) needs texlive-chessboard, not installed on the dev box; DEEPEST.tex is regenerated and ready

🤖 Generated with Claude Code

https://claude.ai/code/session_01DFQB6YogM3gaauunTfMuxW

…1 puzzles

KBvkqqn (six-piece, 29 GB raw -> 2.0 GB, deepest unique h#9.5, 341 such
positions) and the marker KBvkqqq join the compressed corpus and the HF
dataset. DEEPEST.json/.md/.tex regenerated from all 302 tables (234
entries; the regenerator now records `probe` and `extra_lines` per entry).
README, the dataset card, CONTRIBUTING-TABLES and COOPERATIVE-TABLEBASE
carry the new counts: 16 of 645 six-piece classes done, 629 outstanding,
279 in the 32 GiB tier, 302 tables / 52.2 GiB, 343.0 billion cells.

Site: build_site_data.py asks `helpmate probe --themes` once per puzzle and
writes a `themes` array; puzzles.js gains a Theme dropdown (each theme with
its count, via lib byTheme/themeCounts, unit-tested) and shows a solved or
revealed puzzle's themes as tags, hidden before that since the name of a
mate picture is a spoiler. puzzles.epd re-mined at --per-bucket 22: 1071
puzzles, 1070 with at least one theme. Verified in a headless browser.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DFQB6YogM3gaauunTfMuxW
@osick
osick merged commit 226a5ea into main Sep 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant