Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
304
2.11k
reasoning
stringlengths
0
194
answer
stringlengths
1
929
family
stringclasses
37 values
n_train
int64
2
5
tokens_est
int64
144
1.9k
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 01111400055 00101450550 00101450055 11001405005 Output: 04400 00004 00400 40000 Example 2 Input: 101114...
Rule: The divider splits the grid in two. Output a grid of the half size with yellow where only the first half has a colored cell.
00000 40000 00404
bool
3
399
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00500 07995 09900 07790 79000 Output: 0050000500 0799559970 0990000990 0779009770 7900000097 Example 2 ...
9999 0000 7007 0550 9009 0000
mirror_concat
3
349
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 771133 771133 771133 111133 111133 111133 Output: 713 113 Example 2 Input: 7711331133 7711331133 771133...
Rule: Shrink the grid: every block of 3 cells down by 2 across becomes one cell.
717 173 711 771 177 177
downscale
4
878
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000000 000000000 000000000 000000000 000000000 500000000 555000000 555000000 050088000 000000066 0000...
0111 1111
crop_largest
4
969
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000909 000707 900000 007070 077000 007700 Output: 000000000999000999 000000000999000999 0000000007770007...
999777000000777 999777000000777 000999000999000 000999000999000 999777000000777 999777000000777 000999000999000 000999000999000
upscale
2
899
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000004 000000 000000 000000 000000 000000 000000 000000 000000 000000 Output: 444444 000004 000004 00000...
Rule: Extend the colored cell into a full row and a full column.
00070000000 00070000000 00070000000 00070000000 00070000000 00070000000 00070000000 00070000000 00070000000 77777777777 00070000000 00070000000
cross
4
1,016
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 007 700 Output: 007007 700700 007007 700700 Example 2 Input: 0077 7777 7707 0777 Output: 00770077 77777...
7070 7777 7777 7070 7777 7777
tile
2
257
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000 00000 00060 00000 Output: 00000 00000 00000 00000 00000 00000 00060 00060 00060 00000 00000 00000 ...
Rule: Enlarge the grid: every cell is repeated 3 times down and 1 times across.
066000 066000 066000 060000 060000 060000 606600 606600 606600 000600 000600 000600
upscale
5
610
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 303544540 455340400 335450033 433545005 405040304 044005004 445435503 533503334 304534004 305553300 3050...
00000 35003 50005 00500 00050 00000 54050 00004 00400 04500 50533 00034
swap
4
792
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 777700 550000 444440 777777 888000 500000 Output: 500000 550000 888000 777700 444440 777777 Example 2 I...
Rule: Reorder the bars so that the shortest is on top and they get longer downward.
9000000000 9900000000 3330000000
sort_bars
2
296
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000000000 088800000000 000000000000 000000000000 080000000000 000000000000 000000000000 000000000000 ...
000000000000 000000000000 000000300330 000003300030 000000000030 000000000000 101000300000 111000300000 010000000000 000000000000 000000000000 000000000000
recolor_size
5
1,495
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 66336363 36366666 60033363 30063366 33663366 63333363 36366666 66336363 Output: 33 63 Example 2 Input: ...
33 66 33
symmetry
3
409
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 099 000 098 800 889 990 900 900 808 Output: 077 000 077 700 777 770 700 700 707 Example 2 Input: 900090...
Rule: Paint every colored cell orange.
0000 7000 0700 0070
recolor_all
4
624
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 898909 999999 999999 898989 999999 999999 898989 999999 999999 898989 999999 999999 898989 Output: 99999...
Rule: The picture is a repeating pattern with some black cells erased. Output the pattern with the gaps filled. Reflect the grid across its anti-diagonal.
989898989898 999999999999 898989898989 989898989898 999999999999 898989898989 989898989898
periodic
3
842
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 00000000091700 00000000016700 00000000079300 00000000000000 00000000000000 00000000000000...
Rule: Copy the 3x3 pattern onto every gray cell, centered on it, and remove the gray cells.
0280000000 8210000000 6840000280 0000008210 0028006840 0821000000 0684000000 0002800000 0082100000 0068400000
stamp
2
1,000
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 00000000999990 00000000900090 00000000900090 99999990900290 90000090900090 90000090999990...
099999990000000 090000090000000 090000090999999 090000090900009 090000090900009 090000090999999 099999990000000 000000000000000 000009999900000 000009777900000 000009777900000 000009999900000 000000000000000
floodfill
4
1,814
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000 0000000000 0000000000 0000000000 0000000000 5000000000 0000000000 Output: 0000050000 00005000...
000000 000000 000000 000004 400040 040400 004000 040400 400040
diag
4
728
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 882 538 Output: 882288 538835 538835 882288 Example 2 Input: 8588 3883 8888 8885 Output: 85888858 38833...
Rule: Lay out 2 copies of the grid down and 2 across, mirroring every second copy.
8888 5335 2882 8338 2882 2882 8338 2882 5335 8888
tile
5
447
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 2220 0020 0222 0202 0020 0002 7777 0404 4400 0000 4440 4444 4044 Output: 7070 0070 0777 0007 0000 0000 ...
00070 00077 00707 00007 00000 07000
bool
5
622
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000 0000000 0000000 0000000 0000500 0000000 Output: 00000000000000 00000000000000 00000000000000 000...
0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00003300000000...
rays
3
1,895
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 666 606 666 006 666 006 066 660 000 600 600 Output: 006 006 000 066 660 600 666 600 666 606 666 Example...
Rule: Rotate the grid 180 degrees.
0660660 6660006 6000660
geom
3
288
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 6666000 3333300 2222222 8000000 9990000 Output: 8000000 9990000 6666000 3333300 2222222 Example 2 Input...
1111110000 8888888800 9999999999
sort_bars
4
548
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 44044040 04004004 Output: 40 04 Example 2 Input: 44044040 40040040 Output: 44 00 Example 3 Input: 0400...
40 40
odd_one
3
186
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 666666 666666 666666 666666 686666 666666 666666 666666 666666 Output: 686666 686666 686666 686666 88888...
60666666 60666666 00000000 60666666 60666666 60666666 60666666 60666666 60666666 60666666
cross
5
870
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 00000000000000 00000000000000 00000000000600 00000000000660 00000000000000 00007000000000...
Rule: Draw a frame of maroon one cell outside every object. Then append a mirrored copy on the right.
000000000000000000 000000000000000000 000000000000000000 000000000000000000 000099999999990000 000090669966090000 000090669966090000 000096609906690000 000099999999990000 000000000000000000
bbox_frame
2
1,205
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 777777777 686868686 777777777 686868686 777777777 686868686 777777777 686868686 777770077 686800086 7777...
66666666 86868686 76767676 78787878 66666666 86868686 76767676 78787878 66666666 86868686 76767676
periodic
4
972
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000009000000 000099900000 000099900000 000009000000 009000000100 009000001100 099000000000 099000000000 ...
1111 1111
crop_largest
2
577
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000 000000 000000 000000 000000 700000 Output: 700000 000000 000000 000000 000000 000000 Example 2 I...
000000040 000000400 000004000 000040000 000400000 004000000 040000000 400000000 000000000 000000000
diag
4
1,046
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000 0006600000 0000000000 0000000000 3300006000 3330006000 0333006000 0000066600 0000000000 00000...
0088 8880 0880 0080
crop_largest
2
587
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 335005 505300 353000 535053 Output: 335005 505300 353000 535053 535053 353000 505300 335005 Example 2 I...
Rule: Append an upside-down copy of the grid below.
033 300 533 555 555 533 300 033
mirror_concat
5
507
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 909999090 999990999 999999009 900099999 099909990 909900999 009999909 Output: 808888080 999990999 888888...
080800 099900 088880 990000 888880
parity
5
856
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 7373737373737 8787878787878 3333333333333 7373737373737 8787878787878 3333333333333 0003737373737 000787...
777777 373737 777777 777777 373737 777777 777777 373737 777777 777777 373737 777777 777777
periodic
2
812
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000999000999999 999000999999999 Output: 99 99 90 09 90 Example 2 Input: 000000999000000999 000000000999...
Rule: Shrink the grid: every block of 1 cells down by 3 across becomes one cell. Reflect the grid across its anti-diagonal.
90 99
downscale
5
513
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000 0000000000 0000000666 0000000600 0000000000 0000000003 0000080003 0000080000 0000000000 00000...
Rule: Cut out the rectangle around the azure object.
800 888 080
crop_color
3
590
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 55005 50505 55005 05500 00055 05505 00050 55005 55550 00055 Output: 55500 00550 50005 50550 00005 55500 ...
50550550 50000005 00500000 00505505 50555000 05005550 05055005 50505055 00505555
roll
5
730
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 151151 558800 518815 881188 858858 558855 Output: 55 Example 2 Input: 111555555111 118155551811 1118888...
55 18 88
symmetry
5
542
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 88888888888 88888888888 88888383888 88883333888 88883838888 88888888888 88888888888 88888884488 88888884...
Rule: Keep only the largest object, cut out as a rectangle.
8800 0008 0088
crop_largest
4
860
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 53 30 35 33 Output: 5533 3300 3355 3333 Example 2 Input: 503 030 Output: 550033 003300 Test Input: 35 ...
Rule: Enlarge the grid: every cell is repeated 1 times down and 2 times across.
3355 3333
upscale
2
160
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 022 202 Output: 002222 220022 Example 2 Input: 202220 022002 002000 200200 000022 Output: 220022222200 ...
222200220022 220022000000 222200222200 002222222222 222222220000 222222220022
upscale
3
372
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 00000000000000 00000006666660 00000006000060 00000006666660 00000000000000 00000000000000...
Rule: Fill the inside of every magenta frame with blue. Then draw a border of yellow around the edge.
444444444444 400000000004 400000000004 400000000004 400000006664 400000006114 400000006114 400000006114 400000006114 400000006664 400000000004 400000000004 444444444444
fill_holes
3
1,446
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 003333300333333 003000300300003 003000300304003 003090300300003 003000300300003 003000300333333 00333330...
000000000000 000000000000 033333330000 038888830000 038888830000 033333330000 000000000000 000000033330 000000039930 000000039930 000000033330 000000000000
floodfill
3
1,578
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 04455 00144 51545 50001 50004 Output: 00999 90900 99900 99900 99999 Example 2 Input: 0014515 5000045 50...
0900990 0990009 9090999 0090909 0009000
recolor_all
4
530
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00155144100 00155144100 11111111111 55155144100 55155144100 Output: 0540 5540 Example 2 Input: 66100155...
0406 4066 0500 0605
grid_summary
2
490
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000006000600060 060006000600060 066006600660066 Output: 000 060 066 000 060 066 Example 2 Input: 666066...
660 666 006 660 666 006
odd_one
4
450
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00444400 00004400 44440044 Output: 0440 0040 4404 Example 2 Input: 440044000044 004400444444 4444004444...
Rule: Shrink the grid: every block of 1 cells down by 2 across becomes one cell.
400440 400044 444004 000444 044004
downscale
2
332
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000000 000000000 000000000 000000000 000000000 000000000 000000090 Output: 090000000 009000000 000900...
Rule: Draw the top-left to bottom-right diagonal through the colored cell.
0000000000 0000000000 6000000000 0600000000 0060000000 0006000000 0000600000 0000060000 0000006000 0000000600 0000000060
diag
2
592
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0088 0008 0800 Output: 0088 0088 0088 0008 0008 0008 0800 0800 0800 Example 2 Input: 008080 000080 Outp...
Rule: Enlarge the grid: every cell is repeated 3 times down and 1 times across.
08 08 08 08 08 08 00 00 00 80 80 80 80 80 80 80 80 80
upscale
3
358
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00 09 00 Output: 0000 0990 0000 0000 0990 0000 Example 2 Input: 029 000 900 020 Output: 029920 000000 9...
000000 002200 000000 200002 002200 900009 900009 002200 200002 000000 002200 000000
mirror_concat
5
612
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 6666666666666 6662226666666 6662226666633 6662226666633 6662226666633 6666666666633 6666666666633 666666...
66666666666666 66666666666666 66666666666666 66666666666666 66666666666666 66666666666666 66666666666666 66886666666666 66886666666666 66886666666666 66666666666666 66666666666666 66666666666666 66666666666666
denoise
4
1,650
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 7977909 7777770 7777777 7777771 7777777 7779777 7777777 7777777 7777777 7777771 Output: 7779909 7777770 ...
7777777 7777777 7777770 7777777 7777709 7777779 7777770 7777770
gravity
5
924
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 003300000030 003000302030 000302223002 000020030200 003022000020 000200303000 003000200002 003232303000 ...
Rule: Paint every colored cell azure.
80808008 80800880 08880000
recolor_all
4
790
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000500000008 088080505000 088100500088 801000503000 810003588030 150885000000 805000080130 500005010000 ...
Rule: Replace green with red, blue with orange, gray with maroon.
02808 80077 00779 08800 00200
colormap
2
440
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 990000000000 999000040000 000000444400 000000000000 000000000000 000000000000 000000000000 000000000000 ...
10 11 01 01
crop_color
5
870
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0666 0666 6666 6666 6666 6666 6666 6006 6666 Output: 0555 0555 5555 5555 5555 5555 5555 5005 5555 Examp...
555000 005055 555555 505555 055500 505555 505555 555055 055005 500555 050555 000505
colormap
2
398
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00 88 Output: 000000000000 000000000000 000000000000 000000000000 888888888888 888888888888 888888888888...
888888000000888888888888 888888000000888888888888 888888000000888888888888 888888000000888888888888 888888000000777777888888 888888000000777777888888 888888000000777777888888 888888000000777777888888 777777000000000000777777 777777000000000000777777 777777000000000000777777 777777000000000000777777 00000077777700000000...
upscale
3
1,565
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0020000000 0001000000 0001000000 0010000700 0000170000 0000000000 0000000010 0007000700 Output: 11111 77...
Rule: Make a bar chart: one column per color, as tall as the number of cells of that color, tallest bar on the left, bars standing on the bottom. Rotate the grid 90 degrees clockwise.
444 880
histogram
5
654
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000000 0000000000000 0000000000000 0000000000000 0000000000000 3300550000000 0300055000000 000000...
Rule: Cut out the rectangle around the gray object.
5 5
crop_color
3
591
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 7777777777 7777777777 7777777777 7787777777 7777777777 7777776666 7777776666 7777776666 8888876666 88888...
Rule: Remove the single stray cells and keep the larger shapes.
7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7777777777777 7770077777777 7770077777777 7770077777777 7770077777777
denoise
3
1,328
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 3232323 4242424 3232323 2424242 3232323 4242424 3232323 2424242 3232323 4242424 3238823 2424242 3232323 ...
Rule: The picture is a repeating pattern with some black cells erased. Output the pattern with the gaps filled.
233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332 233323332
periodic
3
978
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 3434349 2334993 3242399 3233434 Output: 2324 4223 3234 4493 3343 4399 3933 Example 2 Input: 99443922242...
449432229 999344442 934243923 433932243 433324399 992499442 392933493
swap
2
379
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 99009009 09009009 99099099 Output: 999 909 Example 2 Input: 99099099 09009009 99009099 Output: 999 009 ...
Rule: All shapes but one are identical. Output the odd one out. Reflect the grid across its anti-diagonal.
900 099
odd_one
4
265
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00777070 77700007 70770700 00700707 77707077 00707700 07700070 70700707 77770777 07700707 Output: 003730...
Rule: Paint the colored cells in every even-numbered column green (counting from 0).
300737 303037 373730 370700 373737 370737 070730 303707 373730
parity
3
730
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 89999998 95855859 89988998 50988985 59888895 89999998 88555588 58588585 88988988 55899855 55555555 89855...
Rule: The picture is symmetric left-right, but a patch of it is erased (black). Output the repaired picture. Transpose the grid (swap rows and columns).
958985855888 555889598589 985985955985 598595585589 598595585589 985985955985 555889598589 958985855888
symmetry
3
954
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 70003307 30010017 01113103 70733031 10307003 10330007 00007370 Output: 5505550 0050000 0055550 0555050 5...
Rule: Paint every colored cell gray. Transpose the grid (swap rows and columns).
05000505055 00000050000 55505505005 05555055000
recolor_all
4
643
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 9999992999 9999999999 9993333999 9993333999 4493333999 4499999999 9999999999 9999999999 2999999992 Outpu...
99111199999999 99111199999999 99111199933399 99111199933399 99111199933399 99999999933399 99999999999999 99999999999999 99999999999999 99993333399999 99993333399999
denoise
5
1,682
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 00000000000000 00000000000000 02000200030700 00000000086500 00000000005700 00000000000000...
Rule: Copy the 3x3 pattern onto every red cell, centered on it, and remove the red cells.
000000000 004480000 005930000 006380000 000448000 000593000 448638000 593000000 638044800 000059300 000063800 000000000 000000000 000000000
stamp
4
1,570
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000 00000000 08000000 08000008 00000000 00000000 00000000 Output: 44 Example 2 Input: 000000000000...
444
count_objects
4
555
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000 00000000 00000000 33000000 33000000 33000000 33555500 33555500 33555500 33000055 33000055 33000...
Rule: Shrink the grid: every block of 3 cells down by 2 across becomes one cell.
00000 03500
downscale
3
572
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00400000004 00090990000 09004000040 00000000009 00400000000 00000000000 04009040000 Output: 3333333 3090...
Rule: Draw a border of green around the edge of the grid. Transpose the grid (swap rows and columns).
33333333333 30400900003 30000900003 30000000003 30090040093 34000000003 30090000093 30004000003 30000900003 30400000003 34000000003 33333333333
border
3
848
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 99444449999 99444449999 99444449999 99444449999 99999999999 99999999999 94444499999 94444496669 94444496...
9944499999999 9941499999999 9941499999999 9941499999999 9941499999999 9944499999999 9999999999999 9999999999999 9999999999999 9999999999999 9999999999999
interior
4
1,518
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 4444008770700 4440448700700 0040008007070 0004408777000 4440048077700 Output: 330300 300000 003000 00000...
Rule: The divider splits the grid in two. Output a grid of the half size with green where both halves have a colored cell.
30000 33000 03000 03000 00333 00003
bool
3
471
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 33399333 44955944 55544555 35533553 44333344 53344335 95955959 39333393 95444459 53333335 33433403 94399...
Rule: The picture is symmetric left-right, but a patch of it is erased (black). Output the erased patch.
43 94
symmetry
3
462
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000000000 000000000000 000000000000 000000000000 000000000090 000000000000 Output: 000000000090 00000...
Rule: Extend the colored cell into a full row and a full column.
0000000020 2222222222 0000000020 0000000020 0000000020 0000000020 0000000020 0000000020 0000000020 0000000020 0000000020 0000000020
cross
2
636
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 8800030 5080550 3800385 0050808 3303033 0038300 5385585 0058855 0500808 0055080 8588800 0880508 Output: ...
5900309 3505990 3930005 0909395 3903390 0090030 5333050 3950505 0905509 9035550 5000933 0530003
colormap
2
570
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 5555550505 0055550555 5055500555 5050050005 0550550555 5555555555 Output: 4444440404 0044440444 40444004...
440444004404 040444440444 444440400044 440404444044 444444444040 444440044044 440004044440 400044044400 400040444004 044044444444 440440404004
colormap
2
794
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 57776 66566 06666 67665 50057 Output: 6 Example 2 Input: 6566 5705 6070 7650 Output: 6 Example 3 Input...
Rule: Output a single cell with the color that appears most often.
6
most_freq
5
311
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 44633633 44633633 66666666 00644611 00644611 66666666 44633611 44633611 Output: 433 041 431 Example 2 I...
Rule: The magenta lines cut the picture into boxes. Output one cell per box with the color that fills it.
00 33 00
grid_summary
3
477
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 06 06 06 06 06 06 00 00 00 06 06 06 60 60 60 Output: 06 06 00 06 60 Example 2 Input: 660660 660660 6606...
066006 666066 666600
downscale
2
318
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 33320002000 33320002000 33320002000 22222222222 00027772333 00027772333 00027772333 Output: 300 073 Exa...
304 047 000
grid_summary
5
731
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000000 0000000000000 0000009990000 0000809990000 0000000000000 0000000000000 0000000008000 000000...
000000000 000000088 000000088 000440088 000440088 000440000 000440000 000440000 000000000 000000000
denoise
4
1,376
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 22 02 00 30 23 02 Output: 22 22 22 02 02 02 00 00 00 30 30 30 23 23 23 02 02 02 Example 2 Input: 00030 ...
Rule: Enlarge the grid: every cell is repeated 3 times down and 1 times across.
222 222 222 200 200 200 300 300 300
upscale
2
354
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000090 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 Output: 000090 000009 00000...
Rule: Draw the top-left to bottom-right diagonal through the colored cell.
00800 00080 00008 00000 00000 00000
diag
3
778
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000 0000 0000 7090 Output: 0000 0000 0000 7900 Example 2 Input: 00009 00000 00000 00090 00090 Output: ...
900000 900000 000000 790000 770000 000000 700000
gravity
5
524
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000000 0000000000000 0000000000000 0000033000000 0000033300000 0000003000000 0000000008880 000030...
8 8
crop_color
3
663
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00000000000000 05000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000...
Rule: Copy the 3x3 pattern onto every gray cell, centered on it, and remove the gray cells.
0000000000000 0000000000000 0000000000000 0000000669000 0006690416000 0004160360000 6693600000000 4160000000000 3600006690000 0000004160000 0000003600000 0000000000000 0000000000000
stamp
3
1,558
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 7974776649 7444747464 6699447694 9669994477 9679747467 4699664774 4699664774 9679700067 9669900077 66994...
Rule: The picture is symmetric top-bottom, but a patch of it is erased (black). Output the erased patch.
4
symmetry
3
546
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 03333700990 03000799000 03333709990 Output: 06006 00000 00006 Example 2 Input: 33330700009 33333799009 ...
Rule: The divider splits the grid in two. Output a grid of the half size with magenta where only the first half has a colored cell.
006066 066060 000006 660000 600600
bool
5
504
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000474444 7000747404 0070747707 4004004400 0740774707 0040770400 0774400047 0707447700 0077700070 Outpu...
404040220 002000444 202002422 002444044 200200200 004000044 200204000 200442200 020042040 444020220 004020200
colormap
3
1,030
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000 110310 Output: 000000000000 110310013011 110310013011 000000000000 Example 2 Input: 0331 2303 00...
00311300 23022032 31011013 01233210 01233210 31011013 23022032 00311300
mirror_concat
4
488
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0000000000000 0008800000660 0008800006660 0088800000000 0008000000000 0000000000000 0000000000000 000000...
Rule: Keep only the largest object, cut out as a rectangle.
088 888
crop_largest
2
548
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 6069 9960 6090 0090 Output: 6996 0009 9606 9000 Example 2 Input: 00969 09009 60900 00990 06090 00066 Ou...
06906 00090 09909 00006 06090 09906 09066 96006 00600 00690
roll
4
480
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 000000000600 000000000600 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 ...
Rule: Cut out the rectangle around the magenta object. Flip the grid upside down.
66 66 66
crop_color
5
974
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 0808 8088 8888 8008 8088 0800 2222 0606 0660 6006 6060 6600 6666 Output: 5050 0000 0000 0500 0000 0000 ...
5055 0000 5000 0050 5500 0000
bool
5
482
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00090 00999 90900 22222 33330 03300 03300 Output: 00004 40000 00044 Example 2 Input: 009 999 009 222 00...
Rule: The divider splits the grid in two. Output a grid of the half size with yellow where neither half has a colored cell.
000400 044000 400004 400004 000000
bool
4
466
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 60000 66660 33300 44000 11111 Output: 11111 66660 33300 44000 60000 Example 2 Input: 4444444400 6666000...
55555000 77770000 11100000 90000000
sort_bars
4
562
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 00007070 10100030 00030000 00000000 70300030 00000000 Output: 300 370 371 371 Example 2 Input: 0000003 ...
Rule: Make a bar chart: one column per color, as tall as the number of cells of that color, tallest bar on the left, bars standing on the bottom.
200 290 290 291 291 291
histogram
4
541
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 662200 662200 662200 220000 220000 220000 229900 229900 229900 000000 000000 000000 002222 002222 002222...
Rule: Shrink the grid: every block of 3 cells down by 2 across becomes one cell. Rotate the grid 90 degrees counterclockwise.
00202 20009
downscale
2
490
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 22522255 55225252 55525525 25222552 25522255 52255522 25525525 25225222 55255222 25522222 25222552 Outpu...
Rule: Paint the colored cells in every odd-numbered column yellow (counting from 0).
52542254225 24542224245 24245224225 24242454525 52222252222 22545452225 54222452525
parity
2
720
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 60618 18066 66610 68181 08110 00616 16868 06188 10601 86108 Output: 63618 18366 66613 68181 38113 33616 ...
Rule: Replace black with green.
8383 8361 1368 3888 8863 8881 3666 6681 6881 8381 3813
colormap
2
452
Each example shows an input grid and the output grid that the same hidden rule makes from it. Digits are colors (0 is the background). Work out the rule and give the output grid for the test input. Example 1 Input: 100000800 880000200 000000000 000200001 Output: 008000001 002000088 000000000 100002000 Example 2 Input...
00808 10000 08080 00000 01000 00022 02002
geom
4
508
End of preview. Expand in Data Studio

