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-0065231
A count moves from 200 to 210. By what percent did it change (use a minus sign for a drop)? The change is 5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0065232
<|start|><|user|> Nikhil earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 47-hour week?<|eot|> <|assistant|> ```python rate = 16.0 hours = 47 regular = 40 * rate overtime = (hours - 40) * rate * 1.5 pay = regular + overtime print(f"{pay:.2f}") ``` What it prints — 808.00 Nikhil earns $...
chat
[ { "role": "user", "content": "Nikhil earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 47-hour week?" }, { "role": "assistant", "content": "```python\nrate = 16.0\nhours = 47\nregular = 40 * rate\novertime = (hours - 40) * rate * 1.5\npay = regular + overtime\npri...
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "808.00", "printed": "808.00", "notation": null}
nlprog_det-setting-0065233
A measure needs at least 60% of 186 votes. How many votes is that, rounded up? Python: ```python import math voters = 186 needed = math.ceil(voters * 60 / 100) # 112 print(needed) ``` # execution result: 112 112 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "112", "printed": "112", "notation": null}
nlprog_det-setting-0065234
A measure needs at least 60% of 107 votes. How many votes is that, rounded up? A Python solution: ```python import math voters = 107 needed = math.ceil(voters * 60 / 100) # 65 print(needed) ``` Python prints 65, as expected. At least 65 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "65", "printed": "65", "notation": null}
nlprog_det-setting-0065235
<|start|><|user|> A 4 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 4 width = 10 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 40 print(tiles) ``` Run it and it prints: 40 It takes 40 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 4 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 4\nwidth = 10\ntile = 1\ntiles = math.ceil(length * width / (tile * tile)) # 40\nprint(tiles)\n```\nRun it and i...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0065236
<|start|><|user|> Equipment costs $18,000, has a salvage value of $0, and a useful life of 8 years. What is the straight-line depreciation per year?<|eot|> <|assistant|> ```python cost = 18000 salvage = 0 years = 8 per_year = (cost - salvage) / years # 2250.0 print(f"{per_year:.2f}") ``` (stdout: 2250.00) Depreciatio...
chat
[ { "role": "user", "content": "Equipment costs $18,000, has a salvage value of $0, and a useful life of 8 years. What is the straight-line depreciation per year?" }, { "role": "assistant", "content": "```python\ncost = 18000\nsalvage = 0\nyears = 8\nper_year = (cost - salvage) / years # 2250.0\n...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "2250.00", "printed": "2250.00", "notation": null}
nlprog_det-setting-0065237
How much sales tax is charged on a $396.27 purchase at 6%? $23.78 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "23.78", "printed": "23.78", "notation": null}
nlprog_det-setting-0065238
<|start|><|user|> A party has 28 days to respond to a motion served on July 16, 2021, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2021, 7, 16) # datetime.date(2021, 7, 16) response_days = 28 mail_days = 3 due...
chat
[ { "role": "user", "content": "A party has 28 days to respond to a motion served on July 16, 2021, with 3 days added because service was by mail. When is the response due?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nserved = date(2021, 7, 16) # datetim...
nlprog_det
setting
original
null
deterministic
[]
[]
175
{"gold": "2021-08-16", "printed": "2021-08-16", "notation": null}
nlprog_det-setting-0065239
If a 2-year limitations period starts on April 18, 2017, when does it end? Python code: ```python from datetime import date accrued = date(2017, 4, 18) # datetime.date(2017, 4, 18) years = 2 expires = accrued.replace(year=accrued.year + years) # datetime.date(2019, 4, 18) print(expires.isoformat()) ``` The printout ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "2019-04-18", "printed": "2019-04-18", "notation": null}
nlprog_det-setting-0065240
<|start|><|system|> Functions: [{"name": "sandbox_python", "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|> Reza buys 7 boxes of 25 tap...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"sandbox_python\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"pr...
nlprog_det
setting
original
null
deterministic
[]
[]
233
{"gold": "170", "printed": "170", "notation": null}
nlprog_det-setting-0065241
<|start|><|user|> A 120-mile drive at a steady 40 mph takes how many minutes?<|eot|> <|assistant|> ```python distance = 120 speed = 40 minutes = distance / speed * 60 # 180.0 print(round(minutes)) ``` Running this gives 180. 180 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 120-mile drive at a steady 40 mph takes how many minutes?" }, { "role": "assistant", "content": "```python\ndistance = 120\nspeed = 40\nminutes = distance / speed * 60 # 180.0\nprint(round(minutes))\n```\nRunning this gives 180.\n\n180 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0065242
Under a 35% contingency agreement, what fee is owed on a $40,000 award? Code: ```python recovery = 40000 rate = 35 / 100 # 0.35 fee = recovery * rate # 14000.0 print(f"{fee:.2f}") ``` The interpreter prints 14000.00. The lawyer's fee comes to $14,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "14000.00", "printed": "14000.00", "notation": null}
nlprog_det-setting-0065243
An invoice lists 21 scissors at $3 each, plus 6% sales tax. What is the invoice total? Here is the program. ```python quantity = 21 unit_price = 3 subtotal = quantity * unit_price # 63 total = subtotal * (1 + 6 / 100) # 66.78 print(f"{total:.2f}") ``` The printout reads 66.78. The total with tax is $66.78.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "66.78", "printed": "66.78", "notation": null}
nlprog_det-setting-0065244
159 volunteers are split into 4 equal teams. How many are on each team, and how many are left over? The answer: 39 each, 3 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "39 each, 3 left over", "printed": "39 each, 3 left over", "notation": null}
nlprog_det-setting-0065245
<|start|><|user|> Zainab buys 5 boxes of 8 paper reams each and gives away 10 paper reams. How many paper reams are left?<|eot|> <|assistant|> ```python boxes = 5 per_box = 8 given_away = 10 left = boxes * per_box - given_away print(left) ``` Running it prints 30, as expected. That leaves 30 paper reams.<|eot|> <|end|...
chat
[ { "role": "user", "content": "Zainab buys 5 boxes of 8 paper reams each and gives away 10 paper reams. How many paper reams are left?" }, { "role": "assistant", "content": "```python\nboxes = 5\nper_box = 8\ngiven_away = 10\nleft = boxes * per_box - given_away\nprint(left)\n```\nRunning it print...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0065246
A count moves from 1,000 to 900. By what percent did it change (use a minus sign for a drop)? It changed by -10%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "-10", "printed": "-10", "notation": null}
nlprog_det-setting-0065247
<|start|><|user|> A 36-month warranty starts on June 18, 2019. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2019, 6, 18) months = 36 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat...
chat
[ { "role": "user", "content": "A 36-month warranty starts on June 18, 2019. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2019, 6, 18)\nmonths = 36\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(start.ye...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2022-06-18", "printed": "2022-06-18", "notation": null}
nlprog_det-setting-0065248
<|start|><|user|> Divide 262 items among 5 groups as evenly as possible with equal groups. How many per group, and how many remain?<|eot|> <|assistant|> total = 262 groups = 5 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") The program prints 52 each, 2 lef...
chat
[ { "role": "user", "content": "Divide 262 items among 5 groups as evenly as possible with equal groups. How many per group, and how many remain?" }, { "role": "assistant", "content": " total = 262\n groups = 5\n per_group, remainder = divmod(total, groups)\n print(f\"{per_group} each,...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "52 each, 2 left over", "printed": "52 each, 2 left over", "notation": null}
nlprog_det-setting-0065249
<|start|><|user|> A jacket costs $180. It is 10% off. What is the sale price?<|eot|> <|assistant|> ```python price = 180 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 162.0 print(f"{sale_price:.2f}") ``` Python prints 162.00, as expected. The sale price is $162.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A jacket costs $180. It is 10% off. What is the sale price?" }, { "role": "assistant", "content": "```python\nprice = 180\ndiscount = 10 / 100 # 0.1\nsale_price = price * (1 - discount) # 162.0\nprint(f\"{sale_price:.2f}\")\n```\nPython prints 162.00, as expected....
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "162.00", "printed": "162.00", "notation": null}
nlprog_det-setting-0065250
A meal costs $54.93. How much is a 10% tip? Python: ```python bill = 54.93 tip_rate = 10 / 100 # 0.1 tip = bill * tip_rate # 5.493 print(f"{tip:.2f}") ``` The run gives 5.49. The tip is $5.49.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "5.49", "printed": "5.49", "notation": null}
nlprog_det-setting-0065251
<|start|><|user|> Nikhil was born on December 13, 2010. How old is Nikhil on October 5, 2030?<|eot|> <|assistant|> ```python from datetime import date born = date(2010, 12, 13) # datetime.date(2010, 12, 13) on = date(2030, 10, 5) # datetime.date(2030, 10, 5) age = on.year - born.year - ((on.month, on.day) < (born.mon...
chat
[ { "role": "user", "content": "Nikhil was born on December 13, 2010. How old is Nikhil on October 5, 2030?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nborn = date(2010, 12, 13) # datetime.date(2010, 12, 13)\non = date(2030, 10, 5) # datetime.date(2030, 10, 5)\na...
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0065252
A library charges $0.15 per book per day late. What is the fine for 1 books that are 2 days late? Programmatically: ```python per_day = 0.15 days_late = 2 books = 1 fine = per_day * days_late * books # 0.3 print(f"{fine:.2f}") ``` Executing it gives 0.30, as expected. $0.30 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "0.30", "printed": "0.30", "notation": null}
nlprog_det-setting-0065253
<|start|><|system|> You may call the tools below. {"name": "eval_python", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> Split $5,328 betwee...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"eval_python\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
242
{"gold": "1998", "printed": "1998", "notation": null}
nlprog_det-setting-0065254
<|start|><|user|> 156 files go into boxes of 24. How many boxes does that take?<|eot|> <|assistant|> ```python import math files = 156 per_box = 24 boxes = math.ceil(files / per_box) # 7 print(boxes) ``` Result = 7 7 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "156 files go into boxes of 24. How many boxes does that take?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 156\nper_box = 24\nboxes = math.ceil(files / per_box) # 7\nprint(boxes)\n```\nResult = 7\n\n7 boxes are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0065255
<|start|><|user|> Equipment costs $24,000, has a salvage value of $3,000, and a useful life of 10 years. What is the straight-line depreciation per year?<|eot|> <|assistant|> $2,100.00 a year.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Equipment costs $24,000, has a salvage value of $3,000, and a useful life of 10 years. What is the straight-line depreciation per year?" }, { "role": "assistant", "content": "$2,100.00 a year." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "2100.00", "printed": "2100.00", "notation": null}
nlprog_det-setting-0065256
Each storage box holds 40 files. How many boxes are needed for 217 files? In code: ```python import math files = 217 per_box = 40 boxes = math.ceil(files / per_box) # 6 print(boxes) ``` Printed: 6 6 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "6", "printed": "6", "notation": null}
nlprog_det-setting-0065257
The paralegal logged 8 hours at a rate of $300. How much is billed? We write it as a program: ```python hours = 8 rate = 300 bill = hours * rate # 2400 print(f"{bill:.2f}") ``` The run gives: 2400.00 That comes to $2,400.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "2400.00", "printed": "2400.00", "notation": null}
nlprog_det-setting-0065258
A lease runs for 36 months at $2,100 per month. How much rent is paid over the whole term? The program: ```python monthly_rent = 2100 months = 36 total = monthly_rent * months # 75600 print(total) ``` Run it and it prints 75600. The rent over the term is $75,600.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "75600", "printed": "75600", "notation": null}
nlprog_det-setting-0065259
<|start|><|user|> A 38 lb package ships at $8 base plus $2.00/lb. What is the charge?<|eot|> <|assistant|> ```python base = 8 per_pound = 2.0 weight = 38 cost = base + per_pound * weight # 84.0 print(f"{cost:.2f}") ``` The code prints: 84.00 The charge is $84.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 38 lb package ships at $8 base plus $2.00/lb. What is the charge?" }, { "role": "assistant", "content": "```python\nbase = 8\nper_pound = 2.0\nweight = 38\ncost = base + per_pound * weight # 84.0\nprint(f\"{cost:.2f}\")\n```\nThe code prints: 84.00\n\nThe charge ...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "84.00", "printed": "84.00", "notation": null}
nlprog_det-setting-0065260
<|start|><|user|> A 8-day trip pays $59 a day for meals and $175 a night for lodging (7 nights). What is the total allowance?<|eot|> <|assistant|> ```python days = 8 meal_rate = 59 lodging_rate = 175 nights = days - 1 total = days * meal_rate + nights * lodging_rate print(total) ``` Program output — 1697 The allowance...
chat
[ { "role": "user", "content": "A 8-day trip pays $59 a day for meals and $175 a night for lodging (7 nights). What is the total allowance?" }, { "role": "assistant", "content": "```python\ndays = 8\nmeal_rate = 59\nlodging_rate = 175\nnights = days - 1\ntotal = days * meal_rate + nights * lodging...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "1697", "printed": "1697", "notation": null}
nlprog_det-setting-0065261
<|start|><|user|> A settlement of $1,200 is split equally among 6 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 1200 parties = 6 share = settlement // parties # 200 print(share) ``` Executed, it shows 200. Each party receives $200.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A settlement of $1,200 is split equally among 6 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 1200\nparties = 6\nshare = settlement // parties # 200\nprint(share)\n```\nExecuted, it shows 200.\n\nEach part...
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "200", "printed": "200", "notation": null}
nlprog_det-setting-0065262
A 28 lb package ships at $10 base plus $1.50/lb. What is the charge? Script: ```python base = 10 per_pound = 1.5 weight = 28 cost = base + per_pound * weight # 52.0 print(f"{cost:.2f}") ``` The run gives: 52.00 Shipping costs $52.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "52.00", "printed": "52.00", "notation": null}
nlprog_det-setting-0065263
<|start|><|system|> Give the answer first.<|eot|> <|user|> A measure needs at least 60% of 153 votes. How many votes is that, rounded up?<|eot|> <|assistant|> ```python import math voters = 153 needed = math.ceil(voters * 60 / 100) # 92 print(needed) ``` When run, it prints 92. 92 votes are needed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "A measure needs at least 60% of 153 votes. How many votes is that, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 153\nneeded = math.ceil(voters * 60 / 100) ...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "92", "printed": "92", "notation": null}
nlprog_det-setting-0065264
<|start|><|user|> Fixed costs are $4,000. Each unit sells for $25 and costs $19 to make. How many units must be sold to break even?<|eot|> <|assistant|> ```python import math fixed = 4000 price = 25 variable = 19 units = math.ceil(fixed / (price - variable)) # 667 print(units) ``` Result: 667 667 units are needed.<|e...
chat
[ { "role": "user", "content": "Fixed costs are $4,000. Each unit sells for $25 and costs $19 to make. How many units must be sold to break even?" }, { "role": "assistant", "content": "```python\nimport math\nfixed = 4000\nprice = 25\nvariable = 19\nunits = math.ceil(fixed / (price - variable)) #...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "667", "printed": "667", "notation": null}
nlprog_det-setting-0065265
How many units at $30 each (variable cost $26) cover $9,000 of fixed costs? Here is the program. ```python import math fixed = 9000 price = 30 variable = 26 units = math.ceil(fixed / (price - variable)) # 2250 print(units) ``` (Program output: 2250) Break-even is 2250 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "2250", "printed": "2250", "notation": null}
nlprog_det-setting-0065267
At $18.08 an hour, what does 30 hours of work pay? Script: ```python rate = 18.08 hours = 30 earnings = rate * hours # 542.4 print(f"{earnings:.2f}") ``` Run result: 542.40 The pay is $542.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "542.40", "printed": "542.40", "notation": null}
nlprog_det-setting-0065268
<|start|><|user|> A garage charges $4 an hour, never more than $18 a day. How much for 8 hours?<|eot|> <|assistant|> rate = 4 hours = 8 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) (Console output: 18) Parking costs $18.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A garage charges $4 an hour, never more than $18 a day. How much for 8 hours?" }, { "role": "assistant", "content": " rate = 4\n hours = 8\n daily_max = 18\n cost = min(rate * hours, daily_max) # 18\n print(cost)\n(Console output: 18)\n\nParking cost...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0065269
6 friends split a $240 bill plus a 20% tip evenly. How much does each pay? ```python bill = 240 tip_rate = 20 / 100 # 0.2 people = 6 each = bill * (1 + tip_rate) / people # 48.0 print(f"{each:.2f}") ``` Running this gives: 48.00 The share is $48.00 each.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "48.00", "printed": "48.00", "notation": null}
nlprog_det-setting-0065270
<|start|><|user|> A hearing is set for September 3, 2005. What day of the week is that?<|eot|> <|assistant|> ```python from datetime import date hearing = date(2005, 9, 3) # datetime.date(2005, 9, 3) print(hearing.strftime("%A")) ``` Python prints Saturday, as expected. It is a Saturday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hearing is set for September 3, 2005. What day of the week is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(2005, 9, 3) # datetime.date(2005, 9, 3)\nprint(hearing.strftime(\"%A\"))\n```\nPython prints Saturday, ...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "Saturday", "printed": "Saturday", "notation": null}
nlprog_det-setting-0065271
A customer buys 6 pens at $8 each, 6 batteries at $20 each, 2 badges at $7 each and pays with $200. How much change is due? In code: items = [(6, 8), (6, 20), (2, 7)] total = sum(q * p for q, p in items) # 182 paid = 200 change = paid - total # 18 print(change) Printed: 18 The change is $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0065272
<|start|><|user|> A seminar starts at 8:10 AM and lasts 75 minutes. When does it end?<|eot|> <|assistant|> It ends at 9:25 AM.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A seminar starts at 8:10 AM and lasts 75 minutes. When does it end?" }, { "role": "assistant", "content": "It ends at 9:25 AM." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "9:25 AM", "printed": "9:25 AM", "notation": null}
nlprog_det-setting-0065273
<|start|><|system|> Avoid unnecessary detail.<|eot|> <|user|> What does $10,000 grow to in 5 years at 3% annual compounding?<|eot|> <|assistant|> ```python principal = 10000 rate = 3 / 100 # 0.03 years = 5 value = principal * (1 + rate) ** years # 11592.740743 print(f"{value:.2f}") ``` The run gives 11592.74, as expe...
chat
[ { "role": "system", "content": "Avoid unnecessary detail." }, { "role": "user", "content": "What does $10,000 grow to in 5 years at 3% annual compounding?" }, { "role": "assistant", "content": "```python\nprincipal = 10000\nrate = 3 / 100 # 0.03\nyears = 5\nvalue = principal * (1 + ...
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "11592.74", "printed": "11592.74", "notation": null}
nlprog_det-setting-0065274
<|start|><|system|> Tools you may use: [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "obje...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"translate\", \"description\": \"Translate ...
nlprog_det
setting
original
null
deterministic
[]
[]
383
{"gold": "85", "printed": "85", "notation": null}
nlprog_det-setting-0065275
Straight-line depreciation: cost $12,000, salvage $6,000, 4 years. How much per year? Python code: cost = 12000 salvage = 6000 years = 4 per_year = (cost - salvage) / years # 1500.0 print(f"{per_year:.2f}") Program output: 1500.00 Depreciation is $1,500.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "1500.00", "printed": "1500.00", "notation": null}
nlprog_det-setting-0065276
A party has 30 days to respond to a motion served on October 13, 2021, with 3 days added because service was by mail. When is the response due? In code: ```python from datetime import date, timedelta served = date(2021, 10, 13) # datetime.date(2021, 10, 13) response_days = 30 mail_days = 3 due = served + timedelta(da...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
175
{"gold": "2021-11-15", "printed": "2021-11-15", "notation": null}
nlprog_det-setting-0065277
Each storage box holds 20 files. How many boxes are needed for 66 files? Written as code: ```python import math files = 66 per_box = 20 boxes = math.ceil(files / per_box) # 4 print(boxes) ``` # execution result: 4 It takes 4 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0065278
If a 135-minute meeting begins at 9:45 AM, what time does it finish? Script: ```python start = 9 * 60 + 45 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` stdout = 12:00 PM The meeting finishes at 12:00 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "12:00 PM", "printed": "12:00 PM", "notation": null}
nlprog_det-setting-0065279
How many minutes pass from 7:17 AM to 8:59 AM on the same day? The computation: ```python start = 7 * 60 + 17 end = 8 * 60 + 59 print(end - start) ``` The code prints: 102 It is 102 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "102", "printed": "102", "notation": null}
nlprog_det-setting-0065280
A meal costs $89.15. How much is a 18% tip? Here is the program. ```python bill = 89.15 tip_rate = 18 / 100 # 0.18 tip = bill * tip_rate # 16.047 print(f"{tip:.2f}") ``` Program output: 16.05 The tip is $16.05.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "16.05", "printed": "16.05", "notation": null}
nlprog_det-setting-0065281
<|start|><|system|> You are a helpful assistant.<|eot|> <|user|> A garage charges $2 an hour, never more than $24 a day. How much for 4 hours?<|eot|> <|assistant|> The charge is $8.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "A garage charges $2 an hour, never more than $24 a day. How much for 4 hours?" }, { "role": "assistant", "content": "The charge is $8." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0065282
Equal monthly payments repay $9,000 plus 5% simple yearly interest over 12 months. How large is a payment? Python makes this quick: ```python principal = 9000 annual_rate = 5 / 100 # 0.05 months = 12 interest = principal * annual_rate * months / 12 # 450.0 payment = (principal + interest) / months # 787.5 print(f"{...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "787.50", "printed": "787.50", "notation": null}
nlprog_det-setting-0065283
Monthly rent is $1,800. A tenant moves in with 5 days left in a 30-day month. What is the prorated rent? Python, step by step: ```python rent = 1800 days_in_month = 30 days_occupied = 5 prorated = rent * days_occupied / days_in_month # 300.0 print(f"{prorated:.2f}") ``` Run output: 300.00 The tenant owes $300.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "300.00", "printed": "300.00", "notation": null}
nlprog_det-setting-0065284
Goods bought on July 7, 2024 carry a 24-month warranty. When does it expire? Python version: ```python from datetime import date start = date(2024, 7, 7) months = 24 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` Run it an...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "2026-07-07", "printed": "2026-07-07", "notation": null}
nlprog_det-setting-0065285
49 copies of a 47-page packet are printed at $0.05 per page. What is the cost? Python does the arithmetic: ```python pages = 47 copies = 49 cost_per_page = 0.05 cost = pages * copies * cost_per_page # 115.15 print(f"{cost:.2f}") ``` # printed result: 115.15 Printing costs $115.15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "115.15", "printed": "115.15", "notation": null}
nlprog_det-setting-0065286
<|start|><|user|> What is 40 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> ```python celsius = 40 fahrenheit = celsius * 9 / 5 + 32 # 104.0 print(round(fahrenheit)) ``` Output of the run: 104 It equals 104 degrees Fahrenheit.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is 40 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "```python\ncelsius = 40\nfahrenheit = celsius * 9 / 5 + 32 # 104.0\nprint(round(fahrenheit))\n```\nOutput of the run: 104\n\nIt equals 104 degrees Fahrenheit." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "104", "printed": "104", "notation": null}
nlprog_det-setting-0065287
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "eval_python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": [...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"eval_python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"des...
nlprog_det
setting
original
null
deterministic
[]
[]
348
{"gold": "57", "printed": "57", "notation": null}
nlprog_det-setting-0065288
<|start|><|system|> Give the answer first.<|eot|> <|user|> Equipment costs $18,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year?<|eot|> <|assistant|> ```python cost = 18000 salvage = 2000 years = 5 per_year = (cost - salvage) / years # 3200.0 print(f"{pe...
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "Equipment costs $18,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year?" }, { "role": "assistant", "content": "```python\ncost = 180...
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "3200.00", "printed": "3200.00", "notation": null}
nlprog_det-setting-0065289
With 15% off, what does a $45 bicycle helmet cost? We write it as a program: ```python price = 45 discount = 15 / 100 # 0.15 sale_price = price * (1 - discount) # 38.25 print(f"{sale_price:.2f}") ``` Program output: 38.25 It costs $38.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "38.25", "printed": "38.25", "notation": null}
nlprog_det-setting-0065290
A hall has 26 rows of 23 seats, and 32 seats are empty. How many people are seated? Set it up in Python: ```python rows = 26 per_row = 23 empty = 32 seated = rows * per_row - empty # 566 print(seated) ``` Execution result: 566 566 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "566", "printed": "566", "notation": null}
nlprog_det-setting-0065291
<|start|><|user|> How many weekdays (Monday to Friday) fall after October 3, 2026 up to and including October 14, 2026?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 10, 3) end = date(2026, 10, 14) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(da...
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after October 3, 2026 up to and including October 14, 2026?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 10, 3)\nend = date(2026, 10, 14)\ncount = 0\nfor k in ran...
nlprog_det
setting
original
null
deterministic
[]
[]
157
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0065292
A client paid a $7,500 retainer. The firm has billed 10 hours at $275 per hour. How much of the retainer is left? The program: ```python retainer = 7500 hours = 10 rate = 275 left = retainer - hours * rate # 4750 print(left) ``` Python prints: 4750 The remaining balance is $4,750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "4750", "printed": "4750", "notation": null}
nlprog_det-setting-0065293
<|start|><|user|> A filing cabinet costs $180. It is 40% off. What is the sale price?<|eot|> <|assistant|> ```python price = 180 discount = 40 / 100 # 0.4 sale_price = price * (1 - discount) # 108.0 print(f"{sale_price:.2f}") ``` Run result — 108.00 The sale price is $108.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A filing cabinet costs $180. It is 40% off. What is the sale price?" }, { "role": "assistant", "content": "```python\nprice = 180\ndiscount = 40 / 100 # 0.4\nsale_price = price * (1 - discount) # 108.0\nprint(f\"{sale_price:.2f}\")\n```\nRun result — 108.00\n\nThe...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "108.00", "printed": "108.00", "notation": null}
nlprog_det-setting-0065294
<|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": "math_engine", "description": "Executes a Python program ...
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\": \"ma...
nlprog_det
setting
original
null
deterministic
[]
[]
384
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0065295
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> One can of paint covers 400 square feet. How many cans are needed for 1349 square feet of wall?<|eot|> <|assistant|> ```python import math area = 1349 coverage = 400 cans = math.ceil(area / coverage) print(cans) ``` When run, it prints 4, as expected....
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "One can of paint covers 400 square feet. How many cans are needed for 1349 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1349\ncoverage = 40...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0065296
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> A client paid a $5,000 retainer. The firm has billed 6 hours at $200 per hour. How much of the retainer is left?<|eot|> <|assistant|> retainer = 5000 hours = 6 rate = 200 left = retainer - hours * rate # 3800 print(left) The program print...
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "A client paid a $5,000 retainer. The firm has billed 6 hours at $200 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": " retainer = 5000\n hours = 6\n r...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "3800", "printed": "3800", "notation": null}
nlprog_det-setting-0065297
<|start|><|user|> To read 175 pages in 5 days, how many pages per day are needed?<|eot|> <|assistant|> ```python pages = 175 days = 5 per_day = pages // days # 35 print(per_day) ``` # stdout: 35 35 pages a day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "To read 175 pages in 5 days, how many pages per day are needed?" }, { "role": "assistant", "content": "```python\npages = 175\ndays = 5\nper_day = pages // days # 35\nprint(per_day)\n```\n# stdout: 35\n\n35 pages a day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0065298
<|start|><|system|> You can call tools. Available tools: [{"name": "sandbox_python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}, {"name": "b...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"sandbox_python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python sour...
nlprog_det
setting
original
null
deterministic
[]
[]
317
{"gold": "80", "printed": "80", "notation": null}
nlprog_det-setting-0065299
<|start|><|user|> What percentage of $2,000 is $900?<|eot|> <|assistant|> budget = 2000 spent = 900 percent = spent / budget * 100 # 45.0 print(round(percent, 1)) # output: 45.0 45.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $2,000 is $900?" }, { "role": "assistant", "content": " budget = 2000\n spent = 900\n percent = spent / budget * 100 # 45.0\n print(round(percent, 1))\n# output: 45.0\n\n45.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
68
{"gold": "45.0", "printed": "45.0", "notation": null}
nlprog_det-setting-0065300
Pay is $22.40/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 52 hours? ```python rate = 22.4 hours = 52 regular = 40 * rate # 896.0 overtime = (hours - 40) * rate * 1.5 # 403.19999999999993 pay = regular + overtime # 1299.1999999999998 print(f"{pay:.2f}") ``` Printed result — 1299.20 Omar...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
149
{"gold": "1299.20", "printed": "1299.20", "notation": null}
nlprog_det-setting-0065301
Each of Kaito's bike rides burns 200 calories. How many calories over 5 bike rides? Here's the code. ```python per_session = 200 sessions = 5 total = per_session * sessions # 1000 print(total) ``` Result = 1000 1000 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0065302
<|start|><|user|> A customer buys 6 staplers at $22 each, 5 file boxes at $27 each, 6 lanyards at $16 each, 5 keyboards at $18 each and pays with $500. How much change is due?<|eot|> <|assistant|> items = [(6, 22), (5, 27), (6, 16), (5, 18)] total = sum(q * p for q, p in items) paid = 500 change = paid ...
chat
[ { "role": "user", "content": "A customer buys 6 staplers at $22 each, 5 file boxes at $27 each, 6 lanyards at $16 each, 5 keyboards at $18 each and pays with $500. How much change is due?" }, { "role": "assistant", "content": " items = [(6, 22), (5, 27), (6, 16), (5, 18)]\n total = sum(q *...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "47", "printed": "47", "notation": null}
nlprog_det-setting-0065303
Each storage box holds 15 files. How many boxes are needed for 819 files? Here is a short program for it. ```python import math files = 819 per_box = 15 boxes = math.ceil(files / per_box) # 55 print(boxes) ``` (Printed result: 55) 55 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "55", "printed": "55", "notation": null}
nlprog_det-setting-0065304
<|start|><|user|> At 2% a month (simple), what interest builds on $7,500 over 3 months?<|eot|> <|assistant|> $450.00 accrues.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 2% a month (simple), what interest builds on $7,500 over 3 months?" }, { "role": "assistant", "content": "$450.00 accrues." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0065305
<|start|><|system|> Keep answers short and correct.<|eot|> <|user|> A $9,000 loan carries 6% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> ```python principal = 9000 annual_rate = 6 / 100 # 0.06 months = 36 interest = prin...
chat
[ { "role": "system", "content": "Keep answers short and correct." }, { "role": "user", "content": "A $9,000 loan carries 6% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": "...
nlprog_det
setting
original
null
deterministic
[]
[]
159
{"gold": "295.00", "printed": "295.00", "notation": null}
nlprog_det-setting-0065306
<|start|><|user|> Prorate $2,400 of monthly rent for 6 days of a 31-day month.<|eot|> <|assistant|> ```python rent = 2400 days_in_month = 31 days_occupied = 6 prorated = rent * days_occupied / days_in_month # 464.51612903225805 print(f"{prorated:.2f}") ``` Interpreter output — 464.52 The tenant owes $464.52.<|eot|> <...
chat
[ { "role": "user", "content": "Prorate $2,400 of monthly rent for 6 days of a 31-day month." }, { "role": "assistant", "content": "```python\nrent = 2400\ndays_in_month = 31\ndays_occupied = 6\nprorated = rent * days_occupied / days_in_month # 464.51612903225805\nprint(f\"{prorated:.2f}\")\n```\...
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "464.52", "printed": "464.52", "notation": null}
nlprog_det-setting-0065307
<|start|><|user|> With $12,500 in costs and $15,000 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> ```python revenue = 15000 costs = 12500 profit = revenue - costs # 2500 margin = profit / revenue * 100 # 16.666666666666664 print(round(margin, 1)) ``` Running this gives 16.7...
chat
[ { "role": "user", "content": "With $12,500 in costs and $15,000 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "```python\nrevenue = 15000\ncosts = 12500\nprofit = revenue - costs # 2500\nmargin = profit / revenue * 100 # 16.666666666...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "16.7", "printed": "16.7", "notation": null}
nlprog_det-setting-0065308
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> A penalty of $25 a day accrues, capped at $1,000. What is owed after 14 days?<|eot|> <|assistant|> ```python per_day = 25 days = 14 cap = 1000 fine = min(per_day * days, cap) # 350 print(fine) ``` Output: 350 $350 is owed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "A penalty of $25 a day accrues, capped at $1,000. What is owed after 14 days?" }, { "role": "assistant", "content": "```python\nper_day = 25\ndays = 14\ncap = 1000\nfine = min(per_d...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "350", "printed": "350", "notation": null}
nlprog_det-setting-0065309
Starting with 1827 toner kits and using 32 per day, how many remain after 3 days? Here's the code. ```python stock = 1827 per_day = 32 days = 3 left = stock - per_day * days # 1731 print(left) ``` Run output — 1731 1731 toner kits are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "1731", "printed": "1731", "notation": null}
nlprog_det-setting-0065310
<|start|><|user|> A $48,000 grant pays $3,000 up front and the rest in 6 equal installments. How large is each installment?<|eot|> <|assistant|> ```python grant = 48000 up_front = 3000 installments = 6 each = (grant - up_front) / installments # 7500.0 print(f"{each:.2f}") ``` Run it and it prints 7500.00. Each instal...
chat
[ { "role": "user", "content": "A $48,000 grant pays $3,000 up front and the rest in 6 equal installments. How large is each installment?" }, { "role": "assistant", "content": "```python\ngrant = 48000\nup_front = 3000\ninstallments = 6\neach = (grant - up_front) / installments # 7500.0\nprint(f\...
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "7500.00", "printed": "7500.00", "notation": null}
nlprog_det-setting-0065311
A recipe for 8 people uses 200 grams of lentils. How many grams are needed for 10 people? The program: ```python grams = 200 serves = 8 needed_for = 10 scaled = grams * needed_for // serves # 250 print(scaled) ``` On running, it outputs: 250 250 grams of lentils are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "250", "printed": "250", "notation": null}
nlprog_det-setting-0065312
Express 286 hours in days and hours. In Python: ```python hours = 286 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` The interpreter prints 11 days and 22 hours. That is 11 days and 22 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "11 days and 22 hours", "printed": "11 days and 22 hours", "notation": null}
nlprog_det-setting-0065313
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> 3 claimants share a $525 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 525 parties = 3 share = settlement // parties # 175 print(share) ``` The program outputs 175. Each share is $175.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "3 claimants share a $525 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 525\nparties = 3\nshare = settlement // parties # 175\nprint(sha...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "175", "printed": "175", "notation": null}
nlprog_det-setting-0065314
37 hard drives cost $15 apiece. With 7% tax added, what is the total? The total with tax is $593.85.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "593.85", "printed": "593.85", "notation": null}
nlprog_det-setting-0065315
$5,000 is invested at 4% compounded yearly. What is it worth after 5 years? Computation in Python: ```python principal = 5000 rate = 4 / 100 # 0.04 years = 5 value = principal * (1 + rate) ** years # 6083.264512000001 print(f"{value:.2f}") ``` It prints: 6083.26 The balance is $6,083.26.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "6083.26", "printed": "6083.26", "notation": null}
nlprog_det-setting-0065316
Monthly rent is $900. A tenant moves in with 18 days left in a 31-day month. What is the prorated rent? Computation in Python: rent = 900 days_in_month = 31 days_occupied = 18 prorated = rent * days_occupied / days_in_month # 522.5806451612904 print(f"{prorated:.2f}") Running this gives 522.58. T...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "522.58", "printed": "522.58", "notation": null}
nlprog_det-setting-0065317
A car travels 246 miles in 2 hours. What is its average speed in miles per hour? Program: ```python distance = 246 hours = 2 speed = distance / hours # 123.0 print(round(speed)) ``` Executing it gives 123. The average speed is 123 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "123", "printed": "123", "notation": null}
nlprog_det-setting-0065318
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "compute", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|>...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"compute\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source ...
nlprog_det
setting
original
null
deterministic
[]
[]
222
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0065319
At a 4% tax rate, what is the tax on $337.57? Let's compute it with Python. ```python price = 337.57 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 13.5028 print(f"{tax:.2f}") ``` (Run result: 13.50) The tax is $13.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "13.50", "printed": "13.50", "notation": null}
nlprog_det-setting-0065320
At $0.67 per mile, what is the reimbursement for 98 miles? Python makes this quick: ```python miles = 98 rate = 0.67 reimbursement = miles * rate # 65.66000000000001 print(f"{reimbursement:.2f}") ``` The printout reads: 65.66 Kofi is owed $65.66.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "65.66", "printed": "65.66", "notation": null}
nlprog_det-setting-0065321
A 9-day trip pays $79 a day for meals and $110 a night for lodging (8 nights). What is the total allowance? Program: days = 9 meal_rate = 79 lodging_rate = 110 nights = days - 1 # 8 total = days * meal_rate + nights * lodging_rate # 1591 print(total) Program output: 1591 The allowance is $1,...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "1591", "printed": "1591", "notation": null}
nlprog_det-setting-0065322
<|start|><|user|> Express 136 hours in days and hours.<|eot|> <|assistant|> ```python hours = 136 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Result = 5 days and 16 hours That is 5 days and 16 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Express 136 hours in days and hours." }, { "role": "assistant", "content": "```python\nhours = 136\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\nResult = 5 days and 16 hours\n\nThat is 5 days and 16 hours." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "5 days and 16 hours", "printed": "5 days and 16 hours", "notation": null}
nlprog_det-setting-0065323
<|start|><|system|> Keep explanations short.<|eot|> <|user|> Someone works 12 hours at $17.62 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 17.62 hours = 12 earnings = rate * hours # 211.44 print(f"{earnings:.2f}") ``` Running it prints: 211.44 That earns $211.44.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Keep explanations short." }, { "role": "user", "content": "Someone works 12 hours at $17.62 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 17.62\nhours = 12\nearnings = rate * hours # 211.44\nprint(f\"{earnin...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "211.44", "printed": "211.44", "notation": null}
nlprog_det-setting-0065324
<|start|><|system|> Answer in plain English.<|eot|> <|user|> On which weekday does August 12, 2026 fall?<|eot|> <|assistant|> August 12, 2026 is a Wednesday.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "On which weekday does August 12, 2026 fall?" }, { "role": "assistant", "content": "August 12, 2026 is a Wednesday." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0065325
Walls total 1211 sq ft and each can covers 250 sq ft. How many cans should be bought? In code: import math area = 1211 coverage = 250 cans = math.ceil(area / coverage) # 5 print(cans) # run result: 5 5 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0065326
An office budget of $8,000 has expenses of $3,144, $3,638. How much of the budget is left? Here is a short program for it. ```python budget = 8000 expenses = [3144, 3638] left = budget - sum(expenses) # 1218 print(left) ``` Printed: 1218 $1,218 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1218", "printed": "1218", "notation": null}
nlprog_det-setting-0065327
7 bike rides at 150 calories each burn how many calories in total? As Python: ```python per_session = 150 sessions = 7 total = per_session * sessions # 1050 print(total) ``` Shell output: 1050 1050 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "1050", "printed": "1050", "notation": null}
nlprog_det-setting-0065328
How much sales tax is charged on a $228.17 purchase at 5%? Python: ```python price = 228.17 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 11.4085 print(f"{tax:.2f}") ``` The program prints 11.41. $11.41 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "11.41", "printed": "11.41", "notation": null}
nlprog_det-setting-0065329
Revenue is $8,500 and costs are $8,000. What is the profit margin as a percent of revenue (one decimal)? Python: ```python revenue = 8500 costs = 8000 profit = revenue - costs # 500 margin = profit / revenue * 100 # 5.88235294117647 print(round(margin, 1)) ``` Python prints 5.9. The margin is 5.9%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "5.9", "printed": "5.9", "notation": null}
nlprog_det-setting-0065330
A 78-page report must be reviewed in 6 days. How many pages a day is that, evenly? A few lines of Python do it: pages = 78 days = 6 per_day = pages // days # 13 print(per_day) The run gives: 13 That is 13 pages per day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0065331
Counting the first and last day, how many days are there from December 4, 2023 through December 12, 2023? 9 calendar days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "9", "printed": "9", "notation": null}