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-0079250
<|start|><|user|> A hearing lasted 4 hours and 21 minutes. How many minutes is that?<|eot|> <|assistant|> That is 261 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hearing lasted 4 hours and 21 minutes. How many minutes is that?" }, { "role": "assistant", "content": "That is 261 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "261", "printed": "261", "notation": null}
nlprog_det-setting-0079251
Straight-line depreciation: cost $18,000, salvage $6,000, 6 years. How much per year? Let the code do the arithmetic: ```python cost = 18000 salvage = 6000 years = 6 per_year = (cost - salvage) / years # 2000.0 print(f"{per_year:.2f}") ``` That prints: 2000.00 Depreciation is $2,000.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "2000.00", "printed": "2000.00", "notation": null}
nlprog_det-setting-0079252
A $96 dinner bill gets a 18% tip, and 4 people share the cost equally. What is each person's share? ```python bill = 96 tip_rate = 18 / 100 # 0.18 people = 4 each = bill * (1 + tip_rate) / people # 28.32 print(f"{each:.2f}") ``` Printed: 28.32 The share is $28.32 each.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "28.32", "printed": "28.32", "notation": null}
nlprog_det-setting-0079253
<|start|><|user|> How many whole days and leftover hours are in 258 hours?<|eot|> <|assistant|> ```python hours = 258 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` (Execution result: 10 days and 18 hours) That is 10 days and 18 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many whole days and leftover hours are in 258 hours?" }, { "role": "assistant", "content": "```python\nhours = 258\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\n(Execution result: 10 days and 18 hours)\n\nThat is 10 days and 18 ...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "10 days and 18 hours", "printed": "10 days and 18 hours", "notation": null}
nlprog_det-setting-0079254
<|start|><|user|> A recipe for 6 people uses 240 grams of sugar. How many grams are needed for 8 people?<|eot|> <|assistant|> 320 grams of sugar are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 6 people uses 240 grams of sugar. How many grams are needed for 8 people?" }, { "role": "assistant", "content": "320 grams of sugar are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "320", "printed": "320", "notation": null}
nlprog_det-setting-0079255
<|start|><|user|> What simple interest does $20,000 earn at 5% a year over 5 years?<|eot|> <|assistant|> ```python principal = 20000 rate = 5 / 100 years = 5 interest = principal * rate * years print(f"{interest:.2f}") ``` Execution result: 5000.00 The interest is $5,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $20,000 earn at 5% a year over 5 years?" }, { "role": "assistant", "content": "```python\nprincipal = 20000\nrate = 5 / 100\nyears = 5\ninterest = principal * rate * years\nprint(f\"{interest:.2f}\")\n```\nExecution result: 5000.00\n\nThe i...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "5000.00", "printed": "5000.00", "notation": null}
nlprog_det-setting-0079256
Under a 33% contingency agreement, what fee is owed on a $150,000 award? Written as code: ```python recovery = 150000 rate = 33 / 100 # 0.33 fee = recovery * rate # 49500.0 print(f"{fee:.2f}") ``` Interpreter output: 49500.00 The lawyer's fee comes to $49,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "49500.00", "printed": "49500.00", "notation": null}
nlprog_det-setting-0079258
<|start|><|user|> After a 25% fee is taken from a $96,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> ```python award = 96000 fee = award * 25 / 100 # 24000.0 remaining = award - fee # 72000.0 per_client = remaining / 2 # 36000.0 print(f"{per_client:.2f}")...
chat
[ { "role": "user", "content": "After a 25% fee is taken from a $96,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = award * 25 / 100 # 24000.0\nremaining = award - fee # 72000.0\nper_cl...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "36000.00", "printed": "36000.00", "notation": null}
nlprog_det-setting-0079259
A 120-day notice period begins on June 4, 2027. On what date does it end? Script: ```python from datetime import date, timedelta start = date(2027, 6, 4) # datetime.date(2027, 6, 4) end = start + timedelta(days=120) # datetime.date(2027, 10, 2) print(end.isoformat()) ``` Result: 2027-10-02 The period ends on Octobe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "2027-10-02", "printed": "2027-10-02", "notation": null}
nlprog_det-setting-0079260
A storeroom has 345 hard drives. The office uses 10 a day. How many are left after 11 days? We can compute it in Python. ```python stock = 345 per_day = 10 days = 11 left = stock - per_day * days # 235 print(left) ``` stdout = 235 235 hard drives are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "235", "printed": "235", "notation": null}
nlprog_det-setting-0079261
A 60-day notice period begins on August 23, 2022. On what date does it end? That date is October 22, 2022.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "2022-10-22", "printed": "2022-10-22", "notation": null}
nlprog_det-setting-0079262
<|start|><|system|> Tools (call with JSON): [{"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}}, {"name": "interpreter", "description": "A Python interpreter. Returns standard output.", "parameters...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}, {\"name\": \"interpreter\", \"description\": \"A ...
nlprog_det
setting
original
null
deterministic
[]
[]
354
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0079263
A $2,400 loan carries 6% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment? Each payment is $78.67.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "78.67", "printed": "78.67", "notation": null}
nlprog_det-setting-0079264
What is the total rent on a 12-month lease at $1,200 a month? Computation in Python: ```python monthly_rent = 1200 months = 12 total = monthly_rent * months # 14400 print(total) ``` Out — 14400 In total, $14,400 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "14400", "printed": "14400", "notation": null}
nlprog_det-setting-0079265
22 binders cost $8 apiece. With 5% tax added, what is the total? The computation: ```python quantity = 22 unit_price = 8 subtotal = quantity * unit_price # 176 total = subtotal * (1 + 5 / 100) # 184.8 print(f"{total:.2f}") ``` The run gives: 184.80 The invoice total is $184.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "184.80", "printed": "184.80", "notation": null}
nlprog_det-setting-0079266
A 24 lb package ships at $10 base plus $1.50/lb. What is the charge? Let the code do the arithmetic: ```python base = 10 per_pound = 1.5 weight = 24 cost = base + per_pound * weight # 46.0 print(f"{cost:.2f}") ``` Interpreter output: 46.00 The charge is $46.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "46.00", "printed": "46.00", "notation": null}
nlprog_det-setting-0079268
A water bill is $18 plus $5.10 per thousand gallons beyond the first 3 thousand. What is the bill for 3 thousand gallons? The bill is $18.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "18.00", "printed": "18.00", "notation": null}
nlprog_det-setting-0079269
A court charges $15 per request plus $0.10 per page after the first 10 pages. What does a 115-page copy cost? Python makes this quick: ```python pages = 115 base = 15 per_page = 0.1 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 25.5 print(f"{cost:.2f}") ``` Python prints 25.50, as expected. T...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "25.50", "printed": "25.50", "notation": null}
nlprog_det-setting-0079270
<|start|><|system|> You have access to these functions: {"name": "python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}} {"name": "convert_un...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source co...
nlprog_det
setting
original
null
deterministic
[]
[]
344
{"gold": "50.40", "printed": "50.40", "notation": null}
nlprog_det-setting-0079271
With 21 rows of 15 chairs and 25 empty chairs, how many chairs are taken? Computing it: ```python rows = 21 per_row = 15 empty = 25 seated = rows * per_row - empty # 290 print(seated) ``` Out — 290 290 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "290", "printed": "290", "notation": null}
nlprog_det-setting-0079272
What percentage of $8,000 is $2,600? In code: ```python budget = 8000 spent = 2600 percent = spent / budget * 100 # 32.5 print(round(percent, 1)) ``` stdout: 32.5 That is 32.5% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "32.5", "printed": "32.5", "notation": null}
nlprog_det-setting-0079273
What commission does Ana make on $13,064 in sales at 6%? ```python sales = 13064 rate = 6 / 100 commission = sales * rate print(f"{commission:.2f}") ``` When run, it prints 783.84, as expected. Ana earns $783.84.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "783.84", "printed": "783.84", "notation": null}
nlprog_det-setting-0079274
The building opened in 2023. How many years had passed by 2063? A short script: ```python start_year = 2023 end_year = 2063 print(end_year - start_year) ``` Running this gives 40. That is 40 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0079275
<|start|><|user|> What percentage of $4,000 is $1,400?<|eot|> <|assistant|> ```python budget = 4000 spent = 1400 percent = spent / budget * 100 # 35.0 print(round(percent, 1)) ``` # execution result: 35.0 35.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $4,000 is $1,400?" }, { "role": "assistant", "content": "```python\nbudget = 4000\nspent = 1400\npercent = spent / budget * 100 # 35.0\nprint(round(percent, 1))\n```\n# execution result: 35.0\n\n35.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "35.0", "printed": "35.0", "notation": null}
nlprog_det-setting-0079276
5 claimants share a $36,000 settlement equally. What is each share? ```python settlement = 36000 parties = 5 share = settlement // parties # 7200 print(share) ``` Printed = 7200 Each share is $7,200.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "7200", "printed": "7200", "notation": null}
nlprog_det-setting-0079277
<|start|><|system|> Respond clearly and to the point.<|eot|> <|user|> If a 5-year limitations period starts on September 5, 2022, when does it end?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2022, 9, 5) # datetime.date(2022, 9, 5) years = 5 expires = accrued.replace(year=accrued.year + yea...
chat
[ { "role": "system", "content": "Respond clearly and to the point." }, { "role": "user", "content": "If a 5-year limitations period starts on September 5, 2022, when does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2022, 9, 5) #...
nlprog_det
setting
original
null
deterministic
[]
[]
157
{"gold": "2027-09-05", "printed": "2027-09-05", "notation": null}
nlprog_det-setting-0079278
Straight-line depreciation: cost $18,000, salvage $6,000, 4 years. How much per year? $3,000.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0079279
<|start|><|user|> 2 claimants share a $7,350 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 7350 parties = 2 share = settlement // parties # 3675 print(share) ``` Result: 3675 Each party receives $3,675.<|eot|> <|end|>
chat
[ { "role": "user", "content": "2 claimants share a $7,350 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 7350\nparties = 2\nshare = settlement // parties # 3675\nprint(share)\n```\nResult: 3675\n\nEach party receives $3,675." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "3675", "printed": "3675", "notation": null}
nlprog_det-setting-0079280
41 volunteers are split into 8 equal teams. How many are on each team, and how many are left over? A Python solution: ```python total = 41 groups = 8 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` stdout: 5 each, 1 left over 5 each, 1 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "5 each, 1 left over", "printed": "5 each, 1 left over", "notation": null}
nlprog_det-setting-0079281
<|start|><|user|> What is a 20% tip on a $177.97 bill?<|eot|> <|assistant|> bill = 177.97 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 35.594 print(f"{tip:.2f}") Output = 35.59 Leave $35.59.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is a 20% tip on a $177.97 bill?" }, { "role": "assistant", "content": " bill = 177.97\n tip_rate = 20 / 100 # 0.2\n tip = bill * tip_rate # 35.594\n print(f\"{tip:.2f}\")\nOutput = 35.59\n\nLeave $35.59." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "35.59", "printed": "35.59", "notation": null}
nlprog_det-setting-0079282
Rent of $900 goes up 3%. What is the new rent? ```python rent = 900 increase = 3 / 100 # 0.03 new_rent = rent * (1 + increase) # 927.0 print(f"{new_rent:.2f}") ``` The program prints: 927.00 It rises to $927.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "927.00", "printed": "927.00", "notation": null}
nlprog_det-setting-0079283
Fixed costs are $4,000. Each unit sells for $25 and costs $15 to make. How many units must be sold to break even? Python makes this quick: ```python import math fixed = 4000 price = 25 variable = 15 units = math.ceil(fixed / (price - variable)) # 400 print(units) ``` Program output: 400 Break-even is 400 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0079285
<|start|><|user|> Liesel earns $22.40 an hour and time and a half for hours over 40. What is the pay for a 50-hour week?<|eot|> <|assistant|> The weekly pay is $1,232.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Liesel earns $22.40 an hour and time and a half for hours over 40. What is the pay for a 50-hour week?" }, { "role": "assistant", "content": "The weekly pay is $1,232.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "1232.00", "printed": "1232.00", "notation": null}
nlprog_det-setting-0079286
Convert 6,751 USD to CAD at 1 USD = 1.31 CAD. ```python amount = 6751 rate = 1.31 converted = amount * rate # 8843.81 print(f"{converted:.2f}") ``` Out: 8843.81 That is 8,843.81 CAD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "8843.81", "printed": "8843.81", "notation": null}
nlprog_det-setting-0079287
<|start|><|user|> A claim accrued on February 20, 2018. The limitations period is 4 years. On what date does it expire?<|eot|> <|assistant|> from datetime import date accrued = date(2018, 2, 20) # datetime.date(2018, 2, 20) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date...
chat
[ { "role": "user", "content": "A claim accrued on February 20, 2018. The limitations period is 4 years. On what date does it expire?" }, { "role": "assistant", "content": " from datetime import date\n accrued = date(2018, 2, 20) # datetime.date(2018, 2, 20)\n years = 4\n expires = ac...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "2022-02-20", "printed": "2022-02-20", "notation": null}
nlprog_det-setting-0079288
A shift runs from 10:49 AM to 5:25 PM. How long is it in minutes? Python code: ```python start = 10 * 60 + 49 # 649 end = 17 * 60 + 25 # 1045 print(end - start) ``` The run gives 396. It is 396 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "396", "printed": "396", "notation": null}
nlprog_det-setting-0079289
<|start|><|user|> Pack A has 10 items for $8.62. Pack B has 20 items for $27.48. Which has the lower price per item?<|eot|> <|assistant|> pack_a = 8.62 / 10 # 0.8619999999999999 pack_b = 27.48 / 20 # 1.374 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) stdout = A A has the lower unit...
chat
[ { "role": "user", "content": "Pack A has 10 items for $8.62. Pack B has 20 items for $27.48. Which has the lower price per item?" }, { "role": "assistant", "content": " pack_a = 8.62 / 10 # 0.8619999999999999\n pack_b = 27.48 / 20 # 1.374\n cheaper = \"A\" if pack_a < pack_b else \"B\...
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0079291
If a 4-year limitations period starts on July 7, 2020, when does it end? Python code: ```python from datetime import date accrued = date(2020, 7, 7) # datetime.date(2020, 7, 7) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2024, 7, 7) print(expires.isoformat()) ``` Python prints: 202...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "2024-07-07", "printed": "2024-07-07", "notation": null}
nlprog_det-setting-0079292
<|start|><|system|> Available functions (JSON Schema): [{"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}}, {"name": "python_exec", "description": "Executes a Python program and returns its output....
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}, {\"name\": \"python_exec\", \"descript...
nlprog_det
setting
original
null
deterministic
[]
[]
323
{"gold": "68", "printed": "68", "notation": null}
nlprog_det-setting-0079293
<|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": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}} {"name": "fet...
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\": {\"program\": {\"type\": \"string\", \"description\": \"Python sourc...
nlprog_det
setting
original
null
deterministic
[]
[]
324
{"gold": "27000.00", "printed": "27000.00", "notation": null}
nlprog_det-setting-0079294
How long, in days, is it from March 12, 2019 until June 20, 2019? Python, step by step: ```python from datetime import date first = date(2019, 3, 12) # datetime.date(2019, 3, 12) second = date(2019, 6, 20) # datetime.date(2019, 6, 20) print((second - first).days) ``` The printout reads 100. It is 100 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "100", "printed": "100", "notation": null}
nlprog_det-setting-0079295
Someone born April 11, 2003 turns how old by August 22, 2027? Give the age in whole years. The computation: ```python from datetime import date born = date(2003, 4, 11) # datetime.date(2003, 4, 11) on = date(2027, 8, 22) # datetime.date(2027, 8, 22) age = on.year - born.year - ((on.month, on.day) < (born.month, born...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0079296
How many 2-foot square tiles cover a 14 ft by 11 ft floor (round up)? Python version: ```python import math length = 14 width = 11 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 39 print(tiles) ``` Printed result: 39 It takes 39 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0079297
A meeting starts at 8:15 AM and lasts 25 minutes. When does it end? Python code: ```python start = 8 * 60 + 15 end = start + 25 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` That prints: 8:40 AM The meeting finishes at 8:40 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "8:40 AM", "printed": "8:40 AM", "notation": null}
nlprog_det-setting-0079298
<|start|><|user|> Starting from $5,000, the team spends $1,731, $1,812. What remains?<|eot|> <|assistant|> ```python budget = 5000 expenses = [1731, 1812] left = budget - sum(expenses) # 1457 print(left) ``` Printed result — 1457 $1,457 is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting from $5,000, the team spends $1,731, $1,812. What remains?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nexpenses = [1731, 1812]\nleft = budget - sum(expenses) # 1457\nprint(left)\n```\nPrinted result — 1457\n\n$1,457 is left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1457", "printed": "1457", "notation": null}
nlprog_det-setting-0079299
Water costs $12 a month plus $4.20 for each 1,000 gallons over 2,000. What is owed for 11,000 gallons? Python version: ```python base = 12 rate = 4.2 used = 11 free = 2 bill = base + rate * max(0, used - free) # 49.800000000000004 print(f"{bill:.2f}") ``` The run gives 49.80, as expected. The bill is $49.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "49.80", "printed": "49.80", "notation": null}
nlprog_det-setting-0079300
A 6 × 15 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? ```python import math length = 6 width = 15 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 90 print(tiles) ``` The program outputs 90. 90 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "90", "printed": "90", "notation": null}
nlprog_det-setting-0079301
A trial runs from July 27, 2024 to August 16, 2024, counting both days. How many calendar days is that? That is 21 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0079302
Starting with 648 badges and using 32 per day, how many remain after 5 days? Computing it: ```python stock = 648 per_day = 32 days = 5 left = stock - per_day * days # 488 print(left) ``` That prints 488. 488 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "488", "printed": "488", "notation": null}
nlprog_det-setting-0079303
A court charges $5 per request plus $0.25 per page after the first 20 pages. What does a 62-page copy cost? The total is $15.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "15.50", "printed": "15.50", "notation": null}
nlprog_det-setting-0079304
Yusuf earns a 10% commission on $113,412 of sales. What is the commission? As Python: ```python sales = 113412 rate = 10 / 100 # 0.1 commission = sales * rate # 11341.2 print(f"{commission:.2f}") ``` The program prints 11341.20, as expected. Yusuf earns $11,341.20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "11341.20", "printed": "11341.20", "notation": null}
nlprog_det-setting-0079305
<|start|><|user|> At an exchange rate of 1.31 USD per CHF, how many USD is 5,138 CHF?<|eot|> <|assistant|> ```python amount = 5138 rate = 1.31 converted = amount * rate # 6730.780000000001 print(f"{converted:.2f}") ``` Executing it gives 6730.78. It converts to 6,730.78 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 1.31 USD per CHF, how many USD is 5,138 CHF?" }, { "role": "assistant", "content": "```python\namount = 5138\nrate = 1.31\nconverted = amount * rate # 6730.780000000001\nprint(f\"{converted:.2f}\")\n```\nExecuting it gives 6730.78.\n\nIt conv...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "6730.78", "printed": "6730.78", "notation": null}
nlprog_det-setting-0079306
<|start|><|system|> You may call the tools below. {"name": "py_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> An unpaid bal...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"py_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"r...
nlprog_det
setting
original
null
deterministic
[]
[]
239
{"gold": "240.00", "printed": "240.00", "notation": null}
nlprog_det-setting-0079307
Parking is $2 per hour with a daily maximum of $24. What do 7 hours cost? Python code: ```python rate = 2 hours = 7 daily_max = 24 cost = min(rate * hours, daily_max) # 14 print(cost) ``` Out — 14 The charge is $14.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0079308
<|start|><|user|> 2 clients win $60,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 60000 fee = award * 30 / 100 remaining = award - fee per_client = remaining / 2 print(f"{per_client:.2f}") ``` (Result: 21000.00) Each client gets $21,000....
chat
[ { "role": "user", "content": "2 clients win $60,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 60000\nfee = award * 30 / 100\nremaining = award - fee\nper_client = remaining / 2\nprint(f\"{per_cli...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "21000.00", "printed": "21000.00", "notation": null}
nlprog_det-setting-0079309
Parking is $4 per hour with a daily maximum of $15. What do 1 hours cost? Python does the arithmetic: rate = 4 hours = 1 daily_max = 15 cost = min(rate * hours, daily_max) # 4 print(cost) The program outputs: 4 Parking costs $4.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0079310
From 2023 to 2034, how many years is that? Translated to Python: ```python start_year = 2023 end_year = 2034 print(end_year - start_year) ``` The code prints 11. 11 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "11", "printed": "11", "notation": null}
nlprog_det-setting-0079311
An invoice lists 19 desk lamps at $2 each, plus 7% sales tax. What is the invoice total? Python: quantity = 19 unit_price = 2 subtotal = quantity * unit_price total = subtotal * (1 + 7 / 100) print(f"{total:.2f}") The code prints: 40.66 The total with tax is $40.66.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "40.66", "printed": "40.66", "notation": null}
nlprog_det-setting-0079312
Ines earns $20.00 an hour and time and a half for hours over 40. What is the pay for a 49-hour week? Python does the arithmetic: ```python rate = 20.0 hours = 49 regular = 40 * rate # 800.0 overtime = (hours - 40) * rate * 1.5 # 270.0 pay = regular + overtime # 1070.0 print(f"{pay:.2f}") ``` It prints: 1070.00 The...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "1070.00", "printed": "1070.00", "notation": null}
nlprog_det-setting-0079313
<|start|><|system|> You are a helpful assistant.<|eot|> <|user|> A $210 dinner bill gets a 20% tip, and 3 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 210 tip_rate = 20 / 100 # 0.2 people = 3 each = bill * (1 + tip_rate) / people # 84.0 print(f"{each:.2f}") ``` Run...
chat
[ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "A $210 dinner bill gets a 20% tip, and 3 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 210\ntip_rate = 20 / 100 # 0.2...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "84.00", "printed": "84.00", "notation": null}
nlprog_det-setting-0079315
<|start|><|system|> You may call the tools below. [{"name": "sandbox_python", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> Express 224 hours in da...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"sandbox_python\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
222
{"gold": "9 days and 8 hours", "printed": "9 days and 8 hours", "notation": null}
nlprog_det-setting-0079316
<|start|><|system|> Keep explanations short.<|eot|> <|user|> How many units at $40 each (variable cost $34) cover $9,000 of fixed costs?<|eot|> <|assistant|> Break-even is 1500 units.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Keep explanations short." }, { "role": "user", "content": "How many units at $40 each (variable cost $34) cover $9,000 of fixed costs?" }, { "role": "assistant", "content": "Break-even is 1500 units." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
53
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0079317
Convert 4,553 GBP to USD at 1 GBP = 1.27 USD. In Python: amount = 4553 rate = 1.27 converted = amount * rate # 5782.31 print(f"{converted:.2f}") (Printed: 5782.31) That is 5,782.31 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "5782.31", "printed": "5782.31", "notation": null}
nlprog_det-setting-0079318
Filing fees are $25 per document. What do 13 filings cost? Python, step by step: ```python fee = 25 filings = 13 total = fee * filings # 325 print(total) ``` Run result = 325 The filings cost $325 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "325", "printed": "325", "notation": null}
nlprog_det-setting-0079320
<|start|><|system|> You may call the tools below. [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "interpreter", "description": "Evaluates Python and returns the p...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"interprete...
nlprog_det
setting
original
null
deterministic
[]
[]
381
{"gold": "1155.00", "printed": "1155.00", "notation": null}
nlprog_det-setting-0079321
Starting with 321 binders and using 34 per day, how many remain after 4 days? A few lines of Python do it: ```python stock = 321 per_day = 34 days = 4 left = stock - per_day * days # 185 print(left) ``` The run gives 185. 185 binders are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "185", "printed": "185", "notation": null}
nlprog_det-setting-0079322
<|start|><|user|> Walls total 1345 sq ft and each can covers 400 sq ft. How many cans should be bought?<|eot|> <|assistant|> ```python import math area = 1345 coverage = 400 cans = math.ceil(area / coverage) # 4 print(cans) ``` This prints 4, as expected. 4 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Walls total 1345 sq ft and each can covers 400 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1345\ncoverage = 400\ncans = math.ceil(area / coverage) # 4\nprint(cans)\n```\nThis prints 4, as expected.\n\...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0079323
<|start|><|user|> A 24-month warranty starts on July 23, 2025. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2025, 7, 23) months = 24 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 24-month warranty starts on July 23, 2025. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2025, 7, 23)\nmonths = 24\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(start.ye...
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2027-07-23", "printed": "2027-07-23", "notation": null}
nlprog_det-setting-0079324
A client paid a $10,000 retainer. The firm has billed 6 hours at $150 per hour. How much of the retainer is left? Program: ```python retainer = 10000 hours = 6 rate = 150 left = retainer - hours * rate # 9100 print(left) ``` What it prints: 9100 The remaining balance is $9,100.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "9100", "printed": "9100", "notation": null}
nlprog_det-setting-0079325
Fines run at $50 per day up to a maximum of $2,500. How much after 53 days? Translated to Python: ```python per_day = 50 days = 53 cap = 2500 fine = min(per_day * days, cap) # 2500 print(fine) ``` (Output: 2500) The fine is $2,500.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "2500", "printed": "2500", "notation": null}
nlprog_det-setting-0079326
A water bill is $20 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 14 thousand gallons? Let's compute it with Python. ```python base = 20 rate = 5.1 used = 14 free = 2 bill = base + rate * max(0, used - free) # 81.19999999999999 print(f"{bill:.2f}") ``` Interpreter output: 81.20 $8...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "81.20", "printed": "81.20", "notation": null}
nlprog_det-setting-0079327
Buying 6 sticky pads at $6 each, 2 sticky pads at $30 each, 6 staplers at $14 each, 2 flash drives at $11 each, someone hands over $250. What change comes back? The program: ```python items = [(6, 6), (2, 30), (6, 14), (2, 11)] total = sum(q * p for q, p in items) # 202 paid = 250 change = paid - total # 48 print(ch...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0079328
A meal costs $77.07. How much is a 18% tip? Here's the code. ```python bill = 77.07 tip_rate = 18 / 100 # 0.18 tip = bill * tip_rate # 13.872599999999998 print(f"{tip:.2f}") ``` Program output — 13.87 Leave $13.87.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "13.87", "printed": "13.87", "notation": null}
nlprog_det-setting-0079330
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> Counting only Monday through Friday, how many business days are there after June 5, 2024 through July 3, 2024?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2024, 6, 5) end = date(2024, 7, 3) count = 0 for k in range...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after June 5, 2024 through July 3, 2024?" }, { "role": "assistant", "content": "```python\nfrom datetime import dat...
nlprog_det
setting
original
null
deterministic
[]
[]
171
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0079331
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> Meals are $74 per day and lodging $175 per night. What is the allowance for 5 days and 4 nights?<|eot|> <|assistant|> ```python days = 5 meal_rate = 74 lodging_rate = 175 nights = days - 1 # 4 total = days * meal_rate + nights * lodging_rate ...
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "Meals are $74 per day and lodging $175 per night. What is the allowance for 5 days and 4 nights?" }, { "role": "assistant", "content": "```python\ndays = 5\nmeal_rate = 74\nlodg...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "1070", "printed": "1070", "notation": null}
nlprog_det-setting-0079332
How many 2-foot square tiles cover a 12 ft by 13 ft floor (round up)? As a program: import math length = 12 width = 13 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 39 print(tiles) Console output — 39 It takes 39 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0079333
A settlement of $15,000 is split equally among 4 parties. How much does each party receive? Here is a short program for it. ```python settlement = 15000 parties = 4 share = settlement // parties # 3750 print(share) ``` # stdout: 3750 Each party receives $3,750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "3750", "printed": "3750", "notation": null}
nlprog_det-setting-0079334
A 200-mile drive at a steady 40 mph takes how many minutes? Code: ```python distance = 200 speed = 40 minutes = distance / speed * 60 # 300.0 print(round(minutes)) ``` Output — 300 300 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0079335
What is a 22% tip on a $243.70 bill? Set it up in Python: ```python bill = 243.7 tip_rate = 22 / 100 # 0.22 tip = bill * tip_rate # 53.614 print(f"{tip:.2f}") ``` Printed result: 53.61 The tip is $53.61.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "53.61", "printed": "53.61", "notation": null}
nlprog_det-setting-0079336
With $12,500 in costs and $16,500 in revenue, what percent of revenue is profit? Round to one decimal. We can compute it in Python. ```python revenue = 16500 costs = 12500 profit = revenue - costs # 4000 margin = profit / revenue * 100 # 24.242424242424242 print(round(margin, 1)) ``` The run gives 24.2. Profit is 2...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "24.2", "printed": "24.2", "notation": null}
nlprog_det-setting-0079337
<|start|><|system|> You may call the tools below. {"name": "eval_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|> Arjun earns $...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"eval_python\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"re...
nlprog_det
setting
original
null
deterministic
[]
[]
253
{"gold": "736.00", "printed": "736.00", "notation": null}
nlprog_det-setting-0079338
What is a 20% tip on a $221.45 bill? One way, in code: ```python bill = 221.45 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 44.29 print(f"{tip:.2f}") ``` Out = 44.29 Leave $44.29.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "44.29", "printed": "44.29", "notation": null}
nlprog_det-setting-0079339
<|start|><|system|> You may call the tools below. {"name": "compute", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}<|eot|> <|user|> Emeka was born on...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"compute\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requir...
nlprog_det
setting
original
null
deterministic
[]
[]
247
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0079340
750 files go into boxes of 40. How many boxes does that take? Written as code: ```python import math files = 750 per_box = 40 boxes = math.ceil(files / per_box) # 19 print(boxes) ``` Executing it gives 19, as expected. It takes 19 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0079342
A $1,000 security deposit has deductions of $75. How much is refunded? Here is the program. ```python deposit = 1000 deductions = [75] refund = deposit - sum(deductions) # 925 print(refund) ``` Python prints 925. The refund is $925.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "925", "printed": "925", "notation": null}
nlprog_det-setting-0079343
Printing costs 8 cents a page. What does it cost to print 30 copies of a 35-page handout? One way, in code: pages = 35 copies = 30 cost_per_page = 0.08 cost = pages * copies * cost_per_page # 84.0 print(f"{cost:.2f}") The script prints 84.00, as expected. Printing costs $84.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "84.00", "printed": "84.00", "notation": null}
nlprog_det-setting-0079344
<|start|><|user|> A lawyer's fee is 40% of a $90,000 recovery. How large is the fee?<|eot|> <|assistant|> ```python recovery = 90000 rate = 40 / 100 # 0.4 fee = recovery * rate # 36000.0 print(f"{fee:.2f}") ``` (Program output: 36000.00) The lawyer's fee comes to $36,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A lawyer's fee is 40% of a $90,000 recovery. How large is the fee?" }, { "role": "assistant", "content": "```python\nrecovery = 90000\nrate = 40 / 100 # 0.4\nfee = recovery * rate # 36000.0\nprint(f\"{fee:.2f}\")\n```\n(Program output: 36000.00)\n\nThe lawyer's fe...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "36000.00", "printed": "36000.00", "notation": null}
nlprog_det-setting-0079345
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> 22 of 40 members attended. What percent attended?<|eot|> <|assistant|> 55.0% attended.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "22 of 40 members attended. What percent attended?" }, { "role": "assistant", "content": "55.0% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "55.0", "printed": "55.0", "notation": null}
nlprog_det-setting-0079346
<|start|><|user|> At an exchange rate of 1.08 CAD per USD, how many CAD is 5,447 USD?<|eot|> <|assistant|> ```python amount = 5447 rate = 1.08 converted = amount * rate # 5882.76 print(f"{converted:.2f}") ``` # program output: 5882.76 It converts to 5,882.76 CAD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 1.08 CAD per USD, how many CAD is 5,447 USD?" }, { "role": "assistant", "content": "```python\namount = 5447\nrate = 1.08\nconverted = amount * rate # 5882.76\nprint(f\"{converted:.2f}\")\n```\n# program output: 5882.76\n\nIt converts to 5,88...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "5882.76", "printed": "5882.76", "notation": null}
nlprog_det-setting-0079347
<|start|><|user|> Count the days between July 26, 2021 and April 11, 2022.<|eot|> <|assistant|> It is 259 days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Count the days between July 26, 2021 and April 11, 2022." }, { "role": "assistant", "content": "It is 259 days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "259", "printed": "259", "notation": null}
nlprog_det-setting-0079348
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> The landlord deducts $75, $150 and $45 from a $1,000 deposit. What is returned to the tenant?<|eot|> <|assistant|> ```python deposit = 1000 deductions = [75, 150, 45] refund = deposit - sum(deductions) # 730 print(refund) ``` The printout reads: ...
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "The landlord deducts $75, $150 and $45 from a $1,000 deposit. What is returned to the tenant?" }, { "role": "assistant", "content": "```python\ndeposit = 1000\ndeductions = [75, 150...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "730", "printed": "730", "notation": null}
nlprog_det-setting-0079349
How many meters are in 26.5 kilometers? ```python km = 26.5 meters = km * 1000 # 26500.0 print(round(meters)) ``` That prints 26500. 26,500 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "26500", "printed": "26500", "notation": null}
nlprog_det-setting-0079350
At a 7% tax rate, what is the tax on $91.49? Python: ```python price = 91.49 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 6.4043 print(f"{tax:.2f}") ``` This prints: 6.40 The tax is $6.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "6.40", "printed": "6.40", "notation": null}
nlprog_det-setting-0079351
How many of 46 members form a majority (more than half)? Coded up: ```python members = 46 majority = members // 2 + 1 print(majority) ``` Result — 24 24 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
67
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0079352
<|start|><|system|> You are a data assistant.<|eot|> <|user|> A storeroom has 768 pens. The office uses 5 a day. How many are left after 17 days?<|eot|> <|assistant|> ```python stock = 768 per_day = 5 days = 17 left = stock - per_day * days print(left) ``` When run, it prints: 683 683 remain.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "A storeroom has 768 pens. The office uses 5 a day. How many are left after 17 days?" }, { "role": "assistant", "content": "```python\nstock = 768\nper_day = 5\ndays = 17\nleft = stock - per_da...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "683", "printed": "683", "notation": null}
nlprog_det-setting-0079353
<|start|><|user|> A court charges $5 per request plus $0.10 per page after the first 0 pages. What does a 115-page copy cost?<|eot|> <|assistant|> ```python pages = 115 base = 5 per_page = 0.1 free_pages = 0 cost = base + max(0, pages - free_pages) * per_page # 16.5 print(f"{cost:.2f}") ``` Printed: 16.50 The copy co...
chat
[ { "role": "user", "content": "A court charges $5 per request plus $0.10 per page after the first 0 pages. What does a 115-page copy cost?" }, { "role": "assistant", "content": "```python\npages = 115\nbase = 5\nper_page = 0.1\nfree_pages = 0\ncost = base + max(0, pages - free_pages) * per_page ...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "16.50", "printed": "16.50", "notation": null}
nlprog_det-setting-0079354
Fixed costs are $2,500. Each unit sells for $20 and costs $14 to make. How many units must be sold to break even? Written as code: ```python import math fixed = 2500 price = 20 variable = 14 units = math.ceil(fixed / (price - variable)) # 417 print(units) ``` (Execution result: 417) Break-even is 417 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "417", "printed": "417", "notation": null}
nlprog_det-setting-0079355
Sales went from 200 to 230. What is the percent change? Computing it: ```python old = 200 new = 230 change = (new - old) / old * 100 # 15.0 print(round(change)) ``` It outputs 15. The change is 15%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0079356
<|start|><|system|> Tool definitions: [{"name": "sandbox_python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}, {"name": "define_word", "descr...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"sandbox_python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requ...
nlprog_det
setting
original
null
deterministic
[]
[]
318
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0079357
How many weekdays (Monday to Friday) fall after December 16, 2025 up to and including January 12, 2026? Python code: from datetime import date, timedelta start = date(2025, 12, 16) end = date(2026, 1, 12) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).we...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "19", "printed": "19", "notation": null}