Zenyx ARC-Synth

597,000+ Programmatically Synthesized ARC-Style Spatial & Inductive Reasoning Puzzles

Correct by Construction • 37 Rule Families • Zero Benchmark Leakage • Apache-2.0


Overview

Zenyx ARC-Synth is a large-scale, high-fidelity synthetic dataset designed to foster abstract reasoning, spatial transformation understanding, and few-shot program induction in language models.

Inspired by François Chollet's Abstraction and Reasoning Corpus (ARC / ARC-AGI), this dataset contains 597,098 training tasks and 2,000 validation tasks (~480 Million tokens) spanning 37 diverse transformation families.

Core Design Philosophy: "Correct by Construction"

Unlike synthetic datasets generated by prompting commercial LLMs (which frequently suffer from hallucinated labels, off-by-one spatial errors, and broken logical consistency), every task in Zenyx ARC-Synth is synthesized programmatically via deterministic algorithmic generators. The input grids are programmatically constructed, and the target output grids are computed via exact transformation kernels. As a result, every single label is mathematically guaranteed to be 100% correct.


Dataset Summary

Attribute Details
Total Examples 597,098 (Train) + 2,000 (Validation)
Total Estimated Tokens ~480.2 Million tokens
Average Tokens per Row 804.3 tokens (P90: 1,486 tokens)
Synthesis Method Programmatic (Python / NumPy generator; no LLM involved)
Transformation Families 37 distinct mathematical and spatial categories
Chained Transformations ~25% of tasks compose two sequential rules
License Apache 2.0
Decontamination Rigorously scrubbed against all 800 public ARC-AGI-1 tasks

