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-setting-0074852
Count 45 days forward from December 20, 2027. What date is that? Python makes this quick: ```python from datetime import date, timedelta start = date(2027, 12, 20) # datetime.date(2027, 12, 20) end = start + timedelta(days=45) # datetime.date(2028, 2, 3) print(end.isoformat()) ``` The run gives 2028-02-03, as expect...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "2028-02-03", "printed": "2028-02-03", "notation": null}
nlprog_det-setting-0074853
What is -15 degrees Celsius in Fahrenheit? Here is a short program for it. ```python celsius = -15 fahrenheit = celsius * 9 / 5 + 32 # 5.0 print(round(fahrenheit)) ``` The code prints: 5 That is 5 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0074854
One can of paint covers 400 square feet. How many cans are needed for 829 square feet of wall? In Python: ```python import math area = 829 coverage = 400 cans = math.ceil(area / coverage) # 3 print(cans) ``` Executing it gives: 3 3 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0074855
<|start|><|user|> If a 5-year limitations period starts on March 9, 2013, when does it end?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2013, 3, 9) # datetime.date(2013, 3, 9) years = 5 expires = accrued.replace(year=accrued.year + years) # datetime.date(2018, 3, 9) print(expires.isoformat...
chat
[ { "role": "user", "content": "If a 5-year limitations period starts on March 9, 2013, when does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2013, 3, 9) # datetime.date(2013, 3, 9)\nyears = 5\nexpires = accrued.replace(year=accrued.year + y...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2018-03-09", "printed": "2018-03-09", "notation": null}
nlprog_det-setting-0074856
<|start|><|user|> Someone works 12 hours at $18.90 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 18.9 hours = 12 earnings = rate * hours # 226.79999999999998 print(f"{earnings:.2f}") ``` Executed, it shows: 226.80 The pay is $226.80.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 12 hours at $18.90 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 18.9\nhours = 12\nearnings = rate * hours # 226.79999999999998\nprint(f\"{earnings:.2f}\")\n```\nExecuted, it shows: 226.80\n\nThe pay is $226...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "226.80", "printed": "226.80", "notation": null}
nlprog_det-setting-0074857
A measure needs at least 67% of 98 votes. How many votes is that, rounded up? 66 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "66", "printed": "66", "notation": null}
nlprog_det-setting-0074858
<|start|><|user|> Monthly: $12. Annual: $126. What is saved per year by paying annually?<|eot|> <|assistant|> monthly = 12 yearly = 126 savings = monthly * 12 - yearly # 18 print(savings) Run result — 18 The annual plan saves $18.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Monthly: $12. Annual: $126. What is saved per year by paying annually?" }, { "role": "assistant", "content": " monthly = 12\n yearly = 126\n savings = monthly * 12 - yearly # 18\n print(savings)\nRun result — 18\n\nThe annual plan saves $18." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0074861
<|start|><|user|> Notice was given on May 24, 2027. The notice period is 60 days. When does it run out?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2027, 5, 24) # datetime.date(2027, 5, 24) end = start + timedelta(days=60) # datetime.date(2027, 7, 23) print(end.isoformat()) ``` (R...
chat
[ { "role": "user", "content": "Notice was given on May 24, 2027. The notice period is 60 days. When does it run out?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2027, 5, 24) # datetime.date(2027, 5, 24)\nend = start + timedelta(days=60) #...
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "2027-07-23", "printed": "2027-07-23", "notation": null}
nlprog_det-setting-0074862
A penalty of $50 a day accrues, capped at $5,000. What is owed after 20 days? Program: ```python per_day = 50 days = 20 cap = 5000 fine = min(per_day * days, cap) # 1000 print(fine) ``` (Printed result: 1000) $1,000 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0074863
To read 390 pages in 13 days, how many pages per day are needed? In code: ```python pages = 390 days = 13 per_day = pages // days # 30 print(per_day) ``` The program prints 30. That is 30 pages per day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0074864
<|start|><|user|> Papers were served by mail on January 6, 2027. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2027, 1, 6) # datetime.date(2027, 1, 6) response_days = 30 mail_days = 3 due =...
chat
[ { "role": "user", "content": "Papers were served by mail on January 6, 2027. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nserved = date(2027, 1, 6) # datetime...
nlprog_det
setting
original
null
deterministic
[]
[]
183
{"gold": "2027-02-08", "printed": "2027-02-08", "notation": null}
nlprog_det-setting-0074865
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "python_exec", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Find...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"python_exec\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\...
nlprog_det
setting
original
null
deterministic
[]
[]
220
{"gold": "69", "printed": "69", "notation": null}
nlprog_det-setting-0074866
Counting the first and last day, how many days are there from December 23, 2025 through January 5, 2026? Written as code: ```python from datetime import date first = date(2025, 12, 23) # datetime.date(2025, 12, 23) last = date(2026, 1, 5) # datetime.date(2026, 1, 5) days = (last - first).days + 1 # 14 print(days) `...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0074867
<|start|><|user|> With 5 rows of 19 chairs and 16 empty chairs, how many chairs are taken?<|eot|> <|assistant|> rows = 5 per_row = 19 empty = 16 seated = rows * per_row - empty print(seated) The program prints 79. 79 seats are taken.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 5 rows of 19 chairs and 16 empty chairs, how many chairs are taken?" }, { "role": "assistant", "content": " rows = 5\n per_row = 19\n empty = 16\n seated = rows * per_row - empty\n print(seated)\nThe program prints 79.\n\n79 seats are taken." }...
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "79", "printed": "79", "notation": null}
nlprog_det-setting-0074868
Goods bought on February 18, 2026 carry a 18-month warranty. When does it expire? Here's the code. from datetime import date start = date(2026, 2, 18) months = 18 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isofo...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "2027-08-18", "printed": "2027-08-18", "notation": null}
nlprog_det-setting-0074869
<|start|><|user|> A service costs $29 a month or $300 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> ```python monthly = 29 yearly = 300 savings = monthly * 12 - yearly # 48 print(savings) ``` The program outputs 48. The annual plan saves $48.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $29 a month or $300 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "```python\nmonthly = 29\nyearly = 300\nsavings = monthly * 12 - yearly # 48\nprint(savings)\n```\nThe program outputs 48....
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0074870
<|start|><|user|> What simple interest does $2,500 earn at 6% a year over 5 years?<|eot|> <|assistant|> ```python principal = 2500 rate = 6 / 100 # 0.06 years = 5 interest = principal * rate * years # 750.0 print(f"{interest:.2f}") ``` # stdout: 750.00 The interest is $750.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $2,500 earn at 6% a year over 5 years?" }, { "role": "assistant", "content": "```python\nprincipal = 2500\nrate = 6 / 100 # 0.06\nyears = 5\ninterest = principal * rate * years # 750.0\nprint(f\"{interest:.2f}\")\n```\n# stdout: 750.00\n\...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "750.00", "printed": "750.00", "notation": null}
nlprog_det-setting-0074871
<|start|><|user|> One can of paint covers 300 square feet. How many cans are needed for 397 square feet of wall?<|eot|> <|assistant|> ```python import math area = 397 coverage = 300 cans = math.ceil(area / coverage) # 2 print(cans) ``` Executed, it shows 2. 2 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 300 square feet. How many cans are needed for 397 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 397\ncoverage = 300\ncans = math.ceil(area / coverage) # 2\nprint(cans)\n```\nExecuted, it shows 2.\...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0074872
A shift runs from 9:04 AM to 11:18 AM. How long is it in minutes? Here is a short program for it. ```python start = 9 * 60 + 4 # 544 end = 11 * 60 + 18 # 678 print(end - start) ``` Program output — 134 It is 134 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "134", "printed": "134", "notation": null}
nlprog_det-setting-0074873
<|start|><|system|> Tool definitions: [{"name": "py_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}, {"name": "convert_units", "description"...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"py_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": ...
nlprog_det
setting
original
null
deterministic
[]
[]
314
{"gold": "78", "printed": "78", "notation": null}
nlprog_det-setting-0074874
<|start|><|user|> Starting with 1534 scissors and using 32 per day, how many remain after 4 days?<|eot|> <|assistant|> ```python stock = 1534 per_day = 32 days = 4 left = stock - per_day * days print(left) ``` The run gives 1406, as expected. 1406 scissors are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting with 1534 scissors and using 32 per day, how many remain after 4 days?" }, { "role": "assistant", "content": "```python\nstock = 1534\nper_day = 32\ndays = 4\nleft = stock - per_day * days\nprint(left)\n```\nThe run gives 1406, as expected.\n\n1406 scissors...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "1406", "printed": "1406", "notation": null}
nlprog_det-setting-0074875
Starting with 1564 file boxes and using 13 per day, how many remain after 4 days? The computation: ```python stock = 1564 per_day = 13 days = 4 left = stock - per_day * days # 1512 print(left) ``` Program output — 1512 1512 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "1512", "printed": "1512", "notation": null}
nlprog_det-setting-0074876
After a 25% fee is taken from a $30,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share? Each share is $5,625.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "5625.00", "printed": "5625.00", "notation": null}
nlprog_det-setting-0074878
At an exchange rate of 0.92 USD per CHF, how many USD is 8,811 CHF? Set it up in Python: ```python amount = 8811 rate = 0.92 converted = amount * rate # 8106.120000000001 print(f"{converted:.2f}") ``` It outputs: 8106.12 That is 8,106.12 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "8106.12", "printed": "8106.12", "notation": null}
nlprog_det-setting-0074879
Equal monthly payments repay $3,600 plus 10% simple yearly interest over 12 months. How large is a payment? We can compute it in Python. ```python principal = 3600 annual_rate = 10 / 100 # 0.1 months = 12 interest = principal * annual_rate * months / 12 # 360.0 payment = (principal + interest) / months # 330.0 prin...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "330.00", "printed": "330.00", "notation": null}
nlprog_det-setting-0074880
131 volunteers are split into 7 equal teams. How many are on each team, and how many are left over? Computing it: ```python total = 131 groups = 7 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Output: 18 each, 5 left over 18 each, 5 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "18 each, 5 left over", "printed": "18 each, 5 left over", "notation": null}
nlprog_det-setting-0074882
Rent of $1,800 goes up 4%. What is the new rent? The computation: ```python rent = 1800 increase = 4 / 100 # 0.04 new_rent = rent * (1 + increase) # 1872.0 print(f"{new_rent:.2f}") ``` # printed result: 1872.00 The new rent is $1,872.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1872.00", "printed": "1872.00", "notation": null}
nlprog_det-setting-0074883
<|start|><|system|> You are a careful assistant.<|eot|> <|user|> At $0.70 per mile, what is the reimbursement for 169 miles?<|eot|> <|assistant|> ```python miles = 169 rate = 0.7 reimbursement = miles * rate # 118.3 print(f"{reimbursement:.2f}") ``` The program outputs: 118.30 Liesel is owed $118.30.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful assistant." }, { "role": "user", "content": "At $0.70 per mile, what is the reimbursement for 169 miles?" }, { "role": "assistant", "content": "```python\nmiles = 169\nrate = 0.7\nreimbursement = miles * rate # 118.3\nprint(f\"{reimb...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "118.30", "printed": "118.30", "notation": null}
nlprog_det-setting-0074884
What simple interest does $5,000 earn at 6% a year over 2 years? ```python principal = 5000 rate = 6 / 100 years = 2 interest = principal * rate * years print(f"{interest:.2f}") ``` Executed, it shows 600.00. The interest is $600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0074886
From a $2,500 retainer, 4 hours at $275/hour have been drawn. What remains? The remaining balance is $1,400.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "1400", "printed": "1400", "notation": null}
nlprog_det-setting-0074887
Each of Tomas's runs burns 350 calories. How many calories over 7 runs? As Python: ```python per_session = 350 sessions = 7 total = per_session * sessions # 2450 print(total) ``` # execution result: 2450 2450 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "2450", "printed": "2450", "notation": null}
nlprog_det-setting-0074888
Someone born March 13, 1978 turns how old by April 17, 2030? Give the age in whole years. As Python: ```python from datetime import date born = date(1978, 3, 13) # datetime.date(1978, 3, 13) on = date(2030, 4, 17) # datetime.date(2030, 4, 17) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
161
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0074889
<|start|><|user|> Rosa and Bruna share $4,697 in the ratio 2:5. How much does Rosa get?<|eot|> <|assistant|> ```python total = 4697 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 1342 print(share_a) ``` Output — 1342 Rosa gets $1,342.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rosa and Bruna share $4,697 in the ratio 2:5. How much does Rosa get?" }, { "role": "assistant", "content": "```python\ntotal = 4697\nparts_a = 2\nparts_b = 5\nshare_a = total * parts_a // (parts_a + parts_b) # 1342\nprint(share_a)\n```\nOutput — 1342\n\nRosa gets ...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "1342", "printed": "1342", "notation": null}
nlprog_det-setting-0074891
<|start|><|system|> Tool definitions: [{"name": "compute", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> An invoice lists 39 markers at $1...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"compute\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"program\...
nlprog_det
setting
original
null
deterministic
[]
[]
234
{"gold": "491.40", "printed": "491.40", "notation": null}
nlprog_det-setting-0074892
6 friends split a $240 bill plus a 20% tip evenly. How much does each pay? Written as code: ```python bill = 240 tip_rate = 20 / 100 people = 6 each = bill * (1 + tip_rate) / people print(f"{each:.2f}") ``` Run output — 48.00 Each person pays $48.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "48.00", "printed": "48.00", "notation": null}
nlprog_det-setting-0074893
An office budget of $20,000 has expenses of $2,890, $872. How much of the budget is left? $16,238 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "16238", "printed": "16238", "notation": null}
nlprog_det-setting-0074894
<|start|><|system|> You have access to these functions: [{"name": "sandbox_python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|use...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"sandbox_python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python sourc...
nlprog_det
setting
original
null
deterministic
[]
[]
226
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0074895
What average speed covers 488 miles in 2 hours? Written as code: ```python distance = 488 hours = 2 speed = distance / hours # 244.0 print(round(speed)) ``` stdout — 244 It averages 244 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "244", "printed": "244", "notation": null}
nlprog_det-setting-0074896
Convert -20 °C to Fahrenheit. That is -4 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "-4", "printed": "-4", "notation": null}
nlprog_det-setting-0074897
3 claimants share a $1,200 settlement equally. What is each share? Python: ```python settlement = 1200 parties = 3 share = settlement // parties # 400 print(share) ``` stdout — 400 Each share is $400.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0074898
A 13 × 15 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? Script: ```python import math length = 13 width = 15 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 195 print(tiles) ``` Output of the run — 195 It takes 195 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "195", "printed": "195", "notation": null}
nlprog_det-setting-0074899
A client paid a $10,000 retainer. The firm has billed 13 hours at $200 per hour. How much of the retainer is left? Computing it: ```python retainer = 10000 hours = 13 rate = 200 left = retainer - hours * rate # 7400 print(left) ``` Run result = 7400 The remaining balance is $7,400.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "7400", "printed": "7400", "notation": null}
nlprog_det-setting-0074900
<|start|><|system|> You may call the tools below. [{"name": "run_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}, {"name": "translate", "description"...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"run_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\...
nlprog_det
setting
original
null
deterministic
[]
[]
316
{"gold": "2020-01-04", "printed": "2020-01-04", "notation": null}
nlprog_det-setting-0074901
Parking is $4 per hour with a daily maximum of $18. What do 7 hours cost? ```python rate = 4 hours = 7 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) ``` # console output: 18 Parking costs $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0074902
To read 714 pages in 14 days, how many pages per day are needed? One way, in code: ```python pages = 714 days = 14 per_day = pages // days # 51 print(per_day) ``` (Program output: 51) 51 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "51", "printed": "51", "notation": null}
nlprog_det-setting-0074903
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> What is a 20% tip on a $177.56 bill?<|eot|> <|assistant|> ```python bill = 177.56 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 35.512 print(f"{tip:.2f}") ``` Out: 35.51 The tip is $35.51.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "What is a 20% tip on a $177.56 bill?" }, { "role": "assistant", "content": "```python\nbill = 177.56\ntip_rate = 20 / 100 # 0.2\ntip = bill * tip_rate # 35.512\nprint(f\...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "35.51", "printed": "35.51", "notation": null}
nlprog_det-setting-0074904
<|start|><|user|> A recipe for 8 people uses 240 grams of lentils. How many grams are needed for 3 people?<|eot|> <|assistant|> 90 grams of lentils are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 8 people uses 240 grams of lentils. How many grams are needed for 3 people?" }, { "role": "assistant", "content": "90 grams of lentils are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "90", "printed": "90", "notation": null}
nlprog_det-setting-0074905
<|start|><|user|> Revenue is $8,000 and costs are $4,000. What is the profit margin as a percent of revenue (one decimal)?<|eot|> <|assistant|> ```python revenue = 8000 costs = 4000 profit = revenue - costs # 4000 margin = profit / revenue * 100 # 50.0 print(round(margin, 1)) ``` Output = 50.0 The margin is 50.0%.<|...
chat
[ { "role": "user", "content": "Revenue is $8,000 and costs are $4,000. What is the profit margin as a percent of revenue (one decimal)?" }, { "role": "assistant", "content": "```python\nrevenue = 8000\ncosts = 4000\nprofit = revenue - costs # 4000\nmargin = profit / revenue * 100 # 50.0\nprint(...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "50.0", "printed": "50.0", "notation": null}
nlprog_det-setting-0074906
<|start|><|system|> You can call tools. Available tools: [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "sandbox_python", "description": ...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\": [\"star...
nlprog_det
setting
original
null
deterministic
[]
[]
314
{"gold": "1600", "printed": "1600", "notation": null}
nlprog_det-setting-0074907
Walls total 914 sq ft and each can covers 250 sq ft. How many cans should be bought? In Python: ```python import math area = 914 coverage = 250 cans = math.ceil(area / coverage) # 4 print(cans) ``` Execution prints: 4 Buy 4 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0074909
<|start|><|user|> What day of the week is April 7, 2027?<|eot|> <|assistant|> from datetime import date hearing = date(2027, 4, 7) # datetime.date(2027, 4, 7) print(hearing.strftime("%A")) The program prints Wednesday. It is a Wednesday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What day of the week is April 7, 2027?" }, { "role": "assistant", "content": " from datetime import date\n hearing = date(2027, 4, 7) # datetime.date(2027, 4, 7)\n print(hearing.strftime(\"%A\"))\nThe program prints Wednesday.\n\nIt is a Wednesday." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0074910
<|start|><|user|> A $2,400 loan carries 5% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> ```python principal = 2400 annual_rate = 5 / 100 # 0.05 months = 12 interest = principal * annual_rate * months / 12 # 120.0 payment...
chat
[ { "role": "user", "content": "A $2,400 loan carries 5% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": "```python\nprincipal = 2400\nannual_rate = 5 / 100 # 0.05\nmonths = 12\ninteres...
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "210.00", "printed": "210.00", "notation": null}
nlprog_det-setting-0074911
With $12,500 in costs and $16,500 in revenue, what percent of revenue is profit? Round to one decimal. Program: revenue = 16500 costs = 12500 profit = revenue - costs # 4000 margin = profit / revenue * 100 # 24.242424242424242 print(round(margin, 1)) Output: 24.2 The margin is 24.2%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "24.2", "printed": "24.2", "notation": null}
nlprog_det-setting-0074912
A pack of 25 sticky pads sells for $1500. What does each cost? Each one costs $60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0074913
<|start|><|user|> After a 40% fee is taken from a $60,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> award = 60000 fee = award * 40 / 100 # 24000.0 remaining = award - fee # 36000.0 per_client = remaining / 2 # 18000.0 print(f"{per_cli...
chat
[ { "role": "user", "content": "After a 40% fee is taken from a $60,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": " award = 60000\n fee = award * 40 / 100 # 24000.0\n remaining = award - fee # 36000.0\n p...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "18000.00", "printed": "18000.00", "notation": null}
nlprog_det-setting-0074914
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "code_runner", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}, {"name": "convert_units", ...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"code_runner\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \...
nlprog_det
setting
original
null
deterministic
[]
[]
398
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0074916
<|start|><|user|> One can of paint covers 250 square feet. How many cans are needed for 435 square feet of wall?<|eot|> <|assistant|> ```python import math area = 435 coverage = 250 cans = math.ceil(area / coverage) # 2 print(cans) ``` Running this gives: 2 2 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 250 square feet. How many cans are needed for 435 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 435\ncoverage = 250\ncans = math.ceil(area / coverage) # 2\nprint(cans)\n```\nRunning this gives: 2\...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0074917
2 claimants share a $7,350 settlement equally. What is each share? Written as code: ```python settlement = 7350 parties = 2 share = settlement // parties # 3675 print(share) ``` Running this gives: 3675 Each share is $3,675.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "3675", "printed": "3675", "notation": null}
nlprog_det-setting-0074918
A library charges $0.25 per book per day late. What is the fine for 3 books that are 15 days late? The fine is $11.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "11.25", "printed": "11.25", "notation": null}
nlprog_det-setting-0074919
Notice was given on December 24, 2022. The notice period is 120 days. When does it run out? Program: ```python from datetime import date, timedelta start = date(2022, 12, 24) # datetime.date(2022, 12, 24) end = start + timedelta(days=120) # datetime.date(2023, 4, 23) print(end.isoformat()) ``` Python prints 2023-04-...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "2023-04-23", "printed": "2023-04-23", "notation": null}
nlprog_det-setting-0074920
134 copies of a 38-page packet are printed at $0.12 per page. What is the cost? Code: ```python pages = 38 copies = 134 cost_per_page = 0.12 cost = pages * copies * cost_per_page # 611.04 print(f"{cost:.2f}") ``` It prints: 611.04 The job costs $611.04.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "611.04", "printed": "611.04", "notation": null}
nlprog_det-setting-0074921
<|start|><|system|> Be concise.<|eot|> <|user|> Buying 1 hard drives at $4 each, 4 ink cartridges at $15 each, 6 toner kits at $13 each, 6 toner kits at $13 each, someone hands over $250. What change comes back?<|eot|> <|assistant|> ```python items = [(1, 4), (4, 15), (6, 13), (6, 13)] total = sum(q * p for q, p in ite...
chat
[ { "role": "system", "content": "Be concise." }, { "role": "user", "content": "Buying 1 hard drives at $4 each, 4 ink cartridges at $15 each, 6 toner kits at $13 each, 6 toner kits at $13 each, someone hands over $250. What change comes back?" }, { "role": "assistant", "content": "```...
nlprog_det
setting
original
null
deterministic
[]
[]
156
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0074922
<|start|><|user|> Pack A has 8 items for $10.05. Pack B has 18 items for $27.14. Which has the lower price per item?<|eot|> <|assistant|> ```python pack_a = 10.05 / 8 pack_b = 27.14 / 18 cheaper = "A" if pack_a < pack_b else "B" print(cheaper) ``` Run output: A A has the lower unit price.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Pack A has 8 items for $10.05. Pack B has 18 items for $27.14. Which has the lower price per item?" }, { "role": "assistant", "content": "```python\npack_a = 10.05 / 8\npack_b = 27.14 / 18\ncheaper = \"A\" if pack_a < pack_b else \"B\"\nprint(cheaper)\n```\nRun outp...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0074923
186 copies of a 47-page packet are printed at $0.15 per page. What is the cost? In code: ```python pages = 47 copies = 186 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 1311.3 print(f"{cost:.2f}") ``` Console output — 1311.30 The job costs $1,311.30.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "1311.30", "printed": "1311.30", "notation": null}
nlprog_det-setting-0074924
Scale 200 g of lentils from 8 servings to 3 servings. Script: ```python grams = 200 serves = 8 needed_for = 3 scaled = grams * needed_for // serves # 75 print(scaled) ``` Execution prints: 75 75 grams of lentils are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "75", "printed": "75", "notation": null}
nlprog_det-setting-0074925
Ines was born on December 2, 1989. How old is Ines on February 10, 2025? Computing it: ```python from datetime import date born = date(1989, 12, 2) on = date(2025, 2, 10) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) print(age) ``` stdout: 35 The age is 35 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0074926
<|start|><|user|> How many meters are in 77.3 kilometers?<|eot|> <|assistant|> ```python km = 77.3 meters = km * 1000 # 77300.0 print(round(meters)) ``` It prints 77300. 77,300 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 77.3 kilometers?" }, { "role": "assistant", "content": "```python\nkm = 77.3\nmeters = km * 1000 # 77300.0\nprint(round(meters))\n```\nIt prints 77300.\n\n77,300 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "77300", "printed": "77300", "notation": null}
nlprog_det-setting-0074927
A count moves from 400 to 480. By what percent did it change (use a minus sign for a drop)? Python: ```python old = 400 new = 480 change = (new - old) / old * 100 # 20.0 print(round(change)) ``` Result: 20 The change is 20%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0074928
How many weekdays (Monday to Friday) fall after July 12, 2024 up to and including August 14, 2024? The Python version: ```python from datetime import date, timedelta start = date(2024, 7, 12) end = date(2024, 8, 14) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).weekday() < 5: ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0074929
<|start|><|user|> What simple interest does $12,000 earn at 2% a year over 3 years?<|eot|> <|assistant|> ```python principal = 12000 rate = 2 / 100 # 0.02 years = 3 interest = principal * rate * years # 720.0 print(f"{interest:.2f}") ``` It prints 720.00. It earns $720.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $12,000 earn at 2% a year over 3 years?" }, { "role": "assistant", "content": "```python\nprincipal = 12000\nrate = 2 / 100 # 0.02\nyears = 3\ninterest = principal * rate * years # 720.0\nprint(f\"{interest:.2f}\")\n```\nIt prints 720.00....
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "720.00", "printed": "720.00", "notation": null}
nlprog_det-setting-0074930
A quorum is 1/3 of the 20 members, rounded up. How many members make a quorum? The computation: import math members = 20 quorum = math.ceil(members * 1 / 3) # 7 print(quorum) It prints 7, as expected. That is 7 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0074931
<|start|><|system|> Keep answers short and correct.<|eot|> <|user|> What is the total rent on a 18-month lease at $2,100 a month?<|eot|> <|assistant|> ```python monthly_rent = 2100 months = 18 total = monthly_rent * months # 37800 print(total) ``` Result — 37800 In total, $37,800 is paid.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Keep answers short and correct." }, { "role": "user", "content": "What is the total rent on a 18-month lease at $2,100 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 2100\nmonths = 18\ntotal = monthly_rent * months # 37800\n...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "37800", "printed": "37800", "notation": null}
nlprog_det-setting-0074932
<|start|><|user|> At an exchange rate of 0.92 USD per CHF, how many USD is 3,430 CHF?<|eot|> <|assistant|> ```python amount = 3430 rate = 0.92 converted = amount * rate # 3155.6000000000004 print(f"{converted:.2f}") ``` The interpreter prints 3155.60. It converts to 3,155.60 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 0.92 USD per CHF, how many USD is 3,430 CHF?" }, { "role": "assistant", "content": "```python\namount = 3430\nrate = 0.92\nconverted = amount * rate # 3155.6000000000004\nprint(f\"{converted:.2f}\")\n```\nThe interpreter prints 3155.60.\n\nIt...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "3155.60", "printed": "3155.60", "notation": null}
nlprog_det-setting-0074933
<|start|><|user|> Hugo earns a 6% commission on $117,524 of sales. What is the commission?<|eot|> <|assistant|> ```python sales = 117524 rate = 6 / 100 # 0.06 commission = sales * rate # 7051.44 print(f"{commission:.2f}") ``` It prints: 7051.44 Hugo earns $7,051.44.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Hugo earns a 6% commission on $117,524 of sales. What is the commission?" }, { "role": "assistant", "content": "```python\nsales = 117524\nrate = 6 / 100 # 0.06\ncommission = sales * rate # 7051.44\nprint(f\"{commission:.2f}\")\n```\nIt prints: 7051.44\n\nHugo ear...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "7051.44", "printed": "7051.44", "notation": null}
nlprog_det-setting-0074934
A clerk's office charges $45 for each filing. Sofia submits 10 filings. What is the total fee? A short script: ```python fee = 45 filings = 10 total = fee * filings print(total) ``` # output: 450 The total fee is $450.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "450", "printed": "450", "notation": null}
nlprog_det-setting-0074936
Rent of $1,100 goes up 8%. What is the new rent? Programmatically: rent = 1100 increase = 8 / 100 # 0.08 new_rent = rent * (1 + increase) # 1188.0 print(f"{new_rent:.2f}") When run, it prints 1188.00. It rises to $1,188.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "1188.00", "printed": "1188.00", "notation": null}
nlprog_det-setting-0074937
A 50-mile drive at a steady 50 mph takes how many minutes? Computation in Python: ```python distance = 50 speed = 50 minutes = distance / speed * 60 # 60.0 print(round(minutes)) ``` The printout reads 60. The trip takes 60 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0074938
Divide 227 items among 4 groups as evenly as possible with equal groups. How many per group, and how many remain? Python, step by step: ```python total = 227 groups = 4 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Run result = 56 each, 3 left over The answer: 56 e...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "56 each, 3 left over", "printed": "56 each, 3 left over", "notation": null}
nlprog_det-setting-0074939
A trial runs from July 24, 2026 to August 1, 2026, counting both days. How many calendar days is that? Here is a short program for it. ```python from datetime import date first = date(2026, 7, 24) # datetime.date(2026, 7, 24) last = date(2026, 8, 1) # datetime.date(2026, 8, 1) days = (last - first).days + 1 # 9 pri...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0074941
Fixed costs are $1,200. Each unit sells for $20 and costs $12 to make. How many units must be sold to break even? Written as code: ```python import math fixed = 1200 price = 20 variable = 12 units = math.ceil(fixed / (price - variable)) # 150 print(units) ``` The program prints: 150 150 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "150", "printed": "150", "notation": null}
nlprog_det-setting-0074943
What is a 10% tip on a $156.84 bill? A few lines of Python do it: ```python bill = 156.84 tip_rate = 10 / 100 # 0.1 tip = bill * tip_rate # 15.684000000000001 print(f"{tip:.2f}") ``` Output of the run — 15.68 Leave $15.68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "15.68", "printed": "15.68", "notation": null}
nlprog_det-setting-0074945
<|start|><|user|> 3 boxes hold 10 lanyards each. After 5 are handed out, how many are left?<|eot|> <|assistant|> ```python boxes = 3 per_box = 10 given_away = 5 left = boxes * per_box - given_away # 25 print(left) ``` # output: 25 25 lanyards are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 boxes hold 10 lanyards each. After 5 are handed out, how many are left?" }, { "role": "assistant", "content": "```python\nboxes = 3\nper_box = 10\ngiven_away = 5\nleft = boxes * per_box - given_away # 25\nprint(left)\n```\n# output: 25\n\n25 lanyards are left." ...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0074946
1.5 hours of work at $350 an hour: what is the total charge? Python, step by step: ```python hours = 1.5 rate = 350 bill = hours * rate # 525.0 print(f"{bill:.2f}") ``` The run gives 525.00. The bill is $525.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "525.00", "printed": "525.00", "notation": null}
nlprog_det-setting-0074947
What is a 20% tip on a $23.11 bill? Leave $4.62.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "4.62", "printed": "4.62", "notation": null}
nlprog_det-setting-0074948
If a 4-year limitations period starts on November 20, 2022, when does it end? It runs out on November 20, 2026.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "2026-11-20", "printed": "2026-11-20", "notation": null}
nlprog_det-setting-0074949
Pay is $25.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 51 hours? Translated to Python: ```python rate = 25.0 hours = 51 regular = 40 * rate overtime = (hours - 40) * rate * 1.5 pay = regular + overtime print(f"{pay:.2f}") ``` What it prints: 1412.50 The weekly pay is $1,412.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "1412.50", "printed": "1412.50", "notation": null}
nlprog_det-setting-0074950
Shipping costs $10 plus $0.75 per pound. What does a 19-pound parcel cost to ship? Shipping costs $24.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "24.25", "printed": "24.25", "notation": null}
nlprog_det-setting-0074951
<|start|><|user|> To read 84 pages in 3 days, how many pages per day are needed?<|eot|> <|assistant|> ```python pages = 84 days = 3 per_day = pages // days # 28 print(per_day) ``` The run gives 28. That is 28 pages per day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "To read 84 pages in 3 days, how many pages per day are needed?" }, { "role": "assistant", "content": "```python\npages = 84\ndays = 3\nper_day = pages // days # 28\nprint(per_day)\n```\nThe run gives 28.\n\nThat is 28 pages per day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0074952
<|start|><|user|> Each storage box holds 24 files. How many boxes are needed for 557 files?<|eot|> <|assistant|> ```python import math files = 557 per_box = 24 boxes = math.ceil(files / per_box) # 24 print(boxes) ``` The printout reads: 24 It takes 24 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 24 files. How many boxes are needed for 557 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 557\nper_box = 24\nboxes = math.ceil(files / per_box) # 24\nprint(boxes)\n```\nThe printout reads: 24\n\nIt takes 24 box...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0074953
<|start|><|user|> 4 clients win $96,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 4 # 14400.0 print(f"{per_client:.2f}") ``` Console outp...
chat
[ { "role": "user", "content": "4 clients win $96,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = award * 40 / 100 # 38400.0\nremaining = award - fee # 57600.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0074954
Jae drove 579 miles for work. Mileage is reimbursed at 65 cents a mile. How much is the reimbursement? The Python version: ```python miles = 579 rate = 0.65 reimbursement = miles * rate # 376.35 print(f"{reimbursement:.2f}") ``` Printed = 376.35 Jae is owed $376.35.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "376.35", "printed": "376.35", "notation": null}
nlprog_det-setting-0074955
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> After a 25% fee is taken from a $72,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> ```python award = 72000 fee = award * 25 / 100 remaining = award - fee per_client = remaining / 4 print(f"{per_clien...
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "After a 25% fee is taken from a $72,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": "```python\naward = 72000\nfee = ...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "13500.00", "printed": "13500.00", "notation": null}
nlprog_det-setting-0074957
<|start|><|user|> 7 bike rides at 400 calories each burn how many calories in total?<|eot|> <|assistant|> 2800 calories in total.<|eot|> <|end|>
chat
[ { "role": "user", "content": "7 bike rides at 400 calories each burn how many calories in total?" }, { "role": "assistant", "content": "2800 calories in total." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "2800", "printed": "2800", "notation": null}
nlprog_det-setting-0074958
A storeroom has 659 folders. The office uses 20 a day. How many are left after 17 days? Python code: ```python stock = 659 per_day = 20 days = 17 left = stock - per_day * days # 319 print(left) ``` Printed = 319 319 folders are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "319", "printed": "319", "notation": null}
nlprog_det-setting-0074959
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}} {"name": "convert_units", "description": "Convert a quantity between...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}\n{\"name\": \"con...
nlprog_det
setting
original
null
deterministic
[]
[]
400
{"gold": "14.76", "printed": "14.76", "notation": null}
nlprog_det-setting-0074960
<|start|><|user|> A service costs $19 a month or $180 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> ```python monthly = 19 yearly = 180 savings = monthly * 12 - yearly # 48 print(savings) ``` # console output: 48 $48 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $19 a month or $180 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "```python\nmonthly = 19\nyearly = 180\nsavings = monthly * 12 - yearly # 48\nprint(savings)\n```\n# console output: 48\n\...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0074961
<|start|><|system|> Functions: [{"name": "python_exec", "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|> Grace's scores were 78, ...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"python_exec\", \"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
setting
original
null
deterministic
[]
[]
220
{"gold": "80", "printed": "80", "notation": null}
nlprog_det-setting-0074962
A measure needs at least 60% of 32 votes. How many votes is that, rounded up? The computation: ```python import math voters = 32 needed = math.ceil(voters * 60 / 100) # 20 print(needed) ``` This prints 20. 20 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0074963
A lease runs for 18 months at $850 per month. How much rent is paid over the whole term? Code: ```python monthly_rent = 850 months = 18 total = monthly_rent * months print(total) ``` Printed result: 15300 In total, $15,300 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "15300", "printed": "15300", "notation": null}
nlprog_det-setting-0074964
Revenue is $25,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)? One way, in code: ```python revenue = 25000 costs = 20000 profit = revenue - costs # 5000 margin = profit / revenue * 100 # 20.0 print(round(margin, 1)) ``` Execution prints: 20.0 The margin is 20.0%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "20.0", "printed": "20.0", "notation": null}