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-0052271
A settlement of $15,000 is split equally among 4 parties. How much does each party receive? Program: ```python settlement = 15000 parties = 4 share = settlement // parties # 3750 print(share) ``` When run, it prints: 3750 Each share is $3,750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "3750", "printed": "3750", "notation": null}
nlprog_det-setting-0052272
<|start|><|user|> Scale 150 g of oats from 4 servings to 8 servings.<|eot|> <|assistant|> ```python grams = 150 serves = 4 needed_for = 8 scaled = grams * needed_for // serves # 300 print(scaled) ``` (Execution result: 300) 300 grams of oats are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Scale 150 g of oats from 4 servings to 8 servings." }, { "role": "assistant", "content": "```python\ngrams = 150\nserves = 4\nneeded_for = 8\nscaled = grams * needed_for // serves # 300\nprint(scaled)\n```\n(Execution result: 300)\n\n300 grams of oats are needed." ...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0052273
Equipment costs $18,000, has a salvage value of $3,000, and a useful life of 5 years. What is the straight-line depreciation per year? Python makes this quick: ```python cost = 18000 salvage = 3000 years = 5 per_year = (cost - salvage) / years # 3000.0 print(f"{per_year:.2f}") ``` (Program output: 3000.00) $3,000.00...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0052274
A shift runs from 7:05 AM to 11:53 AM. How long is it in minutes? Code: ```python start = 7 * 60 + 5 # 425 end = 11 * 60 + 53 # 713 print(end - start) ``` (Result: 288) 288 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "288", "printed": "288", "notation": null}
nlprog_det-setting-0052275
A desk lamp costs $180. It is 10% off. What is the sale price? The Python version: ```python price = 180 discount = 10 / 100 sale_price = price * (1 - discount) print(f"{sale_price:.2f}") ``` # program output: 162.00 It costs $162.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "162.00", "printed": "162.00", "notation": null}
nlprog_det-setting-0052276
<|start|><|user|> With $4,000 in costs and $4,500 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> ```python revenue = 4500 costs = 4000 profit = revenue - costs # 500 margin = profit / revenue * 100 # 11.11111111111111 print(round(margin, 1)) ``` # execution result: 11.1 The...
chat
[ { "role": "user", "content": "With $4,000 in costs and $4,500 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "```python\nrevenue = 4500\ncosts = 4000\nprofit = revenue - costs # 500\nmargin = profit / revenue * 100 # 11.11111111111111...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "11.1", "printed": "11.1", "notation": null}
nlprog_det-setting-0052277
Starting from $12,000, the team spends $1,992, $558, $3,350, $682. What remains? Here's the code. ```python budget = 12000 expenses = [1992, 558, 3350, 682] left = budget - sum(expenses) # 5418 print(left) ``` The code prints 5418. $5,418 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "5418", "printed": "5418", "notation": null}
nlprog_det-setting-0052278
<|start|><|user|> Femi lends $12,000 at 6% simple interest per year for 3 years. How much interest is earned?<|eot|> <|assistant|> ```python principal = 12000 rate = 6 / 100 years = 3 interest = principal * rate * years print(f"{interest:.2f}") ``` It outputs: 2160.00 The interest is $2,160.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Femi lends $12,000 at 6% simple interest per year for 3 years. How much interest is earned?" }, { "role": "assistant", "content": "```python\nprincipal = 12000\nrate = 6 / 100\nyears = 3\ninterest = principal * rate * years\nprint(f\"{interest:.2f}\")\n```\nIt outpu...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "2160.00", "printed": "2160.00", "notation": null}
nlprog_det-setting-0052279
What percentage of $8,000 is $2,000? Here is a short program for it. budget = 8000 spent = 2000 percent = spent / budget * 100 print(round(percent, 1)) Console output — 25.0 25.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
68
{"gold": "25.0", "printed": "25.0", "notation": null}
nlprog_det-setting-0052280
A water bill is $15 plus $3.50 per thousand gallons beyond the first 0 thousand. What is the bill for 21 thousand gallons? Python does the arithmetic: base = 15 rate = 3.5 used = 21 free = 0 bill = base + rate * max(0, used - free) # 88.5 print(f"{bill:.2f}") When run, it prints 88.50, as expe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "88.50", "printed": "88.50", "notation": null}
nlprog_det-setting-0052281
<|start|><|user|> How many units at $20 each (variable cost $16) cover $2,500 of fixed costs?<|eot|> <|assistant|> ```python import math fixed = 2500 price = 20 variable = 16 units = math.ceil(fixed / (price - variable)) # 625 print(units) ``` It prints: 625 Break-even is 625 units.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many units at $20 each (variable cost $16) cover $2,500 of fixed costs?" }, { "role": "assistant", "content": "```python\nimport math\nfixed = 2500\nprice = 20\nvariable = 16\nunits = math.ceil(fixed / (price - variable)) # 625\nprint(units)\n```\nIt prints: 62...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "625", "printed": "625", "notation": null}
nlprog_det-setting-0052282
<|start|><|user|> Printing costs 15 cents a page. What does it cost to print 86 copies of a 7-page handout?<|eot|> <|assistant|> pages = 7 copies = 86 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 90.3 print(f"{cost:.2f}") Result = 90.30 The job costs $90.30.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 15 cents a page. What does it cost to print 86 copies of a 7-page handout?" }, { "role": "assistant", "content": " pages = 7\n copies = 86\n cost_per_page = 0.15\n cost = pages * copies * cost_per_page # 90.3\n print(f\"{cost:.2f}\")\n...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "90.30", "printed": "90.30", "notation": null}
nlprog_det-setting-0052283
Each storage box holds 40 files. How many boxes are needed for 180 files? Computing it: import math files = 180 per_box = 40 boxes = math.ceil(files / per_box) print(boxes) Printed result — 5 5 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0052284
4 friends split a $120 bill plus a 15% tip evenly. How much does each pay? We can compute it in Python. ```python bill = 120 tip_rate = 15 / 100 # 0.15 people = 4 each = bill * (1 + tip_rate) / people # 34.5 print(f"{each:.2f}") ``` Out: 34.50 Each person pays $34.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "34.50", "printed": "34.50", "notation": null}
nlprog_det-setting-0052285
A customer buys 3 ink cartridges at $30 each, 2 file boxes at $21 each, 2 cables at $15 each, 3 paper reams at $25 each and pays with $250. How much change is due? Python code: ```python items = [(3, 30), (2, 21), (2, 15), (3, 25)] total = sum(q * p for q, p in items) # 237 paid = 250 change = paid - total # 13 prin...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0052286
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> Pack A has 6 items for $9.33. Pack B has 15 items for $18.65. Which has the lower price per item?<|eot|> <|assistant|> ```python pack_a = 9.33 / 6 # 1.555 pack_b = 18.65 / 15 # 1.2433333333333332 cheaper = "A" if pack_a < pack_b else "...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "Pack A has 6 items for $9.33. Pack B has 15 items for $18.65. Which has the lower price per item?" }, { "role": "assistant", "content": "```python\npack_a = 9.33 / 6 # 1....
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0052287
From 2017 to 2043, how many years is that? Here is the program. start_year = 2017 end_year = 2043 print(end_year - start_year) Executing it gives: 26 That is 26 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
60
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0052288
A backpack costs $60. It is 10% off. What is the sale price? Python, step by step: ```python price = 60 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 54.0 print(f"{sale_price:.2f}") ``` (stdout: 54.00) It costs $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0052289
$10,000 is invested at 4% compounded yearly. What is it worth after 5 years? Set it up in Python: ```python principal = 10000 rate = 4 / 100 # 0.04 years = 5 value = principal * (1 + rate) ** years # 12166.529024000001 print(f"{value:.2f}") ``` Execution prints 12166.53. It is worth $12,166.53.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "12166.53", "printed": "12166.53", "notation": null}
nlprog_det-setting-0052290
<|start|><|system|> Tools you may use: {"name": "calculator", "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|> What average speed ...
chat
[ { "role": "system", "content": "Tools you may use:\n{\"name\": \"calculator\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
190
{"gold": "177", "printed": "177", "notation": null}
nlprog_det-setting-0052291
<|start|><|user|> How many minutes pass from 7:10 AM to 10:23 AM on the same day?<|eot|> <|assistant|> ```python start = 7 * 60 + 10 # 430 end = 10 * 60 + 23 # 623 print(end - start) ``` The run gives: 193 193 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 7:10 AM to 10:23 AM on the same day?" }, { "role": "assistant", "content": "```python\nstart = 7 * 60 + 10 # 430\nend = 10 * 60 + 23 # 623\nprint(end - start)\n```\nThe run gives: 193\n\n193 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "193", "printed": "193", "notation": null}
nlprog_det-setting-0052292
At $23.93 an hour, what does 16 hours of work pay? That earns $382.88.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "382.88", "printed": "382.88", "notation": null}
nlprog_det-setting-0052293
<|start|><|user|> One can of paint covers 400 square feet. How many cans are needed for 230 square feet of wall?<|eot|> <|assistant|> Buy 1 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 400 square feet. How many cans are needed for 230 square feet of wall?" }, { "role": "assistant", "content": "Buy 1 cans." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0052294
What average speed covers 578 miles in 2 hours? As a program: ```python distance = 578 hours = 2 speed = distance / hours # 289.0 print(round(speed)) ``` Printed = 289 The average speed is 289 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "289", "printed": "289", "notation": null}
nlprog_det-setting-0052295
After a 40% fee is taken from a $48,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share? In code: ```python award = 48000 fee = award * 40 / 100 # 19200.0 remaining = award - fee # 28800.0 per_client = remaining / 2 # 14400.0 print(f"{per_client:.2f}") ``` Output: 14400.00 Each c...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0052296
Pay is $18.50/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 43 hours? A few lines of Python do it: ```python rate = 18.5 hours = 43 regular = 40 * rate overtime = (hours - 40) * rate * 1.5 pay = regular + overtime print(f"{pay:.2f}") ``` Run it and it prints: 823.25 Malik earns $823.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "823.25", "printed": "823.25", "notation": null}
nlprog_det-setting-0052297
A lease runs for 24 months at $1,640 per month. How much rent is paid over the whole term? Python version: ```python monthly_rent = 1640 months = 24 total = monthly_rent * months # 39360 print(total) ``` Run output — 39360 The rent over the term is $39,360.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "39360", "printed": "39360", "notation": null}
nlprog_det-setting-0052298
<|start|><|system|> Functions: [{"name": "interpreter", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Pack A has 12 items for $12.11. Pack B ...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"interpreter\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"source\"]}}]"...
nlprog_det
setting
original
null
deterministic
[]
[]
237
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0052299
At an exchange rate of 1.27 CAD per USD, how many CAD is 2,916 USD? That is 3,703.32 CAD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "3703.32", "printed": "3703.32", "notation": null}
nlprog_det-setting-0052300
<|start|><|user|> How many of 38 members form a majority (more than half)?<|eot|> <|assistant|> members = 38 majority = members // 2 + 1 # 20 print(majority) Run it and it prints: 20 20 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many of 38 members form a majority (more than half)?" }, { "role": "assistant", "content": " members = 38\n majority = members // 2 + 1 # 20\n print(majority)\nRun it and it prints: 20\n\n20 members are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
61
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0052301
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> Pay is $25.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 52 hours?<|eot|> <|assistant|> ```python rate = 25.0 hours = 52 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 450.0 pay = regu...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "Pay is $25.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 52 hours?" }, { "role": "assistant", "content": "```python\nrate = 25.0\nhours = 52\...
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "1450.00", "printed": "1450.00", "notation": null}
nlprog_det-setting-0052302
593 files go into boxes of 50. How many boxes does that take? The computation: ```python import math files = 593 per_box = 50 boxes = math.ceil(files / per_box) # 12 print(boxes) ``` Console output: 12 12 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0052303
How many meters are in 31.4 kilometers? Python does the arithmetic: ```python km = 31.4 meters = km * 1000 # 31400.0 print(round(meters)) ``` Run result = 31400 31,400 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "31400", "printed": "31400", "notation": null}
nlprog_det-setting-0052304
How many minutes pass from 11:19 AM to 4:56 PM on the same day? Script: ```python start = 11 * 60 + 19 # 679 end = 16 * 60 + 56 # 1016 print(end - start) ``` Printed: 337 It is 337 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "337", "printed": "337", "notation": null}
nlprog_det-setting-0052305
<|start|><|system|> You have access to these functions: {"name": "python_exec", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|> <|user|> Joelle buys 7 boxes...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"python_exec\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requi...
nlprog_det
setting
original
null
deterministic
[]
[]
230
{"gold": "46", "printed": "46", "notation": null}
nlprog_det-setting-0052306
Jamal earns a 2% commission on $108,137 of sales. What is the commission? The program: sales = 108137 rate = 2 / 100 # 0.02 commission = sales * rate # 2162.7400000000002 print(f"{commission:.2f}") Out: 2162.74 Jamal earns $2,162.74.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "2162.74", "printed": "2162.74", "notation": null}
nlprog_det-setting-0052307
<|start|><|user|> Split $182 between Maren and Eamon in the ratio 2 to 5. What is Maren's share?<|eot|> <|assistant|> ```python total = 182 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 52 print(share_a) ``` That prints 52. Maren's share is $52.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $182 between Maren and Eamon in the ratio 2 to 5. What is Maren's share?" }, { "role": "assistant", "content": "```python\ntotal = 182\nparts_a = 2\nparts_b = 5\nshare_a = total * parts_a // (parts_a + parts_b) # 52\nprint(share_a)\n```\nThat prints 52.\n\nMa...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0052308
<|start|><|user|> Count 120 days forward from January 3, 2019. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2019, 1, 3) # datetime.date(2019, 1, 3) end = start + timedelta(days=120) # datetime.date(2019, 5, 3) print(end.isoformat()) ``` Printed result — 2019-05-0...
chat
[ { "role": "user", "content": "Count 120 days forward from January 3, 2019. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2019, 1, 3) # datetime.date(2019, 1, 3)\nend = start + timedelta(days=120) # datetime.date(2019, 5,...
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "2019-05-03", "printed": "2019-05-03", "notation": null}
nlprog_det-setting-0052309
5 bike rides at 350 calories each burn how many calories in total? Computation in Python: per_session = 350 sessions = 5 total = per_session * sessions # 1750 print(total) Result: 1750 1750 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "1750", "printed": "1750", "notation": null}
nlprog_det-setting-0052310
Pilar earns a 3% commission on $89,794 of sales. What is the commission? Python, step by step: ```python sales = 89794 rate = 3 / 100 # 0.03 commission = sales * rate # 2693.8199999999997 print(f"{commission:.2f}") ``` Run it and it prints: 2693.82 Pilar earns $2,693.82.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "2693.82", "printed": "2693.82", "notation": null}
nlprog_det-setting-0052311
A hall has 20 rows of 18 seats, and 7 seats are empty. How many people are seated? rows = 20 per_row = 18 empty = 7 seated = rows * per_row - empty # 353 print(seated) Console output: 353 353 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "353", "printed": "353", "notation": null}
nlprog_det-setting-0052312
<|start|><|user|> If a 5-year limitations period starts on October 20, 2016, when does it end?<|eot|> <|assistant|> It runs out on October 20, 2021.<|eot|> <|end|>
chat
[ { "role": "user", "content": "If a 5-year limitations period starts on October 20, 2016, when does it end?" }, { "role": "assistant", "content": "It runs out on October 20, 2021." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "2021-10-20", "printed": "2021-10-20", "notation": null}
nlprog_det-setting-0052313
An invoice lists 17 paper reams at $12 each, plus 7% sales tax. What is the invoice total? Here is the program. ```python quantity = 17 unit_price = 12 subtotal = quantity * unit_price # 204 total = subtotal * (1 + 7 / 100) # 218.28 print(f"{total:.2f}") ``` (Printed result: 218.28) The total with tax is $218.28.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "218.28", "printed": "218.28", "notation": null}
nlprog_det-setting-0052314
How long, in days, is it from October 11, 2028 until November 7, 2029? The computation: ```python from datetime import date first = date(2028, 10, 11) # datetime.date(2028, 10, 11) second = date(2029, 11, 7) # datetime.date(2029, 11, 7) print((second - first).days) ``` Executed, it shows: 392 It is 392 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "392", "printed": "392", "notation": null}
nlprog_det-setting-0052315
Convert 76.8 km to meters. The Python version: ```python km = 76.8 meters = km * 1000 # 76800.0 print(round(meters)) ``` Program output: 76800 76,800 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "76800", "printed": "76800", "notation": null}
nlprog_det-setting-0052316
With $36,000 in costs and $36,500 in revenue, what percent of revenue is profit? Round to one decimal. The margin is 1.4%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "1.4", "printed": "1.4", "notation": null}
nlprog_det-setting-0052317
Dara buys 10 boxes of 24 scissors each and gives away 15 scissors. How many scissors are left? Python code: ```python boxes = 10 per_box = 24 given_away = 15 left = boxes * per_box - given_away # 225 print(left) ``` This prints 225, as expected. 225 scissors are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "225", "printed": "225", "notation": null}
nlprog_det-setting-0052318
Sales went from 2,000 to 1,500. What is the percent change? A Python solution: ```python old = 2000 new = 1500 change = (new - old) / old * 100 # -25.0 print(round(change)) ``` Result: -25 The change is -25%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "-25", "printed": "-25", "notation": null}
nlprog_det-setting-0052319
How many minutes pass from 10:36 AM to 11:17 AM on the same day? 41 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0052320
Convert 1 h 45 min (the length of a hearing) to minutes. A Python solution: ```python hours = 1 minutes = 45 total_minutes = hours * 60 + minutes # 105 print(total_minutes) ``` Run output: 105 That is 105 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "105", "printed": "105", "notation": null}
nlprog_det-setting-0052321
Convert 20 °C to Fahrenheit. ```python celsius = 20 fahrenheit = celsius * 9 / 5 + 32 # 68.0 print(round(fahrenheit)) ``` The script prints 68, as expected. That is 68 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "68", "printed": "68", "notation": null}
nlprog_det-setting-0052322
From a $10,000 retainer, 7 hours at $250/hour have been drawn. What remains? Let the code do the arithmetic: ```python retainer = 10000 hours = 7 rate = 250 left = retainer - hours * rate # 8250 print(left) ``` The run gives: 8250 $8,250 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "8250", "printed": "8250", "notation": null}
nlprog_det-setting-0052323
A customer buys 4 paper reams at $18 each, 1 paper reams at $27 each, 6 flash drives at $26 each, 1 binders at $14 each and pays with $300. How much change is due? ```python items = [(4, 18), (1, 27), (6, 26), (1, 14)] total = sum(q * p for q, p in items) # 269 paid = 300 change = paid - total # 31 print(change) ```...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0052324
A client paid a $2,500 retainer. The firm has billed 10 hours at $250 per hour. How much of the retainer is left? Translated to Python: retainer = 2500 hours = 10 rate = 250 left = retainer - hours * rate print(left) The program outputs: 0 The remaining balance is $0.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "0", "printed": "0", "notation": null}
nlprog_det-setting-0052325
Find the mean of these test scores: 99, 62, 80, 86, 58 and 89. Python makes this quick: ```python scores = [99, 62, 80, 86, 58, 89] average = sum(scores) // len(scores) # 79 print(average) ``` Running it prints 79, as expected. The mean is 79.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "79", "printed": "79", "notation": null}
nlprog_det-setting-0052326
What is the total rent on a 6-month lease at $975 a month? The rent over the term is $5,850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "5850", "printed": "5850", "notation": null}
nlprog_det-setting-0052327
With 7 rows of 21 chairs and 18 empty chairs, how many chairs are taken? Python makes this quick: ```python rows = 7 per_row = 21 empty = 18 seated = rows * per_row - empty # 129 print(seated) ``` The code prints: 129 129 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "129", "printed": "129", "notation": null}
nlprog_det-setting-0052328
Jae has 15 documents to file, and each filing costs $50. How much are the filing fees in total? Here is a short program for it. ```python fee = 50 filings = 15 total = fee * filings # 750 print(total) ``` (Run result: 750) $750 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0052329
<|start|><|user|> At a 6% tax rate, what is the tax on $374.42?<|eot|> <|assistant|> ```python price = 374.42 tax_rate = 6 / 100 # 0.06 tax = price * tax_rate # 22.4652 print(f"{tax:.2f}") ``` stdout — 22.47 $22.47 in tax.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At a 6% tax rate, what is the tax on $374.42?" }, { "role": "assistant", "content": "```python\nprice = 374.42\ntax_rate = 6 / 100 # 0.06\ntax = price * tax_rate # 22.4652\nprint(f\"{tax:.2f}\")\n```\nstdout — 22.47\n\n$22.47 in tax." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "22.47", "printed": "22.47", "notation": null}
nlprog_det-setting-0052330
Ines earns $22.40 an hour and time and a half for hours over 40. What is the pay for a 45-hour week? Ines earns $1,064.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "1064.00", "printed": "1064.00", "notation": null}
nlprog_det-setting-0052331
A lawyer's fee is 35% of a $12,000 recovery. How large is the fee? Computing it: ```python recovery = 12000 rate = 35 / 100 # 0.35 fee = recovery * rate # 4200.0 print(f"{fee:.2f}") ``` Output of the run — 4200.00 The fee is $4,200.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "4200.00", "printed": "4200.00", "notation": null}
nlprog_det-setting-0052332
Goods bought on September 9, 2024 carry a 6-month warranty. When does it expire? ```python from datetime import date start = date(2024, 9, 9) months = 6 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` Printed: 2025-03-09 I...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "2025-03-09", "printed": "2025-03-09", "notation": null}
nlprog_det-setting-0052333
A car travels 354 miles in 2 hours. What is its average speed in miles per hour? Let's compute it with Python. distance = 354 hours = 2 speed = distance / hours # 177.0 print(round(speed)) This prints 177. The average speed is 177 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "177", "printed": "177", "notation": null}
nlprog_det-setting-0052335
A 5 × 10 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up? Set it up in Python: ```python import math length = 5 width = 10 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 13 print(tiles) ``` stdout: 13 13 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0052336
30 sticky pads cost $4 apiece. With 10% tax added, what is the total? The computation: ```python quantity = 30 unit_price = 4 subtotal = quantity * unit_price # 120 total = subtotal * (1 + 10 / 100) # 132.0 print(f"{total:.2f}") ``` (Output: 132.00) The invoice total is $132.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "132.00", "printed": "132.00", "notation": null}
nlprog_det-setting-0052337
A room is 19 feet by 15 feet. Flooring costs $4 per square foot. What does it cost to floor the room? It costs $1,140.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "1140", "printed": "1140", "notation": null}
nlprog_det-setting-0052338
Pay is $25.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 41 hours? Python version: ```python rate = 25.0 hours = 41 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 37.5 pay = regular + overtime # 1037.5 print(f"{pay:.2f}") ``` Run output: 1037.50 Mateo earns $1,037...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "1037.50", "printed": "1037.50", "notation": null}
nlprog_det-setting-0052339
Straight-line depreciation: cost $18,000, salvage $6,000, 4 years. How much per year? ```python cost = 18000 salvage = 6000 years = 4 per_year = (cost - salvage) / years # 3000.0 print(f"{per_year:.2f}") ``` Program output: 3000.00 Depreciation is $3,000.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0052340
<|start|><|user|> An office budget of $12,000 has expenses of $3,895, $2,800, $3,154, $3,432. How much of the budget is left?<|eot|> <|assistant|> ```python budget = 12000 expenses = [3895, 2800, 3154, 3432] left = budget - sum(expenses) # -1281 print(left) ``` It prints: -1281 The remaining budget is -$1,281.<|eot|>...
chat
[ { "role": "user", "content": "An office budget of $12,000 has expenses of $3,895, $2,800, $3,154, $3,432. How much of the budget is left?" }, { "role": "assistant", "content": "```python\nbudget = 12000\nexpenses = [3895, 2800, 3154, 3432]\nleft = budget - sum(expenses) # -1281\nprint(left)\n``...
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "-1281", "printed": "-1281", "notation": null}
nlprog_det-setting-0052341
The landlord deducts $45, $120 and $85 from a $1,000 deposit. What is returned to the tenant? The refund is $750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0052342
A 12-month warranty starts on November 19, 2022. On what date does it end? Code: ```python from datetime import date start = date(2022, 11, 19) months = 12 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` Running this gives:...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "2023-11-19", "printed": "2023-11-19", "notation": null}
nlprog_det-setting-0052343
<|start|><|system|> Answer in plain English.<|eot|> <|user|> How many minutes pass from 8:42 AM to 10:59 AM on the same day?<|eot|> <|assistant|> ```python start = 8 * 60 + 42 end = 10 * 60 + 59 print(end - start) ``` Execution prints 137. 137 minutes pass.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "How many minutes pass from 8:42 AM to 10:59 AM on the same day?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 42\nend = 10 * 60 + 59\nprint(end - start)\n```\nExecution pri...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "137", "printed": "137", "notation": null}
nlprog_det-setting-0052345
At 45 miles per hour, how many minutes does a 255-mile trip take? Here's the code. ```python distance = 255 speed = 45 minutes = distance / speed * 60 # 340.0 print(round(minutes)) ``` # console output: 340 The trip takes 340 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "340", "printed": "340", "notation": null}
nlprog_det-setting-0052346
A shift runs from 8:51 AM to 12:21 PM. How long is it in minutes? Programmatically: ```python start = 8 * 60 + 51 # 531 end = 12 * 60 + 21 # 741 print(end - start) ``` Result — 210 It is 210 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "210", "printed": "210", "notation": null}
nlprog_det-setting-0052347
450 files go into boxes of 12. How many boxes does that take? ```python import math files = 450 per_box = 12 boxes = math.ceil(files / per_box) # 38 print(boxes) ``` Result — 38 It takes 38 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "38", "printed": "38", "notation": null}
nlprog_det-setting-0052348
<|start|><|system|> Keep explanations short.<|eot|> <|user|> Convert 1,847 USD to EUR at 1 USD = 0.74 EUR.<|eot|> <|assistant|> ```python amount = 1847 rate = 0.74 converted = amount * rate # 1366.78 print(f"{converted:.2f}") ``` Executing it gives 1366.78, as expected. It converts to 1,366.78 EUR.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Keep explanations short." }, { "role": "user", "content": "Convert 1,847 USD to EUR at 1 USD = 0.74 EUR." }, { "role": "assistant", "content": "```python\namount = 1847\nrate = 0.74\nconverted = amount * rate # 1366.78\nprint(f\"{converted:.2f}\")\n``...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "1366.78", "printed": "1366.78", "notation": null}
nlprog_det-setting-0052349
Bruna and Bilal share $1,260 in the ratio 1:3. How much does Bruna get? Computation in Python: total = 1260 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 315 print(share_a) When run, it prints 315, as expected. Bruna gets $315.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "315", "printed": "315", "notation": null}
nlprog_det-setting-0052350
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> What average speed covers 228 miles in 1.5 hours?<|eot|> <|assistant|> ```python distance = 228 hours = 1.5 speed = distance / hours # 152.0 print(round(speed)) ``` The printout reads: 152 It averages 152 miles per hour.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "What average speed covers 228 miles in 1.5 hours?" }, { "role": "assistant", "content": "```python\ndistance = 228\nhours = 1.5\nspeed = distance / hours # 152.0\nprint(round(sp...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "152", "printed": "152", "notation": null}
nlprog_det-setting-0052351
Pack A has 12 items for $11.09. Pack B has 15 items for $13.11. Which has the lower price per item? One way, in code: ```python pack_a = 11.09 / 12 # 0.9241666666666667 pack_b = 13.11 / 15 # 0.874 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) ``` Printed: B B has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0052352
At a 4% tax rate, what is the tax on $435.65? Let the code do the arithmetic: price = 435.65 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 17.426 print(f"{tax:.2f}") # stdout: 17.43 $17.43 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "17.43", "printed": "17.43", "notation": null}
nlprog_det-setting-0052353
<|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": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|u...
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\": {\"script\": {\"type\": \"string\", \"description\": \"Python so...
nlprog_det
setting
original
null
deterministic
[]
[]
243
{"gold": "48.60", "printed": "48.60", "notation": null}
nlprog_det-setting-0052354
Joelle lends $5,000 at 4% simple interest per year for 5 years. How much interest is earned? A short script: ```python principal = 5000 rate = 4 / 100 # 0.04 years = 5 interest = principal * rate * years # 1000.0 print(f"{interest:.2f}") ``` The script prints 1000.00. It earns $1,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "1000.00", "printed": "1000.00", "notation": null}
nlprog_det-setting-0052355
<|start|><|system|> You are a teaching assistant.<|eot|> <|user|> 2 books come back 15 days late, at $0.50 a day each. What is the fine?<|eot|> <|assistant|> ```python per_day = 0.5 days_late = 15 books = 2 fine = per_day * days_late * books # 15.0 print(f"{fine:.2f}") ``` The run gives 15.00, as expected. $15.00 is ...
chat
[ { "role": "system", "content": "You are a teaching assistant." }, { "role": "user", "content": "2 books come back 15 days late, at $0.50 a day each. What is the fine?" }, { "role": "assistant", "content": "```python\nper_day = 0.5\ndays_late = 15\nbooks = 2\nfine = per_day * days_lat...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "15.00", "printed": "15.00", "notation": null}
nlprog_det-setting-0052356
<|start|><|user|> At a 7% tax rate, what is the tax on $157.82?<|eot|> <|assistant|> ```python price = 157.82 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 11.047400000000001 print(f"{tax:.2f}") ``` Out: 11.05 The tax is $11.05.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At a 7% tax rate, what is the tax on $157.82?" }, { "role": "assistant", "content": "```python\nprice = 157.82\ntax_rate = 7 / 100 # 0.07\ntax = price * tax_rate # 11.047400000000001\nprint(f\"{tax:.2f}\")\n```\nOut: 11.05\n\nThe tax is $11.05." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "11.05", "printed": "11.05", "notation": null}
nlprog_det-setting-0052357
A library charges $0.25 per book per day late. What is the fine for 4 books that are 5 days late? ```python per_day = 0.25 days_late = 5 books = 4 fine = per_day * days_late * books # 5.0 print(f"{fine:.2f}") ``` Printed: 5.00 The fine is $5.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "5.00", "printed": "5.00", "notation": null}
nlprog_det-setting-0052358
$1,000 is invested at 3% compounded yearly. What is it worth after 4 years? In code: ```python principal = 1000 rate = 3 / 100 # 0.03 years = 4 value = principal * (1 + rate) ** years # 1125.50881 print(f"{value:.2f}") ``` The program prints 1125.51. The balance is $1,125.51.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "1125.51", "printed": "1125.51", "notation": null}
nlprog_det-setting-0052359
A 21-day notice period begins on February 15, 2026. On what date does it end? Set it up in Python: ```python from datetime import date, timedelta start = date(2026, 2, 15) # datetime.date(2026, 2, 15) end = start + timedelta(days=21) # datetime.date(2026, 3, 8) print(end.isoformat()) ``` The program prints: 2026-03-...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2026-03-08", "printed": "2026-03-08", "notation": null}
nlprog_det-setting-0052361
<|start|><|system|> Answer the user's question directly.<|eot|> <|user|> What day of the week is January 2, 2024?<|eot|> <|assistant|> ```python from datetime import date hearing = date(2024, 1, 2) # datetime.date(2024, 1, 2) print(hearing.strftime("%A")) ``` Python prints Tuesday, as expected. It is a Tuesday.<|eot|...
chat
[ { "role": "system", "content": "Answer the user's question directly." }, { "role": "user", "content": "What day of the week is January 2, 2024?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(2024, 1, 2) # datetime.date(2024, 1, 2)\nprint(...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "Tuesday", "printed": "Tuesday", "notation": null}
nlprog_det-setting-0052362
A customer buys 6 toner kits at $26 each, 3 markers at $15 each, 2 markers at $4 each, 4 chairs at $14 each and pays with $300. How much change is due? The change is $35.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
60
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0052364
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> One can of paint covers 350 square feet. How many cans are needed for 785 square feet of wall?<|eot|> <|assistant|> ```python import math area = 785 coverage = 350 cans = math.ceil(area / coverage) # 3 print(cans) ``` # out: 3 Buy 3 cans.<|eo...
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "One can of paint covers 350 square feet. How many cans are needed for 785 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 785\ncoverage...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0052365
<|start|><|user|> Rent of $1,250 goes up 4%. What is the new rent?<|eot|> <|assistant|> ```python rent = 1250 increase = 4 / 100 # 0.04 new_rent = rent * (1 + increase) # 1300.0 print(f"{new_rent:.2f}") ``` stdout: 1300.00 It rises to $1,300.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rent of $1,250 goes up 4%. What is the new rent?" }, { "role": "assistant", "content": "```python\nrent = 1250\nincrease = 4 / 100 # 0.04\nnew_rent = rent * (1 + increase) # 1300.0\nprint(f\"{new_rent:.2f}\")\n```\nstdout: 1300.00\n\nIt rises to $1,300.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "1300.00", "printed": "1300.00", "notation": null}
nlprog_det-setting-0052366
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "compute", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["p...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"compute\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"descr...
nlprog_det
setting
original
null
deterministic
[]
[]
208
{"gold": "45", "printed": "45", "notation": null}
nlprog_det-setting-0052367
Fuel for 180 miles at 40 mpg, with gas at $4.12/gallon: what is the cost? Fuel costs $18.54.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "18.54", "printed": "18.54", "notation": null}
nlprog_det-setting-0052368
Walls total 261 sq ft and each can covers 300 sq ft. How many cans should be bought? Python makes this quick: ```python import math area = 261 coverage = 300 cans = math.ceil(area / coverage) print(cans) ``` Console output: 1 Buy 1 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0052369
<|start|><|user|> A $2,400 loan carries 8% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> ```python principal = 2400 annual_rate = 8 / 100 # 0.08 months = 36 interest = principal * annual_rate * months / 12 # 576.0 payment...
chat
[ { "role": "user", "content": "A $2,400 loan carries 8% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": "```python\nprincipal = 2400\nannual_rate = 8 / 100 # 0.08\nmonths = 36\ninteres...
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "82.67", "printed": "82.67", "notation": null}
nlprog_det-setting-0052370
<|start|><|system|> Available functions (JSON Schema): {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}} {"name": "interpreter", "description": "Executes a Python program and returns its output.", "pa...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}\n{\"name\": \"interpreter\", \"description\"...
nlprog_det
setting
original
null
deterministic
[]
[]
276
{"gold": "2000", "printed": "2000", "notation": null}
nlprog_det-setting-0052371
<|start|><|system|> You can call tools. Available tools: [{"name": "calculator", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> A $240 dinn...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"calculator\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, ...
nlprog_det
setting
original
null
deterministic
[]
[]
241
{"gold": "70.80", "printed": "70.80", "notation": null}
nlprog_det-setting-0052372
<|start|><|user|> A shift runs from 10:43 AM to 1:36 PM. How long is it in minutes?<|eot|> <|assistant|> ```python start = 10 * 60 + 43 end = 13 * 60 + 36 print(end - start) ``` Executed, it shows: 173 173 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A shift runs from 10:43 AM to 1:36 PM. How long is it in minutes?" }, { "role": "assistant", "content": "```python\nstart = 10 * 60 + 43\nend = 13 * 60 + 36\nprint(end - start)\n```\nExecuted, it shows: 173\n\n173 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "173", "printed": "173", "notation": null}
nlprog_det-setting-0052373
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> With 10% off, what does a $45 bicycle helmet cost?<|eot|> <|assistant|> It costs $40.50.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "With 10% off, what does a $45 bicycle helmet cost?" }, { "role": "assistant", "content": "It costs $40.50." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "40.50", "printed": "40.50", "notation": null}
nlprog_det-setting-0052374
If a 150-minute appointment begins at 9:15 AM, what time does it finish? Python does the arithmetic: ```python start = 9 * 60 + 15 end = start + 150 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` When run, it prints 11:45 AM. It ends at 11:45 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "11:45 AM", "printed": "11:45 AM", "notation": null}