task_name
stringclasses
6 values
strategy_id
stringclasses
20 values
input_text
stringlengths
6
26
reasoning_trace
stringlengths
11
152
sorting_algorithms
sorting_algorithms:heap-sort
9, 8, 1, 3, 6
[6,8,1,3,9] ; [8,6,1,3,9] ; [3,6,1,8,9] ; [6,3,1,8,9] ; [1,3,6,8,9] ; [3,1,6,8,9] ; [1,3,6,8,9]
base_conversion
base_conversion:repeated-division
n=72,base=8
DIV:72/8=9,r:0 ; DIV:9/8=1,r:1 ; DIV:1/8=0,r:1 ; OUT:110
base_conversion
base_conversion:via-binary
n=126,base=4
BINLEN:7 ; CHUNK:0:1 ; CHUNK:1:3 ; CHUNK:2:3 ; CHUNK:3:2 ; OUT:1332
base_conversion
base_conversion:repeated-division
n=22,base=8
DIV:22/8=2,r:6 ; DIV:2/8=0,r:2 ; OUT:26
base_conversion
base_conversion:repeated-division
n=189,base=16
DIV:189/16=11,r:13 ; DIV:11/16=0,r:11 ; OUT:BD
base_conversion
base_conversion:repeated-division
n=33,base=2
DIV:33/2=16,r:1 ; DIV:16/2=8,r:0 ; DIV:8/2=4,r:0 ; DIV:4/2=2,r:0 ; DIV:2/2=1,r:0 ; DIV:1/2=0,r:1 ; OUT:100001
linear_equation_solving
linear_equation_solving:subtract-then-divide
7x-14=7
7x-14=7 ; 7x=21 ; x=3
sorting_algorithms
sorting_algorithms:merge-sort
9, 3, 8, 5, 2
[3,9,8,5,2] ; [3,9,5,8,2] ; [3,5,8,9,2] ; [2,3,5,8,9]
linear_equation_solving
linear_equation_solving:divide-then-subtract
3x+15=15
3x+15=15 ; x+5=5 ; x=5-5 ; x=0
linear_equation_solving
linear_equation_solving:inverse-ops
2x-10=-20
2x-10=-20 ; x=(-20--10)/2 ; x=-10/2 ; x=-5
sorting_algorithms
sorting_algorithms:merge-sort
5, 9, 0, 7, 8
[0,5,7,9,8] ; [0,5,7,8,9]
sorting_algorithms
sorting_algorithms:selection-sort
6, 9, 3, 2, 1
[1,9,3,2,6] ; [1,2,3,9,6] ; [1,2,3,9,6] ; [1,2,3,6,9]
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(2,4) ; G=(3,5)
R:(2,5) ; D:(3,5)
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(3,3) ; G=(5,5)
D:(4,3) ; D:(5,3) ; R:(5,4) ; R:(5,5)
base_conversion
base_conversion:decomposition
n=34,base=16
TERM:2*16^1=32 ; TERM:2*16^0=2 ; OUT:22
sorting_algorithms
sorting_algorithms:bubble-sort
7, 1, 0, 8, 5
[1,7,0,8,5] ; [1,0,7,8,5] ; [1,0,7,5,8] ; [0,1,7,5,8] ; [0,1,5,7,8]
linear_equation_solving
linear_equation_solving:divide-then-subtract
9x-63=-45
9x-63=-45 ; x+-7=-5 ; x=-5--7 ; x=2
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(0,1) ; G=(4,2)
D:(1,1) ; D:(2,1) ; D:(3,1) ; D:(4,1) ; R:(4,2)
list_summation
list_summation:right-to-left
7, 7, 7, 8
7+8=15 ; 7+15=22 ; 7+22=29
list_summation
list_summation:left-to-right
8, 6, 0, 8
8+6=14 ; 14+0=14 ; 14+8=22
sorting_algorithms
sorting_algorithms:bubble-sort
0, 4, 7, 9, 8
[0,4,7,8,9]
linear_equation_solving
linear_equation_solving:subtract-then-divide
5x+0=40
5x+0=40 ; 5x=40 ; x=8
sorting_algorithms
sorting_algorithms:bubble-sort
7, 6, 1, 8, 4
[6,7,1,8,4] ; [6,1,7,8,4] ; [6,1,7,4,8] ; [1,6,7,4,8] ; [1,6,4,7,8] ; [1,4,6,7,8]
multidigit_addition
multidigit_addition:left-to-right-partials
288+104
p100:200+100=300 ; p10:80+0=80 ; p1:8+4=12 ; sum=300+80+12=392
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(2,3) ; G=(3,5)
D:(3,3) ; R:(3,4) ; R:(3,5)
base_conversion
base_conversion:decomposition
n=19,base=8
TERM:2*8^1=16 ; TERM:3*8^0=3 ; OUT:23
multidigit_addition
multidigit_addition:rounding-decomposition
237+851
round:240+851=1091 ; adjust:1091-3=1088 ; sum=1088
list_summation
list_summation:pairwise
1, 8, 8, 4
1+8=9 ; 8+4=12 ; 9+12=21
sorting_algorithms
sorting_algorithms:merge-sort
2, 6, 9, 3, 8
[2,6,3,9,8] ; [2,3,6,9,8] ; [2,3,6,8,9]
multidigit_addition
multidigit_addition:rounding-decomposition
529+256
round:530+256=786 ; adjust:786-1=785 ; sum=785
list_summation
list_summation:pairwise
2, 7, 2, 8
2+7=9 ; 2+8=10 ; 9+10=19
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,4) ; G=(3,5)
R:(1,5) ; D:(2,5) ; D:(3,5)
linear_equation_solving
linear_equation_solving:inverse-ops
5x-40=-60
5x-40=-60 ; x=(-60--40)/5 ; x=-20/5 ; x=-4
sorting_algorithms
sorting_algorithms:selection-sort
4, 3, 6, 9, 0
[0,3,6,9,4] ; [0,3,6,9,4] ; [0,3,4,9,6] ; [0,3,4,6,9]
list_summation
list_summation:left-to-right
1, 4, 0, 7
1+4=5 ; 5+0=5 ; 5+7=12
sorting_algorithms
sorting_algorithms:heap-sort
3, 6, 4, 9, 0
[3,9,4,6,0] ; [9,3,4,6,0] ; [9,6,4,3,0] ; [0,6,4,3,9] ; [6,0,4,3,9] ; [6,3,4,0,9] ; [0,3,4,6,9] ; [4,3,0,6,9] ; [0,3,4,6,9] ; [3,0,4,6,9] ; [0,3,4,6,9]
list_summation
list_summation:right-to-left
7, 4, 0, 8
0+8=8 ; 4+8=12 ; 7+12=19
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(4,3) ; G=(5,4)
R:(4,4) ; D:(5,4)
base_conversion
base_conversion:repeated-division
n=249,base=16
DIV:249/16=15,r:9 ; DIV:15/16=0,r:15 ; OUT:F9
base_conversion
base_conversion:via-binary
n=231,base=16
BINLEN:8 ; CHUNK:0:14 ; CHUNK:1:7 ; OUT:E7
list_summation
list_summation:right-to-left
2, 0, 8, 6
8+6=14 ; 0+14=14 ; 2+14=16
list_summation
list_summation:right-to-left
9, 5, 0, 3
0+3=3 ; 5+3=8 ; 9+8=17
linear_equation_solving
linear_equation_solving:divide-then-subtract
6x-12=-60
6x-12=-60 ; x+-2=-10 ; x=-10--2 ; x=-8
linear_equation_solving
linear_equation_solving:inverse-ops
9x+9=-72
9x+9=-72 ; x=(-72-9)/9 ; x=-81/9 ; x=-9
multidigit_addition
multidigit_addition:rounding-decomposition
957+559
round:960+559=1519 ; adjust:1519-3=1516 ; sum=1516
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(3,0) ; G=(5,4)
R:(3,1) ; R:(3,2) ; R:(3,3) ; R:(3,4) ; D:(4,4) ; D:(5,4)
list_summation
list_summation:left-to-right
9, 9, 7, 7
9+9=18 ; 18+7=25 ; 25+7=32
base_conversion
base_conversion:decomposition
n=16,base=4
TERM:1*4^2=16 ; TERM:0*4^1=0 ; TERM:0*4^0=0 ; OUT:100
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(4,2) ; G=(5,4)
D:(5,2) ; R:(5,3) ; R:(5,4)
sorting_algorithms
sorting_algorithms:bubble-sort
1, 2, 8, 6, 7
[1,2,6,8,7] ; [1,2,6,7,8]
list_summation
list_summation:right-to-left
9, 6, 7, 7
7+7=14 ; 6+14=20 ; 9+20=29
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(3,3) ; G=(4,5)
D:(4,3) ; R:(4,4) ; R:(4,5)
linear_equation_solving
linear_equation_solving:divide-then-subtract
3x+9=-18
3x+9=-18 ; x+3=-6 ; x=-6-3 ; x=-9
linear_equation_solving
linear_equation_solving:subtract-then-divide
4x+20=-16
4x+20=-16 ; 4x=-36 ; x=-9
linear_equation_solving
linear_equation_solving:subtract-then-divide
9x+36=90
9x+36=90 ; 9x=54 ; x=6
sorting_algorithms
sorting_algorithms:insertion-sort
6, 4, 8, 7, 1
[4,6,8,7,1] ; [4,6,8,7,1] ; [4,6,7,8,1] ; [1,4,6,7,8]
linear_equation_solving
linear_equation_solving:subtract-then-divide
5x-15=-10
5x-15=-10 ; 5x=5 ; x=1
base_conversion
base_conversion:decomposition
n=216,base=8
TERM:3*8^2=192 ; TERM:3*8^1=24 ; TERM:0*8^0=0 ; OUT:330
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,1) ; G=(5,5)
R:(1,2) ; R:(1,3) ; R:(1,4) ; R:(1,5) ; D:(2,5) ; D:(3,5) ; D:(4,5) ; D:(5,5)
list_summation
list_summation:pairwise
7, 2, 3, 0
7+2=9 ; 3+0=3 ; 9+3=12
base_conversion
base_conversion:repeated-division
n=250,base=16
DIV:250/16=15,r:10 ; DIV:15/16=0,r:15 ; OUT:FA
base_conversion
base_conversion:decomposition
n=201,base=2
TERM:1*2^7=128 ; TERM:1*2^6=64 ; TERM:0*2^5=0 ; TERM:0*2^4=0 ; TERM:1*2^3=8 ; TERM:0*2^2=0 ; TERM:0*2^1=0 ; TERM:1*2^0=1 ; OUT:11001001
multidigit_addition
multidigit_addition:left-to-right-partials
349+737
p100:300+700=1000 ; p10:40+30=70 ; p1:9+7=16 ; sum=1000+70+16=1086
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(4,3) ; G=(5,4)
R:(4,4) ; D:(5,4)
linear_equation_solving
linear_equation_solving:inverse-ops
4x+16=48
4x+16=48 ; x=(48-16)/4 ; x=32/4 ; x=8
list_summation
list_summation:right-to-left
5, 2, 9, 3
9+3=12 ; 2+12=14 ; 5+14=19
sorting_algorithms
sorting_algorithms:bubble-sort
8, 0, 4, 2, 3
[0,8,4,2,3] ; [0,4,8,2,3] ; [0,4,2,8,3] ; [0,4,2,3,8] ; [0,2,4,3,8] ; [0,2,3,4,8]
base_conversion
base_conversion:decomposition
n=2,base=8
TERM:2*8^0=2 ; OUT:2
sorting_algorithms
sorting_algorithms:heap-sort
4, 1, 6, 2, 0
[4,2,6,1,0] ; [6,2,4,1,0] ; [0,2,4,1,6] ; [4,2,0,1,6] ; [1,2,0,4,6] ; [2,1,0,4,6] ; [0,1,2,4,6] ; [1,0,2,4,6] ; [0,1,2,4,6]
linear_equation_solving
linear_equation_solving:inverse-ops
6x-54=-90
6x-54=-90 ; x=(-90--54)/6 ; x=-36/6 ; x=-6
multidigit_addition
multidigit_addition:right-to-left-carry
308+285
d2:8+5+0=13→w3,c1 ; d1:0+8+1=9→w9,c0 ; d0:3+2+0=5→w5,c0 ; sum=593
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(0,1) ; G=(4,4)
R:(0,2) ; D:(1,2) ; R:(1,3) ; D:(2,3) ; R:(2,4) ; D:(3,4) ; D:(4,4)
sorting_algorithms
sorting_algorithms:bubble-sort
5, 8, 3, 7, 1
[5,3,8,7,1] ; [5,3,7,8,1] ; [5,3,7,1,8] ; [3,5,7,1,8] ; [3,5,1,7,8] ; [3,1,5,7,8] ; [1,3,5,7,8]
linear_equation_solving
linear_equation_solving:divide-then-subtract
4x+4=-28
4x+4=-28 ; x+1=-7 ; x=-7-1 ; x=-8
list_summation
list_summation:pairwise
3, 7, 6, 0
3+7=10 ; 6+0=6 ; 10+6=16
sorting_algorithms
sorting_algorithms:selection-sort
7, 1, 3, 4, 2
[1,7,3,4,2] ; [1,2,3,4,7] ; [1,2,3,4,7] ; [1,2,3,4,7]
list_summation
list_summation:pairwise
0, 4, 0, 5
0+4=4 ; 0+5=5 ; 4+5=9
list_summation
list_summation:left-to-right
8, 7, 0, 8
8+7=15 ; 15+0=15 ; 15+8=23
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(2,2) ; G=(3,3)
R:(2,3) ; D:(3,3)
list_summation
list_summation:pairwise
9, 8, 4, 8
9+8=17 ; 4+8=12 ; 17+12=29
sorting_algorithms
sorting_algorithms:merge-sort
1, 2, 7, 0, 3
[1,2,0,7,3] ; [0,1,2,7,3] ; [0,1,2,3,7]
sorting_algorithms
sorting_algorithms:bubble-sort
5, 3, 2, 7, 0
[3,5,2,7,0] ; [3,2,5,7,0] ; [3,2,5,0,7] ; [2,3,5,0,7] ; [2,3,0,5,7] ; [2,0,3,5,7] ; [0,2,3,5,7]
base_conversion
base_conversion:via-binary
n=115,base=8
BINLEN:7 ; CHUNK:0:1 ; CHUNK:1:6 ; CHUNK:2:3 ; OUT:163
list_summation
list_summation:right-to-left
6, 5, 7, 1
7+1=8 ; 5+8=13 ; 6+13=19
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(1,3) ; G=(2,5)
D:(2,3) ; R:(2,4) ; R:(2,5)
linear_equation_solving
linear_equation_solving:inverse-ops
4x-28=-48
4x-28=-48 ; x=(-48--28)/4 ; x=-20/4 ; x=-5
list_summation
list_summation:pairwise
7, 3, 2, 5
7+3=10 ; 2+5=7 ; 10+7=17
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(3,2) ; G=(4,5)
R:(3,3) ; R:(3,4) ; R:(3,5) ; D:(4,5)
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(4,0) ; G=(5,1)
R:(4,1) ; D:(5,1)
multidigit_addition
multidigit_addition:rounding-decomposition
279+526
round:280+526=806 ; adjust:806-1=805 ; sum=805
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(0,3) ; G=(3,4)
D:(1,3) ; D:(2,3) ; D:(3,3) ; R:(3,4)
sorting_algorithms
sorting_algorithms:heap-sort
7, 2, 3, 9, 8
[7,9,3,2,8] ; [9,7,3,2,8] ; [9,8,3,2,7] ; [7,8,3,2,9] ; [8,7,3,2,9] ; [2,7,3,8,9] ; [7,2,3,8,9] ; [3,2,7,8,9] ; [2,3,7,8,9]
base_conversion
base_conversion:repeated-division
n=52,base=4
DIV:52/4=13,r:0 ; DIV:13/4=3,r:1 ; DIV:3/4=0,r:3 ; OUT:310
multidigit_addition
multidigit_addition:left-to-right-partials
303+782
p100:300+700=1000 ; p10:0+80=80 ; p1:3+2=5 ; sum=1000+80+5=1085
multidigit_addition
multidigit_addition:left-to-right-partials
116+516
p100:100+500=600 ; p10:10+10=20 ; p1:6+6=12 ; sum=600+20+12=632
multidigit_addition
multidigit_addition:rounding-decomposition
757+371
round:760+371=1131 ; adjust:1131-3=1128 ; sum=1128
sorting_algorithms
sorting_algorithms:merge-sort
4, 1, 8, 3, 9
[1,4,8,3,9] ; [1,4,3,8,9] ; [1,3,4,8,9]
sorting_algorithms
sorting_algorithms:merge-sort
8, 1, 0, 7, 3
[1,8,0,7,3] ; [0,1,7,8,3] ; [0,1,3,7,8]
base_conversion
base_conversion:decomposition
n=18,base=4
TERM:1*4^2=16 ; TERM:0*4^1=0 ; TERM:2*4^0=2 ; OUT:102
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(0,4) ; G=(5,5)
R:(0,5) ; D:(1,5) ; D:(2,5) ; D:(3,5) ; D:(4,5) ; D:(5,5)