Dataset Structure

Each record represents a complete self-contained few-shot inductive reasoning problem:

  • instruction (string): The full prompt containing 2 to 5 solved few-shot demonstration pairs (Input: ... Output: ...) followed by the unlabelled Test Input: grid.
  • reasoning (string): A concise, formal one-sentence description of the underlying transformation rule (e.g., "Rule: Keep only the largest object, cut out as a rectangle"). About 47.2% of the dataset includes this rule, while ~52.8% leaves this field empty to train direct-answer latent inference.
  • answer (string): The ground-truth 2D target grid corresponding to the Test Input.
  • family (string): The primary rule family (one of 37 categories).
  • n_train (int64): Number of demonstration pairs provided in the context (ranges from 2 to 5).
  • tokens_est (int64): Estimated token count under the Zenyx Byte-Pair Encoding (BPE) tokenizer.

Grid Representation

Grids are represented as 2D numeric matrices using ASCII digit strings:

  • Digit 0 represents the neutral background.
  • Digits 1 through 9 represent distinct foreground object colors (randomly permuted per task to prevent color bias).

The 37 Transformation Families

The tasks span fundamental priors of human intelligence and visual cognition:

  1. Topological & Object Primitives:

    • crop_largest: Identify connected components and crop the bounding box of the largest object.
    • crop_bbox & crop_color: Extract objects by bounding box or specific color filters.
    • count_objects: Abstract count of discrete topological clusters.
    • odd_one: Identify and filter outlier components differing in size, shape, or color.
    • denoise: Distinguish structural patterns from background noise artifacts.
  2. Physics & Cellular Dynamics:

    • gravity: Simulated vertical falling of non-zero pixels down each column.
    • move & roll: Directional spatial translation and cyclic wraparound.
    • connect: Draw lines connecting isolated anchor points of matching colors.
    • rays: Project orthogonal/diagonal light rays from emitter points.
    • floodfill & fill_holes: Enclosed region detection and flood filling.
  3. Geometry, Symmetry & Morphology:

    • symmetry: Reflectional and rotational symmetry completion.
    • mirror_concat: Concatenate reflections across horizontal/vertical axes.
    • upscale & downscale: Nearest-neighbor block expansion or pooling.
    • tile: Periodic lattice replication and tessellation.
    • border & interior: Outer perimeter extraction vs internal cavity isolation.
    • checker & diag: Checkerboard interleaving and diagonal matrix traversals.
    • cross & stamp: Motif stamping and orthogonal cross projections.
  4. Algebraic, Set & Color Mappings:

    • bool: Pixel-wise boolean logic (AND, OR, XOR) across sub-grids.
    • colormap & recolor_all: Permutational color remapping and canonical recoloring.
    • recolor_size: Color objects as a function of their component pixel area.
    • swap: Swap color pairs or sub-matrix blocks.
    • histogram & sort_bars: Bar chart generation and sorting by object frequency.
    • most_freq & parity: Statistical color dominance and parity-based decision rules.
    • grid_summary: Dimensionality reduction into abstract categorical summaries.

