task_name
stringclasses
6 values
strategy_id
stringclasses
20 values
input_text
stringlengths
6
26
reasoning_trace
stringlengths
11
152
sorting_algorithms
sorting_algorithms:bubble-sort
1, 4, 8, 0, 7
[1,4,0,8,7] ; [1,4,0,7,8] ; [1,0,4,7,8] ; [0,1,4,7,8]
multidigit_addition
multidigit_addition:rounding-decomposition
574+126
round:580+126=706 ; adjust:706-6=700 ; sum=700
linear_equation_solving
linear_equation_solving:subtract-then-divide
8x-48=-64
8x-48=-64 ; 8x=-16 ; x=-2
list_summation
list_summation:right-to-left
7, 1, 5, 3
5+3=8 ; 1+8=9 ; 7+9=16
base_conversion
base_conversion:via-binary
n=115,base=8
BINLEN:7 ; CHUNK:0:1 ; CHUNK:1:6 ; CHUNK:2:3 ; OUT:163
sorting_algorithms
sorting_algorithms:heap-sort
9, 8, 0, 7, 1
[1,8,0,7,9] ; [8,1,0,7,9] ; [8,7,0,1,9] ; [1,7,0,8,9] ; [7,1,0,8,9] ; [0,1,7,8,9] ; [1,0,7,8,9] ; [0,1,7,8,9]
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(0,4) ; G=(4,5)
R:(0,5) ; D:(1,5) ; D:(2,5) ; D:(3,5) ; D:(4,5)
sorting_algorithms
sorting_algorithms:selection-sort
1, 9, 8, 2, 0
[0,9,8,2,1] ; [0,1,8,2,9] ; [0,1,2,8,9] ; [0,1,2,8,9]
sorting_algorithms
sorting_algorithms:insertion-sort
4, 8, 7, 0, 3
[4,8,7,0,3] ; [4,7,8,0,3] ; [0,4,7,8,3] ; [0,3,4,7,8]
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,1) ; G=(3,5)
R:(1,2) ; R:(1,3) ; R:(1,4) ; R:(1,5) ; D:(2,5) ; D:(3,5)
sorting_algorithms
sorting_algorithms:merge-sort
5, 0, 4, 6, 8
[0,5,4,6,8] ; [0,4,5,6,8]
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(0,2) ; G=(1,5)
D:(1,2) ; R:(1,3) ; R:(1,4) ; R:(1,5)
list_summation
list_summation:pairwise
6, 6, 8, 9
6+6=12 ; 8+9=17 ; 12+17=29
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(1,4) ; G=(5,5)
R:(1,5) ; D:(2,5) ; D:(3,5) ; D:(4,5) ; D:(5,5)
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(3,3) ; G=(5,5)
R:(3,4) ; D:(4,4) ; R:(4,5) ; D:(5,5)
list_summation
list_summation:left-to-right
4, 2, 6, 4
4+2=6 ; 6+6=12 ; 12+4=16
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(0,4) ; G=(5,5)
D:(1,4) ; D:(2,4) ; D:(3,4) ; D:(4,4) ; D:(5,4) ; R:(5,5)
linear_equation_solving
linear_equation_solving:subtract-then-divide
3x+0=18
3x+0=18 ; 3x=18 ; x=6
multidigit_addition
multidigit_addition:left-to-right-partials
577+722
p100:500+700=1200 ; p10:70+20=90 ; p1:7+2=9 ; sum=1200+90+9=1299
sorting_algorithms
sorting_algorithms:bubble-sort
9, 2, 1, 7, 5
[2,9,1,7,5] ; [2,1,9,7,5] ; [2,1,7,9,5] ; [2,1,7,5,9] ; [1,2,7,5,9] ; [1,2,5,7,9]
base_conversion
base_conversion:via-binary
n=184,base=16
BINLEN:8 ; CHUNK:0:11 ; CHUNK:1:8 ; OUT:B8
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(4,0) ; G=(5,3)
R:(4,1) ; R:(4,2) ; R:(4,3) ; D:(5,3)
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(3,4) ; G=(5,5)
R:(3,5) ; D:(4,5) ; D:(5,5)
list_summation
list_summation:right-to-left
0, 4, 1, 0
1+0=1 ; 4+1=5 ; 0+5=5
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(1,1) ; G=(3,5)
R:(1,2) ; D:(2,2) ; R:(2,3) ; D:(3,3) ; R:(3,4) ; R:(3,5)
multidigit_addition
multidigit_addition:right-to-left-carry
839+668
d2:9+8+0=17→w7,c1 ; d1:3+6+1=10→w0,c1 ; d0:8+6+1=15→w5,c1 ; sum=1507
list_summation
list_summation:pairwise
0, 8, 0, 6
0+8=8 ; 0+6=6 ; 8+6=14
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(2,3) ; G=(3,4)
D:(3,3) ; R:(3,4)
base_conversion
base_conversion:decomposition
n=255,base=4
TERM:3*4^3=192 ; TERM:3*4^2=48 ; TERM:3*4^1=12 ; TERM:3*4^0=3 ; OUT:3333
multidigit_addition
multidigit_addition:left-to-right-partials
798+154
p100:700+100=800 ; p10:90+50=140 ; p1:8+4=12 ; sum=800+140+12=952
linear_equation_solving
linear_equation_solving:divide-then-subtract
5x+5=-40
5x+5=-40 ; x+1=-8 ; x=-8-1 ; x=-9
list_summation
list_summation:left-to-right
9, 2, 2, 0
9+2=11 ; 11+2=13 ; 13+0=13
base_conversion
base_conversion:repeated-division
n=188,base=16
DIV:188/16=11,r:12 ; DIV:11/16=0,r:11 ; OUT:BC
linear_equation_solving
linear_equation_solving:divide-then-subtract
9x-63=-135
9x-63=-135 ; x+-7=-15 ; x=-15--7 ; x=-8
base_conversion
base_conversion:repeated-division
n=118,base=4
DIV:118/4=29,r:2 ; DIV:29/4=7,r:1 ; DIV:7/4=1,r:3 ; DIV:1/4=0,r:1 ; OUT:1312
base_conversion
base_conversion:decomposition
n=155,base=4
TERM:2*4^3=128 ; TERM:1*4^2=16 ; TERM:2*4^1=8 ; TERM:3*4^0=3 ; OUT:2123
base_conversion
base_conversion:decomposition
n=111,base=16
TERM:6*16^1=96 ; TERM:15*16^0=15 ; OUT:6F
linear_equation_solving
linear_equation_solving:inverse-ops
9x-54=0
9x-54=0 ; x=(0--54)/9 ; x=54/9 ; x=6
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(3,1) ; G=(5,4)
R:(3,2) ; R:(3,3) ; R:(3,4) ; D:(4,4) ; D:(5,4)
multidigit_addition
multidigit_addition:rounding-decomposition
622+908
round:630+908=1538 ; adjust:1538-8=1530 ; sum=1530
list_summation
list_summation:right-to-left
7, 4, 7, 6
7+6=13 ; 4+13=17 ; 7+17=24
sorting_algorithms
sorting_algorithms:heap-sort
1, 7, 6, 8, 4
[1,8,6,7,4] ; [8,1,6,7,4] ; [8,7,6,1,4] ; [4,7,6,1,8] ; [7,4,6,1,8] ; [1,4,6,7,8] ; [6,4,1,7,8] ; [1,4,6,7,8] ; [4,1,6,7,8] ; [1,4,6,7,8]
base_conversion
base_conversion:repeated-division
n=246,base=8
DIV:246/8=30,r:6 ; DIV:30/8=3,r:6 ; DIV:3/8=0,r:3 ; OUT:366
linear_equation_solving
linear_equation_solving:divide-then-subtract
7x+49=21
7x+49=21 ; x+7=3 ; x=3-7 ; x=-4
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,1) ; G=(3,2)
R:(1,2) ; D:(2,2) ; D:(3,2)
multidigit_addition
multidigit_addition:left-to-right-partials
305+607
p100:300+600=900 ; p10:0+0=0 ; p1:5+7=12 ; sum=900+0+12=912
linear_equation_solving
linear_equation_solving:inverse-ops
7x-28=-70
7x-28=-70 ; x=(-70--28)/7 ; x=-42/7 ; x=-6
list_summation
list_summation:pairwise
6, 0, 0, 2
6+0=6 ; 0+2=2 ; 6+2=8
list_summation
list_summation:pairwise
0, 5, 8, 9
0+5=5 ; 8+9=17 ; 5+17=22
list_summation
list_summation:pairwise
3, 6, 1, 6
3+6=9 ; 1+6=7 ; 9+7=16
multidigit_addition
multidigit_addition:right-to-left-carry
571+566
d2:1+6+0=7→w7,c0 ; d1:7+6+0=13→w3,c1 ; d0:5+5+1=11→w1,c1 ; sum=1137
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(3,4) ; G=(5,5)
R:(3,5) ; D:(4,5) ; D:(5,5)
base_conversion
base_conversion:via-binary
n=199,base=4
BINLEN:8 ; CHUNK:0:3 ; CHUNK:1:0 ; CHUNK:2:1 ; CHUNK:3:3 ; OUT:3013
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(1,4) ; G=(2,5)
R:(1,5) ; D:(2,5)
multidigit_addition
multidigit_addition:rounding-decomposition
775+965
round:780+965=1745 ; adjust:1745-5=1740 ; sum=1740
linear_equation_solving
linear_equation_solving:subtract-then-divide
7x-21=14
7x-21=14 ; 7x=35 ; x=5
base_conversion
base_conversion:via-binary
n=51,base=4
BINLEN:6 ; CHUNK:0:3 ; CHUNK:1:0 ; CHUNK:2:3 ; OUT:303
sorting_algorithms
sorting_algorithms:bubble-sort
8, 1, 6, 5, 3
[1,8,6,5,3] ; [1,6,8,5,3] ; [1,6,5,8,3] ; [1,6,5,3,8] ; [1,5,6,3,8] ; [1,5,3,6,8] ; [1,3,5,6,8]
base_conversion
base_conversion:via-binary
n=79,base=16
BINLEN:7 ; CHUNK:0:4 ; CHUNK:1:15 ; OUT:4F
linear_equation_solving
linear_equation_solving:subtract-then-divide
2x+6=12
2x+6=12 ; 2x=6 ; x=3
sorting_algorithms
sorting_algorithms:merge-sort
7, 0, 3, 8, 9
[0,7,3,8,9] ; [0,3,7,8,9]
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(3,4) ; G=(4,5)
R:(3,5) ; D:(4,5)
linear_equation_solving
linear_equation_solving:divide-then-subtract
6x-30=-66
6x-30=-66 ; x+-5=-11 ; x=-11--5 ; x=-6
list_summation
list_summation:pairwise
6, 9, 5, 6
6+9=15 ; 5+6=11 ; 15+11=26
list_summation
list_summation:pairwise
5, 8, 2, 7
5+8=13 ; 2+7=9 ; 13+9=22
base_conversion
base_conversion:repeated-division
n=27,base=8
DIV:27/8=3,r:3 ; DIV:3/8=0,r:3 ; OUT:33
sorting_algorithms
sorting_algorithms:insertion-sort
0, 2, 9, 5, 4
[0,2,9,5,4] ; [0,2,9,5,4] ; [0,2,5,9,4] ; [0,2,4,5,9]
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(1,3) ; G=(3,5)
D:(2,3) ; D:(3,3) ; R:(3,4) ; R:(3,5)
base_conversion
base_conversion:repeated-division
n=233,base=8
DIV:233/8=29,r:1 ; DIV:29/8=3,r:5 ; DIV:3/8=0,r:3 ; OUT:351
base_conversion
base_conversion:decomposition
n=193,base=4
TERM:3*4^3=192 ; TERM:0*4^2=0 ; TERM:0*4^1=0 ; TERM:1*4^0=1 ; OUT:3001
multidigit_addition
multidigit_addition:right-to-left-carry
669+569
d2:9+9+0=18→w8,c1 ; d1:6+6+1=13→w3,c1 ; d0:6+5+1=12→w2,c1 ; sum=1238
list_summation
list_summation:pairwise
1, 5, 7, 5
1+5=6 ; 7+5=12 ; 6+12=18
multidigit_addition
multidigit_addition:right-to-left-carry
625+336
d2:5+6+0=11→w1,c1 ; d1:2+3+1=6→w6,c0 ; d0:6+3+0=9→w9,c0 ; sum=961
base_conversion
base_conversion:repeated-division
n=102,base=16
DIV:102/16=6,r:6 ; DIV:6/16=0,r:6 ; OUT:66
sorting_algorithms
sorting_algorithms:selection-sort
1, 7, 6, 2, 3
[1,7,6,2,3] ; [1,2,6,7,3] ; [1,2,3,7,6] ; [1,2,3,6,7]
base_conversion
base_conversion:via-binary
n=77,base=2
BINLEN:7 ; CHUNK:0:1 ; CHUNK:1:0 ; CHUNK:2:0 ; CHUNK:3:1 ; CHUNK:4:1 ; CHUNK:5:0 ; CHUNK:6:1 ; OUT:1001101
list_summation
list_summation:right-to-left
3, 6, 2, 2
2+2=4 ; 6+4=10 ; 3+10=13
list_summation
list_summation:pairwise
0, 3, 7, 0
0+3=3 ; 7+0=7 ; 3+7=10
list_summation
list_summation:left-to-right
6, 9, 7, 8
6+9=15 ; 15+7=22 ; 22+8=30
sorting_algorithms
sorting_algorithms:merge-sort
7, 2, 5, 6, 4
[2,7,5,6,4] ; [2,5,6,7,4] ; [2,4,5,6,7]
base_conversion
base_conversion:repeated-division
n=49,base=4
DIV:49/4=12,r:1 ; DIV:12/4=3,r:0 ; DIV:3/4=0,r:3 ; OUT:301
sorting_algorithms
sorting_algorithms:insertion-sort
5, 0, 1, 2, 4
[0,5,1,2,4] ; [0,1,5,2,4] ; [0,1,2,5,4] ; [0,1,2,4,5]
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(2,0) ; G=(4,3)
R:(2,1) ; R:(2,2) ; R:(2,3) ; D:(3,3) ; D:(4,3)
base_conversion
base_conversion:repeated-division
n=145,base=16
DIV:145/16=9,r:1 ; DIV:9/16=0,r:9 ; OUT:91
base_conversion
base_conversion:via-binary
n=97,base=2
BINLEN:7 ; CHUNK:0:1 ; CHUNK:1:1 ; CHUNK:2:0 ; CHUNK:3:0 ; CHUNK:4:0 ; CHUNK:5:0 ; CHUNK:6:1 ; OUT:1100001
sorting_algorithms
sorting_algorithms:selection-sort
8, 5, 0, 4, 3
[0,5,8,4,3] ; [0,3,8,4,5] ; [0,3,4,8,5] ; [0,3,4,5,8]
sorting_algorithms
sorting_algorithms:heap-sort
6, 0, 9, 7, 4
[6,7,9,0,4] ; [9,7,6,0,4] ; [4,7,6,0,9] ; [7,4,6,0,9] ; [0,4,6,7,9] ; [6,4,0,7,9] ; [0,4,6,7,9] ; [4,0,6,7,9] ; [0,4,6,7,9]
base_conversion
base_conversion:via-binary
n=144,base=2
BINLEN:8 ; CHUNK:0:1 ; CHUNK:1:0 ; CHUNK:2:0 ; CHUNK:3:1 ; CHUNK:4:0 ; CHUNK:5:0 ; CHUNK:6:0 ; CHUNK:7:0 ; OUT:10010000
multidigit_addition
multidigit_addition:left-to-right-partials
931+735
p100:900+700=1600 ; p10:30+30=60 ; p1:1+5=6 ; sum=1600+60+6=1666
list_summation
list_summation:left-to-right
3, 3, 9, 1
3+3=6 ; 6+9=15 ; 15+1=16
list_summation
list_summation:left-to-right
4, 9, 4, 5
4+9=13 ; 13+4=17 ; 17+5=22
list_summation
list_summation:pairwise
1, 4, 9, 0
1+4=5 ; 9+0=9 ; 5+9=14
base_conversion
base_conversion:repeated-division
n=247,base=2
DIV:247/2=123,r:1 ; DIV:123/2=61,r:1 ; DIV:61/2=30,r:1 ; DIV:30/2=15,r:0 ; DIV:15/2=7,r:1 ; DIV:7/2=3,r:1 ; DIV:3/2=1,r:1 ; DIV:1/2=0,r:1 ; OUT:11110111
sorting_algorithms
sorting_algorithms:merge-sort
6, 4, 9, 8, 2
[4,6,9,8,2] ; [4,6,8,9,2] ; [2,4,6,8,9]
sorting_algorithms
sorting_algorithms:selection-sort
1, 5, 4, 7, 9
[1,5,4,7,9] ; [1,4,5,7,9] ; [1,4,5,7,9] ; [1,4,5,7,9]
list_summation
list_summation:right-to-left
1, 4, 9, 7
9+7=16 ; 4+16=20 ; 1+20=21
base_conversion
base_conversion:decomposition
n=64,base=2
TERM:1*2^6=64 ; TERM:0*2^5=0 ; TERM:0*2^4=0 ; TERM:0*2^3=0 ; TERM:0*2^2=0 ; TERM:0*2^1=0 ; TERM:0*2^0=0 ; OUT:1000000
sorting_algorithms
sorting_algorithms:selection-sort
2, 5, 4, 6, 1
[1,5,4,6,2] ; [1,2,4,6,5] ; [1,2,4,6,5] ; [1,2,4,5,6]
linear_equation_solving
linear_equation_solving:divide-then-subtract
3x+21=42
3x+21=42 ; x+7=14 ; x=14-7 ; x=7
linear_equation_solving
linear_equation_solving:inverse-ops
8x-40=-16
8x-40=-16 ; x=(-16--40)/8 ; x=24/8 ; x=3