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-0082354
<|start|><|user|> A trial runs from October 6, 2019 to October 17, 2019, counting both days. How many calendar days is that?<|eot|> <|assistant|> ```python from datetime import date first = date(2019, 10, 6) # datetime.date(2019, 10, 6) last = date(2019, 10, 17) # datetime.date(2019, 10, 17) days = (last - first).day...
chat
[ { "role": "user", "content": "A trial runs from October 6, 2019 to October 17, 2019, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2019, 10, 6) # datetime.date(2019, 10, 6)\nlast = date(2019, 10, 17)...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0082355
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> 11 boxes hold 12 labels each. After 15 are handed out, how many are left?<|eot|> <|assistant|> ```python boxes = 11 per_box = 12 given_away = 15 left = boxes * per_box - given_away # 117 print(left) ``` # printed result: 117 117 labels are left.<|eo...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "11 boxes hold 12 labels each. After 15 are handed out, how many are left?" }, { "role": "assistant", "content": "```python\nboxes = 11\nper_box = 12\ngiven_away = 15\nleft = boxes * per...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "117", "printed": "117", "notation": null}
nlprog_det-setting-0082356
The landlord deducts $75, $150 and $45 from a $2,000 deposit. What is returned to the tenant? Here is the program. ```python deposit = 2000 deductions = [75, 150, 45] refund = deposit - sum(deductions) # 1730 print(refund) ``` # printed: 1730 $1,730 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "1730", "printed": "1730", "notation": null}
nlprog_det-setting-0082357
A $800 security deposit has deductions of $150 and $75. How much is refunded? Set it up in Python: ```python deposit = 800 deductions = [150, 75] refund = deposit - sum(deductions) print(refund) ``` # console output: 575 $575 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "575", "printed": "575", "notation": null}
nlprog_det-setting-0082358
<|start|><|system|> Functions: [{"name": "code_runner", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}, {"name": "define_word", "description": "Return a dict...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"code_runner\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippet\"]}}...
nlprog_det
setting
original
null
deterministic
[]
[]
279
{"gold": "71", "printed": "71", "notation": null}
nlprog_det-setting-0082359
<|start|><|user|> The landlord deducts $120 from a $2,500 deposit. What is returned to the tenant?<|eot|> <|assistant|> ```python deposit = 2500 deductions = [120] refund = deposit - sum(deductions) # 2380 print(refund) ``` The script prints: 2380 The refund is $2,380.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The landlord deducts $120 from a $2,500 deposit. What is returned to the tenant?" }, { "role": "assistant", "content": "```python\ndeposit = 2500\ndeductions = [120]\nrefund = deposit - sum(deductions) # 2380\nprint(refund)\n```\nThe script prints: 2380\n\nThe refu...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "2380", "printed": "2380", "notation": null}
nlprog_det-setting-0082360
<|start|><|system|> You are a teaching assistant.<|eot|> <|user|> From a $5,000 retainer, 11 hours at $275/hour have been drawn. What remains?<|eot|> <|assistant|> The remaining balance is $1,975.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a teaching assistant." }, { "role": "user", "content": "From a $5,000 retainer, 11 hours at $275/hour have been drawn. What remains?" }, { "role": "assistant", "content": "The remaining balance is $1,975." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "1975", "printed": "1975", "notation": null}
nlprog_det-setting-0082361
At 60 miles per hour, how many minutes does a 405-mile trip take? The computation: ```python distance = 405 speed = 60 minutes = distance / speed * 60 # 405.0 print(round(minutes)) ``` # printed: 405 The trip takes 405 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "405", "printed": "405", "notation": null}
nlprog_det-setting-0082362
<|start|><|user|> The landlord deducts $150 and $60 from a $1,500 deposit. What is returned to the tenant?<|eot|> <|assistant|> $1,290 is returned.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The landlord deducts $150 and $60 from a $1,500 deposit. What is returned to the tenant?" }, { "role": "assistant", "content": "$1,290 is returned." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "1290", "printed": "1290", "notation": null}
nlprog_det-setting-0082363
A 45-day notice period begins on April 8, 2023. On what date does it end? Program: ```python from datetime import date, timedelta start = date(2023, 4, 8) # datetime.date(2023, 4, 8) end = start + timedelta(days=45) # datetime.date(2023, 5, 23) print(end.isoformat()) ``` The code prints: 2023-05-23 The period ends ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "2023-05-23", "printed": "2023-05-23", "notation": null}
nlprog_det-setting-0082364
<|start|><|user|> How many minutes pass from 7:52 AM to 1:27 PM on the same day?<|eot|> <|assistant|> It is 335 minutes long.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 7:52 AM to 1:27 PM on the same day?" }, { "role": "assistant", "content": "It is 335 minutes long." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "335", "printed": "335", "notation": null}
nlprog_det-setting-0082365
The statute was enacted in 1996. How many years had passed by 2020? One way, in code: ```python start_year = 1996 end_year = 2020 print(end_year - start_year) ``` Execution prints 24. That is 24 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0082366
<|start|><|user|> What percentage of $5,000 is $1,100?<|eot|> <|assistant|> ```python budget = 5000 spent = 1100 percent = spent / budget * 100 # 22.0 print(round(percent, 1)) ``` Running this gives: 22.0 22.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $5,000 is $1,100?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nspent = 1100\npercent = spent / budget * 100 # 22.0\nprint(round(percent, 1))\n```\nRunning this gives: 22.0\n\n22.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "22.0", "printed": "22.0", "notation": null}
nlprog_det-setting-0082367
Viktor earns $18.50 an hour and time and a half for hours over 40. What is the pay for a 47-hour week? ```python rate = 18.5 hours = 47 regular = 40 * rate # 740.0 overtime = (hours - 40) * rate * 1.5 # 194.25 pay = regular + overtime # 934.25 print(f"{pay:.2f}") ``` stdout — 934.25 Viktor earns $934.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "934.25", "printed": "934.25", "notation": null}
nlprog_det-setting-0082368
3 swims at 200 calories each burn how many calories in total? 600 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "600", "printed": "600", "notation": null}
nlprog_det-setting-0082369
Filing fees are $45 per document. What do 15 filings cost? One way, in code: ```python fee = 45 filings = 15 total = fee * filings # 675 print(total) ``` Output = 675 The filings cost $675 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "675", "printed": "675", "notation": null}
nlprog_det-setting-0082370
<|start|><|system|> You may call the tools below. {"name": "compute", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> Prorate $1,500 of monthly...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"compute\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
233
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0082371
What does $2,000 grow to in 4 years at 3% annual compounding? Coded up: ```python principal = 2000 rate = 3 / 100 # 0.03 years = 4 value = principal * (1 + rate) ** years # 2251.01762 print(f"{value:.2f}") ``` (Output: 2251.02) It is worth $2,251.02.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "2251.02", "printed": "2251.02", "notation": null}
nlprog_det-setting-0082372
<|start|><|user|> A court charges $5 per request plus $0.50 per page after the first 20 pages. What does a 19-page copy cost?<|eot|> <|assistant|> The total is $5.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A court charges $5 per request plus $0.50 per page after the first 20 pages. What does a 19-page copy cost?" }, { "role": "assistant", "content": "The total is $5.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "5.00", "printed": "5.00", "notation": null}
nlprog_det-setting-0082373
<|start|><|user|> Count the days between August 9, 2019 and November 23, 2019.<|eot|> <|assistant|> ```python from datetime import date first = date(2019, 8, 9) # datetime.date(2019, 8, 9) second = date(2019, 11, 23) # datetime.date(2019, 11, 23) print((second - first).days) ``` The script prints 106. There are 106 ...
chat
[ { "role": "user", "content": "Count the days between August 9, 2019 and November 23, 2019." }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2019, 8, 9) # datetime.date(2019, 8, 9)\nsecond = date(2019, 11, 23) # datetime.date(2019, 11, 23)\nprint((second...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "106", "printed": "106", "notation": null}
nlprog_det-setting-0082374
<|start|><|system|> You can call tools. Available tools: [{"name": "code_runner", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> A client paid a $2,50...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"code_runner\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\"...
nlprog_det
setting
original
null
deterministic
[]
[]
230
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0082375
An invoice lists 40 batteries at $3 each, plus 5% sales tax. What is the invoice total? We write it as a program: ```python quantity = 40 unit_price = 3 subtotal = quantity * unit_price # 120 total = subtotal * (1 + 5 / 100) # 126.0 print(f"{total:.2f}") ``` Executing it gives: 126.00 The invoice total is $126.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "126.00", "printed": "126.00", "notation": null}
nlprog_det-setting-0082376
<|start|><|user|> 3 boxes hold 8 headsets each. After 16 are handed out, how many are left?<|eot|> <|assistant|> 8 headsets are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 boxes hold 8 headsets each. After 16 are handed out, how many are left?" }, { "role": "assistant", "content": "8 headsets are left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0082377
Express 359 hours in days and hours. Python version: ```python hours = 359 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` # execution result: 14 days and 23 hours 359 hours is 14 days and 23 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "14 days and 23 hours", "printed": "14 days and 23 hours", "notation": null}
nlprog_det-setting-0082378
A hall has 17 rows of 16 seats, and 35 seats are empty. How many people are seated? Let's compute it with Python. rows = 17 per_row = 16 empty = 35 seated = rows * per_row - empty # 237 print(seated) The interpreter prints 237. 237 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "237", "printed": "237", "notation": null}
nlprog_det-setting-0082379
<|start|><|system|> You can call tools. Available tools: {"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}} {"name": "interpreter", "description": "Execu...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\", ...
nlprog_det
setting
original
null
deterministic
[]
[]
395
{"gold": "254.62", "printed": "254.62", "notation": null}
nlprog_det-setting-0082380
Pack A has 12 items for $3.73. Pack B has 30 items for $18.85. Which has the lower price per item? A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0082381
<|start|><|user|> 130 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> ```python total = 130 groups = 7 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Run result: 18 each, 4 left over The answer: 18 ...
chat
[ { "role": "user", "content": "130 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "```python\ntotal = 130\ngroups = 7\nper_group, remainder = divmod(total, groups)\nprint(f\"{per_group} each, {remainder} left o...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "18 each, 4 left over", "printed": "18 each, 4 left over", "notation": null}
nlprog_det-setting-0082382
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> 3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 96000 fee = award * 25 / 100 # 24000.0 remaining = award - fee # 72000.0 per_client = remaining / 3...
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = awa...
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "24000.00", "printed": "24000.00", "notation": null}
nlprog_det-setting-0082383
<|start|><|user|> Someone works 38 hours at $16.82 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 16.82 hours = 38 earnings = rate * hours # 639.16 print(f"{earnings:.2f}") ``` # out: 639.16 The pay is $639.16.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 38 hours at $16.82 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 16.82\nhours = 38\nearnings = rate * hours # 639.16\nprint(f\"{earnings:.2f}\")\n```\n# out: 639.16\n\nThe pay is $639.16." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "639.16", "printed": "639.16", "notation": null}
nlprog_det-setting-0082385
What does $1,000 grow to in 2 years at 4% annual compounding? ```python principal = 1000 rate = 4 / 100 # 0.04 years = 2 value = principal * (1 + rate) ** years # 1081.6000000000001 print(f"{value:.2f}") ``` Execution prints 1081.60, as expected. The balance is $1,081.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "1081.60", "printed": "1081.60", "notation": null}
nlprog_det-setting-0082387
<|start|><|system|> Answer the user's question directly.<|eot|> <|user|> An office budget of $5,000 has expenses of $999, $1,631. How much of the budget is left?<|eot|> <|assistant|> ```python budget = 5000 expenses = [999, 1631] left = budget - sum(expenses) # 2370 print(left) ``` Python prints 2370, as expected. $2...
chat
[ { "role": "system", "content": "Answer the user's question directly." }, { "role": "user", "content": "An office budget of $5,000 has expenses of $999, $1,631. How much of the budget is left?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nexpenses = [999, 1631]\nlef...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "2370", "printed": "2370", "notation": null}
nlprog_det-setting-0082388
<|start|><|user|> Under a 25% contingency agreement, what fee is owed on a $40,000 award?<|eot|> <|assistant|> ```python recovery = 40000 rate = 25 / 100 # 0.25 fee = recovery * rate # 10000.0 print(f"{fee:.2f}") ``` The run gives: 10000.00 The fee is $10,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 25% contingency agreement, what fee is owed on a $40,000 award?" }, { "role": "assistant", "content": "```python\nrecovery = 40000\nrate = 25 / 100 # 0.25\nfee = recovery * rate # 10000.0\nprint(f\"{fee:.2f}\")\n```\nThe run gives: 10000.00\n\nThe fee is $...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "10000.00", "printed": "10000.00", "notation": null}
nlprog_det-setting-0082389
Kaito and Jamal share $4,767 in the ratio 3:4. How much does Kaito get? A Python solution: ```python total = 4767 parts_a = 3 parts_b = 4 share_a = total * parts_a // (parts_a + parts_b) # 2043 print(share_a) ``` The script prints 2043, as expected. Kaito's share is $2,043.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "2043", "printed": "2043", "notation": null}
nlprog_det-setting-0082390
Someone works 32 hours at $27.83 per hour. What are the earnings? Programmatically: ```python rate = 27.83 hours = 32 earnings = rate * hours print(f"{earnings:.2f}") ``` # output: 890.56 That earns $890.56.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "890.56", "printed": "890.56", "notation": null}
nlprog_det-setting-0082391
<|start|><|system|> Available functions (JSON Schema): [{"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}}, {"name": "python_exec", "description": "Evaluates Python and returns the printed output."...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}, {\"name\": \"python_exec\", \"descript...
nlprog_det
setting
original
null
deterministic
[]
[]
334
{"gold": "1030.40", "printed": "1030.40", "notation": null}
nlprog_det-setting-0082392
A 36 lb package ships at $10 base plus $2.00/lb. What is the charge? Code: ```python base = 10 per_pound = 2.0 weight = 36 cost = base + per_pound * weight # 82.0 print(f"{cost:.2f}") ``` Printed — 82.00 The charge is $82.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "82.00", "printed": "82.00", "notation": null}
nlprog_det-setting-0082393
<|start|><|user|> Bilal's scores were 82, 61, 59, 67, 59 and 74. What is the average score?<|eot|> <|assistant|> ```python scores = [82, 61, 59, 67, 59, 74] average = sum(scores) // len(scores) # 67 print(average) ``` # result: 67 The mean is 67.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Bilal's scores were 82, 61, 59, 67, 59 and 74. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [82, 61, 59, 67, 59, 74]\naverage = sum(scores) // len(scores) # 67\nprint(average)\n```\n# result: 67\n\nThe mean is 67." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "67", "printed": "67", "notation": null}
nlprog_det-setting-0082394
A penalty of $25 a day accrues, capped at $1,000. What is owed after 34 days? Coded up: ```python per_day = 25 days = 34 cap = 1000 fine = min(per_day * days, cap) # 850 print(fine) ``` The printout reads: 850 The fine is $850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "850", "printed": "850", "notation": null}
nlprog_det-setting-0082395
<|start|><|user|> What simple interest does $12,000 earn at 4% a year over 6 years?<|eot|> <|assistant|> The interest is $2,880.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $12,000 earn at 4% a year over 6 years?" }, { "role": "assistant", "content": "The interest is $2,880.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "2880.00", "printed": "2880.00", "notation": null}
nlprog_det-setting-0082396
<|start|><|user|> A deposition lasted 4 hours and 13 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 4 minutes = 13 total_minutes = hours * 60 + minutes # 253 print(total_minutes) ``` Shell output — 253 The deposition lasted 253 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A deposition lasted 4 hours and 13 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 4\nminutes = 13\ntotal_minutes = hours * 60 + minutes # 253\nprint(total_minutes)\n```\nShell output — 253\n\nThe deposition lasted 253 m...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "253", "printed": "253", "notation": null}
nlprog_det-setting-0082397
831 files go into boxes of 15. How many boxes does that take? Computing it: ```python import math files = 831 per_box = 15 boxes = math.ceil(files / per_box) # 56 print(boxes) ``` Execution result: 56 It takes 56 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "56", "printed": "56", "notation": null}
nlprog_det-setting-0082398
<|start|><|user|> A pack of 4 folders sells for $172. What does each cost?<|eot|> <|assistant|> ```python total = 172 count = 4 per_item = total // count # 43 print(per_item) ``` This prints 43, as expected. The unit price is $43.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A pack of 4 folders sells for $172. What does each cost?" }, { "role": "assistant", "content": "```python\ntotal = 172\ncount = 4\nper_item = total // count # 43\nprint(per_item)\n```\nThis prints 43, as expected.\n\nThe unit price is $43." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "43", "printed": "43", "notation": null}
nlprog_det-setting-0082399
A 14-day notice period begins on January 16, 2020. On what date does it end? Python code: from datetime import date, timedelta start = date(2020, 1, 16) # datetime.date(2020, 1, 16) end = start + timedelta(days=14) # datetime.date(2020, 1, 30) print(end.isoformat()) When run, it prints: 2020-01-30 T...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "2020-01-30", "printed": "2020-01-30", "notation": null}
nlprog_det-setting-0082400
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> At a 5% tax rate, what is the tax on $629.47?<|eot|> <|assistant|> ```python price = 629.47 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 31.4735 print(f"{tax:.2f}") ``` Out — 31.47 The tax is $31.47.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "At a 5% tax rate, what is the tax on $629.47?" }, { "role": "assistant", "content": "```python\nprice = 629.47\ntax_rate = 5 / 100 # 0.05\ntax = price * tax_rate # 31.4735\npr...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "31.47", "printed": "31.47", "notation": null}
nlprog_det-setting-0082401
A 45-day notice period begins on June 3, 2028. On what date does it end? Code: ```python from datetime import date, timedelta start = date(2028, 6, 3) # datetime.date(2028, 6, 3) end = start + timedelta(days=45) # datetime.date(2028, 7, 18) print(end.isoformat()) ``` Run it and it prints: 2028-07-18 That date is Ju...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2028-07-18", "printed": "2028-07-18", "notation": null}
nlprog_det-setting-0082402
<|start|><|system|> Available functions (JSON Schema): [{"name": "compute", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> What is 0 d...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"compute\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"r...
nlprog_det
setting
original
null
deterministic
[]
[]
204
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0082403
An unpaid balance of $2,500 accrues 1% simple interest per month. How much interest accrues in 4 months? Python version: ```python balance = 2500 monthly_rate = 1 / 100 # 0.01 months = 4 interest = balance * monthly_rate * months # 100.0 print(f"{interest:.2f}") ``` # console output: 100.00 The interest is $100.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "100.00", "printed": "100.00", "notation": null}
nlprog_det-setting-0082404
How many minutes pass from 8:00 AM to 1:49 PM on the same day? Here is a short program for it. ```python start = 8 * 60 + 0 # 480 end = 13 * 60 + 49 # 829 print(end - start) ``` (Printed: 349) 349 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "349", "printed": "349", "notation": null}
nlprog_det-setting-0082405
<|start|><|user|> An invoice lists 31 file boxes at $9 each, plus 6% sales tax. What is the invoice total?<|eot|> <|assistant|> quantity = 31 unit_price = 9 subtotal = quantity * unit_price # 279 total = subtotal * (1 + 6 / 100) # 295.74 print(f"{total:.2f}") stdout: 295.74 The invoice total is $...
chat
[ { "role": "user", "content": "An invoice lists 31 file boxes at $9 each, plus 6% sales tax. What is the invoice total?" }, { "role": "assistant", "content": " quantity = 31\n unit_price = 9\n subtotal = quantity * unit_price # 279\n total = subtotal * (1 + 6 / 100) # 295.74\n pr...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "295.74", "printed": "295.74", "notation": null}
nlprog_det-setting-0082406
<|start|><|user|> Convert 7,224 CHF to USD at 1 CHF = 0.92 USD.<|eot|> <|assistant|> amount = 7224 rate = 0.92 converted = amount * rate # 6646.08 print(f"{converted:.2f}") Out = 6646.08 It converts to 6,646.08 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 7,224 CHF to USD at 1 CHF = 0.92 USD." }, { "role": "assistant", "content": " amount = 7224\n rate = 0.92\n converted = amount * rate # 6646.08\n print(f\"{converted:.2f}\")\nOut = 6646.08\n\nIt converts to 6,646.08 USD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "6646.08", "printed": "6646.08", "notation": null}
nlprog_det-setting-0082407
Equal monthly payments repay $1,200 plus 10% simple yearly interest over 12 months. How large is a payment? A short script: ```python principal = 1200 annual_rate = 10 / 100 # 0.1 months = 12 interest = principal * annual_rate * months / 12 # 120.0 payment = (principal + interest) / months # 110.0 print(f"{payment:...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "110.00", "printed": "110.00", "notation": null}
nlprog_det-setting-0082408
Someone works 38 hours at $26.60 per hour. What are the earnings? Here is the program. ```python rate = 26.6 hours = 38 earnings = rate * hours # 1010.8000000000001 print(f"{earnings:.2f}") ``` Run result: 1010.80 The pay is $1,010.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1010.80", "printed": "1010.80", "notation": null}
nlprog_det-setting-0082409
How many whole days and leftover hours are in 205 hours? 205 hours is 8 days and 13 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "8 days and 13 hours", "printed": "8 days and 13 hours", "notation": null}
nlprog_det-setting-0082410
<|start|><|user|> How many weekdays (Monday to Friday) fall after September 21, 2018 up to and including October 17, 2018?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2018, 9, 21) end = date(2018, 10, 17) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta...
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after September 21, 2018 up to and including October 17, 2018?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2018, 9, 21)\nend = date(2018, 10, 17)\ncount = 0\nfor k in ...
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0082411
The rules require 2/3 of 50 members (round up) to be present. How many is that? Script: import math members = 50 quorum = math.ceil(members * 2 / 3) # 34 print(quorum) Shell output — 34 34 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "34", "printed": "34", "notation": null}
nlprog_det-setting-0082412
How many whole days and leftover hours are in 138 hours? ```python hours = 138 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` (Result: 5 days and 18 hours) That is 5 days and 18 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "5 days and 18 hours", "printed": "5 days and 18 hours", "notation": null}
nlprog_det-setting-0082413
<|start|><|user|> How many 1-foot square tiles cover a 10 ft by 14 ft floor (round up)?<|eot|> <|assistant|> It takes 140 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 1-foot square tiles cover a 10 ft by 14 ft floor (round up)?" }, { "role": "assistant", "content": "It takes 140 tiles." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "140", "printed": "140", "notation": null}
nlprog_det-setting-0082414
A client paid a $7,500 retainer. The firm has billed 4 hours at $200 per hour. How much of the retainer is left? One way, in code: ```python retainer = 7500 hours = 4 rate = 200 left = retainer - hours * rate # 6700 print(left) ``` When run, it prints 6700, as expected. $6,700 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "6700", "printed": "6700", "notation": null}
nlprog_det-setting-0082415
A board has 14 members. A majority is more than half. How many votes make a majority? 8 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0082416
At $0.65 per mile, what is the reimbursement for 153 miles? Computing it: ```python miles = 153 rate = 0.65 reimbursement = miles * rate # 99.45 print(f"{reimbursement:.2f}") ``` Execution prints: 99.45 The reimbursement is $99.45.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "99.45", "printed": "99.45", "notation": null}
nlprog_det-setting-0082417
Fines run at $50 per day up to a maximum of $5,000. How much after 6 days? Translated to Python: per_day = 50 days = 6 cap = 5000 fine = min(per_day * days, cap) # 300 print(fine) The interpreter prints 300. The fine is $300.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0082418
<|start|><|user|> Buying 2 binders at $21 each, 1 mugs at $14 each, someone hands over $100. What change comes back?<|eot|> <|assistant|> ```python items = [(2, 21), (1, 14)] total = sum(q * p for q, p in items) # 56 paid = 100 change = paid - total # 44 print(change) ``` # output: 44 The change is $44.<|eot|> <|end...
chat
[ { "role": "user", "content": "Buying 2 binders at $21 each, 1 mugs at $14 each, someone hands over $100. What change comes back?" }, { "role": "assistant", "content": "```python\nitems = [(2, 21), (1, 14)]\ntotal = sum(q * p for q, p in items) # 56\npaid = 100\nchange = paid - total # 44\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "44", "printed": "44", "notation": null}
nlprog_det-setting-0082419
Starting from $12,000, the team spends $1,121, $2,373, $2,216. What remains? Python version: ```python budget = 12000 expenses = [1121, 2373, 2216] left = budget - sum(expenses) # 6290 print(left) ``` Shell output — 6290 $6,290 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "6290", "printed": "6290", "notation": null}
nlprog_det-setting-0082420
A measure needs at least 67% of 259 votes. How many votes is that, rounded up? A Python solution: ```python import math voters = 259 needed = math.ceil(voters * 67 / 100) print(needed) ``` (Printed result: 174) At least 174 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "174", "printed": "174", "notation": null}
nlprog_det-setting-0082421
Fines run at $250 per day up to a maximum of $1,000. How much after 31 days? Python: ```python per_day = 250 days = 31 cap = 1000 fine = min(per_day * days, cap) # 1000 print(fine) ``` The code prints: 1000 $1,000 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0082422
A 468-page report must be reviewed in 9 days. How many pages a day is that, evenly? Python does the arithmetic: ```python pages = 468 days = 9 per_day = pages // days # 52 print(per_day) ``` stdout: 52 52 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0082423
Monthly rent is $1,200. A tenant moves in with 18 days left in a 31-day month. What is the prorated rent? Script: ```python rent = 1200 days_in_month = 31 days_occupied = 18 prorated = rent * days_occupied / days_in_month # 696.7741935483871 print(f"{prorated:.2f}") ``` What it prints: 696.77 The prorated rent is $6...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "696.77", "printed": "696.77", "notation": null}
nlprog_det-setting-0082424
A customer buys 4 toner kits at $8 each, 5 tape rolls at $14 each, 2 desk lamps at $26 each and pays with $200. How much change is due? A short script: ```python items = [(4, 8), (5, 14), (2, 26)] total = sum(q * p for q, p in items) # 154 paid = 200 change = paid - total # 46 print(change) ``` Python prints 46, as ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "46", "printed": "46", "notation": null}
nlprog_det-setting-0082425
<|start|><|user|> Starting from $20,000, the team spends $812, $3,743, $891. What remains?<|eot|> <|assistant|> $14,554 is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting from $20,000, the team spends $812, $3,743, $891. What remains?" }, { "role": "assistant", "content": "$14,554 is left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "14554", "printed": "14554", "notation": null}
nlprog_det-setting-0082426
<|start|><|user|> 376 files go into boxes of 24. How many boxes does that take?<|eot|> <|assistant|> ```python import math files = 376 per_box = 24 boxes = math.ceil(files / per_box) print(boxes) ``` It prints 16. 16 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "376 files go into boxes of 24. How many boxes does that take?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 376\nper_box = 24\nboxes = math.ceil(files / per_box)\nprint(boxes)\n```\nIt prints 16.\n\n16 boxes are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0082427
How many days are there from September 15, 2020 to July 17, 2021? ```python from datetime import date first = date(2020, 9, 15) # datetime.date(2020, 9, 15) second = date(2021, 7, 17) # datetime.date(2021, 7, 17) print((second - first).days) ``` (Printed: 305) There are 305 days between the two dates.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "305", "printed": "305", "notation": null}
nlprog_det-setting-0082428
Starting from $5,000, the team spends $3,246, $1,210, $2,341. What remains? Translated to Python: ```python budget = 5000 expenses = [3246, 1210, 2341] left = budget - sum(expenses) # -1797 print(left) ``` Python prints -1797. The remaining budget is -$1,797.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "-1797", "printed": "-1797", "notation": null}
nlprog_det-setting-0082429
One can of paint covers 400 square feet. How many cans are needed for 251 square feet of wall? As Python: ```python import math area = 251 coverage = 400 cans = math.ceil(area / coverage) # 1 print(cans) ``` Python prints: 1 Buy 1 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0082430
A party has 28 days to respond to a motion served on January 9, 2022, with 3 days added because service was by mail. When is the response due? We write it as a program: ```python from datetime import date, timedelta served = date(2022, 1, 9) # datetime.date(2022, 1, 9) response_days = 28 mail_days = 3 due = served + ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
176
{"gold": "2022-02-09", "printed": "2022-02-09", "notation": null}
nlprog_det-setting-0082431
A meal costs $52.10. How much is a 20% tip? In code: ```python bill = 52.1 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 10.420000000000002 print(f"{tip:.2f}") ``` # stdout: 10.42 The tip is $10.42.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "10.42", "printed": "10.42", "notation": null}
nlprog_det-setting-0082432
A shift runs from 7:18 AM to 12:46 PM. How long is it in minutes? Written as code: ```python start = 7 * 60 + 18 # 438 end = 12 * 60 + 46 # 766 print(end - start) ``` Output = 328 328 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "328", "printed": "328", "notation": null}
nlprog_det-setting-0082433
8 claimants share a $520 settlement equally. What is each share? A Python solution: ```python settlement = 520 parties = 8 share = settlement // parties # 65 print(share) ``` Running this gives: 65 Each party receives $65.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "65", "printed": "65", "notation": null}
nlprog_det-setting-0082434
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> A settlement of $36,000 is split equally among 4 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 36000 parties = 4 share = settlement // parties # 9000 print(share) ``` stdout: 9000 Each party receives $9...
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "A settlement of $36,000 is split equally among 4 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 36000\nparties = 4\nshar...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "9000", "printed": "9000", "notation": null}
nlprog_det-setting-0082435
Scale 450 g of lentils from 6 servings to 12 servings. Python makes this quick: ```python grams = 450 serves = 6 needed_for = 12 scaled = grams * needed_for // serves print(scaled) ``` Python prints: 900 Use 900 g of lentils.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0082436
Convert 25 °C to Fahrenheit. It equals 77 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "77", "printed": "77", "notation": null}
nlprog_det-setting-0082437
How many 1-foot square tiles cover a 10 ft by 11 ft floor (round up)? Written as code: import math length = 10 width = 11 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 110 print(tiles) Executing it gives 110, as expected. It takes 110 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "110", "printed": "110", "notation": null}
nlprog_det-setting-0082438
<|start|><|user|> Under a 25% contingency agreement, what fee is owed on a $150,000 award?<|eot|> <|assistant|> ```python recovery = 150000 rate = 25 / 100 fee = recovery * rate print(f"{fee:.2f}") ``` Output of the run — 37500.00 The lawyer's fee comes to $37,500.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 25% contingency agreement, what fee is owed on a $150,000 award?" }, { "role": "assistant", "content": "```python\nrecovery = 150000\nrate = 25 / 100\nfee = recovery * rate\nprint(f\"{fee:.2f}\")\n```\nOutput of the run — 37500.00\n\nThe lawyer's fee comes t...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "37500.00", "printed": "37500.00", "notation": null}
nlprog_det-setting-0082439
<|start|><|user|> Each storage box holds 25 files. How many boxes are needed for 590 files?<|eot|> <|assistant|> ```python import math files = 590 per_box = 25 boxes = math.ceil(files / per_box) # 24 print(boxes) ``` # console output: 24 It takes 24 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 25 files. How many boxes are needed for 590 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 590\nper_box = 25\nboxes = math.ceil(files / per_box) # 24\nprint(boxes)\n```\n# console output: 24\n\nIt takes 24 boxes...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0082440
A client paid a $5,000 retainer. The firm has billed 13 hours at $150 per hour. How much of the retainer is left? $3,050 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "3050", "printed": "3050", "notation": null}
nlprog_det-setting-0082441
What average speed covers 552 miles in 4 hours? It averages 138 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "138", "printed": "138", "notation": null}
nlprog_det-setting-0082443
<|start|><|user|> A storeroom has 545 markers. The office uses 21 a day. How many are left after 16 days?<|eot|> <|assistant|> ```python stock = 545 per_day = 21 days = 16 left = stock - per_day * days # 209 print(left) ``` Executed, it shows 209. 209 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A storeroom has 545 markers. The office uses 21 a day. How many are left after 16 days?" }, { "role": "assistant", "content": "```python\nstock = 545\nper_day = 21\ndays = 16\nleft = stock - per_day * days # 209\nprint(left)\n```\nExecuted, it shows 209.\n\n209 rem...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "209", "printed": "209", "notation": null}
nlprog_det-setting-0082444
What average speed covers 226 miles in 0.5 hours? Computing it: ```python distance = 226 hours = 0.5 speed = distance / hours # 452.0 print(round(speed)) ``` Run it and it prints 452. The average speed is 452 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "452", "printed": "452", "notation": null}
nlprog_det-setting-0082446
A 14-day notice period begins on April 26, 2027. On what date does it end? Script: from datetime import date, timedelta start = date(2027, 4, 26) # datetime.date(2027, 4, 26) end = start + timedelta(days=14) # datetime.date(2027, 5, 10) print(end.isoformat()) The script prints 2027-05-10, as expected...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "2027-05-10", "printed": "2027-05-10", "notation": null}
nlprog_det-setting-0082447
A lease runs for 6 months at $975 per month. How much rent is paid over the whole term? Here is the program. ```python monthly_rent = 975 months = 6 total = monthly_rent * months # 5850 print(total) ``` Output of the run: 5850 The rent over the term is $5,850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "5850", "printed": "5850", "notation": null}
nlprog_det-setting-0082448
<|start|><|user|> Someone works 16 hours at $31.81 per hour. What are the earnings?<|eot|> <|assistant|> That earns $508.96.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 16 hours at $31.81 per hour. What are the earnings?" }, { "role": "assistant", "content": "That earns $508.96." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "508.96", "printed": "508.96", "notation": null}
nlprog_det-setting-0082449
Printing costs 5 cents a page. What does it cost to print 97 copies of a 23-page handout? One way, in code: ```python pages = 23 copies = 97 cost_per_page = 0.05 cost = pages * copies * cost_per_page # 111.55000000000001 print(f"{cost:.2f}") ``` When run, it prints 111.55, as expected. The job costs $111.55.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "111.55", "printed": "111.55", "notation": null}
nlprog_det-setting-0082450
A $2,000 security deposit has deductions of $45. How much is refunded? $1,955 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "1955", "printed": "1955", "notation": null}
nlprog_det-setting-0082451
Meals are $64 per day and lodging $175 per night. What is the allowance for 7 days and 6 nights? Python does the arithmetic: days = 7 meal_rate = 64 lodging_rate = 175 nights = days - 1 # 6 total = days * meal_rate + nights * lodging_rate # 1498 print(total) # stdout: 1498 The allowance is $...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1498", "printed": "1498", "notation": null}
nlprog_det-setting-0082452
<|start|><|user|> How many meters are in 43.5 kilometers?<|eot|> <|assistant|> ```python km = 43.5 meters = km * 1000 # 43500.0 print(round(meters)) ``` It prints 43500. That is 43,500 meters.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 43.5 kilometers?" }, { "role": "assistant", "content": "```python\nkm = 43.5\nmeters = km * 1000 # 43500.0\nprint(round(meters))\n```\nIt prints 43500.\n\nThat is 43,500 meters." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "43500", "printed": "43500", "notation": null}
nlprog_det-setting-0082453
A 60-mile drive at a steady 60 mph takes how many minutes? Python: ```python distance = 60 speed = 60 minutes = distance / speed * 60 # 60.0 print(round(minutes)) ``` Execution result: 60 60 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0082454
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> Count 21 days forward from September 20, 2025. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2025, 9, 20) # datetime.date(2025, 9, 20) end = start + timedelta(days=21) # datetime.date(2025,...
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "Count 21 days forward from September 20, 2025. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2025, 9, 20)...
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "2025-10-11", "printed": "2025-10-11", "notation": null}
nlprog_det-setting-0082455
<|start|><|system|> Respond clearly and to the point.<|eot|> <|user|> A service costs $15 a month or $156 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> The annual plan saves $24.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Respond clearly and to the point." }, { "role": "user", "content": "A service costs $15 a month or $156 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "The annual plan saves $24." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0082456
<|start|><|system|> Tool definitions: [{"name": "interpreter", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> A pack of 4 water bottles sells ...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"interpreter\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"program...
nlprog_det
setting
original
null
deterministic
[]
[]
195
{"gold": "53", "printed": "53", "notation": null}
nlprog_det-setting-0082457
Notice was given on June 12, 2024. The notice period is 60 days. When does it run out? Python makes this quick: ```python from datetime import date, timedelta start = date(2024, 6, 12) # datetime.date(2024, 6, 12) end = start + timedelta(days=60) # datetime.date(2024, 8, 11) print(end.isoformat()) ``` Execution prin...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2024-08-11", "printed": "2024-08-11", "notation": null}