id
stringlengths
23
26
text
stringlengths
20
1.37k
format
stringclasses
2 values
messages
listlengths
2
4
⌀
family
stringclasses
1 value
sub
stringclasses
3 values
variant
stringclasses
1 value
variant_of
stringclasses
0 values
generator
stringclasses
1 value
sources
listlengths
0
0
source_ids
listlengths
0
0
n_tokens_alea
int64
8
494
meta
stringlengths
47
170
nlprog_det-arith-0027942
12 + 8 is Here is a short program for it. ```python print(12 + 8) # 20 ``` When run, it prints: 20 It must be 20.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
50
{"a": 12, "b": 8, "notation": "+", "commas": true, "carries": 1, "shown": "12 + 8", "gold": "20", "printed": "20"}
nlprog_det-arith-0027943
What's 12,716 divided by 34? Use Python if it helps. Python does the arithmetic: print(12716 // 34) Output — 374 It equals 374.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 12716, "b": 34, "notation": "divided by", "commas": true, "carries": null, "shown": "12,716 divided by 34", "gold": "374", "printed": "374"}
nlprog_det-arith-0027944
From the workbook: Work out 300 less 154. Show the computation. Script: ```python print(300 - 154) # 146 ``` Output of the run — 146 **End result:** 146
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 300, "b": 154, "notation": "less", "commas": true, "carries": 2, "shown": "300 less 154", "gold": "146", "printed": "146"}
nlprog_det-arith-0027945
<|start|><|user|> 4932 + 7225 = what?<|eot|> <|assistant|> ```python print(4932 + 7225) # 12157 ``` Output of the run: 12157 **Here:** 12157<|eot|> <|end|>
chat
[ { "role": "user", "content": "4932 + 7225 = what?" }, { "role": "assistant", "content": "```python\nprint(4932 + 7225) # 12157\n```\nOutput of the run: 12157\n\n**Here:** 12157" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
62
{"a": 4932, "b": 7225, "notation": "+", "commas": false, "carries": 2, "shown": "4932 + 7225", "gold": "12157", "printed": "12157"}
nlprog_det-arith-0027946
<|start|><|user|> Share 24140 equally among 71.<|eot|> <|assistant|> ```python print(24140 // 71) # 340 ``` Executed, it shows: 340 It equals 340.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Share 24140 equally among 71." }, { "role": "assistant", "content": "```python\nprint(24140 // 71) # 340\n```\nExecuted, it shows: 340\n\nIt equals 340." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 24140, "b": 71, "notation": "over", "commas": false, "carries": null, "shown": "24140 over 71", "gold": "340", "printed": "340"}
nlprog_det-arith-0027947
What's 728 + 464? 1192
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 728, "b": 464, "notation": "+", "commas": false, "carries": 2, "shown": "728 + 464", "gold": "1192", "printed": "1192"}
nlprog_det-arith-0027948
Figure out 10,000 - 6,459. Computation in Python: ```python print(10000 - 6459) # 3541 ``` Output: 3541 That leaves 3,541.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
67
{"a": 10000, "b": 6459, "notation": "-", "commas": true, "carries": 4, "shown": "10,000 - 6,459", "gold": "3541", "printed": "3541"}
nlprog_det-arith-0027949
Take 2 times 106. 212
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
11
{"a": 2, "b": 106, "notation": "times", "commas": true, "carries": null, "shown": "2 times 106", "gold": "212", "printed": "212"}
nlprog_det-arith-0027950
Add 499 and 136. Evaluate in Python: 499 + 136 Gives 635. 635
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
34
{"a": 499, "b": 136, "notation": "plus", "commas": true, "carries": 2, "shown": "499 plus 136", "gold": "635", "printed": "635"}
nlprog_det-arith-0027951
Compute 4836 divided by 93. Integers only. 52
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
18
{"a": 4836, "b": 93, "notation": "divided by", "commas": false, "carries": null, "shown": "4836 divided by 93", "gold": "52", "printed": "52"}
nlprog_det-arith-0027953
Find the value of 547 − 400. Double-check it. 547 − 400 = 147
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
28
{"a": 547, "b": 400, "notation": "−", "commas": true, "carries": 0, "shown": "547 − 400", "gold": "147", "printed": "147"}
nlprog_det-arith-0027954
Multiply 64 and 24. One way, in code: ```python print(64 * 24) # 1536 ``` (Program output: 1536) **Short answer:** 1,536
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 64, "b": 24, "notation": "multiplied by", "commas": true, "carries": null, "shown": "64 multiplied by 24", "gold": "1536", "printed": "1536"}
nlprog_det-arith-0027955
Arithmetic: What does 24 + 1 come to? We write it as a program: ```python print(24 + 1) # 25 ``` # output: 25 25
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
48
{"a": 24, "b": 1, "notation": "+", "commas": true, "carries": 0, "shown": "24 + 1", "gold": "25", "printed": "25"}
nlprog_det-arith-0027956
<|start|><|system|> You may call the tools below. [{"name": "math_engine", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Quick check: C...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"math_engine\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"req...
nlprog_det
arith
original
null
deterministic
[]
[]
177
{"a": 99, "b": 70, "notation": "multiplied by", "commas": false, "carries": null, "shown": "99 multiplied by 70", "gold": "6930", "printed": "6930"}
nlprog_det-arith-0027958
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> Calculation: Give the value of 9,156 ÷ 14.<|eot|> <|assistant|> ```python print(9156 // 14) # 654 ``` (Out: 654) 654 it is.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "Calculation: Give the value of 9,156 ÷ 14." }, { "role": "assistant", "content": "```python\nprint(9156 // 14) # 654\n```\n(Out: 654)\n\n654 it is." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
74
{"a": 9156, "b": 14, "notation": "÷", "commas": true, "carries": null, "shown": "9,156 ÷ 14", "gold": "654", "printed": "654"}
nlprog_det-arith-0027959
<|start|><|user|> Mental math: I need the sum of 7989 and 1216.<|eot|> <|assistant|> So it is 9205.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Mental math: I need the sum of 7989 and 1216." }, { "role": "assistant", "content": "So it is 9205." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
32
{"a": 7989, "b": 1216, "notation": "sum", "commas": false, "carries": 3, "shown": "the sum of 7989 and 1216", "gold": "9205", "printed": "9205"}
nlprog_det-arith-0027960
Homework: 67 * 3 = 201
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
11
{"a": 67, "b": 3, "notation": "*", "commas": false, "carries": null, "shown": "67 * 3", "gold": "201", "printed": "201"}
nlprog_det-arith-0027964
What's 411768 divided by 774? >>> 411768 // 774 532 Final: 532.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
37
{"a": 411768, "b": 774, "notation": "divided by", "commas": false, "carries": null, "shown": "411768 divided by 774", "gold": "532", "printed": "532"}
nlprog_det-arith-0027965
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> Total 3328 and 6260.<|eot|> <|assistant|> ```python print(3328 + 6260) # 9588 ``` Executed, it shows: 9588 The outcome is 9588.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "Total 3328 and 6260." }, { "role": "assistant", "content": "```python\nprint(3328 + 6260) # 9588\n```\nExecuted, it shows: 9588\n\nThe outcome is 9588." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
68
{"a": 3328, "b": 6260, "notation": "added", "commas": false, "carries": 0, "shown": "6260 added to 3328", "gold": "9588", "printed": "9588"}
nlprog_det-arith-0027966
Ledger line: 167 + 281 = what? The program: ```python print(167 + 281) # 448 ``` Python prints 448. 448
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 167, "b": 281, "notation": "+", "commas": false, "carries": 1, "shown": "167 + 281", "gold": "448", "printed": "448"}
nlprog_det-arith-0027967
Determine 14,841 / 97. Show the computation. Code: 14841 // 97 Output: 153 This comes to 153.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
41
{"a": 14841, "b": 97, "notation": "/", "commas": true, "carries": null, "shown": "14,841 / 97", "gold": "153", "printed": "153"}
nlprog_det-arith-0027968
Find 48743 ÷ 79. Code: ```python print(48743 // 79) # 617 ``` Shell output — 617 It equals 617.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 48743, "b": 79, "notation": "÷", "commas": false, "carries": null, "shown": "48743 ÷ 79", "gold": "617", "printed": "617"}
nlprog_det-arith-0027969
Question of the day: 634 * 4 is 630 × 4 = 2520 4 × 4 = 16 2520 + 16 = 2536 Thus 2,536.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 634, "b": 4, "notation": "*", "commas": true, "carries": null, "shown": "634 * 4", "gold": "2536", "printed": "2536"}
nlprog_det-arith-0027970
<|start|><|user|> For the ledger: The sum of 68 and 61 is how much? Use Python if it helps.<|eot|> <|assistant|> print(68 + 61) # 129 # output: 129 The outcome is 129.<|eot|> <|end|>
chat
[ { "role": "user", "content": "For the ledger: The sum of 68 and 61 is how much? Use Python if it helps." }, { "role": "assistant", "content": " print(68 + 61) # 129\n# output: 129\n\nThe outcome is 129." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 68, "b": 61, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 68 and 61", "gold": "129", "printed": "129"}
nlprog_det-arith-0027973
Evaluate 15006 ÷ 41. Working: 15006 ÷ 41 = 366 check: 41 × 366 = 15006 366
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 15006, "b": 41, "notation": "÷", "commas": false, "carries": null, "shown": "15006 ÷ 41", "gold": "366", "printed": "366"}
nlprog_det-arith-0027974
Multiply 87 by 81. 7047 is what it comes to.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 87, "b": 81, "notation": "times", "commas": false, "carries": null, "shown": "87 times 81", "gold": "7047", "printed": "7047"}
nlprog_det-arith-0027976
Math check: I need 4 times 2. No rounding needed. Here is the program. ```python print(4 * 2) # 8 ``` Python prints: 8 It works out to 8.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
61
{"a": 4, "b": 2, "notation": "times", "commas": false, "carries": null, "shown": "4 times 2", "gold": "8", "printed": "8"}
nlprog_det-arith-0027977
What does 2 x 27 come to? We can compute it in Python. ```python print(2 * 27) ``` Output of the run: 54 **Thus:** 54
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 2, "b": 27, "notation": "x", "commas": false, "carries": null, "shown": "2 x 27", "gold": "54", "printed": "54"}
nlprog_det-arith-0027978
Calculation: 26 x 9 = Break it up: 20 × 9 = 180 6 × 9 = 54 180 + 54 = 234 234
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 26, "b": 9, "notation": "x", "commas": true, "carries": null, "shown": "26 x 9", "gold": "234", "printed": "234"}
nlprog_det-arith-0027979
Remove 721 from 1,000; what is left? 279
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 1000, "b": 721, "notation": "minus", "commas": true, "carries": 3, "shown": "1,000 minus 721", "gold": "279", "printed": "279"}
nlprog_det-arith-0027980
Find 6 multiplied by 52. Step by step: 50 × 6 = 300 2 × 6 = 12 300 + 12 = 312 Hence 312.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 6, "b": 52, "notation": "times", "commas": false, "carries": null, "shown": "6 times 52", "gold": "312", "printed": "312"}
nlprog_det-arith-0027981
Remove 126 from 300; what is left? In the end: 174.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 300, "b": 126, "notation": "minus", "commas": true, "carries": 2, "shown": "300 minus 126", "gold": "174", "printed": "174"}
nlprog_det-arith-0027983
What is 768 + 492? Step by step: 768 + 400 = 1168 1168 + 92 = 1260 1260
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 768, "b": 492, "notation": "+", "commas": false, "carries": 3, "shown": "768 + 492", "gold": "1260", "printed": "1260"}
nlprog_det-arith-0027984
<|start|><|user|> Figure out the sum of 65 and 3.<|eot|> <|assistant|> ```python print(65 + 3) # 68 ``` The program prints: 68 Number: 68<|eot|> <|end|>
chat
[ { "role": "user", "content": "Figure out the sum of 65 and 3." }, { "role": "assistant", "content": "```python\nprint(65 + 3) # 68\n```\nThe program prints: 68\n\nNumber: 68" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
49
{"a": 65, "b": 3, "notation": "sum", "commas": true, "carries": 0, "shown": "the sum of 65 and 3", "gold": "68", "printed": "68"}
nlprog_det-arith-0027985
36 added to 60 is how much? 96
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
10
{"a": 60, "b": 36, "notation": "added", "commas": false, "carries": 0, "shown": "36 added to 60", "gold": "96", "printed": "96"}
nlprog_det-arith-0027987
Ledger line: 4 * 75 = what? A short script: ```python print(4 * 75) # 300 ``` Output: 300 It equals 300.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 4, "b": 75, "notation": "*", "commas": true, "carries": null, "shown": "4 * 75", "gold": "300", "printed": "300"}
nlprog_det-arith-0027988
<|start|><|user|> 42 plus 50: what is it? Show the computation.<|eot|> <|assistant|> 92<|eot|> <|end|>
chat
[ { "role": "user", "content": "42 plus 50: what is it? Show the computation." }, { "role": "assistant", "content": "92" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
24
{"a": 42, "b": 50, "notation": "plus", "commas": true, "carries": 0, "shown": "42 plus 50", "gold": "92", "printed": "92"}
nlprog_det-arith-0027989
What's 1,134 + 2,546? Python version: ```python print(1134 + 2546) # 3680 ``` Result = 3680 3,680
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
59
{"a": 1134, "b": 2546, "notation": "+", "commas": true, "carries": 1, "shown": "1,134 + 2,546", "gold": "3680", "printed": "3680"}
nlprog_det-arith-0027990
Bookkeeping check: What is 4,254 + 4,333? Give the exact value. >>> print(4254 + 4333) 8587 This yields 8,587.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
50
{"a": 4254, "b": 4333, "notation": "+", "commas": true, "carries": 0, "shown": "4,254 + 4,333", "gold": "8587", "printed": "8587"}
nlprog_det-arith-0027991
<|start|><|user|> Warm-up: Determine 70 multiplied by 3.<|eot|> <|assistant|> ```python print(70 * 3) # 210 ``` Console output — 210 Answer 210.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Warm-up: Determine 70 multiplied by 3." }, { "role": "assistant", "content": "```python\nprint(70 * 3) # 210\n```\nConsole output — 210\n\nAnswer 210." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
56
{"a": 70, "b": 3, "notation": "multiplied by", "commas": true, "carries": null, "shown": "70 multiplied by 3", "gold": "210", "printed": "210"}
nlprog_det-arith-0027993
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "python", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> Ex...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"python\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code...
nlprog_det
arith
original
null
deterministic
[]
[]
176
{"a": 8, "b": 89, "notation": "multiplied by", "commas": false, "carries": null, "shown": "8 multiplied by 89", "gold": "712", "printed": "712"}
nlprog_det-arith-0027994
Exercise: What do you get for 17498 - 10136? Use Python if it helps. Here is a short program for it. ```python print(17498 - 10136) # 7362 ``` # printed: 7362 Obtained — 7362
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
77
{"a": 17498, "b": 10136, "notation": "-", "commas": false, "carries": 0, "shown": "17498 - 10136", "gold": "7362", "printed": "7362"}
nlprog_det-arith-0027995
What is 11260 over 20? Gives: 563
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
17
{"a": 11260, "b": 20, "notation": "over", "commas": false, "carries": null, "shown": "11260 over 20", "gold": "563", "printed": "563"}
nlprog_det-arith-0027996
<|start|><|user|> For the ledger: How much is 42 × 6?<|eot|> <|assistant|> ```python print(42 * 6) # 252 ``` The script prints 252, as expected. 252<|eot|> <|end|>
chat
[ { "role": "user", "content": "For the ledger: How much is 42 × 6?" }, { "role": "assistant", "content": "```python\nprint(42 * 6) # 252\n```\nThe script prints 252, as expected.\n\n252" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
58
{"a": 42, "b": 6, "notation": "×", "commas": false, "carries": null, "shown": "42 × 6", "gold": "252", "printed": "252"}
nlprog_det-arith-0027997
Drill: Tell me 5,000 minus 3,911. Keep it short. Code: ```python print(5000 - 3911) # 1089 ``` The program outputs 1089. Calculated value - 1,089
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
69
{"a": 5000, "b": 3911, "notation": "minus", "commas": true, "carries": 3, "shown": "5,000 minus 3,911", "gold": "1089", "printed": "1089"}
nlprog_det-arith-0027998
Deduct 2524 from 5000. 5000 − 2500 = 2500 2500 − 24 = 2476 It equals 2476.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 5000, "b": 2524, "notation": "difference", "commas": false, "carries": 3, "shown": "the difference between 5000 and 2524", "gold": "2476", "printed": "2476"}
nlprog_det-arith-0027999
<|start|><|user|> Calculate 43378 divided by 943.<|eot|> <|assistant|> Comes to = 46<|eot|> <|end|>
chat
[ { "role": "user", "content": "Calculate 43378 divided by 943." }, { "role": "assistant", "content": "Comes to = 46" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
27
{"a": 43378, "b": 943, "notation": "divided by", "commas": false, "carries": null, "shown": "43378 divided by 943", "gold": "46", "printed": "46"}
nlprog_det-arith-0028002
Work out 72 x 447. Give the exact value. Split it: 72 × 440 = 31680 72 × 7 = 504 31680 + 504 = 32184 That leaves 32,184.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 72, "b": 447, "notation": "x", "commas": true, "carries": null, "shown": "72 x 447", "gold": "32184", "printed": "32184"}
nlprog_det-arith-0028003
<|start|><|user|> Multiply 99 and 3,624.<|eot|> <|assistant|> 358,776<|eot|> <|end|>
chat
[ { "role": "user", "content": "Multiply 99 and 3,624." }, { "role": "assistant", "content": "358,776" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
26
{"a": 99, "b": 3624, "notation": "times", "commas": true, "carries": null, "shown": "99 times 3,624", "gold": "358776", "printed": "358776"}
nlprog_det-arith-0028005
<|start|><|user|> Math check: Evaluate 66 − 19.<|eot|> <|assistant|> 66 − 19 = 47<|eot|> <|end|>
chat
[ { "role": "user", "content": "Math check: Evaluate 66 − 19." }, { "role": "assistant", "content": "66 − 19 = 47" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
27
{"a": 66, "b": 19, "notation": "−", "commas": false, "carries": 1, "shown": "66 − 19", "gold": "47", "printed": "47"}
nlprog_det-arith-0028006
Please find 8 times 4,391. Give the exact value. In Python, 8 * 4391 evaluates to 35128. Result: 35,128
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 8, "b": 4391, "notation": "times", "commas": true, "carries": null, "shown": "8 times 4,391", "gold": "35128", "printed": "35128"}
nlprog_det-arith-0028007
Subtract 7471 from 8695. ```python print(8695 - 7471) # 1224 ``` Interpreter output: 1224 So it is 1224.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 8695, "b": 7471, "notation": "difference", "commas": false, "carries": 0, "shown": "the difference between 8695 and 7471", "gold": "1224", "printed": "1224"}
nlprog_det-arith-0028008
Exam warm-up: 3000 - 2514 = what? 3000 - 2514 = 486
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
24
{"a": 3000, "b": 2514, "notation": "-", "commas": false, "carries": 3, "shown": "3000 - 2514", "gold": "486", "printed": "486"}
nlprog_det-arith-0028009
Arithmetic: Determine the difference between 46711 and 7031. >>> 46711 - 7031 39680 That makes 39680.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
41
{"a": 46711, "b": 7031, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 46711 and 7031", "gold": "39680", "printed": "39680"}
nlprog_det-arith-0028010
Basic math: Determine 86 + 71. This yields 157.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 86, "b": 71, "notation": "+", "commas": true, "carries": 1, "shown": "86 + 71", "gold": "157", "printed": "157"}
nlprog_det-arith-0028011
<|start|><|system|> Tools you may use: [{"name": "calculator", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> Divide 1653 by 19.<|eot...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"calculator\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\"...
nlprog_det
arith
original
null
deterministic
[]
[]
165
{"a": 1653, "b": 19, "notation": "quotient", "commas": false, "carries": null, "shown": "the quotient of 1653 and 19", "gold": "87", "printed": "87"}
nlprog_det-arith-0028012
Tell me 300 - 140. Show the computation. By place value: 300 − 100 = 200 200 − 40 = 160 Figure: 160
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
42
{"a": 300, "b": 140, "notation": "-", "commas": true, "carries": 1, "shown": "300 - 140", "gold": "160", "printed": "160"}
nlprog_det-arith-0028013
Compute 500 minus 492. Keep it short. Programmatically: ```python print(500 - 492) # 8 ``` On running, it outputs 8. End result — 8
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
58
{"a": 500, "b": 492, "notation": "minus", "commas": true, "carries": 2, "shown": "500 minus 492", "gold": "8", "printed": "8"}
nlprog_det-arith-0028014
Calculation: Compute the sum of 9072 and 6113. [Number] 15185
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
23
{"a": 9072, "b": 6113, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 9072 and 6113", "gold": "15185", "printed": "15185"}
nlprog_det-arith-0028015
Deduct 6,573 from 15,381. In Python, 15381 - 6573 evaluates to 8808. 8,808
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
41
{"a": 15381, "b": 6573, "notation": "less", "commas": true, "carries": 3, "shown": "15,381 less 6,573", "gold": "8808", "printed": "8808"}
nlprog_det-arith-0028017
What does 2 * 9 come to? 2 * 9 = 18
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 2, "b": 9, "notation": "*", "commas": false, "carries": null, "shown": "2 * 9", "gold": "18", "printed": "18"}
nlprog_det-arith-0028019
<|start|><|system|> You may call the tools below. [{"name": "code_runner", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}, {"name": "search_cases", "descrip...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"code_runner\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"require...
nlprog_det
arith
original
null
deterministic
[]
[]
241
{"a": 91, "b": 20, "notation": "+", "commas": false, "carries": 1, "shown": "91 + 20", "gold": "111", "printed": "111"}
nlprog_det-arith-0028020
<|start|><|system|> Tools you may use: {"name": "calc", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}} {"name": "get_weather", "description": "Get the we...
chat
[ { "role": "system", "content": "Tools you may use:\n{\"name\": \"calc\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"source\...
nlprog_det
arith
original
null
deterministic
[]
[]
240
{"a": 198429, "b": 859, "notation": "÷", "commas": true, "carries": null, "shown": "198,429 ÷ 859", "gold": "231", "printed": "231"}
nlprog_det-arith-0028021
Remove 20 from 27; what is left? 7
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
15
{"a": 27, "b": 20, "notation": "difference", "commas": true, "carries": 0, "shown": "the difference between 27 and 20", "gold": "7", "printed": "7"}
nlprog_det-arith-0028023
<|start|><|user|> I need 622 minus 459.<|eot|> <|assistant|> ```python print(622 - 459) ``` Console output: 163 We end up with 163.<|eot|> <|end|>
chat
[ { "role": "user", "content": "I need 622 minus 459." }, { "role": "assistant", "content": "```python\nprint(622 - 459)\n```\nConsole output: 163\n\nWe end up with 163." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
54
{"a": 622, "b": 459, "notation": "minus", "commas": true, "carries": 2, "shown": "622 minus 459", "gold": "163", "printed": "163"}
nlprog_det-arith-0028024
Mental math: I need 5854 plus 7384. It equals 13238.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
23
{"a": 5854, "b": 7384, "notation": "plus", "commas": false, "carries": 3, "shown": "5854 plus 7384", "gold": "13238", "printed": "13238"}
nlprog_det-arith-0028025
<|start|><|user|> Problem: Figure out 63 multiplied by 91.<|eot|> <|assistant|> ```python print(63 * 91) # 5733 ``` Out — 5733 Thus 5733.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Problem: Figure out 63 multiplied by 91." }, { "role": "assistant", "content": "```python\nprint(63 * 91) # 5733\n```\nOut — 5733\n\nThus 5733." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
56
{"a": 63, "b": 91, "notation": "multiplied by", "commas": false, "carries": null, "shown": "63 multiplied by 91", "gold": "5733", "printed": "5733"}
nlprog_det-arith-0028026
Ledger line: What's 51,168 / 96? 533
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
20
{"a": 51168, "b": 96, "notation": "/", "commas": true, "carries": null, "shown": "51,168 / 96", "gold": "533", "printed": "533"}
nlprog_det-arith-0028027
<|start|><|user|> Warm-up: Evaluate 4,721 × 4.<|eot|> <|assistant|> ```python print(4721 * 4) # 18884 ``` What it prints — 18884 The number we want is 18,884.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Warm-up: Evaluate 4,721 × 4." }, { "role": "assistant", "content": "```python\nprint(4721 * 4) # 18884\n```\nWhat it prints — 18884\n\nThe number we want is 18,884." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
69
{"a": 4721, "b": 4, "notation": "×", "commas": true, "carries": null, "shown": "4,721 × 4", "gold": "18884", "printed": "18884"}
nlprog_det-arith-0028029
For the ledger: Quick: 10000 minus 6284? In code: ```python print(10000 - 6284) # 3716 ``` stdout = 3716 Hence 3716.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 10000, "b": 6284, "notation": "minus", "commas": false, "carries": 4, "shown": "10000 minus 6284", "gold": "3716", "printed": "3716"}
nlprog_det-arith-0028031
Exam warm-up: The quotient of 60847 and 857: what is it? Python: ```python print(60847 // 857) # 71 ``` # stdout: 71 71 is correct.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
67
{"a": 60847, "b": 857, "notation": "quotient", "commas": false, "carries": null, "shown": "the quotient of 60847 and 857", "gold": "71", "printed": "71"}
nlprog_det-arith-0028032
For the ledger: What's 84252 ÷ 236? Integers only. Working it out: 84252 ÷ 236 = 357 check: 236 × 357 = 84252 357 it is.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
61
{"a": 84252, "b": 236, "notation": "÷", "commas": false, "carries": null, "shown": "84252 ÷ 236", "gold": "357", "printed": "357"}
nlprog_det-arith-0028033
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> 136 + 641 is<|eot|> <|assistant|> print(136 + 641) # 777 Execution result: 777 Conclusion: 777<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "136 + 641 is" }, { "role": "assistant", "content": " print(136 + 641) # 777\nExecution result: 777\n\nConclusion: 777" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 136, "b": 641, "notation": "+", "commas": false, "carries": 0, "shown": "136 + 641", "gold": "777", "printed": "777"}
nlprog_det-arith-0028034
Calculate 6 × 1299. 1290 × 6 = 7740 9 × 6 = 54 7740 + 54 = 7794 7794
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
40
{"a": 6, "b": 1299, "notation": "×", "commas": false, "carries": null, "shown": "6 × 1299", "gold": "7794", "printed": "7794"}
nlprog_det-arith-0028036
Sum check: Tell me 500 - 346. The program: ```python print(500 - 346) # 154 ``` (Program output: 154) 154, in the end.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
58
{"a": 500, "b": 346, "notation": "-", "commas": false, "carries": 2, "shown": "500 - 346", "gold": "154", "printed": "154"}
nlprog_det-arith-0028037
Drill: Work out 21 × 492. Keep it short. 10,332
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
25
{"a": 21, "b": 492, "notation": "×", "commas": true, "carries": null, "shown": "21 × 492", "gold": "10332", "printed": "10332"}
nlprog_det-arith-0028038
<|start|><|system|> Tools you may use: [{"name": "python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> Exam warm-up: What is...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\":...
nlprog_det
arith
original
null
deterministic
[]
[]
176
{"a": 65, "b": 54, "notation": "x", "commas": true, "carries": null, "shown": "65 x 54", "gold": "3510", "printed": "3510"}
nlprog_det-arith-0028039
Homework: Figure out the quotient of 5880 and 15. Computation in Python: ```python print(5880 // 15) # 392 ``` The interpreter prints 392. 392
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
66
{"a": 5880, "b": 15, "notation": "quotient", "commas": false, "carries": null, "shown": "the quotient of 5880 and 15", "gold": "392", "printed": "392"}
nlprog_det-arith-0028040
Combine 294 and 889. The program: ```python print(294 + 889) # 1183 ``` This prints 1183, as expected. So we have 1,183.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
59
{"a": 294, "b": 889, "notation": "plus", "commas": true, "carries": 3, "shown": "294 plus 889", "gold": "1183", "printed": "1183"}
nlprog_det-arith-0028042
Remove 473 from 500; what is left? >>> 500 - 473 27 Works out to: 27
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
32
{"a": 500, "b": 473, "notation": "subtract", "commas": false, "carries": 2, "shown": "473 subtracted from 500", "gold": "27", "printed": "27"}
nlprog_det-arith-0028043
Deduct 66 from 88. Script: print(88 - 66) # 22 Execution result: 22 [Solution] 22
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 88, "b": 66, "notation": "less", "commas": false, "carries": 0, "shown": "88 less 66", "gold": "22", "printed": "22"}
nlprog_det-arith-0028045
<|start|><|system|> Tools (call with JSON): [{"name": "python_exec", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Work out 10,000 - 8,...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"python_exec\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\...
nlprog_det
arith
original
null
deterministic
[]
[]
186
{"a": 10000, "b": 8165, "notation": "-", "commas": true, "carries": 4, "shown": "10,000 - 8,165", "gold": "1835", "printed": "1835"}
nlprog_det-arith-0028046
Give the value of 86 x 4. As Python: ```python print(86 * 4) # 344 ``` Result: 344 344 is correct.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 86, "b": 4, "notation": "x", "commas": false, "carries": null, "shown": "86 x 4", "gold": "344", "printed": "344"}
nlprog_det-arith-0028047
For the ledger: Give the value of 3000 − 2237. 3000 − 2237 = 763
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
30
{"a": 3000, "b": 2237, "notation": "−", "commas": false, "carries": 3, "shown": "3000 − 2237", "gold": "763", "printed": "763"}
nlprog_det-arith-0028048
Quiz: Calculate 616 plus 371. Double-check it. A few lines of Python do it: ```python print(616 + 371) # 987 ``` Out = 987 Figure: 987
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
71
{"a": 616, "b": 371, "notation": "plus", "commas": false, "carries": 0, "shown": "616 plus 371", "gold": "987", "printed": "987"}
nlprog_det-arith-0028049
Tell me 72,200 over 361. Answer 200.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 72200, "b": 361, "notation": "over", "commas": true, "carries": null, "shown": "72,200 over 361", "gold": "200", "printed": "200"}
nlprog_det-arith-0028051
Can you work out 300 minus 258? Show the computation. Split it: 300 − 200 = 100 100 − 58 = 42 Result: 42
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 300, "b": 258, "notation": "minus", "commas": false, "carries": 2, "shown": "300 minus 258", "gold": "42", "printed": "42"}
nlprog_det-arith-0028053
<|start|><|system|> Avoid unnecessary detail.<|eot|> <|user|> Combine 3,258 and 9,079.<|eot|> <|assistant|> The number we want is 12,337.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Avoid unnecessary detail." }, { "role": "user", "content": "Combine 3,258 and 9,079." }, { "role": "assistant", "content": "The number we want is 12,337." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 3258, "b": 9079, "notation": "sum", "commas": true, "carries": 3, "shown": "the sum of 3,258 and 9,079", "gold": "12337", "printed": "12337"}
nlprog_det-arith-0028054
<|start|><|system|> You have access to these functions: [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "compute", "description": "Python ...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\": [\"start...
nlprog_det
arith
original
null
deterministic
[]
[]
220
{"a": 36, "b": 77, "notation": "sum", "commas": true, "carries": 2, "shown": "the sum of 36 and 77", "gold": "113", "printed": "113"}
nlprog_det-arith-0028055
Number work: Tell me 10000 − 7295. Python does the arithmetic: ```python print(10000 - 7295) # 2705 ``` It outputs 2705. **Thus:** 2705
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
69
{"a": 10000, "b": 7295, "notation": "−", "commas": false, "carries": 4, "shown": "10000 − 7295", "gold": "2705", "printed": "2705"}
nlprog_det-arith-0028056
Multiply 11 and 70. Evaluate in Python: 11 * 70 Gives 770. Answer 770.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 11, "b": 70, "notation": "times", "commas": false, "carries": null, "shown": "11 times 70", "gold": "770", "printed": "770"}
nlprog_det-arith-0028059
What's 406 × 304? Keep it short. 406 × 300 = 121800 406 × 4 = 1624 121800 + 1624 = 123424 123,424 it is.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 406, "b": 304, "notation": "×", "commas": true, "carries": null, "shown": "406 × 304", "gold": "123424", "printed": "123424"}
nlprog_det-arith-0028060
Basic math: Give me the difference between 500 and 429. 71 — that is the result.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
26
{"a": 500, "b": 429, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 500 and 429", "gold": "71", "printed": "71"}
nlprog_det-arith-0028061
<|start|><|user|> Remove 664 from 1136; what is left?<|eot|> <|assistant|> **In short:** 472<|eot|> <|end|>
chat
[ { "role": "user", "content": "Remove 664 from 1136; what is left?" }, { "role": "assistant", "content": "**In short:** 472" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
28
{"a": 1136, "b": 664, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 1136 and 664", "gold": "472", "printed": "472"}
nlprog_det-arith-0028062
<|start|><|user|> Sum check: Find 84 x 76.<|eot|> <|assistant|> 84 x 76 = 6384<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sum check: Find 84 x 76." }, { "role": "assistant", "content": "84 x 76 = 6384" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
27
{"a": 84, "b": 76, "notation": "x", "commas": false, "carries": null, "shown": "84 x 76", "gold": "6384", "printed": "6384"}
nlprog_det-arith-0028063
<|start|><|system|> Tool definitions: {"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}} {"name": "run_python", "description": "Executes a Python program and returns its output.", "parameters": {"t...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}\n{\"name\": \"run_python\", \"description\": \"Executes a...
nlprog_det
arith
original
null
deterministic
[]
[]
247
{"a": 84, "b": 3381, "notation": "times", "commas": true, "carries": null, "shown": "84 times 3,381", "gold": "284004", "printed": "284004"}
nlprog_det-arith-0028064
<|start|><|user|> Tell me 1247 + 2089.<|eot|> <|assistant|> 3336<|eot|> <|end|>
chat
[ { "role": "user", "content": "Tell me 1247 + 2089." }, { "role": "assistant", "content": "3336" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
21
{"a": 1247, "b": 2089, "notation": "+", "commas": false, "carries": 2, "shown": "1247 + 2089", "gold": "3336", "printed": "3336"}
nlprog_det-arith-0028065
<|start|><|system|> You have access to these functions: [{"name": "eval_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Practice: Dete...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"eval_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"req...
nlprog_det
arith
original
null
deterministic
[]
[]
146
{"a": 874, "b": 878, "notation": "+", "commas": true, "carries": 3, "shown": "874 + 878", "gold": "1752", "printed": "1752"}
nlprog_det-arith-0028066
<|start|><|user|> Easy one: What do you get for 14,099 ÷ 23?<|eot|> <|assistant|> 613<|eot|> <|end|>
chat
[ { "role": "user", "content": "Easy one: What do you get for 14,099 ÷ 23?" }, { "role": "assistant", "content": "613" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
29
{"a": 14099, "b": 23, "notation": "÷", "commas": true, "carries": null, "shown": "14,099 ÷ 23", "gold": "613", "printed": "613"}
nlprog_det-arith-0028067
<|start|><|user|> Exercise: How much is 45 - 41?<|eot|> <|assistant|> ```python print(45 - 41) # 4 ``` Out: 4 REPLY: 4<|eot|> <|end|>
chat
[ { "role": "user", "content": "Exercise: How much is 45 - 41?" }, { "role": "assistant", "content": "```python\nprint(45 - 41) # 4\n```\nOut:\n4\n\nREPLY: 4" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
52
{"a": 45, "b": 41, "notation": "-", "commas": false, "carries": 0, "shown": "45 - 41", "gold": "4", "printed": "4"}