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-0070350
A client paid a $10,000 retainer. The firm has billed 4 hours at $275 per hour. How much of the retainer is left? $8,900 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "8900", "printed": "8900", "notation": null}
nlprog_det-setting-0070351
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> A 9-day trip pays $64 a day for meals and $175 a night for lodging (8 nights). What is the total allowance?<|eot|> <|assistant|> ```python days = 9 meal_rate = 64 lodging_rate = 175 nights = days - 1 # 8 total = days * meal_rate + nights * lodging_rate # 19...
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "A 9-day trip pays $64 a day for meals and $175 a night for lodging (8 nights). What is the total allowance?" }, { "role": "assistant", "content": "```python\ndays = 9\nmeal_rate = 64\nlodging_r...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "1976", "printed": "1976", "notation": null}
nlprog_det-setting-0070352
Reza buys 3 boxes of 10 pens each and gives away 20 pens. How many pens are left? That leaves 10 pens.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0070353
<|start|><|system|> Use a tool when a calculation is needed. Tools: {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}} {"name": "convert_units", "description": "Convert a quantity between units.", "par...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}\n{\"name\": \"convert_units\", ...
nlprog_det
setting
original
null
deterministic
[]
[]
407
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0070354
Convert 5.5 km to meters. A Python solution: ```python km = 5.5 meters = km * 1000 # 5500.0 print(round(meters)) ``` When run, it prints 5500. 5,500 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "5500", "printed": "5500", "notation": null}
nlprog_det-setting-0070355
<|start|><|user|> At $0.58 per mile, what is the reimbursement for 296 miles?<|eot|> <|assistant|> miles = 296 rate = 0.58 reimbursement = miles * rate print(f"{reimbursement:.2f}") # execution result: 171.68 Goran is owed $171.68.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $0.58 per mile, what is the reimbursement for 296 miles?" }, { "role": "assistant", "content": " miles = 296\n rate = 0.58\n reimbursement = miles * rate\n print(f\"{reimbursement:.2f}\")\n# execution result: 171.68\n\nGoran is owed $171.68." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "171.68", "printed": "171.68", "notation": null}
nlprog_det-setting-0070356
The landlord deducts $85 from a $800 deposit. What is returned to the tenant? Code: ```python deposit = 800 deductions = [85] refund = deposit - sum(deductions) # 715 print(refund) ``` The run gives 715. $715 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "715", "printed": "715", "notation": null}
nlprog_det-setting-0070357
Flooring at $5/sq ft for a 23 ft × 8 ft room costs how much? The flooring costs $920.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "920", "printed": "920", "notation": null}
nlprog_det-setting-0070358
What is a 18% tip on a $43.39 bill? Programmatically: ```python bill = 43.39 tip_rate = 18 / 100 # 0.18 tip = bill * tip_rate # 7.8102 print(f"{tip:.2f}") ``` Program output: 7.81 The tip is $7.81.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "7.81", "printed": "7.81", "notation": null}
nlprog_det-setting-0070359
Scale 100 g of lentils from 2 servings to 10 servings. We can compute it in Python. ```python grams = 100 serves = 2 needed_for = 10 scaled = grams * needed_for // serves print(scaled) ``` Execution result — 500 Use 500 g of lentils.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "500", "printed": "500", "notation": null}
nlprog_det-setting-0070361
Starting from $12,000, the team spends $1,546, $1,326, $3,178. What remains? The remaining budget is $5,950.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "5950", "printed": "5950", "notation": null}
nlprog_det-setting-0070362
<|start|><|user|> A pack of 4 notebooks sells for $200. What does each cost?<|eot|> <|assistant|> ```python total = 200 count = 4 per_item = total // count # 50 print(per_item) ``` This prints 50, as expected. The unit price is $50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A pack of 4 notebooks sells for $200. What does each cost?" }, { "role": "assistant", "content": "```python\ntotal = 200\ncount = 4\nper_item = total // count # 50\nprint(per_item)\n```\nThis prints 50, as expected.\n\nThe unit price is $50." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0070364
What percentage of $10,000 is $3,400? Program: budget = 10000 spent = 3400 percent = spent / budget * 100 # 34.0 print(round(percent, 1)) Out: 34.0 34.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "34.0", "printed": "34.0", "notation": null}
nlprog_det-setting-0070365
Monthly rent is $1,800. A tenant moves in with 23 days left in a 30-day month. What is the prorated rent? The program: ```python rent = 1800 days_in_month = 30 days_occupied = 23 prorated = rent * days_occupied / days_in_month # 1380.0 print(f"{prorated:.2f}") ``` # printed: 1380.00 The tenant owes $1,380.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "1380.00", "printed": "1380.00", "notation": null}
nlprog_det-setting-0070367
Water costs $18 a month plus $4.20 for each 1,000 gallons over 3,000. What is owed for 20,000 gallons? One way, in code: ```python base = 18 rate = 4.2 used = 20 free = 3 bill = base + rate * max(0, used - free) # 89.4 print(f"{bill:.2f}") ``` The program prints 89.40, as expected. $89.40 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "89.40", "printed": "89.40", "notation": null}
nlprog_det-setting-0070368
<|start|><|system|> Tool definitions: [{"name": "code_runner", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> 12 copies of a 55-page packet...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"code_runner\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"prog...
nlprog_det
setting
original
null
deterministic
[]
[]
227
{"gold": "99.00", "printed": "99.00", "notation": null}
nlprog_det-setting-0070369
<|start|><|user|> 721 files go into boxes of 25. How many boxes does that take?<|eot|> <|assistant|> ```python import math files = 721 per_box = 25 boxes = math.ceil(files / per_box) # 29 print(boxes) ``` It prints 29. 29 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "721 files go into boxes of 25. How many boxes does that take?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 721\nper_box = 25\nboxes = math.ceil(files / per_box) # 29\nprint(boxes)\n```\nIt prints 29.\n\n29 boxes are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0070370
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> What average speed covers 356 miles in 2 hours?<|eot|> <|assistant|> ```python distance = 356 hours = 2 speed = distance / hours # 178.0 print(round(speed)) ``` Result = 178 The average speed is 178 mph.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "What average speed covers 356 miles in 2 hours?" }, { "role": "assistant", "content": "```python\ndistance = 356\nhours = 2\nspeed = distance / hours # 178.0\nprint(round(speed))...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "178", "printed": "178", "notation": null}
nlprog_det-setting-0070371
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "convert_units", "description": "Convert a quantity between units.", "parameters": {"type": "object", "properties": {"value": {"type": "number"}, "from_unit": {"type": "string"}, "to_unit": {"type": "string"}}, "required": ["value"...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"},...
nlprog_det
setting
original
null
deterministic
[]
[]
344
{"gold": "500", "printed": "500", "notation": null}
nlprog_det-setting-0070372
Pilar buys 11 boxes of 6 desk lamps each and gives away 20 desk lamps. How many desk lamps are left? Python: ```python boxes = 11 per_box = 6 given_away = 20 left = boxes * per_box - given_away # 46 print(left) ``` When run, it prints 46, as expected. That leaves 46 desk lamps.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "46", "printed": "46", "notation": null}
nlprog_det-setting-0070373
An unpaid balance of $12,000 accrues 1.5% simple interest per month. How much interest accrues in 2 months? As a program: ```python balance = 12000 monthly_rate = 1.5 / 100 # 0.015 months = 2 interest = balance * monthly_rate * months # 360.0 print(f"{interest:.2f}") ``` The interpreter prints: 360.00 $360.00 accru...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "360.00", "printed": "360.00", "notation": null}
nlprog_det-setting-0070374
Divide 288 items among 7 groups as evenly as possible with equal groups. How many per group, and how many remain? Code: ```python total = 288 groups = 7 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` # program output: 41 each, 1 left over 41 each, 1 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "41 each, 1 left over", "printed": "41 each, 1 left over", "notation": null}
nlprog_det-setting-0070375
Copies cost $10 plus $0.50 for each page beyond 20. How much for 65 pages? The total is $32.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "32.50", "printed": "32.50", "notation": null}
nlprog_det-setting-0070376
<|start|><|user|> What is a 22% tip on a $91.94 bill?<|eot|> <|assistant|> ```python bill = 91.94 tip_rate = 22 / 100 # 0.22 tip = bill * tip_rate # 20.2268 print(f"{tip:.2f}") ``` # output: 20.23 Leave $20.23.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is a 22% tip on a $91.94 bill?" }, { "role": "assistant", "content": "```python\nbill = 91.94\ntip_rate = 22 / 100 # 0.22\ntip = bill * tip_rate # 20.2268\nprint(f\"{tip:.2f}\")\n```\n# output: 20.23\n\nLeave $20.23." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "20.23", "printed": "20.23", "notation": null}
nlprog_det-setting-0070377
Straight-line depreciation: cost $30,000, salvage $6,000, 4 years. How much per year? ```python cost = 30000 salvage = 6000 years = 4 per_year = (cost - salvage) / years # 6000.0 print(f"{per_year:.2f}") ``` Execution prints 6000.00, as expected. Depreciation is $6,000.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "6000.00", "printed": "6000.00", "notation": null}
nlprog_det-setting-0070378
<|start|><|user|> Prorate $1,200 of monthly rent for 16 days of a 30-day month.<|eot|> <|assistant|> The tenant owes $640.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Prorate $1,200 of monthly rent for 16 days of a 30-day month." }, { "role": "assistant", "content": "The tenant owes $640.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "640.00", "printed": "640.00", "notation": null}
nlprog_det-setting-0070379
6 claimants share a $522 settlement equally. What is each share? Set it up in Python: ```python settlement = 522 parties = 6 share = settlement // parties # 87 print(share) ``` Out: 87 Each party receives $87.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "87", "printed": "87", "notation": null}
nlprog_det-setting-0070381
How many weekdays (Monday to Friday) fall after August 2, 2027 up to and including August 19, 2027? Translated to Python: ```python from datetime import date, timedelta start = date(2027, 8, 2) end = date(2027, 8, 19) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).weekday() < 5...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0070382
A $2,500 security deposit has deductions of $200 and $75. How much is refunded? The program: ```python deposit = 2500 deductions = [200, 75] refund = deposit - sum(deductions) # 2225 print(refund) ``` When run, it prints: 2225 The refund is $2,225.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "2225", "printed": "2225", "notation": null}
nlprog_det-setting-0070384
<|start|><|user|> Monthly: $15. Annual: $156. What is saved per year by paying annually?<|eot|> <|assistant|> ```python monthly = 15 yearly = 156 savings = monthly * 12 - yearly # 24 print(savings) ``` Printed result: 24 $24 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Monthly: $15. Annual: $156. What is saved per year by paying annually?" }, { "role": "assistant", "content": "```python\nmonthly = 15\nyearly = 156\nsavings = monthly * 12 - yearly # 24\nprint(savings)\n```\nPrinted result: 24\n\n$24 is saved." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070385
8 boxes hold 10 markers each. After 9 are handed out, how many are left? Program: ```python boxes = 8 per_box = 10 given_away = 9 left = boxes * per_box - given_away # 71 print(left) ``` Printed = 71 That leaves 71 markers.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "71", "printed": "71", "notation": null}
nlprog_det-setting-0070386
What is a 20% tip on a $194.34 bill? Python, step by step: ```python bill = 194.34 tip_rate = 20 / 100 tip = bill * tip_rate print(f"{tip:.2f}") ``` When run, it prints 38.87, as expected. Leave $38.87.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "38.87", "printed": "38.87", "notation": null}
nlprog_det-setting-0070387
<|start|><|user|> A penalty of $25 a day accrues, capped at $5,000. What is owed after 40 days?<|eot|> <|assistant|> $1,000 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $25 a day accrues, capped at $5,000. What is owed after 40 days?" }, { "role": "assistant", "content": "$1,000 is owed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0070388
At a 7% tax rate, what is the tax on $637.08? Program: ```python price = 637.08 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 44.595600000000005 print(f"{tax:.2f}") ``` (Program output: 44.60) The tax is $44.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "44.60", "printed": "44.60", "notation": null}
nlprog_det-setting-0070389
From a $7,500 retainer, 13 hours at $200/hour have been drawn. What remains? Here's the code. ```python retainer = 7500 hours = 13 rate = 200 left = retainer - hours * rate # 4900 print(left) ``` Run result = 4900 The remaining balance is $4,900.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "4900", "printed": "4900", "notation": null}
nlprog_det-setting-0070390
<|start|><|user|> Rent of $2,200 goes up 6%. What is the new rent?<|eot|> <|assistant|> rent = 2200 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 2332.0 print(f"{new_rent:.2f}") Python prints 2332.00. The new rent is $2,332.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rent of $2,200 goes up 6%. What is the new rent?" }, { "role": "assistant", "content": " rent = 2200\n increase = 6 / 100 # 0.06\n new_rent = rent * (1 + increase) # 2332.0\n print(f\"{new_rent:.2f}\")\nPython prints 2332.00.\n\nThe new rent is $2,332....
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "2332.00", "printed": "2332.00", "notation": null}
nlprog_det-setting-0070391
With $20,000 in costs and $20,500 in revenue, what percent of revenue is profit? Round to one decimal. ```python revenue = 20500 costs = 20000 profit = revenue - costs # 500 margin = profit / revenue * 100 # 2.4390243902439024 print(round(margin, 1)) ``` Interpreter output: 2.4 Profit is 2.4% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "2.4", "printed": "2.4", "notation": null}
nlprog_det-setting-0070392
<|start|><|user|> Notice was given on May 13, 2023. The notice period is 45 days. When does it run out?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2023, 5, 13) # datetime.date(2023, 5, 13) end = start + timedelta(days=45) # datetime.date(2023, 6, 27) print(end.isoformat()) ``` Ex...
chat
[ { "role": "user", "content": "Notice was given on May 13, 2023. The notice period is 45 days. When does it run out?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2023, 5, 13) # datetime.date(2023, 5, 13)\nend = start + timedelta(days=45) #...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "2023-06-27", "printed": "2023-06-27", "notation": null}
nlprog_det-setting-0070393
Count the days between March 18, 2025 and June 5, 2025. There are 79 days between the two dates.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "79", "printed": "79", "notation": null}
nlprog_det-setting-0070394
A lease runs for 36 months at $975 per month. How much rent is paid over the whole term? In code: ```python monthly_rent = 975 months = 36 total = monthly_rent * months # 35100 print(total) ``` The printout reads: 35100 In total, $35,100 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "35100", "printed": "35100", "notation": null}
nlprog_det-setting-0070395
How much sales tax is charged on a $852.41 purchase at 4%? Computation in Python: price = 852.41 tax_rate = 4 / 100 tax = price * tax_rate print(f"{tax:.2f}") (stdout: 34.10) The tax is $34.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "34.10", "printed": "34.10", "notation": null}
nlprog_det-setting-0070396
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> Sales went from 800 to 760. What is the percent change?<|eot|> <|assistant|> ```python old = 800 new = 760 change = (new - old) / old * 100 # -5.0 print(round(change)) ``` # run result: -5 It changed by -5%.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "Sales went from 800 to 760. What is the percent change?" }, { "role": "assistant", "content": "```python\nold = 800\nnew = 760\nchange = (new - old) / old * 100 # -5.0\nprint(round(change))\n```...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "-5", "printed": "-5", "notation": null}
nlprog_det-setting-0070397
Parking is $3 per hour with a daily maximum of $15. What do 8 hours cost? Python version: ```python rate = 3 hours = 8 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) ``` (Program output: 15) The charge is $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0070398
Straight-line depreciation: cost $18,000, salvage $0, 10 years. How much per year? Let the code do the arithmetic: ```python cost = 18000 salvage = 0 years = 10 per_year = (cost - salvage) / years # 1800.0 print(f"{per_year:.2f}") ``` Executing it gives 1800.00, as expected. $1,800.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "1800.00", "printed": "1800.00", "notation": null}
nlprog_det-setting-0070399
A court charges $15 per request plus $0.25 per page after the first 10 pages. What does a 18-page copy cost? The program: pages = 18 base = 15 per_page = 0.25 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 17.0 print(f"{cost:.2f}") Execution result — 17.00 The copy cost...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "17.00", "printed": "17.00", "notation": null}
nlprog_det-setting-0070400
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> A class starts at 8:30 AM and lasts 75 minutes. When does it end?<|eot|> <|assistant|> ```python start = 8 * 60 + 30 end = start + 75 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Execution print...
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "A class starts at 8:30 AM and lasts 75 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 30\nend = start + 75\nhour, minute = divmod(end, 60)\nprint(...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "9:45 AM", "printed": "9:45 AM", "notation": null}
nlprog_det-setting-0070401
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "fetch_fili...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}},...
nlprog_det
setting
original
null
deterministic
[]
[]
376
{"gold": "344", "printed": "344", "notation": null}
nlprog_det-setting-0070402
A quorum is 3/5 of the 27 members, rounded up. How many members make a quorum? Python, step by step: ```python import math members = 27 quorum = math.ceil(members * 3 / 5) # 17 print(quorum) ``` Run it and it prints 17. That is 17 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0070403
Scale 300 g of pasta from 8 servings to 10 servings. We write it as a program: ```python grams = 300 serves = 8 needed_for = 10 scaled = grams * needed_for // serves print(scaled) ``` Output of the run — 375 375 grams of pasta are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "375", "printed": "375", "notation": null}
nlprog_det-setting-0070404
Monthly: $25. Annual: $276. What is saved per year by paying annually? Here's the code. ```python monthly = 25 yearly = 276 savings = monthly * 12 - yearly # 24 print(savings) ``` (Printed result: 24) The annual plan saves $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070405
A recipe for 2 people uses 200 grams of flour. How many grams are needed for 8 people? Programmatically: grams = 200 serves = 2 needed_for = 8 scaled = grams * needed_for // serves print(scaled) Shell output — 800 Use 800 g of flour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "800", "printed": "800", "notation": null}
nlprog_det-setting-0070407
A clerk's office charges $45 for each filing. Diego submits 7 filings. What is the total fee? Python makes this quick: fee = 45 filings = 7 total = fee * filings # 315 print(total) The run gives 315, as expected. $315 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "315", "printed": "315", "notation": null}
nlprog_det-setting-0070408
180 volunteers are split into 7 equal teams. How many are on each team, and how many are left over? One way, in code: ```python total = 180 groups = 7 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Executing it gives 25 each, 5 left over. 25 each, 5 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "25 each, 5 left over", "printed": "25 each, 5 left over", "notation": null}
nlprog_det-setting-0070409
<|start|><|system|> You may call the tools below. [{"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": ["snippet"]}}, {"name": "define_word...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"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\"}...
nlprog_det
setting
original
null
deterministic
[]
[]
310
{"gold": "90.00", "printed": "90.00", "notation": null}
nlprog_det-setting-0070412
Jae was born on January 6, 1958. How old is Jae on July 9, 2027? Python makes this quick: ```python from datetime import date born = date(1958, 1, 6) # datetime.date(1958, 1, 6) on = date(2027, 7, 9) # datetime.date(2027, 7, 9) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) # 69 print(age...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "69", "printed": "69", "notation": null}
nlprog_det-setting-0070413
Convert 85.3 km to meters. Here is the program. km = 85.3 meters = km * 1000 print(round(meters)) Out = 85300 85,300 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
58
{"gold": "85300", "printed": "85300", "notation": null}
nlprog_det-setting-0070414
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "calculator", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"calculator\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python s...
nlprog_det
setting
original
null
deterministic
[]
[]
202
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0070415
A settlement of $36,000 is split equally among 5 parties. How much does each party receive? Let the code do the arithmetic: ```python settlement = 36000 parties = 5 share = settlement // parties # 7200 print(share) ``` Out: 7200 Each share is $7,200.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "7200", "printed": "7200", "notation": null}
nlprog_det-setting-0070416
Monthly: $29. Annual: $318. What is saved per year by paying annually? Here's the code. ```python monthly = 29 yearly = 318 savings = monthly * 12 - yearly # 30 print(savings) ``` The run gives 30. $30 is saved.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0070417
How many minutes pass from 7:42 AM to 2:34 PM on the same day? As Python: start = 7 * 60 + 42 # 462 end = 14 * 60 + 34 # 874 print(end - start) Python prints 412, as expected. It is 412 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "412", "printed": "412", "notation": null}
nlprog_det-setting-0070418
Counting the first and last day, how many days are there from February 18, 2022 through February 22, 2022? Here is a short program for it. ```python from datetime import date first = date(2022, 2, 18) # datetime.date(2022, 2, 18) last = date(2022, 2, 22) # datetime.date(2022, 2, 22) days = (last - first).days + 1 #...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0070419
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> Convert 89 km to meters.<|eot|> <|assistant|> ```python km = 89 meters = km * 1000 # 89000 print(round(meters)) ``` Execution prints: 89000 89,000 m.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "Convert 89 km to meters." }, { "role": "assistant", "content": "```python\nkm = 89\nmeters = km * 1000 # 89000\nprint(round(meters))\n```\nExecution prints: 89000\n\n89,000 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "89000", "printed": "89000", "notation": null}
nlprog_det-setting-0070420
Each storage box holds 25 files. How many boxes are needed for 55 files? ```python import math files = 55 per_box = 25 boxes = math.ceil(files / per_box) # 3 print(boxes) ``` # out: 3 It takes 3 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0070421
<|start|><|user|> A lawyer's fee is 40% of a $90,000 recovery. How large is the fee?<|eot|> <|assistant|> ```python recovery = 90000 rate = 40 / 100 # 0.4 fee = recovery * rate # 36000.0 print(f"{fee:.2f}") ``` Printed: 36000.00 The fee is $36,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A lawyer's fee is 40% of a $90,000 recovery. How large is the fee?" }, { "role": "assistant", "content": "```python\nrecovery = 90000\nrate = 40 / 100 # 0.4\nfee = recovery * rate # 36000.0\nprint(f\"{fee:.2f}\")\n```\nPrinted:\n36000.00\n\nThe fee is $36,000.00."...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "36000.00", "printed": "36000.00", "notation": null}
nlprog_det-setting-0070422
<|start|><|system|> Tools you may use: [{"name": "calc", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> Split $2,650 between Sara and...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"calc\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"prog...
nlprog_det
setting
original
null
deterministic
[]
[]
235
{"gold": "1060", "printed": "1060", "notation": null}
nlprog_det-setting-0070424
<|start|><|system|> You are a data assistant.<|eot|> <|user|> 4 hours of work at $150 an hour: what is the total charge?<|eot|> <|assistant|> ```python hours = 4 rate = 150 bill = hours * rate # 600 print(f"{bill:.2f}") ``` The program prints 600.00, as expected. That comes to $600.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "4 hours of work at $150 an hour: what is the total charge?" }, { "role": "assistant", "content": "```python\nhours = 4\nrate = 150\nbill = hours * rate # 600\nprint(f\"{bill:.2f}\")\n```\nThe...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0070426
A quorum is 2/3 of the 35 members, rounded up. How many members make a quorum? In code: ```python import math members = 35 quorum = math.ceil(members * 2 / 3) # 24 print(quorum) ``` # printed: 24 24 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070428
A 288-page report must be reviewed in 12 days. How many pages a day is that, evenly? As Python: ```python pages = 288 days = 12 per_day = pages // days # 24 print(per_day) ``` Run result = 24 24 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070429
How many 2-foot square tiles cover a 10 ft by 4 ft floor (round up)? Script: ```python import math length = 10 width = 4 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 10 print(tiles) ``` That prints 10. 10 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0070430
5 boxes hold 10 clipboards each. After 8 are handed out, how many are left? We write it as a program: ```python boxes = 5 per_box = 10 given_away = 8 left = boxes * per_box - given_away # 42 print(left) ``` Executing it gives: 42 42 clipboards are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "42", "printed": "42", "notation": null}
nlprog_det-setting-0070431
<|start|><|user|> Printing costs 15 cents a page. What does it cost to print 47 copies of a 51-page handout?<|eot|> <|assistant|> ```python pages = 51 copies = 47 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 359.55 print(f"{cost:.2f}") ``` Shell output: 359.55 The job costs $359.55.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 15 cents a page. What does it cost to print 47 copies of a 51-page handout?" }, { "role": "assistant", "content": "```python\npages = 51\ncopies = 47\ncost_per_page = 0.15\ncost = pages * copies * cost_per_page # 359.55\nprint(f\"{cost:.2f}\")\n```\n...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "359.55", "printed": "359.55", "notation": null}
nlprog_det-setting-0070432
<|start|><|system|> Functions: {"name": "interpreter", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}} {"name": "get_weather", "description...
chat
[ { "role": "system", "content": "Functions:\n{\"name\": \"interpreter\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
313
{"gold": "1875.00", "printed": "1875.00", "notation": null}
nlprog_det-setting-0070433
A 6-day trip pays $74 a day for meals and $175 a night for lodging (5 nights). What is the total allowance? Python: ```python days = 6 meal_rate = 74 lodging_rate = 175 nights = days - 1 # 5 total = days * meal_rate + nights * lodging_rate # 1319 print(total) ``` # console output: 1319 The allowance is $1,319.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "1319", "printed": "1319", "notation": null}
nlprog_det-setting-0070434
<|start|><|system|> Keep explanations short.<|eot|> <|user|> Notice was given on October 12, 2025. The notice period is 60 days. When does it run out?<|eot|> <|assistant|> from datetime import date, timedelta start = date(2025, 10, 12) # datetime.date(2025, 10, 12) end = start + timedelta(days=60) # datet...
chat
[ { "role": "system", "content": "Keep explanations short." }, { "role": "user", "content": "Notice was given on October 12, 2025. The notice period is 60 days. When does it run out?" }, { "role": "assistant", "content": " from datetime import date, timedelta\n start = date(2025,...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2025-12-11", "printed": "2025-12-11", "notation": null}
nlprog_det-setting-0070436
<|start|><|user|> A client paid a $10,000 retainer. The firm has billed 14 hours at $200 per hour. How much of the retainer is left?<|eot|> <|assistant|> ```python retainer = 10000 hours = 14 rate = 200 left = retainer - hours * rate # 7200 print(left) ``` The program prints 7200. $7,200 of the retainer is left.<|eot...
chat
[ { "role": "user", "content": "A client paid a $10,000 retainer. The firm has billed 14 hours at $200 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": "```python\nretainer = 10000\nhours = 14\nrate = 200\nleft = retainer - hours * rate # 7200\nprint(left)\n```\nT...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "7200", "printed": "7200", "notation": null}
nlprog_det-setting-0070437
A $84 dinner bill gets a 20% tip, and 3 people share the cost equally. What is each person's share? Let the code do the arithmetic: ```python bill = 84 tip_rate = 20 / 100 # 0.2 people = 3 each = bill * (1 + tip_rate) / people # 33.6 print(f"{each:.2f}") ``` Run it and it prints 33.60. The share is $33.60 each.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "33.60", "printed": "33.60", "notation": null}
nlprog_det-setting-0070438
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> How many whole days and leftover hours are in 169 hours?<|eot|> <|assistant|> ```python hours = 169 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Shell output: 7 days and 1 hours That is 7 days and 1 hours.<|eot|> <...
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "How many whole days and leftover hours are in 169 hours?" }, { "role": "assistant", "content": "```python\nhours = 169\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "7 days and 1 hours", "printed": "7 days and 1 hours", "notation": null}
nlprog_det-setting-0070439
<|start|><|system|> Functions: [{"name": "python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> Pay is $22.40/hour, with over...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"prog...
nlprog_det
setting
original
null
deterministic
[]
[]
246
{"gold": "1064.00", "printed": "1064.00", "notation": null}
nlprog_det-setting-0070440
How many minutes pass from 9:06 AM to 10:34 AM on the same day? Let's compute it with Python. start = 9 * 60 + 6 end = 10 * 60 + 34 print(end - start) Execution prints 88. 88 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
70
{"gold": "88", "printed": "88", "notation": null}
nlprog_det-setting-0070441
Idris earns a 3% commission on $68,695 of sales. What is the commission? In Python: sales = 68695 rate = 3 / 100 # 0.03 commission = sales * rate # 2060.85 print(f"{commission:.2f}") It prints: 2060.85 Idris earns $2,060.85.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "2060.85", "printed": "2060.85", "notation": null}
nlprog_det-setting-0070442
550 files go into boxes of 15. How many boxes does that take? In code: ```python import math files = 550 per_box = 15 boxes = math.ceil(files / per_box) # 37 print(boxes) ``` Out: 37 It takes 37 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0070443
<|start|><|user|> If a 5-year limitations period starts on March 12, 2018, when does it end?<|eot|> <|assistant|> It runs out on March 12, 2023.<|eot|> <|end|>
chat
[ { "role": "user", "content": "If a 5-year limitations period starts on March 12, 2018, when does it end?" }, { "role": "assistant", "content": "It runs out on March 12, 2023." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "2023-03-12", "printed": "2023-03-12", "notation": null}
nlprog_det-setting-0070444
<|start|><|user|> A $3,600 loan carries 5% simple annual interest over 24 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> principal = 3600 annual_rate = 5 / 100 # 0.05 months = 24 interest = principal * annual_rate * months / 12 # 360.0 ...
chat
[ { "role": "user", "content": "A $3,600 loan carries 5% simple annual interest over 24 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": " principal = 3600\n annual_rate = 5 / 100 # 0.05\n months = 24\n in...
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "165.00", "printed": "165.00", "notation": null}
nlprog_det-setting-0070445
The rules require 2/3 of 13 members (round up) to be present. How many is that? Set it up in Python: ```python import math members = 13 quorum = math.ceil(members * 2 / 3) # 9 print(quorum) ``` Output: 9 9 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0070446
The rules require 2/3 of 12 members (round up) to be present. How many is that? One way, in code: ```python import math members = 12 quorum = math.ceil(members * 2 / 3) # 8 print(quorum) ``` (Console output: 8) 8 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0070447
The building opened in 2009. How many years had passed by 2018? Python does the arithmetic: ```python start_year = 2009 end_year = 2018 print(end_year - start_year) ``` The run gives 9. 9 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0070448
<|start|><|user|> Convert 4,378 USD to CAD at 1 USD = 1.31 CAD.<|eot|> <|assistant|> ```python amount = 4378 rate = 1.31 converted = amount * rate # 5735.18 print(f"{converted:.2f}") ``` When run, it prints 5735.18. That is 5,735.18 CAD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 4,378 USD to CAD at 1 USD = 1.31 CAD." }, { "role": "assistant", "content": "```python\namount = 4378\nrate = 1.31\nconverted = amount * rate # 5735.18\nprint(f\"{converted:.2f}\")\n```\nWhen run, it prints 5735.18.\n\nThat is 5,735.18 CAD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "5735.18", "printed": "5735.18", "notation": null}
nlprog_det-setting-0070449
<|start|><|user|> A claim accrued on November 24, 2021. The limitations period is 5 years. On what date does it expire?<|eot|> <|assistant|> It runs out on November 24, 2026.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A claim accrued on November 24, 2021. The limitations period is 5 years. On what date does it expire?" }, { "role": "assistant", "content": "It runs out on November 24, 2026." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "2026-11-24", "printed": "2026-11-24", "notation": null}
nlprog_det-setting-0070450
A film lasted 4 hours and 10 minutes. How many minutes is that? As a program: ```python hours = 4 minutes = 10 total_minutes = hours * 60 + minutes # 250 print(total_minutes) ``` When run, it prints: 250 That is 250 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "250", "printed": "250", "notation": null}
nlprog_det-setting-0070451
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "get_weather", "description": "Get the weather for a city...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"ge...
nlprog_det
setting
original
null
deterministic
[]
[]
369
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0070452
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "sandbox_python", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|>...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"sandbox_python\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Pytho...
nlprog_det
setting
original
null
deterministic
[]
[]
258
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0070453
A storeroom has 1034 markers. The office uses 35 a day. How many are left after 8 days? Computation in Python: ```python stock = 1034 per_day = 35 days = 8 left = stock - per_day * days # 754 print(left) ``` # execution result: 754 754 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "754", "printed": "754", "notation": null}
nlprog_det-setting-0070455
What is the total rent on a 24-month lease at $1,640 a month? Computing it: ```python monthly_rent = 1640 months = 24 total = monthly_rent * months # 39360 print(total) ``` Run it and it prints: 39360 In total, $39,360 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "39360", "printed": "39360", "notation": null}
nlprog_det-setting-0070456
5 bike rides at 200 calories each burn how many calories in total? That burns 1000 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0070457
<|start|><|user|> A recipe for 2 people uses 200 grams of oats. How many grams are needed for 3 people?<|eot|> <|assistant|> Use 300 g of oats.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 2 people uses 200 grams of oats. How many grams are needed for 3 people?" }, { "role": "assistant", "content": "Use 300 g of oats." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0070458
4 clients win $30,000. The lawyer takes 40%, and the rest is split equally. How much does each client get? Coded up: ```python award = 30000 fee = award * 40 / 100 # 12000.0 remaining = award - fee # 18000.0 per_client = remaining / 4 # 4500.0 print(f"{per_client:.2f}") ``` It outputs: 4500.00 Each client gets $4,...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "4500.00", "printed": "4500.00", "notation": null}
nlprog_det-setting-0070459
<|start|><|user|> A meeting starts at 8:10 AM and lasts 105 minutes. When does it end?<|eot|> <|assistant|> ```python start = 8 * 60 + 10 end = start + 105 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` # run result: 9:55 AM The meeting finishes at 9:55 AM...
chat
[ { "role": "user", "content": "A meeting starts at 8:10 AM and lasts 105 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 10\nend = start + 105\nhour, minute = divmod(end, 60)\nprint(f\"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "9:55 AM", "printed": "9:55 AM", "notation": null}
nlprog_det-setting-0070460
A count moves from 2,500 to 2,750. By what percent did it change (use a minus sign for a drop)? The change is 10%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0070461
How many days are there from September 25, 2020 to January 20, 2021? The program: ```python from datetime import date first = date(2020, 9, 25) second = date(2021, 1, 20) print((second - first).days) ``` Shell output — 117 There are 117 days between the two dates.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "117", "printed": "117", "notation": null}
nlprog_det-setting-0070462
Shipping costs $8 plus $2.50 per pound. What does a 13-pound parcel cost to ship? As Python: ```python base = 8 per_pound = 2.5 weight = 13 cost = base + per_pound * weight # 40.5 print(f"{cost:.2f}") ``` Program output — 40.50 Shipping costs $40.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "40.50", "printed": "40.50", "notation": null}