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-0065332
<|start|><|user|> What is the total rent on a 12-month lease at $1,640 a month?<|eot|> <|assistant|> ```python monthly_rent = 1640 months = 12 total = monthly_rent * months # 19680 print(total) ``` The code prints: 19680 The rent over the term is $19,680.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is the total rent on a 12-month lease at $1,640 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 1640\nmonths = 12\ntotal = monthly_rent * months # 19680\nprint(total)\n```\nThe code prints: 19680\n\nThe rent over the term is $19,680."...
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "19680", "printed": "19680", "notation": null}
nlprog_det-setting-0065333
<|start|><|user|> 3 friends split a $96 bill plus a 15% tip evenly. How much does each pay?<|eot|> <|assistant|> bill = 96 tip_rate = 15 / 100 # 0.15 people = 3 each = bill * (1 + tip_rate) / people # 36.8 print(f"{each:.2f}") When run, it prints 36.80. The share is $36.80 each.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 friends split a $96 bill plus a 15% tip evenly. How much does each pay?" }, { "role": "assistant", "content": " bill = 96\n tip_rate = 15 / 100 # 0.15\n people = 3\n each = bill * (1 + tip_rate) / people # 36.8\n print(f\"{each:.2f}\")\nWhen run, ...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "36.80", "printed": "36.80", "notation": null}
nlprog_det-setting-0065334
How long, in days, is it from August 2, 2025 until January 4, 2026? Python, step by step: ```python from datetime import date first = date(2025, 8, 2) # datetime.date(2025, 8, 2) second = date(2026, 1, 4) # datetime.date(2026, 1, 4) print((second - first).days) ``` # result: 155 There are 155 days between the two d...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "155", "printed": "155", "notation": null}
nlprog_det-setting-0065335
<|start|><|user|> A trial runs from September 6, 2028 to September 22, 2028, counting both days. How many calendar days is that?<|eot|> <|assistant|> ```python from datetime import date first = date(2028, 9, 6) # datetime.date(2028, 9, 6) last = date(2028, 9, 22) # datetime.date(2028, 9, 22) days = (last - first).day...
chat
[ { "role": "user", "content": "A trial runs from September 6, 2028 to September 22, 2028, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2028, 9, 6) # datetime.date(2028, 9, 6)\nlast = date(2028, 9, 22...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0065336
<|start|><|user|> A service costs $9 a month or $84 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> ```python monthly = 9 yearly = 84 savings = monthly * 12 - yearly # 24 print(savings) ``` Run it and it prints: 24 $24 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $9 a month or $84 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "```python\nmonthly = 9\nyearly = 84\nsavings = monthly * 12 - yearly # 24\nprint(savings)\n```\nRun it and it prints: 24\n\...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0065337
<|start|><|user|> What is the total rent on a 24-month lease at $850 a month?<|eot|> <|assistant|> ```python monthly_rent = 850 months = 24 total = monthly_rent * months # 20400 print(total) ``` The printout reads: 20400 The rent over the term is $20,400.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is the total rent on a 24-month lease at $850 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 850\nmonths = 24\ntotal = monthly_rent * months # 20400\nprint(total)\n```\nThe printout reads: 20400\n\nThe rent over the term is $20,400."...
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "20400", "printed": "20400", "notation": null}
nlprog_det-setting-0065338
Under a 35% contingency agreement, what fee is owed on a $25,000 award? Here is the program. ```python recovery = 25000 rate = 35 / 100 # 0.35 fee = recovery * rate # 8750.0 print(f"{fee:.2f}") ``` Result: 8750.00 The lawyer's fee comes to $8,750.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "8750.00", "printed": "8750.00", "notation": null}
nlprog_det-setting-0065339
2.5 hours of work at $250 an hour: what is the total charge? A short script: ```python hours = 2.5 rate = 250 bill = hours * rate # 625.0 print(f"{bill:.2f}") ``` (Out: 625.00) The bill is $625.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "625.00", "printed": "625.00", "notation": null}
nlprog_det-setting-0065340
<|start|><|user|> If a 3-year limitations period starts on July 18, 2021, when does it end?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2021, 7, 18) # datetime.date(2021, 7, 18) years = 3 expires = accrued.replace(year=accrued.year + years) # datetime.date(2024, 7, 18) print(expires.isofor...
chat
[ { "role": "user", "content": "If a 3-year limitations period starts on July 18, 2021, when does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2021, 7, 18) # datetime.date(2021, 7, 18)\nyears = 3\nexpires = accrued.replace(year=accrued.year +...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2024-07-18", "printed": "2024-07-18", "notation": null}
nlprog_det-setting-0065341
A $1,500 security deposit has deductions of $60, $45 and $75. How much is refunded? We can compute it in Python. ```python deposit = 1500 deductions = [60, 45, 75] refund = deposit - sum(deductions) # 1320 print(refund) ``` The interpreter prints: 1320 The refund is $1,320.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "1320", "printed": "1320", "notation": null}
nlprog_det-setting-0065342
How many units at $40 each (variable cost $34) cover $1,200 of fixed costs? Python, step by step: ```python import math fixed = 1200 price = 40 variable = 34 units = math.ceil(fixed / (price - variable)) # 200 print(units) ``` Running this gives 200. Break-even is 200 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "200", "printed": "200", "notation": null}
nlprog_det-setting-0065343
277 volunteers are split into 6 equal teams. How many are on each team, and how many are left over? One way, in code: ```python total = 277 groups = 6 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Running this gives 46 each, 1 left over. 46 each, 1 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "46 each, 1 left over", "printed": "46 each, 1 left over", "notation": null}
nlprog_det-setting-0065344
4 books come back 7 days late, at $0.20 a day each. What is the fine? Set it up in Python: ```python per_day = 0.2 days_late = 7 books = 4 fine = per_day * days_late * books # 5.6000000000000005 print(f"{fine:.2f}") ``` Running it prints: 5.60 The fine is $5.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "5.60", "printed": "5.60", "notation": null}
nlprog_det-setting-0065345
<|start|><|user|> Jonas lends $2,500 at 5% simple interest per year for 6 years. How much interest is earned?<|eot|> <|assistant|> ```python principal = 2500 rate = 5 / 100 # 0.05 years = 6 interest = principal * rate * years # 750.0 print(f"{interest:.2f}") ``` It prints 750.00. It earns $750.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Jonas lends $2,500 at 5% simple interest per year for 6 years. How much interest is earned?" }, { "role": "assistant", "content": "```python\nprincipal = 2500\nrate = 5 / 100 # 0.05\nyears = 6\ninterest = principal * rate * years # 750.0\nprint(f\"{interest:.2f}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "750.00", "printed": "750.00", "notation": null}
nlprog_det-setting-0065346
A $48,000 grant pays $3,000 up front and the rest in 6 equal installments. How large is each installment? The Python version: ```python grant = 48000 up_front = 3000 installments = 6 each = (grant - up_front) / installments # 7500.0 print(f"{each:.2f}") ``` The program prints 7500.00, as expected. Each installment i...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "7500.00", "printed": "7500.00", "notation": null}
nlprog_det-setting-0065347
Lena buys 9 boxes of 6 staplers each and gives away 12 staplers. How many staplers are left? The computation: ```python boxes = 9 per_box = 6 given_away = 12 left = boxes * per_box - given_away # 42 print(left) ``` It outputs: 42 That leaves 42 staplers.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "42", "printed": "42", "notation": null}
nlprog_det-setting-0065348
<|start|><|user|> A 36-month warranty starts on August 28, 2023. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2023, 8, 28) months = 36 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoform...
chat
[ { "role": "user", "content": "A 36-month warranty starts on August 28, 2023. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2023, 8, 28)\nmonths = 36\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(start....
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "2026-08-28", "printed": "2026-08-28", "notation": null}
nlprog_det-setting-0065349
If a 40-minute seminar begins at 8:10 AM, what time does it finish? Python makes this quick: ```python start = 8 * 60 + 10 end = start + 40 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Printed: 8:50 AM It ends at 8:50 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "8:50 AM", "printed": "8:50 AM", "notation": null}
nlprog_det-setting-0065350
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> A 160-mile drive at a steady 60 mph takes how many minutes?<|eot|> <|assistant|> 160 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "A 160-mile drive at a steady 60 mph takes how many minutes?" }, { "role": "assistant", "content": "160 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "160", "printed": "160", "notation": null}
nlprog_det-setting-0065351
Under a 25% contingency agreement, what fee is owed on a $90,000 award? Written as code: ```python recovery = 90000 rate = 25 / 100 # 0.25 fee = recovery * rate # 22500.0 print(f"{fee:.2f}") ``` The interpreter prints 22500.00. The fee is $22,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "22500.00", "printed": "22500.00", "notation": null}
nlprog_det-setting-0065352
<|start|><|user|> A library charges $0.25 per book per day late. What is the fine for 3 books that are 25 days late?<|eot|> <|assistant|> per_day = 0.25 days_late = 25 books = 3 fine = per_day * days_late * books # 18.75 print(f"{fine:.2f}") Run result: 18.75 The fine is $18.75.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A library charges $0.25 per book per day late. What is the fine for 3 books that are 25 days late?" }, { "role": "assistant", "content": " per_day = 0.25\n days_late = 25\n books = 3\n fine = per_day * days_late * books # 18.75\n print(f\"{fine:.2f}\...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "18.75", "printed": "18.75", "notation": null}
nlprog_det-setting-0065353
Each storage box holds 40 files. How many boxes are needed for 646 files? It takes 17 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0065354
<|start|><|user|> Pay is $18.50/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 45 hours?<|eot|> <|assistant|> Marek earns $878.75.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Pay is $18.50/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 45 hours?" }, { "role": "assistant", "content": "Marek earns $878.75." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "878.75", "printed": "878.75", "notation": null}
nlprog_det-setting-0065355
Starting from $20,000, the team spends $2,881, $377. What remains? A short script: ```python budget = 20000 expenses = [2881, 377] left = budget - sum(expenses) # 16742 print(left) ``` That prints: 16742 $16,742 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "16742", "printed": "16742", "notation": null}
nlprog_det-setting-0065356
<|start|><|user|> Water costs $12 a month plus $4.20 for each 1,000 gallons over 2,000. What is owed for 13,000 gallons?<|eot|> <|assistant|> base = 12 rate = 4.2 used = 13 free = 2 bill = base + rate * max(0, used - free) # 58.2 print(f"{bill:.2f}") Executing it gives 58.20. The bill is $58.2...
chat
[ { "role": "user", "content": "Water costs $12 a month plus $4.20 for each 1,000 gallons over 2,000. What is owed for 13,000 gallons?" }, { "role": "assistant", "content": " base = 12\n rate = 4.2\n used = 13\n free = 2\n bill = base + rate * max(0, used - free) # 58.2\n print(...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "58.20", "printed": "58.20", "notation": null}
nlprog_det-setting-0065357
<|start|><|user|> A party has 14 days to respond to a motion served on February 20, 2023, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2023, 2, 20) # datetime.date(2023, 2, 20) response_days = 14 mail_days = 3...
chat
[ { "role": "user", "content": "A party has 14 days to respond to a motion served on February 20, 2023, with 3 days added because service was by mail. When is the response due?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nserved = date(2023, 2, 20) # dat...
nlprog_det
setting
original
null
deterministic
[]
[]
173
{"gold": "2023-03-09", "printed": "2023-03-09", "notation": null}
nlprog_det-setting-0065358
<|start|><|user|> At an exchange rate of 1.35 USD per GBP, how many USD is 6,464 GBP?<|eot|> <|assistant|> That is 8,726.40 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 1.35 USD per GBP, how many USD is 6,464 GBP?" }, { "role": "assistant", "content": "That is 8,726.40 USD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "8726.40", "printed": "8726.40", "notation": null}
nlprog_det-setting-0065359
Rent of $1,250 goes up 6%. What is the new rent? Translated to Python: ```python rent = 1250 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 1325.0 print(f"{new_rent:.2f}") ``` On running, it outputs 1325.00. It rises to $1,325.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1325.00", "printed": "1325.00", "notation": null}
nlprog_det-setting-0065360
Rent of $1,100 goes up 6%. What is the new rent? A short script: rent = 1100 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 1166.0 print(f"{new_rent:.2f}") Run result — 1166.00 The new rent is $1,166.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "1166.00", "printed": "1166.00", "notation": null}
nlprog_det-setting-0065361
Starting from $25,000, the team spends $2,959, $3,767. What remains? Code: ```python budget = 25000 expenses = [2959, 3767] left = budget - sum(expenses) print(left) ``` Output of the run — 18274 The remaining budget is $18,274.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "18274", "printed": "18274", "notation": null}
nlprog_det-setting-0065362
Papers were served by mail on September 15, 2020. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date? Programmatically: ```python from datetime import date, timedelta served = date(2020, 9, 15) # datetime.date(2020, 9, 15) response_days = 21 mail_days = 3 due = served + timed...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
177
{"gold": "2020-10-09", "printed": "2020-10-09", "notation": null}
nlprog_det-setting-0065363
Bruna has 10 documents to file, and each filing costs $405. How much are the filing fees in total? Let the code do the arithmetic: ```python fee = 405 filings = 10 total = fee * filings # 4050 print(total) ``` Console output — 4050 The filings cost $4,050 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "4050", "printed": "4050", "notation": null}
nlprog_det-setting-0065364
On which weekday does December 21, 2005 fall? The Python version: from datetime import date hearing = date(2005, 12, 21) # datetime.date(2005, 12, 21) print(hearing.strftime("%A")) Run output: Wednesday It is a Wednesday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0065365
After an initial $6,000, the remainder of a $24,000 grant is paid in 6 equal parts. What is each part? Let's compute it with Python. grant = 24000 up_front = 6000 installments = 6 each = (grant - up_front) / installments # 3000.0 print(f"{each:.2f}") Shell output — 3000.00 Each installment is $3,...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0065366
140 copies of a 24-page packet are printed at $0.15 per page. What is the cost? One way, in code: ```python pages = 24 copies = 140 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 504.0 print(f"{cost:.2f}") ``` Run output: 504.00 Printing costs $504.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "504.00", "printed": "504.00", "notation": null}
nlprog_det-setting-0065367
<|start|><|system|> Available functions (JSON Schema): [{"name": "run_python", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}, {"name": "define_word", "...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"run_python\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, ...
nlprog_det
setting
original
null
deterministic
[]
[]
360
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0065369
<|start|><|user|> How many meters are in 39.5 kilometers?<|eot|> <|assistant|> km = 39.5 meters = km * 1000 # 39500.0 print(round(meters)) It prints 39500. That is 39,500 meters.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 39.5 kilometers?" }, { "role": "assistant", "content": " km = 39.5\n meters = km * 1000 # 39500.0\n print(round(meters))\nIt prints 39500.\n\nThat is 39,500 meters." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
72
{"gold": "39500", "printed": "39500", "notation": null}
nlprog_det-setting-0065370
<|start|><|user|> Papers were served by mail on June 10, 2028. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> It is due July 13, 2028.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Papers were served by mail on June 10, 2028. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "It is due July 13, 2028." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "2028-07-13", "printed": "2028-07-13", "notation": null}
nlprog_det-setting-0065371
Goods bought on October 18, 2020 carry a 18-month warranty. When does it expire? As a program: ```python from datetime import date start = date(2020, 10, 18) months = 18 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` # pri...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2022-04-18", "printed": "2022-04-18", "notation": null}
nlprog_det-setting-0065372
<|start|><|user|> What average speed covers 136 miles in 2 hours?<|eot|> <|assistant|> The average speed is 68 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 136 miles in 2 hours?" }, { "role": "assistant", "content": "The average speed is 68 mph." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "68", "printed": "68", "notation": null}
nlprog_det-setting-0065373
Split $1,628 between Tariq and Zoe in the ratio 1 to 3. What is Tariq's share? Here is a short program for it. ```python total = 1628 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 407 print(share_a) ``` The program prints 407. Tariq gets $407.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "407", "printed": "407", "notation": null}
nlprog_det-setting-0065374
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "math_engine", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|>...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"math_engine\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source ...
nlprog_det
setting
original
null
deterministic
[]
[]
213
{"gold": "22.5", "printed": "22.5", "notation": null}
nlprog_det-setting-0065375
<|start|><|user|> A lease runs for 6 months at $2,875 per month. How much rent is paid over the whole term?<|eot|> <|assistant|> monthly_rent = 2875 months = 6 total = monthly_rent * months # 17250 print(total) Printed — 17250 The rent over the term is $17,250.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A lease runs for 6 months at $2,875 per month. How much rent is paid over the whole term?" }, { "role": "assistant", "content": " monthly_rent = 2875\n months = 6\n total = monthly_rent * months # 17250\n print(total)\nPrinted — 17250\n\nThe rent over t...
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "17250", "printed": "17250", "notation": null}
nlprog_det-setting-0065376
What does $1,000 grow to in 3 years at 4% annual compounding? The Python version: ```python principal = 1000 rate = 4 / 100 # 0.04 years = 3 value = principal * (1 + rate) ** years # 1124.864 print(f"{value:.2f}") ``` Executing it gives: 1124.86 It is worth $1,124.86.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "1124.86", "printed": "1124.86", "notation": null}
nlprog_det-setting-0065377
<|start|><|user|> From 2020 to 2040, how many years is that?<|eot|> <|assistant|> ```python start_year = 2020 end_year = 2040 print(end_year - start_year) ``` Printed — 20 20 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From 2020 to 2040, how many years is that?" }, { "role": "assistant", "content": "```python\nstart_year = 2020\nend_year = 2040\nprint(end_year - start_year)\n```\nPrinted — 20\n\n20 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
66
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0065378
Find the mean of these test scores: 65, 71, 89, 54 and 81. Here is a short program for it. ```python scores = [65, 71, 89, 54, 81] average = sum(scores) // len(scores) # 72 print(average) ``` Execution prints: 72 The mean is 72.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "72", "printed": "72", "notation": null}
nlprog_det-setting-0065379
A hall has 14 rows of 23 seats, and 34 seats are empty. How many people are seated? Here is the program. ```python rows = 14 per_row = 23 empty = 34 seated = rows * per_row - empty # 288 print(seated) ``` The program prints: 288 288 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "288", "printed": "288", "notation": null}
nlprog_det-setting-0065380
<|start|><|user|> A 5 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 5 width = 10 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 50 print(tiles) ``` # output: 50 It takes 50 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 5 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 5\nwidth = 10\ntile = 1\ntiles = math.ceil(length * width / (tile * tile)) # 50\nprint(tiles)\n```\n# output: 50...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0065381
A water bill is $12 plus $4.75 per thousand gallons beyond the first 0 thousand. What is the bill for 9 thousand gallons? Here's the code. ```python base = 12 rate = 4.75 used = 9 free = 0 bill = base + rate * max(0, used - free) # 54.75 print(f"{bill:.2f}") ``` Running this gives 54.75. $54.75 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "54.75", "printed": "54.75", "notation": null}
nlprog_det-setting-0065382
<|start|><|user|> The building opened in 2020. How many years had passed by 2024?<|eot|> <|assistant|> ```python start_year = 2020 end_year = 2024 print(end_year - start_year) ``` (Run result: 4) That is 4 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The building opened in 2020. How many years had passed by 2024?" }, { "role": "assistant", "content": "```python\nstart_year = 2020\nend_year = 2024\nprint(end_year - start_year)\n```\n(Run result: 4)\n\nThat is 4 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0065383
A hearing is set for August 15, 2002. What day of the week is that? It is a Thursday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
22
{"gold": "Thursday", "printed": "Thursday", "notation": null}
nlprog_det-setting-0065384
After an initial $6,000, the remainder of a $24,000 grant is paid in 3 equal parts. What is each part? Programmatically: ```python grant = 24000 up_front = 6000 installments = 3 each = (grant - up_front) / installments print(f"{each:.2f}") ``` # out: 6000.00 Each installment is $6,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "6000.00", "printed": "6000.00", "notation": null}
nlprog_det-setting-0065385
From a $10,000 retainer, 3 hours at $200/hour have been drawn. What remains? A short script: ```python retainer = 10000 hours = 3 rate = 200 left = retainer - hours * rate # 9400 print(left) ``` Run output — 9400 $9,400 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "9400", "printed": "9400", "notation": null}
nlprog_det-setting-0065386
A lease runs for 24 months at $3,250 per month. How much rent is paid over the whole term? Here's the code. ```python monthly_rent = 3250 months = 24 total = monthly_rent * months # 78000 print(total) ``` Out: 78000 In total, $78,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "78000", "printed": "78000", "notation": null}
nlprog_det-setting-0065387
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "python_exec", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}} {"name...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"python_exec\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Py...
nlprog_det
setting
original
null
deterministic
[]
[]
331
{"gold": "11:55 AM", "printed": "11:55 AM", "notation": null}
nlprog_det-setting-0065388
Zainab's scores were 101, 50, 92 and 89. What is the average score? The mean is 83.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "83", "printed": "83", "notation": null}
nlprog_det-setting-0065389
How many of 68 votes make 60% (round up)? A few lines of Python do it: ```python import math voters = 68 needed = math.ceil(voters * 60 / 100) # 41 print(needed) ``` It prints 41. At least 41 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0065390
Omar and Beatriz share $2,744 in the ratio 3:5. How much does Omar get? ```python total = 2744 parts_a = 3 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 1029 print(share_a) ``` Result: 1029 Omar gets $1,029.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "1029", "printed": "1029", "notation": null}
nlprog_det-setting-0065391
An unpaid balance of $2,500 accrues 2% simple interest per month. How much interest accrues in 6 months? The computation: ```python balance = 2500 monthly_rate = 2 / 100 # 0.02 months = 6 interest = balance * monthly_rate * months # 300.0 print(f"{interest:.2f}") ``` Output: 300.00 $300.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "300.00", "printed": "300.00", "notation": null}
nlprog_det-setting-0065392
<|start|><|user|> A $30,000 grant pays $0 up front and the rest in 6 equal installments. How large is each installment?<|eot|> <|assistant|> $5,000.00 per installment.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A $30,000 grant pays $0 up front and the rest in 6 equal installments. How large is each installment?" }, { "role": "assistant", "content": "$5,000.00 per installment." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "5000.00", "printed": "5000.00", "notation": null}
nlprog_det-setting-0065393
A count moves from 200 to 170. By what percent did it change (use a minus sign for a drop)? The Python version: ```python old = 200 new = 170 change = (new - old) / old * 100 # -15.0 print(round(change)) ``` Execution prints: -15 It changed by -15%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "-15", "printed": "-15", "notation": null}
nlprog_det-setting-0065394
<|start|><|system|> Write short, precise answers.<|eot|> <|user|> A 14 lb package ships at $12 base plus $2.00/lb. What is the charge?<|eot|> <|assistant|> ```python base = 12 per_pound = 2.0 weight = 14 cost = base + per_pound * weight # 40.0 print(f"{cost:.2f}") ``` Output: 40.00 The charge is $40.00.<|eot|> <|end|...
chat
[ { "role": "system", "content": "Write short, precise answers." }, { "role": "user", "content": "A 14 lb package ships at $12 base plus $2.00/lb. What is the charge?" }, { "role": "assistant", "content": "```python\nbase = 12\nper_pound = 2.0\nweight = 14\ncost = base + per_pound * we...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "40.00", "printed": "40.00", "notation": null}
nlprog_det-setting-0065396
<|start|><|user|> Which is cheaper per unit: 10 for $14.28 (A) or 18 for $21.96 (B)?<|eot|> <|assistant|> ```python pack_a = 14.28 / 10 # 1.428 pack_b = 21.96 / 18 # 1.22 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) ``` stdout: B Pack B is cheaper per item.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Which is cheaper per unit: 10 for $14.28 (A) or 18 for $21.96 (B)?" }, { "role": "assistant", "content": "```python\npack_a = 14.28 / 10 # 1.428\npack_b = 21.96 / 18 # 1.22\ncheaper = \"A\" if pack_a < pack_b else \"B\" # 'B'\nprint(cheaper)\n```\nstdout:\nB\n\nP...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0065397
<|start|><|user|> Convert 15 °C to Fahrenheit.<|eot|> <|assistant|> ```python celsius = 15 fahrenheit = celsius * 9 / 5 + 32 # 59.0 print(round(fahrenheit)) ``` Executing it gives: 59 It equals 59 degrees Fahrenheit.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 15 °C to Fahrenheit." }, { "role": "assistant", "content": "```python\ncelsius = 15\nfahrenheit = celsius * 9 / 5 + 32 # 59.0\nprint(round(fahrenheit))\n```\nExecuting it gives: 59\n\nIt equals 59 degrees Fahrenheit." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "59", "printed": "59", "notation": null}
nlprog_det-setting-0065398
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "py_exec", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"py_exec\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python sour...
nlprog_det
setting
original
null
deterministic
[]
[]
219
{"gold": "16.76", "printed": "16.76", "notation": null}
nlprog_det-setting-0065399
<|start|><|user|> Notice was given on July 20, 2020. The notice period is 14 days. When does it run out?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2020, 7, 20) # datetime.date(2020, 7, 20) end = start + timedelta(days=14) # datetime.date(2020, 8, 3) print(end.isoformat()) ``` # ...
chat
[ { "role": "user", "content": "Notice was given on July 20, 2020. The notice period is 14 days. When does it run out?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2020, 7, 20) # datetime.date(2020, 7, 20)\nend = start + timedelta(days=14) ...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "2020-08-03", "printed": "2020-08-03", "notation": null}
nlprog_det-setting-0065400
<|start|><|user|> What average speed covers 450 miles in 2 hours?<|eot|> <|assistant|> ```python distance = 450 hours = 2 speed = distance / hours # 225.0 print(round(speed)) ``` The program outputs: 225 It averages 225 miles per hour.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 450 miles in 2 hours?" }, { "role": "assistant", "content": "```python\ndistance = 450\nhours = 2\nspeed = distance / hours # 225.0\nprint(round(speed))\n```\nThe program outputs: 225\n\nIt averages 225 miles per hour." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "225", "printed": "225", "notation": null}
nlprog_det-setting-0065401
A quorum is 3/5 of the 31 members, rounded up. How many members make a quorum? We write it as a program: ```python import math members = 31 quorum = math.ceil(members * 3 / 5) # 19 print(quorum) ``` (Execution result: 19) That is 19 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0065402
A lawyer's fee is 25% of a $12,000 recovery. How large is the fee? Here is a short program for it. ```python recovery = 12000 rate = 25 / 100 # 0.25 fee = recovery * rate # 3000.0 print(f"{fee:.2f}") ``` Execution result — 3000.00 The fee is $3,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0065403
Pilar earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 45-hour week? rate = 16.0 hours = 45 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 120.0 pay = regular + overtime # 760.0 print(f"{pay:.2f}") Run output: 760.00 Pilar earns $760.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "760.00", "printed": "760.00", "notation": null}
nlprog_det-setting-0065404
Of a $4,000 budget, $1,000 has been spent. What percent is that? Translated to Python: ```python budget = 4000 spent = 1000 percent = spent / budget * 100 # 25.0 print(round(percent, 1)) ``` Output — 25.0 25.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "25.0", "printed": "25.0", "notation": null}
nlprog_det-setting-0065405
$10,000 is invested at 5% compounded yearly. What is it worth after 2 years? We write it as a program: principal = 10000 rate = 5 / 100 # 0.05 years = 2 value = principal * (1 + rate) ** years # 11025.0 print(f"{value:.2f}") Running it prints: 11025.00 It is worth $11,025.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "11025.00", "printed": "11025.00", "notation": null}
nlprog_det-setting-0065406
<|start|><|user|> Printing costs 12 cents a page. What does it cost to print 149 copies of a 34-page handout?<|eot|> <|assistant|> The job costs $607.92.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 12 cents a page. What does it cost to print 149 copies of a 34-page handout?" }, { "role": "assistant", "content": "The job costs $607.92." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "607.92", "printed": "607.92", "notation": null}
nlprog_det-setting-0065407
Equipment costs $18,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year? Translated to Python: ```python cost = 18000 salvage = 2000 years = 5 per_year = (cost - salvage) / years # 3200.0 print(f"{per_year:.2f}") ``` stdout — 3200.00 Depreciation is $3,20...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "3200.00", "printed": "3200.00", "notation": null}
nlprog_det-setting-0065408
<|start|><|system|> You are a teaching assistant.<|eot|> <|user|> Monthly rent is $2,400. A tenant moves in with 24 days left in a 30-day month. What is the prorated rent?<|eot|> <|assistant|> ```python rent = 2400 days_in_month = 30 days_occupied = 24 prorated = rent * days_occupied / days_in_month # 1920.0 print(f"{...
chat
[ { "role": "system", "content": "You are a teaching assistant." }, { "role": "user", "content": "Monthly rent is $2,400. A tenant moves in with 24 days left in a 30-day month. What is the prorated rent?" }, { "role": "assistant", "content": "```python\nrent = 2400\ndays_in_month = 30\...
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "1920.00", "printed": "1920.00", "notation": null}
nlprog_det-setting-0065409
A $180 dinner bill gets a 18% tip, and 4 people share the cost equally. What is each person's share? Code: ```python bill = 180 tip_rate = 18 / 100 # 0.18 people = 4 each = bill * (1 + tip_rate) / people # 53.099999999999994 print(f"{each:.2f}") ``` It outputs: 53.10 Each person pays $53.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "53.10", "printed": "53.10", "notation": null}
nlprog_det-setting-0065410
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> A garage charges $5 an hour, never more than $24 a day. How much for 10 hours?<|eot|> <|assistant|> ```python rate = 5 hours = 10 daily_max = 24 cost = min(rate * hours, daily_max) print(cost) ``` Out: 24 The charge is $24.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "A garage charges $5 an hour, never more than $24 a day. How much for 10 hours?" }, { "role": "assistant", "content": "```python\nrate = 5\nhours = 10\ndaily_max = 24\ncost = min(...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0065411
Rent of $1,800 goes up 3%. What is the new rent? Script: ```python rent = 1800 increase = 3 / 100 # 0.03 new_rent = rent * (1 + increase) # 1854.0 print(f"{new_rent:.2f}") ``` This prints 1854.00. It rises to $1,854.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "1854.00", "printed": "1854.00", "notation": null}
nlprog_det-setting-0065412
<|start|><|user|> A hearing is set for October 27, 2005. What day of the week is that?<|eot|> <|assistant|> ```python from datetime import date hearing = date(2005, 10, 27) # datetime.date(2005, 10, 27) print(hearing.strftime("%A")) ``` What it prints — Thursday It is a Thursday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hearing is set for October 27, 2005. What day of the week is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(2005, 10, 27) # datetime.date(2005, 10, 27)\nprint(hearing.strftime(\"%A\"))\n```\nWhat it prints — Thur...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "Thursday", "printed": "Thursday", "notation": null}
nlprog_det-setting-0065413
Find the mean of these test scores: 71, 52, 60, 74, 96 and 97. ```python scores = [71, 52, 60, 74, 96, 97] average = sum(scores) // len(scores) # 75 print(average) ``` # stdout: 75 The average score is 75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "75", "printed": "75", "notation": null}
nlprog_det-setting-0065414
<|start|><|user|> A garage charges $2 an hour, never more than $20 a day. How much for 9 hours?<|eot|> <|assistant|> Parking costs $18.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A garage charges $2 an hour, never more than $20 a day. How much for 9 hours?" }, { "role": "assistant", "content": "Parking costs $18." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0065415
Revenue is $13,000 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)? The computation: ```python revenue = 13000 costs = 12500 profit = revenue - costs # 500 margin = profit / revenue * 100 # 3.8461538461538463 print(round(margin, 1)) ``` The script prints: 3.8 The margin is 3.8...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "3.8", "printed": "3.8", "notation": null}
nlprog_det-setting-0065416
How long, in days, is it from January 4, 2025 until October 8, 2025? Here is a short program for it. ```python from datetime import date first = date(2025, 1, 4) # datetime.date(2025, 1, 4) second = date(2025, 10, 8) # datetime.date(2025, 10, 8) print((second - first).days) ``` Result = 277 It is 277 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "277", "printed": "277", "notation": null}
nlprog_det-setting-0065417
Someone works 36 hours at $21.68 per hour. What are the earnings? Here is the program. ```python rate = 21.68 hours = 36 earnings = rate * hours # 780.48 print(f"{earnings:.2f}") ``` It outputs: 780.48 That earns $780.48.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "780.48", "printed": "780.48", "notation": null}
nlprog_det-setting-0065418
A lawyer's fee is 25% of a $25,000 recovery. How large is the fee? The computation: ```python recovery = 25000 rate = 25 / 100 # 0.25 fee = recovery * rate # 6250.0 print(f"{fee:.2f}") ``` The script prints: 6250.00 The lawyer's fee comes to $6,250.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "6250.00", "printed": "6250.00", "notation": null}
nlprog_det-setting-0065419
What is the total rent on a 12-month lease at $3,250 a month? Python: ```python monthly_rent = 3250 months = 12 total = monthly_rent * months # 39000 print(total) ``` Printed result: 39000 The rent over the term is $39,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "39000", "printed": "39000", "notation": null}
nlprog_det-setting-0065420
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "python_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snipp...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"python_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"descripti...
nlprog_det
setting
original
null
deterministic
[]
[]
264
{"gold": "112.00", "printed": "112.00", "notation": null}
nlprog_det-setting-0065421
A garage charges $2 an hour, never more than $15 a day. How much for 12 hours? As a program: rate = 2 hours = 12 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) The code prints: 15 The charge is $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0065422
Shipping costs $12 plus $2.00 per pound. What does a 30-pound parcel cost to ship? Here is the program. ```python base = 12 per_pound = 2.0 weight = 30 cost = base + per_pound * weight # 72.0 print(f"{cost:.2f}") ``` Run it and it prints 72.00. The charge is $72.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "72.00", "printed": "72.00", "notation": null}
nlprog_det-setting-0065423
An office budget of $5,000 has expenses of $1,264, $2,256, $856. How much of the budget is left? Translated to Python: ```python budget = 5000 expenses = [1264, 2256, 856] left = budget - sum(expenses) print(left) ``` What it prints: 624 The remaining budget is $624.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "624", "printed": "624", "notation": null}
nlprog_det-setting-0065424
<|start|><|user|> Parking is $2 per hour with a daily maximum of $24. What do 2 hours cost?<|eot|> <|assistant|> ```python rate = 2 hours = 2 daily_max = 24 cost = min(rate * hours, daily_max) # 4 print(cost) ``` Running this gives: 4 Parking costs $4.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Parking is $2 per hour with a daily maximum of $24. What do 2 hours cost?" }, { "role": "assistant", "content": "```python\nrate = 2\nhours = 2\ndaily_max = 24\ncost = min(rate * hours, daily_max) # 4\nprint(cost)\n```\nRunning this gives: 4\n\nParking costs $4." ...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0065425
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> A board has 60 members. A majority is more than half. How many votes make a majority?<|eot|> <|assistant|> ```python members = 60 majority = members // 2 + 1 # 31 print(majority) ``` Execution result: 31 That is 31 members.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "A board has 60 members. A majority is more than half. How many votes make a majority?" }, { "role": "assistant", "content": "```python\nmembers = 60\nmajority = members // 2 + 1 # 31\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0065426
Papers were served by mail on May 10, 2026. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date? ```python from datetime import date, timedelta served = date(2026, 5, 10) # datetime.date(2026, 5, 10) response_days = 30 mail_days = 3 due = served + timedelta(days=response_days ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
174
{"gold": "2026-06-12", "printed": "2026-06-12", "notation": null}
nlprog_det-setting-0065427
<|start|><|system|> Use a tool when a calculation is needed. 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": "calc", "description": "...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\...
nlprog_det
setting
original
null
deterministic
[]
[]
316
{"gold": "725", "printed": "725", "notation": null}
nlprog_det-setting-0065428
<|start|><|user|> How many units at $25 each (variable cost $21) cover $6,000 of fixed costs?<|eot|> <|assistant|> import math fixed = 6000 price = 25 variable = 21 units = math.ceil(fixed / (price - variable)) # 1500 print(units) (stdout: 1500) 1500 units are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many units at $25 each (variable cost $21) cover $6,000 of fixed costs?" }, { "role": "assistant", "content": " import math\n fixed = 6000\n price = 25\n variable = 21\n units = math.ceil(fixed / (price - variable)) # 1500\n print(units)\n(std...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0065429
How many 2-foot square tiles cover a 19 ft by 12 ft floor (round up)? Programmatically: ```python import math length = 19 width = 12 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 57 print(tiles) ``` Console: 57 57 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "57", "printed": "57", "notation": null}
nlprog_det-setting-0065430
<|start|><|system|> Tool definitions: {"name": "compute", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|> <|user|> A customer buys 1 labels at $28 each...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"compute\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code\"]...
nlprog_det
setting
original
null
deterministic
[]
[]
254
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0065431
<|start|><|user|> Sofia and Yoko share $2,160 in the ratio 2:3. How much does Sofia get?<|eot|> <|assistant|> Sofia's share is $864.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sofia and Yoko share $2,160 in the ratio 2:3. How much does Sofia get?" }, { "role": "assistant", "content": "Sofia's share is $864." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "864", "printed": "864", "notation": null}
nlprog_det-setting-0065432
Convert 4 h 17 min (the length of a film) to minutes. Translated to Python: ```python hours = 4 minutes = 17 total_minutes = hours * 60 + minutes # 257 print(total_minutes) ``` Printed = 257 That is 257 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "257", "printed": "257", "notation": null}
nlprog_det-setting-0065433
<|start|><|user|> A 10 × 14 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 10 width = 14 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 35 print(tiles) ``` Run output: 35 35 tiles are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 10 × 14 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 10\nwidth = 14\ntile = 2\ntiles = math.ceil(length * width / (tile * tile)) # 35\nprint(tiles)\n```\nRun output...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "35", "printed": "35", "notation": null}