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
2, 4, 1, 0, 3
[2,1,4,0,3] ; [2,1,0,4,3] ; [2,1,0,3,4] ; [1,2,0,3,4] ; [1,0,2,3,4] ; [0,1,2,3,4]
linear_equation_solving
linear_equation_solving:subtract-then-divide
2x-14=0
2x-14=0 ; 2x=14 ; x=7
multidigit_addition
multidigit_addition:right-to-left-carry
216+139
d2:6+9+0=15→w5,c1 ; d1:1+3+1=5→w5,c0 ; d0:2+1+0=3→w3,c0 ; sum=355
linear_equation_solving
linear_equation_solving:inverse-ops
6x+36=66
6x+36=66 ; x=(66-36)/6 ; x=30/6 ; x=5
sorting_algorithms
sorting_algorithms:heap-sort
7, 3, 6, 9, 1
[7,9,6,3,1] ; [9,7,6,3,1] ; [1,7,6,3,9] ; [7,1,6,3,9] ; [7,3,6,1,9] ; [1,3,6,7,9] ; [6,3,1,7,9] ; [1,3,6,7,9] ; [3,1,6,7,9] ; [1,3,6,7,9]
base_conversion
base_conversion:decomposition
n=121,base=4
TERM:1*4^3=64 ; TERM:3*4^2=48 ; TERM:2*4^1=8 ; TERM:1*4^0=1 ; OUT:1321
linear_equation_solving
linear_equation_solving:inverse-ops
4x-32=-32
4x-32=-32 ; x=(-32--32)/4 ; x=0/4 ; x=0
base_conversion
base_conversion:via-binary
n=33,base=8
BINLEN:6 ; CHUNK:0:4 ; CHUNK:1:1 ; OUT:41
list_summation
list_summation:left-to-right
9, 1, 4, 1
9+1=10 ; 10+4=14 ; 14+1=15
base_conversion
base_conversion:repeated-division
n=41,base=2
DIV:41/2=20,r:1 ; DIV:20/2=10,r:0 ; DIV:10/2=5,r:0 ; DIV:5/2=2,r:1 ; DIV:2/2=1,r:0 ; DIV:1/2=0,r:1 ; OUT:101001
linear_equation_solving
linear_equation_solving:inverse-ops
7x+7=21
7x+7=21 ; x=(21-7)/7 ; x=14/7 ; x=2
sorting_algorithms
sorting_algorithms:insertion-sort
0, 5, 1, 9, 6
[0,5,1,9,6] ; [0,1,5,9,6] ; [0,1,5,9,6] ; [0,1,5,6,9]
linear_equation_solving
linear_equation_solving:inverse-ops
7x+63=84
7x+63=84 ; x=(84-63)/7 ; x=21/7 ; x=3
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(3,4) ; G=(5,5)
D:(4,4) ; D:(5,4) ; R:(5,5)
sorting_algorithms
sorting_algorithms:heap-sort
3, 7, 9, 8, 0
[3,8,9,7,0] ; [9,8,3,7,0] ; [0,8,3,7,9] ; [8,0,3,7,9] ; [8,7,3,0,9] ; [0,7,3,8,9] ; [7,0,3,8,9] ; [3,0,7,8,9] ; [0,3,7,8,9]
sorting_algorithms
sorting_algorithms:insertion-sort
9, 6, 7, 5, 3
[6,9,7,5,3] ; [6,7,9,5,3] ; [5,6,7,9,3] ; [3,5,6,7,9]
list_summation
list_summation:pairwise
9, 0, 4, 6
9+0=9 ; 4+6=10 ; 9+10=19
linear_equation_solving
linear_equation_solving:divide-then-subtract
7x+49=56
7x+49=56 ; x+7=8 ; x=8-7 ; x=1
linear_equation_solving
linear_equation_solving:subtract-then-divide
6x-42=-48
6x-42=-48 ; 6x=-6 ; x=-1
list_summation
list_summation:pairwise
6, 0, 5, 8
6+0=6 ; 5+8=13 ; 6+13=19
linear_equation_solving
linear_equation_solving:inverse-ops
7x+42=49
7x+42=49 ; x=(49-42)/7 ; x=7/7 ; x=1
base_conversion
base_conversion:decomposition
n=106,base=2
TERM:1*2^6=64 ; TERM:1*2^5=32 ; TERM:0*2^4=0 ; TERM:1*2^3=8 ; TERM:0*2^2=0 ; TERM:1*2^1=2 ; TERM:0*2^0=0 ; OUT:1101010
linear_equation_solving
linear_equation_solving:subtract-then-divide
6x-12=0
6x-12=0 ; 6x=12 ; x=2
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(1,0) ; G=(4,2)
D:(2,0) ; D:(3,0) ; D:(4,0) ; R:(4,1) ; R:(4,2)
sorting_algorithms
sorting_algorithms:insertion-sort
8, 4, 9, 6, 1
[4,8,9,6,1] ; [4,8,9,6,1] ; [4,6,8,9,1] ; [1,4,6,8,9]
linear_equation_solving
linear_equation_solving:divide-then-subtract
7x+35=14
7x+35=14 ; x+5=2 ; x=2-5 ; x=-3
sorting_algorithms
sorting_algorithms:insertion-sort
1, 8, 7, 3, 9
[1,8,7,3,9] ; [1,7,8,3,9] ; [1,3,7,8,9] ; [1,3,7,8,9]
linear_equation_solving
linear_equation_solving:subtract-then-divide
3x-6=-18
3x-6=-18 ; 3x=-12 ; x=-4
multidigit_addition
multidigit_addition:right-to-left-carry
684+819
d2:4+9+0=13→w3,c1 ; d1:8+1+1=10→w0,c1 ; d0:6+8+1=15→w5,c1 ; sum=1503
base_conversion
base_conversion:repeated-division
n=38,base=4
DIV:38/4=9,r:2 ; DIV:9/4=2,r:1 ; DIV:2/4=0,r:2 ; OUT:212
list_summation
list_summation:right-to-left
3, 9, 1, 7
1+7=8 ; 9+8=17 ; 3+17=20
linear_equation_solving
linear_equation_solving:inverse-ops
8x+48=8
8x+48=8 ; x=(8-48)/8 ; x=-40/8 ; x=-5
sorting_algorithms
sorting_algorithms:selection-sort
0, 6, 2, 5, 3
[0,6,2,5,3] ; [0,2,6,5,3] ; [0,2,3,5,6] ; [0,2,3,5,6]
sorting_algorithms
sorting_algorithms:bubble-sort
3, 2, 5, 7, 6
[2,3,5,7,6] ; [2,3,5,6,7]
base_conversion
base_conversion:via-binary
n=34,base=8
BINLEN:6 ; CHUNK:0:4 ; CHUNK:1:2 ; OUT:42
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)
multidigit_addition
multidigit_addition:rounding-decomposition
642+419
round:650+419=1069 ; adjust:1069-8=1061 ; sum=1061
multidigit_addition
multidigit_addition:rounding-decomposition
827+317
round:830+317=1147 ; adjust:1147-3=1144 ; sum=1144
list_summation
list_summation:pairwise
5, 4, 8, 0
5+4=9 ; 8+0=8 ; 9+8=17
sorting_algorithms
sorting_algorithms:merge-sort
5, 0, 9, 7, 3
[0,5,9,7,3] ; [0,5,7,9,3] ; [0,3,5,7,9]
list_summation
list_summation:right-to-left
5, 5, 4, 2
4+2=6 ; 5+6=11 ; 5+11=16
linear_equation_solving
linear_equation_solving:inverse-ops
9x+54=45
9x+54=45 ; x=(45-54)/9 ; x=-9/9 ; x=-1
linear_equation_solving
linear_equation_solving:subtract-then-divide
4x-4=-8
4x-4=-8 ; 4x=-4 ; x=-1
linear_equation_solving
linear_equation_solving:subtract-then-divide
3x-21=-18
3x-21=-18 ; 3x=3 ; x=1
list_summation
list_summation:left-to-right
5, 9, 6, 2
5+9=14 ; 14+6=20 ; 20+2=22
linear_equation_solving
linear_equation_solving:divide-then-subtract
6x+36=-12
6x+36=-12 ; x+6=-2 ; x=-2-6 ; x=-8
multidigit_addition
multidigit_addition:left-to-right-partials
983+358
p100:900+300=1200 ; p10:80+50=130 ; p1:3+8=11 ; sum=1200+130+11=1341
base_conversion
base_conversion:decomposition
n=159,base=2
TERM:1*2^7=128 ; TERM:0*2^6=0 ; TERM:0*2^5=0 ; TERM:1*2^4=16 ; TERM:1*2^3=8 ; TERM:1*2^2=4 ; TERM:1*2^1=2 ; TERM:1*2^0=1 ; OUT:10011111
base_conversion
base_conversion:decomposition
n=172,base=2
TERM:1*2^7=128 ; TERM:0*2^6=0 ; TERM:1*2^5=32 ; TERM:0*2^4=0 ; TERM:1*2^3=8 ; TERM:1*2^2=4 ; TERM:0*2^1=0 ; TERM:0*2^0=0 ; OUT:10101100
sorting_algorithms
sorting_algorithms:merge-sort
3, 4, 7, 8, 1
[1,3,4,7,8]
sorting_algorithms
sorting_algorithms:heap-sort
9, 3, 2, 5, 8
[9,8,2,5,3] ; [3,8,2,5,9] ; [8,3,2,5,9] ; [8,5,2,3,9] ; [3,5,2,8,9] ; [5,3,2,8,9] ; [2,3,5,8,9] ; [3,2,5,8,9] ; [2,3,5,8,9]
linear_equation_solving
linear_equation_solving:subtract-then-divide
9x+72=-9
9x+72=-9 ; 9x=-81 ; x=-9
sorting_algorithms
sorting_algorithms:merge-sort
5, 2, 6, 7, 0
[2,5,6,7,0] ; [0,2,5,6,7]
base_conversion
base_conversion:decomposition
n=79,base=16
TERM:4*16^1=64 ; TERM:15*16^0=15 ; OUT:4F
sorting_algorithms
sorting_algorithms:merge-sort
6, 3, 9, 0, 4
[3,6,9,0,4] ; [3,6,0,9,4] ; [0,3,6,9,4] ; [0,3,4,6,9]
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)
linear_equation_solving
linear_equation_solving:divide-then-subtract
6x-36=-48
6x-36=-48 ; x+-6=-8 ; x=-8--6 ; x=-2
linear_equation_solving
linear_equation_solving:inverse-ops
2x-6=6
2x-6=6 ; x=(6--6)/2 ; x=12/2 ; x=6
linear_equation_solving
linear_equation_solving:subtract-then-divide
3x+9=27
3x+9=27 ; 3x=18 ; x=6
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
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,2) ; G=(3,5)
R:(1,3) ; R:(1,4) ; R:(1,5) ; D:(2,5) ; D:(3,5)
list_summation
list_summation:pairwise
3, 5, 2, 3
3+5=8 ; 2+3=5 ; 8+5=13
base_conversion
base_conversion:decomposition
n=112,base=4
TERM:1*4^3=64 ; TERM:3*4^2=48 ; TERM:0*4^1=0 ; TERM:0*4^0=0 ; OUT:1300
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(0,1) ; G=(2,3)
D:(1,1) ; D:(2,1) ; R:(2,2) ; R:(2,3)
base_conversion
base_conversion:repeated-division
n=178,base=4
DIV:178/4=44,r:2 ; DIV:44/4=11,r:0 ; DIV:11/4=2,r:3 ; DIV:2/4=0,r:2 ; OUT:2302
base_conversion
base_conversion:decomposition
n=133,base=2
TERM:1*2^7=128 ; TERM:0*2^6=0 ; TERM:0*2^5=0 ; TERM:0*2^4=0 ; TERM:0*2^3=0 ; TERM:1*2^2=4 ; TERM:0*2^1=0 ; TERM:1*2^0=1 ; OUT:10000101
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(4,3) ; G=(5,5)
R:(4,4) ; D:(5,4) ; R:(5,5)
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(4,3) ; G=(5,4)
R:(4,4) ; D:(5,4)
multidigit_addition
multidigit_addition:left-to-right-partials
694+141
p100:600+100=700 ; p10:90+40=130 ; p1:4+1=5 ; sum=700+130+5=835
list_summation
list_summation:right-to-left
0, 7, 3, 8
3+8=11 ; 7+11=18 ; 0+18=18
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(4,0) ; G=(5,5)
D:(5,0) ; R:(5,1) ; R:(5,2) ; R:(5,3) ; R:(5,4) ; R:(5,5)
base_conversion
base_conversion:repeated-division
n=110,base=8
DIV:110/8=13,r:6 ; DIV:13/8=1,r:5 ; DIV:1/8=0,r:1 ; OUT:156
base_conversion
base_conversion:repeated-division
n=199,base=8
DIV:199/8=24,r:7 ; DIV:24/8=3,r:0 ; DIV:3/8=0,r:3 ; OUT:307
sorting_algorithms
sorting_algorithms:selection-sort
8, 3, 2, 0, 9
[0,3,2,8,9] ; [0,2,3,8,9] ; [0,2,3,8,9] ; [0,2,3,8,9]
base_conversion
base_conversion:via-binary
n=22,base=4
BINLEN:5 ; CHUNK:0:1 ; CHUNK:1:1 ; CHUNK:2:2 ; OUT:112
linear_equation_solving
linear_equation_solving:inverse-ops
2x+12=0
2x+12=0 ; x=(0-12)/2 ; x=-12/2 ; x=-6
sorting_algorithms
sorting_algorithms:merge-sort
1, 4, 7, 0, 8
[1,4,0,7,8] ; [0,1,4,7,8]
sorting_algorithms
sorting_algorithms:bubble-sort
2, 9, 6, 7, 5
[2,6,9,7,5] ; [2,6,7,9,5] ; [2,6,7,5,9] ; [2,6,5,7,9] ; [2,5,6,7,9]
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(1,3) ; G=(2,4)
R:(1,4) ; D:(2,4)
base_conversion
base_conversion:repeated-division
n=202,base=4
DIV:202/4=50,r:2 ; DIV:50/4=12,r:2 ; DIV:12/4=3,r:0 ; DIV:3/4=0,r:3 ; OUT:3022
sorting_algorithms
sorting_algorithms:insertion-sort
0, 5, 7, 8, 6
[0,5,7,8,6] ; [0,5,7,8,6] ; [0,5,7,8,6] ; [0,5,6,7,8]
multidigit_addition
multidigit_addition:left-to-right-partials
314+908
p100:300+900=1200 ; p10:10+0=10 ; p1:4+8=12 ; sum=1200+10+12=1222
list_summation
list_summation:right-to-left
5, 6, 4, 5
4+5=9 ; 6+9=15 ; 5+15=20
linear_equation_solving
linear_equation_solving:subtract-then-divide
4x+24=20
4x+24=20 ; 4x=-4 ; x=-1
grid_pathfinding
grid_pathfinding:right-first
grid=6 ; S=(3,1) ; G=(5,3)
R:(3,2) ; R:(3,3) ; D:(4,3) ; D:(5,3)
base_conversion
base_conversion:repeated-division
n=186,base=16
DIV:186/16=11,r:10 ; DIV:11/16=0,r:11 ; OUT:BA
grid_pathfinding
grid_pathfinding:alternating
grid=6 ; S=(4,1) ; G=(5,3)
R:(4,2) ; D:(5,2) ; R:(5,3)
multidigit_addition
multidigit_addition:left-to-right-partials
534+537
p100:500+500=1000 ; p10:30+30=60 ; p1:4+7=11 ; sum=1000+60+11=1071
sorting_algorithms
sorting_algorithms:heap-sort
8, 7, 0, 5, 6
[6,7,0,5,8] ; [7,6,0,5,8] ; [5,6,0,7,8] ; [6,5,0,7,8] ; [0,5,6,7,8] ; [5,0,6,7,8] ; [0,5,6,7,8]
linear_equation_solving
linear_equation_solving:subtract-then-divide
4x+36=40
4x+36=40 ; 4x=4 ; x=1
base_conversion
base_conversion:decomposition
n=130,base=2
TERM:1*2^7=128 ; TERM:0*2^6=0 ; TERM:0*2^5=0 ; TERM:0*2^4=0 ; TERM:0*2^3=0 ; TERM:0*2^2=0 ; TERM:1*2^1=2 ; TERM:0*2^0=0 ; OUT:10000010
multidigit_addition
multidigit_addition:left-to-right-partials
973+354
p100:900+300=1200 ; p10:70+50=120 ; p1:3+4=7 ; sum=1200+120+7=1327
multidigit_addition
multidigit_addition:rounding-decomposition
542+107
round:550+107=657 ; adjust:657-8=649 ; sum=649
base_conversion
base_conversion:repeated-division
n=53,base=16
DIV:53/16=3,r:5 ; DIV:3/16=0,r:3 ; OUT:35
grid_pathfinding
grid_pathfinding:down-first
grid=6 ; S=(2,2) ; G=(3,3)
D:(3,2) ; R:(3,3)
list_summation
list_summation:left-to-right
5, 7, 0, 0
5+7=12 ; 12+0=12 ; 12+0=12
multidigit_addition
multidigit_addition:right-to-left-carry
351+412
d2:1+2+0=3→w3,c0 ; d1:5+1+0=6→w6,c0 ; d0:3+4+0=7→w7,c0 ; sum=763
linear_equation_solving
linear_equation_solving:divide-then-subtract
5x+25=-15
5x+25=-15 ; x+5=-3 ; x=-3-5 ; x=-8
linear_equation_solving
linear_equation_solving:subtract-then-divide
2x-2=-16
2x-2=-16 ; 2x=-14 ; x=-7
multidigit_addition
multidigit_addition:rounding-decomposition
995+259
round:1000+259=1259 ; adjust:1259-5=1254 ; sum=1254