Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
youtube_id
stringlengths
11
11
text
stringlengths
8.16k
136k
puzzle_data
dict
initial_board_ascii
stringclasses
12 values
initial_board_serialized
stringclasses
25 values
zrOd7y9tUBU
But I'm going to start now. Let's get cracking. And with no numbers in the grid, but V's, I am very tempted to colour all the V cells blue. I'm going to do it. Those have to be digits from 1 to 4. <co><+><value9><r1><c3><co><+><value9><r1><c4><co><+><value9><r3><c6><co><+><value9><r3><c7><co><+><value9><r3><c8><co><...
{ "author": "Biddy", "cols": 9, "date": "2024-09-25", "encoded_puzzle": "sclN4IglgJiBcICIHMB2AWAUgOQBwCUAuOIANCAMYCmANpQMpgBe5MArAAwkXUDOMA2r8AC+RISOGiJ4qWIC6RAdMljlSoXIUrFWzetXa9s+QeNbd+8zqMWThjTZNnNTh3JAAncgjAB7JD2j8vOys6uwAjKFEAEzqYUQh8nERidHqUfFpRMm86THqQUQAzJEokcyxRRWlKeXy6cV1RNU5ROX57ABskQDskVgVXSm9Kf2Ngy...
.................................................................................
{"cells":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]}
CX5IanTOHYs
But now I get to play. <co><+><value5><r3><c4><co><+><value5><r3><c5><co><+><value5><r3><c6><co><+><value5><r4><c4><co><+><value5><r4><c5><co><+><value5><r4><c6><co><+><value1><r3><c1><co><+><value1><r3><c2><co><+><value1><r3><c3><co><+><value1><r4><c1><co><+><value1><r4><c2><co><+><value1><r4><c3><co><+><value9><r1...
{ "author": "Marty Sears", "cols": 6, "date": "2024-10-27", "encoded_puzzle": "sclN4IglgJiBcIM4A84FsD6BZAhgJwC4E8BlAUxzlQGMAOAJgGZiAjARhYDYAWCgTg8cxoAGDgHYuEaiOY1GjYgFYQAGhDJiuTBEwaYoOAHsArtgrEYIQoYj6A1oYAEWG8Wz2AbkJocAdIKrfmKgBaNhFMNnkqKmUQXDBcABszWAAZeMTiewBpMASk1wBhIwA7OOKAcxjMQ1wAC31scyw8fHsSMhjsQyS4cwA5BuR...
....................................
{"cells":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]}
loR7DZv0Ys4
<vl><value1><r4><c3><vl><value1><r5><c5><cl><value0><r4><c3><cl><value0><r5><c5><vl><value3><r2><c5><vl><value6><r1><c5><cl><value0><r1><c5><cl><value0><r2><c5> takes your fancy but now i get to play let's get cracking now there are two things well there's yeah there are two things that occur to me here and those two t...
{ "author": "Just Kirb", "cols": 6, "date": "2023-07-18", "encoded_puzzle": "sclN4SwJgXA5AcgZgCRgcwFYCZkEUxQDQDGAzhAKwAMhAphANq16OMC6eDTer7TXHnbfXh2asATjXq1K5LpQCMsvOi5y8MtqoUalItlLwBmRQBZFpFYYunt5rrXRquDrfZ1sDj93hcfldh0ZsDtau5l6BtB4hHrZ6xp608S7xymykCeku6X5xlmzxIfFhtOkR6SHptqwEAIZ0wABu0AAuIM0ANjQABADSAHYgyAAWzV...
....................................
{"cells":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]}
A58FX-83D6g
<pm><+><value9><r1><c3><pm><+><value9><r1><c9><pm><+><value9><r2><c8><pm><->><value9><r1><c3><pm><->><value9><r1><c9><pm><->><value9><r2><c8> We are going to... Let's get cracking. Boom. So... There's a 1. There's a 1. Right. Last time, I also, I think, dithered a long time and didn't realise that the 1 in the flag m...
{ "author": "Brinel", "cols": 9, "date": "2024-09-30", "encoded_puzzle": "sclN4IglgJiBcIBICEC2AVAnAgFptAlEANCAMYCmANuQMpgBepMArAAxFmUDOMA2t8AL4EBQwcLGiJIgLoE+k8SMUKBMuUvkb1q5Zp3TZewxu27TWg2aP61VoyfUO7MkACdSAczAB7AHZdovNyszKqsAIyhBABMqmEEIbJxEYnRqlHxaQTJ3OkxqtwAzBmyRdlFMbIALMXc1dnVFdyMNc3ZzXmy3ABsNT3ZPY0A7DXD2cO...
.................................................................................
{"cells":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]}
jH5L3kivh9A
I am going to start it now. Let's get cracking. So, I think as with counting circles puzzles, we don't know what any of these ratios are at the moment. But let's count the circles. So, what is the best way of counting them? I'm going to count the black ones first. So, we've got cell in row 4, column 3, cells in ro...
{ "author": "Myxo", "cols": 9, "date": "2024-02-21", "encoded_puzzle": "sclN4SwJgXA5AdgTgcQEoAkAuALAKgKwExQA0AxgM4QCsADCQKYQDaDhLrLAuoc2659z4T4COXYYNHChkiQKmzOcekwY0qfGgEZ1hPHw2E1XfVqM6+eA+cImGF3XxWEAzNoAs2inudf3pz1wsXAMJfW0JPBxoANm0Adm0ADi8Y03jTJOCUsLSwpIcnSy4CmwLdLldChgqbCrKGCkqGmwb7LgYCoPaQvgL/Ku9y7sG+hs6G0I...
.................................................................................
{"cells":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]}
7mQd8iwA7Jc
" \n\nno other rules necessary. Give it a try now. I'm going to start. Let's get cracking. Okay. Wel(...TRUNCATED)
{"author":"olima","cols":9,"date":"2024-08-11","encoded_puzzle":"fpuzN4IgzglgXgpiBcBOANCALhNAbO8QGUI(...TRUNCATED)
.................................................................................
"{\"cells\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"(...TRUNCATED)
RoVKUjWRdnY
"<vl><value8><r3><c1><vl><value1><r3><c8><vl><value6><r8><c1><vl><value1><r8><c6><cl><value0><r3><c1(...TRUNCATED)
{"author":"James Sinclair","cols":9,"date":"2024-02-10","encoded_puzzle":"fpuzN4IgzglgXgpiBcBOANCALh(...TRUNCATED)
.................................................................................
"{\"cells\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"(...TRUNCATED)
Q5tfzfGelAo
" \n\nI'll start by selecting row 3, column 1, then row 4, column 2, row 5, column 2, row 6, column (...TRUNCATED)
{"author":"olima","cols":9,"date":"2022-06-01","encoded_puzzle":"fpuzN4IgzglgXgpiBcBOANCALhNAbO8QBUA(...TRUNCATED)
.................................................................................
"{\"cells\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"(...TRUNCATED)
TGcXylWOT4E
" \n\nBut now I get to play. Let's get cracking. So do we start with the long arrows pointing to cel(...TRUNCATED)
{"author":"Dorlir","cols":6,"date":"2024-11-24","encoded_puzzle":"sclN4IglgJiBcIA4FMB2cCGBGArABgOwGM(...TRUNCATED)
....................................
"{\"cells\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"(...TRUNCATED)
6UhtHJi4tB4
" \n\nsuggested that this was a relatively approachable puzzle so we shall see what we shall see. Le(...TRUNCATED)
{"author":"Flash Groudon","cols":6,"date":"2024-06-17","encoded_puzzle":"sclN4SwJgXA5AnAVmALgRwOYBEA(...TRUNCATED)
....................................
"{\"cells\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"(...TRUNCATED)
End of preview. Expand in Data Studio

Sudoku-Bench

πŸ“ [Leaderboard] πŸ“ [Technical Report] πŸ“ [Blog Post]
πŸ€— [Sudoku-Bench puzzle dataset] πŸ€— [Sudoku-CTC-Reasoning dataset]

Sudoku-CTC-Reasoning dataset

The Sudoku-CTC-Reasoning dataset contains the reasoning traces of 1351 puzzles featured in the Cracking the Cryptic YouTube channel, and thus provides rich learning signals for training LMs to learn reasoning in a Sudoku game or for a broader range of reasoning-intensive tasks.

This dataset is provided with permission from Cracking the Cryptic.

Data statistics

  • Videos with reasoning traces: 1351
  • Total actions: 3539008
  • Total actions (excluding highlights): 818145
  • Total words: 8921707

There will be updates to the dataset with more reasoning traces, so please stay tuned.

Combined ASR and Action Dataset

Image

For each video we provide action_data and asr_data. The action_data is extracted from the youtube video using a video-to-actions pipeline (described below) and consists of a sequence of actions taken in the SudokuPad app as the host solves the puzzle. The asr_data is extracted from the youtube video using Whisper.

Loading the dataset

The dataset has two subsets. We document the raw subset here, and the processed subset is described in the Sudoku-Bench's data_processing README.

import datasets

dataset = datasets.load_dataset('SakanaAI/Sudoku-CTC-Reasoning', 'raw')

Each entry of dataset contains the following fields:

  • youtube_id: the id of the youtube video
  • action_data: the Sudokupad actions from the video
  • asr_data: the audio transcript of the puzzle
  • puzzle_id: the id of the puzzle
  • puzzle_data: the puzzle data following the format of the Sudoku puzzle datasets.

Actions format

The action_data for each video is a list of action groups. Each action group has the following fields:

  • idx: the index of the action group in the video
  • frame: the frame number of the corresponding frame in the video
  • time: the time in seconds of the action group using the video's time axis
  • actions: a list of strings of (serialized actions) taken on the SudokuPad board that occurred between the previous frame and the current frame.
  • serialized_state: the serialized state of the SudokuPad board.

Typically each action group contains a single action.

Serialized action format

The serialized action 'cd:+:7:r3c5' denotes "add a candidate 7 to cell r3c5". In general we use the following action types:

Action type:

  • vl: value (i.e. the actual proposed value of the cell)
  • cd: candidate or center pencilmark
  • pm: corner pencilmark
  • co: color
  • sl: select
  • ds: deselect

Operation type:

  • +: add to the current list
  • -: remove from the current list

Value:

  • 1-9: for value, candidates, and pencilmarks
  • 0-9: for color, with mapping here.

Coordinates:

  • rxcy: row and column of the action. In sl and ds actions, rxcy is a comma-separated list.

Serialized state format

The serialized state can be loaded into SudokuPad by

import requests

# with sudokupad_interaction/app.py running
response = requests.put("http://localhost:8000/set_state", json={"serialized_state": serialized_state})

The format of serialized state follows that used internally by SudokuPad: For each cell, use / to separate value, candidate, pencilmark, color, highlight, pen-tool, respectively, with trailing /s removed.

Example: A serialized_state of {"cells":["6","/1,2,4,5", ... indicates that r1c1 has a value of 6, and r1c2 has candidates (center small digits)1, 2, 4, 5.

ASR format

The asr_data is the output of Whisper ASR using model.transcribe(audio_file, language="en", task="transcribe", word_timestamps=True) for model = whisper.load_model("turbo"). Please see Whisper's documentation for details.

Video-to-actions summary

Extracting sudokupad actions from the video is a multi-step process:

  1. Detect the x, y, height, width of the Sudoku board in the video
  2. Detect the x, y, height, width of the corresponding Sudoku board in the SudokuPad app with the same puzzle loaded
  3. Using 1. and 2. and the location of individual cell rendering in the browser window in SudokuPad (the lines that make up the typically 9x9 grid), determine the corresponding cell locations in the youtube video.
  4. Take a sequence of keyframes from the video cropped to the Sudoku board. A keyframe is where a pixel-wise change occured above a threshold. A keyframe is a candidate for when an action was taken.
  5. For each keyframe, use a trained resnet classifier to map the pixel input to a multiclass prediction each of the (typically 81) SudokuPad cell states, which includes the colors, pencilmarks (corner small digits), candidates (center small digits), and current value (center large digit). The resnet was trained on synthetic data from the SudokuPad app. The exact images to feed into the resnet are determined by the cell locations from 1. and 2. Combine the individual cell state predictions to obtain a single board state for this keyframe.
  6. From the sequence of states, determine the state-diffs to get the sequence of actions, saved as action_data.

The code for the video-to-actions pipeline itself is not open-sourced as part of Sudoku-Bench.

References

Citation

@misc{seely2025sudoku-bench,
  title={{Sudoku-Bench}},
  author={Seely, Jeffrey and Imajuku, Yuki and Zhao, Tianyu and Cetin, Edoardo and Jones, Llion},
  howpublished = {\url{https://github.com/SakanaAI/Sudoku-Bench}},
  year={2025}
}
Downloads last month
5

Paper for Kanzoet97/Sumo