Rigorous Quality & Decontamination Audit

  1. Correctness by Construction: All 37 transform algorithms pass programmatic self-testing (scripts/gen_arc_syn.py --selftest). Every answer grid is verified against its input transformation.
  2. Strict ARC-AGI Decontamination: The generator audited every synthesized task against all 800 public ARC-AGI-1 tasks (both training and evaluation sets). Any task that shared an input-output pair with an official ARC task (under any color permutation) was discarded (902 overlapping candidates dropped). As a result, the dataset teaches generalizable abstract spatial priors without leaking benchmark evaluation tasks.
  3. Data Integrity: Verified zero null entries, zero corrupted lines, and 100% syntactically valid integer grids.

Intended Use

  • Pre-training & Continued Pre-training: Ingesting spatial grid structures teaches models to allocate attention heads to 2D coordinates and coordinate place values.
  • Supervised Fine-Tuning (SFT): Teaching models to generate explicit reasoning scratchpads (<think> Rule: ... </think>) before outputting spatial structures.
  • Inductive Logic Research: Serving as a high-throughput training bed for ARC-AGI research, neural program synthesis, and test-time compute scaling.

How to Use

Loading via Hugging Face datasets

from datasets import load_dataset

# Load train and validation splits
dataset = load_dataset("Arko007/zenyx-arc-synth")

print(dataset["train"][0])

Example Record

sample = dataset["validation"][0]

print("=== FAMILY ===")
print(sample["family"])

print("=== INSTRUCTION ===")
print(sample["instruction"])

print("=== REASONING ===")
print(sample["reasoning"])

print("=== ANSWER ===")
print(sample["answer"])

Citation & License

This dataset is released under the Apache 2.0 License.

@dataset{zenyx_arc_synth_2026,
  author       = {Arko and Zenyx AI Contributors},
  title        = {Zenyx ARC-Synth: Programmatically Synthesized Spatial & Abstract Reasoning Grids},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {https://huggingface.co/datasets/Arko007/zenyx-arc-synth}
}
Downloads last month
201