Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
31
33
family
stringclasses
1 value
task
stringclasses
3 values
variant
stringclasses
2 values
seq_len
int32
1.02k
32.8k
rung
stringclasses
5 values
split
stringclasses
1 value
seed
int32
20.3M
20.3M
input_ids
listlengths
1.02k
32.8k
labels
listlengths
1.02k
32.8k
attention_mask
listlengths
1.02k
32.8k
text
stringlengths
6.62k
233k
context
stringlengths
6.59k
233k
query
stringclasses
262 values
answer
stringlengths
1
25
n_tokens
int32
1.02k
32.8k
prize_bits
float32
3.32
30.5
gap
int32
987
32.8k
answer_start
int32
1.02k
32.8k
answer_end
int32
1.02k
32.8k
evidence_end
int32
5
29
meta
stringlengths
100
249
arith/seq1024/scaled/train/00000
arith
eval
scaled
1,024
seq1024
train
20,260,916
[ 7, 58, 90, 20, 10, 21, 92, 9, 7, 16, 9, 19, 8, 60, 12, 20, 8, 13, 7, 21, 9, 90, 90, 15, 12, 18, 92, 10, 90, 22, 12, 22, 92, 92, 8, 13, 58, 16, 12, 7, 24, 12, 90, 16, 12, 20, 92, 8, 60, 13, 58, 7, 90, 17, 12, ...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
( [ { 5 + 6 } * ( 1 * 4 ) ] - 5 ) . ( 6 * { { 0 - 3 } + { 7 - 7 } } ) . [ 1 - ( 9 - { 1 - 5 } ) ] . [ ( { 2 - 6 } - ( 0 - 5 ) ) - { 7 + 1 } ] . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable...
( [ { 5 + 6 } * ( 1 * 4 ) ] - 5 ) . ( 6 * { { 0 - 3 } + { 7 - 7 } } ) . [ 1 - ( 9 - { 1 - 5 } ) ] . [ ( { 2 - 6 } - ( 0 - 5 ) ) - { 7 + 1 } ] . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable...
Q eval
3 9
1,024
6.643856
1,004
1,021
1,023
17
{"glued": "([{5+6}*(1*4)]-5)", "max_depth": 3, "n_internal": 4, "n_items": 4, "root_value": 39, "shortcut": true}
arith/seq1024/scaled/train/00001
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[ 7, 19, 10, 90, 24, 12, 7, 15, 12, 20, 8, 92, 8, 13, 7, 90, 21, 9, 20, 92, 10, 23, 8, 13, 7, 7, 20, 12, 90, 22, 10, 15, 92, 8, 12, 58, 7, 16, 12, 23, 8, 10, 58, 24, 9, 23, 60, 60, 8, 13, 90, 18, 12, 7, 21, 9...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
( 4 + { 9 - ( 0 - 5 ) } ) . ( { 6 * 5 } + 8 ) . ( ( 5 - { 7 + 0 } ) - [ ( 1 - 8 ) + [ 9 * 8 ] ] ) . { 3 - ( 6 * ( 8 - 7 ) ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive...
( 4 + { 9 - ( 0 - 5 ) } ) . ( { 6 * 5 } + 8 ) . ( ( 5 - { 7 + 0 } ) - [ ( 1 - 8 ) + [ 9 * 8 ] ] ) . { 3 - ( 6 * ( 8 - 7 ) ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive...
Q sub 2 . 1 .
1 8 . 1 4
1,024
15.27325
1,005
1,018
1,023
13
{"glued": "(4+{9-(0-5)})", "max_depth": 3, "n_internal": 3, "n_items": 4, "nodes": [{"index": 2, "value": 18}, {"index": 1, "value": 14}], "root_value": 18, "shortcut": false}
arith/seq1024/scaled/train/00002
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[ 90, 58, 90, 18, 9, 16, 92, 9, 58, 18, 12, 22, 60, 60, 12, 7, 58, 19, 12, 16, 60, 12, 58, 20, 12, 16, 60, 8, 92, 13, 58, 58, 7, 24, 12, 18, 8, 12, 7, 24, 10, 23, 8, 60, 9, 58, 90, 17, 12, 23, 92, 12, 16, 60, 6...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
{ [ { 3 * 1 } * [ 3 - 7 ] ] - ( [ 4 - 1 ] - [ 5 - 1 ] ) } . [ [ ( 9 - 3 ) - ( 9 + 8 ) ] * [ { 2 - 8 } - 1 ] ] . { [ 9 + { 1 - 9 } ] + ( 2 + [ 9 - 0 ] ) } . ( ( ( 4 + 7 ) + { 0 - 4 } ) - [ [ 8 - 0 ] + [ 1 - 5 ] ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect int...
{ [ { 3 * 1 } * [ 3 - 7 ] ] - ( [ 4 - 1 ] - [ 5 - 1 ] ) } . [ [ ( 9 - 3 ) - ( 9 + 8 ) ] * [ { 2 - 8 } - 1 ] ] . { [ 9 + { 1 - 9 } ] + ( 2 + [ 9 - 0 ] ) } . ( ( ( 4 + 7 ) + { 0 - 4 } ) - [ [ 8 - 0 ] + [ 1 - 5 ] ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect int...
Q sub 5 . 2 .
- 1 . - 1 2
1,024
15.27325
988
1,017
1,023
29
{"glued": "{[{3*1}*[3-7]]-([4-1]-[5-1])}", "max_depth": 3, "n_internal": 7, "n_items": 4, "nodes": [{"index": 5, "value": -1}, {"index": 2, "value": -12}], "root_value": -11, "shortcut": false}
arith/seq1024/scaled/train/00003
arith
match
scaled
1,024
seq1024
train
20,260,916
[ 7, 58, 21, 12, 90, 22, 9, 24, 92, 60, 12, 90, 90, 24, 12, 17, 92, 10, 90, 16, 10, 16, 92, 92, 8, 13, 58, 23, 12, 58, 58, 17, 12, 21, 60, 12, 20, 60, 60, 13, 58, 24, 12, 7, 7, 21, 12, 19, 8, 12, 7, 17, 12, 22, ...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
( [ 6 - { 7 * 9 } ] - { { 9 - 2 } + { 1 + 1 } } ) . [ 8 - [ [ 2 - 6 ] - 5 ] ] . [ 9 - ( ( 6 - 4 ) - ( 2 - 7 ) ) ] . { { 7 + { 3 + 3 } } + ( [ 9 * 9 ] + 4 ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me...
( [ 6 - { 7 * 9 } ] - { { 9 - 2 } + { 1 + 1 } } ) . [ 8 - [ [ 2 - 6 ] - 5 ] ] . [ 9 - ( ( 6 - 4 ) - ( 2 - 7 ) ) ] . { { 7 + { 3 + 3 } } + ( [ 9 * 9 ] + 4 ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me...
Q match 0
2 4
1,024
10
996
1,021
1,023
25
{"closer_pos": 24, "glued": "([6-{7*9}]-{{9-2}+{1+1}})", "max_depth": 3, "n_internal": 6, "n_items": 4, "opener_pos": 0, "root_value": -66, "shortcut": false}
arith/seq1024/scaled/train/00004
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[ 90, 15, 12, 90, 90, 23, 9, 16, 92, 10, 7, 16, 12, 18, 8, 92, 92, 13, 90, 16, 12, 58, 58, 20, 10, 17, 60, 12, 15, 60, 92, 13, 58, 24, 10, 58, 90, 22, 12, 23, 92, 12, 23, 60, 60, 13, 90, 90, 58, 15, 10, 18, 60, 1...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
{ 0 - { { 8 * 1 } + ( 1 - 3 ) } } . { 1 - [ [ 5 + 2 ] - 0 ] } . [ 9 + [ { 7 - 8 } - 8 ] ] . { { [ 0 + 3 ] + { 1 - 4 } } * 7 } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive...
{ 0 - { { 8 * 1 } + ( 1 - 3 ) } } . { 1 - [ [ 5 + 2 ] - 0 ] } . [ 9 + [ { 7 - 8 } - 8 ] ] . { { [ 0 + 3 ] + { 1 - 4 } } * 7 } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive...
Q sub 3 . 2 .
- 6 . 6
1,024
15.27325
1,002
1,019
1,023
17
{"glued": "{0-{{8*1}+(1-3)}}", "max_depth": 3, "n_internal": 4, "n_items": 4, "nodes": [{"index": 3, "value": -6}, {"index": 2, "value": 6}], "root_value": -6, "shortcut": false}
arith/seq1024/scaled/train/00005
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[ 90, 58, 58, 19, 12, 19, 60, 10, 19, 60, 12, 7, 58, 16, 9, 17, 60, 10, 90, 18, 9, 20, 92, 8, 92, 13, 90, 17, 12, 90, 90, 22, 9, 18, 92, 12, 21, 92, 92, 13, 7, 7, 7, 22, 10, 23, 8, 12, 58, 18, 12, 18, 60, 8, 10...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
{ [ [ 4 - 4 ] + 4 ] - ( [ 1 * 2 ] + { 3 * 5 } ) } . { 2 - { { 7 * 3 } - 6 } } . ( ( ( 7 + 8 ) - [ 3 - 3 ] ) + { { 9 - 6 } - 3 } ) . { 8 * [ 5 - [ 9 + 2 ] ] } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me...
{ [ [ 4 - 4 ] + 4 ] - ( [ 1 * 2 ] + { 3 * 5 } ) } . { 2 - { { 7 * 3 } - 6 } } . ( ( ( 7 + 8 ) - [ 3 - 3 ] ) + { { 9 - 6 } - 3 } ) . { 8 * [ 5 - [ 9 + 2 ] ] } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me...
Q sub 3 . 4 .
1 5 . 1 7
1,024
15.27325
993
1,018
1,023
25
{"glued": "{[[4-4]+4]-([1*2]+{3*5})}", "max_depth": 3, "n_internal": 6, "n_items": 4, "nodes": [{"index": 3, "value": 15}, {"index": 4, "value": 17}], "root_value": -13, "shortcut": false}
arith/seq1024/scaled/train/00006
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[ 58, 90, 58, 23, 9, 20, 60, 12, 90, 15, 10, 15, 92, 92, 12, 58, 15, 10, 15, 60, 60, 13, 58, 20, 9, 90, 90, 19, 10, 16, 92, 10, 21, 92, 60, 13, 58, 58, 19, 10, 7, 21, 12, 22, 8, 60, 9, 21, 60, 13, 7, 90, 17, 10, ...
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ { [ 8 * 5 ] - { 0 + 0 } } - [ 0 + 0 ] ] . [ 5 * { { 4 + 1 } + 6 } ] . [ [ 4 + ( 6 - 7 ) ] * 6 ] . ( { 2 + 5 } - [ 8 + ( 9 * 4 ) ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe car...
[ { [ 8 * 5 ] - { 0 + 0 } } - [ 0 + 0 ] ] . [ 5 * { { 4 + 1 } + 6 } ] . [ [ 4 + ( 6 - 7 ) ] * 6 ] . ( { 2 + 5 } - [ 8 + ( 9 * 4 ) ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe car...
Q sub 4 . 0 .
4 0 . 4 0
1,024
15.27325
997
1,018
1,023
21
{"glued": "[{[8*5]-{0+0}}-[0+0]]", "max_depth": 3, "n_internal": 5, "n_items": 4, "nodes": [{"index": 4, "value": 40}, {"index": 0, "value": 40}], "root_value": 40, "shortcut": false}
arith/seq1024/scaled/train/00007
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[58,90,58,15,9,23,60,9,90,16,12,23,92,92,12,58,22,12,7,21,12,22,8,60,60,13,90,7,17,10,7,17,9,18,8,8,(...TRUNCATED)
[-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
"[ { [ 0 * 8 ] * { 1 - 8 } } - [ 7 - ( 6 - 7 ) ] ] . { ( 2 + ( 2 * 3 ) ) + [ { 2 + 0 } * { 4 + 0 } ](...TRUNCATED)
"[ { [ 0 * 8 ] * { 1 - 8 } } - [ 7 - ( 6 - 7 ) ] ] . { ( 2 + ( 2 * 3 ) ) + [ { 2 + 0 } * { 4 + 0 } ](...TRUNCATED)
Q sub 2 . 4 .
0 . 8
1,024
15.27325
995
1,020
1,023
25
"{\"glued\": \"[{[0*8]*{1-8}}-[7-(6-7)]]\", \"max_depth\": 3, \"n_internal\": 6, \"n_items\": 4, \"n(...TRUNCATED)
arith/seq1024/scaled/train/00008
arith
subexpr
scaled
1,024
seq1024
train
20,260,916
[58,19,12,58,58,17,12,16,60,12,58,18,10,23,60,60,60,13,90,58,7,17,12,23,8,10,90,22,12,18,92,60,12,58(...TRUNCATED)
[-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
"[ 4 - [ [ 2 - 1 ] - [ 3 + 8 ] ] ] . { [ ( 2 - 8 ) + { 7 - 3 } ] - [ 9 + { 0 - 5 } ] } . { 6 + [ { 9(...TRUNCATED)
"[ 4 - [ [ 2 - 1 ] - [ 3 + 8 ] ] ] . { [ ( 2 - 8 ) + { 7 - 3 } ] - [ 9 + { 0 - 5 } ] } . { 6 + [ { 9(...TRUNCATED)
Q sub 2 . 3 .
- 1 0 . 1 4
1,024
15.27325
1,000
1,017
1,023
17
"{\"glued\": \"[4-[[2-1]-[3+8]]]\", \"max_depth\": 3, \"n_internal\": 4, \"n_items\": 4, \"nodes\": (...TRUNCATED)
arith/seq1024/scaled/train/00009
arith
eval
scaled
1,024
seq1024
train
20,260,916
[7,20,12,90,15,12,18,92,8,13,7,90,58,20,10,16,60,10,17,92,12,23,8,13,7,58,58,17,9,21,60,10,90,16,10,(...TRUNCATED)
[-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
"( 5 - { 0 - 3 } ) . ( { [ 5 + 1 ] + 2 } - 8 ) . ( [ [ 2 * 6 ] + { 1 + 7 } ] - { ( 6 * 4 ) + { 1 * 9(...TRUNCATED)
"( 5 - { 0 - 3 } ) . ( { [ 5 + 1 ] + 2 } - 8 ) . ( [ [ 2 * 6 ] + { 1 + 7 } ] - { ( 6 * 4 ) + { 1 * 9(...TRUNCATED)
Q eval
8
1,024
3.321928
1,013
1,022
1,023
9
"{\"glued\": \"(5-{0-3})\", \"max_depth\": 3, \"n_internal\": 2, \"n_items\": 4, \"root_value\": 8, (...TRUNCATED)
End of preview. Expand in Data Studio

CogitoProbe-Arith: nested arithmetic with mixed brackets

Part of Cogito Capability Checks — does your model actually use what it read? Small synthetic tests with exact answers, guessing floors and a length ladder (1k → 128k tokens). Project page: ai.ksopyla.com/projects/cogito-capability-datasets

TL;DR. Several nested + - * expressions with mixed brackets ()[]{} up front, filler, then a question about the first (farthest) one: an inner node's value or which bracket closes which. Tests whether a model stored the expression tree, not just the final number.

Lengths 1k, 4k, 8k, 16k, 32k tokens (seq_len)
Size 10,240 rows: train 8,448 · validation 896 · test 896
Tests structure memory: sub-expression values, bracket matching
Tasks subexpr 5,175 · match 3,028 (primary) · eval 2,037 (control)
Guessing depends on the task; see prize_bits
Format text + ready ids for HuggingFaceTB/SmolLM3-3B (Llama-3 vocab)
License Apache-2.0

Example

( 3 + [ 2 * 4 ] ) - { 5 - 1 } . …more expressions…
… filler …
Q sub 0 . 2 .   →   values of internal nodes          (subexpr, primary)
Q match 2       →   index of the matching closer      (match, primary)
Q eval          →   the root value                    (eval, control only)

Quick start

from datasets import load_dataset

ds = load_dataset("ksopyla/cogito-probe-arith")            # train / validation / test
row = ds["validation"][0]
print(row["seq_len"], row["task"], "|", row["query"], "->", row["answer"])

# Already tokenized for HuggingFaceTB/SmolLM3-3B (Llama-3 vocab); loss only where labels != -100.
# Or ignore the ids and use the text fields: context / query / answer.
small = ds["train"].filter(lambda r: r["seq_len"] == 1024 and r["variant"] == "fixed")  # laptop-sized start

How to score

Teacher-forced token accuracy on the answer span, per task. Report subexpr and match; eval is a single number a calculator shortcut can produce, so treat it as a control, not as evidence that the model understands arithmetic.

The family: Cogito Capability Checks

One goal: check whether a model stores and uses facts from its context, not just predicts nearby words. Each dataset plants facts with known answers, adds filler, asks a question at the end, and labels how hard guessing is. Length is a ladder, so you see where a model stops working.

dataset input the question it answers lengths
cogito-probe-bits symbol keys and values How many key→value facts did it keep? (memory capacity in bits) 1k–32k
cogito-probe-bind people with attributes Does it keep who has what together, and follow one link? 1k–32k
cogito-probe-arith nested bracket arithmetic Did it store the expression tree, not only the result? 1k–32k
cogito-probe-props short facts in fluent filler Does it keep the facts and ignore the padding? 1k–32k
cogito-text-world simple English stories Can a small LM trained from scratch quote, look up, track, chain, count and deduce facts in a story? 1k–128k

Start with a probe if you test a memory or compression module on a pretrained tokenizer; start with cogito-text-world if you compare architectures trained from scratch on language.

Related work and inspirations

  • Needle in a Haystack (Kamradt, 2023) and passkey retrieval (Mohtashami & Jaggi, 2023, arXiv:2305.16300) — one fact in long filler; here: many facts, labelled bits, decoys.
  • RULER (Hsieh et al., 2024, arXiv:2404.06654) — synthetic long-context tasks (multi-key, variable tracking) for pretrained LMs; these sets add from-scratch training data and evidence-removed controls.
  • BABILong (Kuratov et al., 2024, arXiv:2406.10149) and bAbI (Weston et al., 2015, arXiv:1502.05698) — facts hidden in long natural text.
  • Zoology / MQAR (Arora et al., 2023, arXiv:2312.04927) — multi-query associative recall as an architecture test.
  • Lost in the Middle (Liu et al., 2023, arXiv:2307.03172) — answers depend on where the evidence sits.
  • Binding IDs (Feng & Steinhardt, 2023, arXiv:2310.17191), ListOps (Nangia & Bowman, 2018, arXiv:1804.06028), PrOntoQA (Saparov & He, 2022, arXiv:2210.01240) — binding, tree structure and rule chains.
  • TinyStories (Eldan & Li, 2023, arXiv:2305.07759) and SimpleStories (Finke et al., 2025, arXiv:2504.09184) — the simple language under cogito-text-world.
Schema, build statistics, rebuild, limitations

Columns

column meaning
text, context, query, answer readable surfaces; text is the full padded row
input_ids, attention_mask, labels SmolLM3-3B ids, length = seq_len; labels = -100 except on the answer
seq_len, rung 1024, 4096, 8192, 16384 or 32768
variant fixed: same facts as at 1k, longer filler (a drop = length failure); scaled: more facts with length (a drop = capacity failure)
task question type (see above)
prize_bits information in the gold answer (counting lower bound)
gap tokens from the last evidence token to the answer
answer_start, answer_end, evidence_end token indices into input_ids
meta JSON: fact table, fingerprints, node values

Build (seed 20260916, 2026-09-16): 10,240 rows = train 8,448 / validation 896 / test 896. Rows per length: 1k 4,608 · 4k 2,560 · 8k 1,280 · 16k 1,024 · 32k 768; half fixed, half scaled. Mean prize_bits 12.9 (3.3–30.5). Splits use disjoint random streams; fact fingerprints, input_ids, text and answer strings have zero overlap between train, validation and test (shared answer values, such as colours, are expected).

Rebuild (deterministic):

uv run python scripts/build_concept_probe_datasets.py --scale full --seed 20260916 \
  --tokenizer HuggingFaceTB/SmolLM3-3B --families arith --out_dir Cache/concept_probes/full

Generator: data/concept_probes/ in github.com/ksopyla/MrCogito.

Limitations

  • Not natural language: symbols are single tokens of the SmolLM3 / Llama-3 vocabulary (real rows use pieces like gonzalez, oslo, validators; the examples above use toy names).
  • Answers are packed (several values per answer), so a small memory gets a dense learning signal.
  • prize_bits is a counting lower bound, not a cross-entropy floor.
  • The filler is a repeating cycle, so gzip of the whole row is tiny; compare prize_bits, not compressibility.
  • Bracket shapes colour the tree; they do not change the value. Digits and brackets are injected as single ids, not BPE-encoded from a glued string.

Changelog

date version change
2026-10-10 card Card rewritten: one-line goal, quick start, family table, related work, citations. Data unchanged.
2026-09-16 v0 First public release, seed 20260916, 10,240 rows.

Citation

Please cite the family, and the dataset you used:

@misc{sopyla2026cogitochecks,
  title        = {Cogito Capability Checks: synthetic tests of whether models store and use facts from long context},
  author       = {Sopyła, Krzysztof},
  year         = {2026},
  howpublished = {\url{https://ai.ksopyla.com/projects/cogito-capability-datasets/}},
  note         = {Datasets: cogito-probe-bits, -bind, -arith, -props; cogito-text-world}
}

@misc{cogitoprobe_arith,
  title        = {CogitoProbe-Arith: nested arithmetic with mixed brackets},
  author       = {Sopyła, Krzysztof},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/datasets/ksopyla/cogito-probe-arith}},
  note         = {Cogito Capability Checks; seed 20260916, data v0}
}

Author: Krzysztof Sopyła · code: github.com/ksopyla/MrCogito.

Downloads last month
77

Collection including ksopyla/cogito-probe-arith

Papers for ksopyla/cogito-probe-arith