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-0061492
Fixed costs are $4,000. Each unit sells for $40 and costs $34 to make. How many units must be sold to break even? Python, step by step: ```python import math fixed = 4000 price = 40 variable = 34 units = math.ceil(fixed / (price - variable)) # 667 print(units) ``` Run output — 667 Break-even is 667 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "667", "printed": "667", "notation": null}
nlprog_det-setting-0061493
A garage charges $5 an hour, never more than $24 a day. How much for 8 hours? Programmatically: ```python rate = 5 hours = 8 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` The run gives: 24 The charge is $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0061494
A hearing lasted 1 hours and 12 minutes. How many minutes is that? Computing it: ```python hours = 1 minutes = 12 total_minutes = hours * 60 + minutes # 72 print(total_minutes) ``` That prints: 72 The hearing lasted 72 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "72", "printed": "72", "notation": null}
nlprog_det-setting-0061495
What is -20 degrees Celsius in Fahrenheit? Python, step by step: ```python celsius = -20 fahrenheit = celsius * 9 / 5 + 32 # -4.0 print(round(fahrenheit)) ``` (Out: -4) It equals -4 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "-4", "printed": "-4", "notation": null}
nlprog_det-setting-0061496
After an initial $6,000, the remainder of a $48,000 grant is paid in 6 equal parts. What is each part? ```python grant = 48000 up_front = 6000 installments = 6 each = (grant - up_front) / installments # 7000.0 print(f"{each:.2f}") ``` Run it and it prints: 7000.00 $7,000.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "7000.00", "printed": "7000.00", "notation": null}
nlprog_det-setting-0061497
A claim accrued on May 20, 2021. The limitations period is 4 years. On what date does it expire? We can compute it in Python. ```python from datetime import date accrued = date(2021, 5, 20) # datetime.date(2021, 5, 20) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2025, 5, 20) print(...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "2025-05-20", "printed": "2025-05-20", "notation": null}
nlprog_det-setting-0061498
With 10% off, what does a $80 printer cost? Computation in Python: price = 80 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 72.0 print(f"{sale_price:.2f}") # printed result: 72.00 It costs $72.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "72.00", "printed": "72.00", "notation": null}
nlprog_det-setting-0061499
<|start|><|user|> Count 45 days forward from March 19, 2026. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 3, 19) # datetime.date(2026, 3, 19) end = start + timedelta(days=45) # datetime.date(2026, 5, 3) print(end.isoformat()) ``` That prints: 2026-05-03 It...
chat
[ { "role": "user", "content": "Count 45 days forward from March 19, 2026. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 3, 19) # datetime.date(2026, 3, 19)\nend = start + timedelta(days=45) # datetime.date(2026, 5, ...
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "2026-05-03", "printed": "2026-05-03", "notation": null}
nlprog_det-setting-0061500
A count moves from 800 to 680. By what percent did it change (use a minus sign for a drop)? A Python solution: ```python old = 800 new = 680 change = (new - old) / old * 100 # -15.0 print(round(change)) ``` stdout — -15 The change is -15%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "-15", "printed": "-15", "notation": null}
nlprog_det-setting-0061502
One can of paint covers 250 square feet. How many cans are needed for 556 square feet of wall? We can compute it in Python. ```python import math area = 556 coverage = 250 cans = math.ceil(area / coverage) print(cans) ``` Output of the run — 3 Buy 3 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0061503
<|start|><|user|> A 8 × 5 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 8 width = 5 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 10 print(tiles) ``` # console output: 10 10 tiles are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 8 × 5 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 8\nwidth = 5\ntile = 2\ntiles = math.ceil(length * width / (tile * tile)) # 10\nprint(tiles)\n```\n# console outp...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0061504
<|start|><|system|> You may call the tools below. [{"name": "run_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> A party has 14 ...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"run_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requ...
nlprog_det
setting
original
null
deterministic
[]
[]
276
{"gold": "2020-09-28", "printed": "2020-09-28", "notation": null}
nlprog_det-setting-0061505
<|start|><|user|> 8 boxes hold 6 clipboards each. After 20 are handed out, how many are left?<|eot|> <|assistant|> ```python boxes = 8 per_box = 6 given_away = 20 left = boxes * per_box - given_away # 28 print(left) ``` Python prints: 28 That leaves 28 clipboards.<|eot|> <|end|>
chat
[ { "role": "user", "content": "8 boxes hold 6 clipboards each. After 20 are handed out, how many are left?" }, { "role": "assistant", "content": "```python\nboxes = 8\nper_box = 6\ngiven_away = 20\nleft = boxes * per_box - given_away # 28\nprint(left)\n```\nPython prints: 28\n\nThat leaves 28 cl...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0061506
Papers were served by mail on January 9, 2021. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date? A Python solution: ```python from datetime import date, timedelta served = date(2021, 1, 9) # datetime.date(2021, 1, 9) response_days = 28 mail_days = 3 due = served + timedelta...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
181
{"gold": "2021-02-09", "printed": "2021-02-09", "notation": null}
nlprog_det-setting-0061507
How much sales tax is charged on a $489.92 purchase at 9%? Translated to Python: ```python price = 489.92 tax_rate = 9 / 100 # 0.09 tax = price * tax_rate # 44.0928 print(f"{tax:.2f}") ``` Result — 44.09 $44.09 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "44.09", "printed": "44.09", "notation": null}
nlprog_det-setting-0061508
One can of paint covers 250 square feet. How many cans are needed for 1268 square feet of wall? Python does the arithmetic: ```python import math area = 1268 coverage = 250 cans = math.ceil(area / coverage) # 6 print(cans) ``` That prints: 6 6 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "6", "printed": "6", "notation": null}
nlprog_det-setting-0061509
An unpaid balance of $1,000 accrues 1% simple interest per month. How much interest accrues in 5 months? Programmatically: ```python balance = 1000 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 50.0 print(f"{interest:.2f}") ``` It prints: 50.00 The interest is $50.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "50.00", "printed": "50.00", "notation": null}
nlprog_det-setting-0061510
A $12,000 grant pays $0 up front and the rest in 3 equal installments. How large is each installment? Python does the arithmetic: grant = 12000 up_front = 0 installments = 3 each = (grant - up_front) / installments # 4000.0 print(f"{each:.2f}") That prints: 4000.00 Each installment is $4,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "4000.00", "printed": "4000.00", "notation": null}
nlprog_det-setting-0061511
<|start|><|user|> Starting with 1995 mugs and using 12 per day, how many remain after 4 days?<|eot|> <|assistant|> ```python stock = 1995 per_day = 12 days = 4 left = stock - per_day * days # 1947 print(left) ``` Printed — 1947 1947 mugs are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting with 1995 mugs and using 12 per day, how many remain after 4 days?" }, { "role": "assistant", "content": "```python\nstock = 1995\nper_day = 12\ndays = 4\nleft = stock - per_day * days # 1947\nprint(left)\n```\nPrinted — 1947\n\n1947 mugs are left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "1947", "printed": "1947", "notation": null}
nlprog_det-setting-0061512
Pack A has 6 items for $8.99. Pack B has 24 items for $28.19. Which has the lower price per item? Coded up: ```python pack_a = 8.99 / 6 # 1.4983333333333333 pack_b = 28.19 / 24 # 1.1745833333333333 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) ``` Run it and it prints B. B has the lower unit price...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0061513
The rules require 3/5 of 24 members (round up) to be present. How many is that? As a program: ```python import math members = 24 quorum = math.ceil(members * 3 / 5) # 15 print(quorum) ``` Console output: 15 15 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0061514
Counting only Monday through Friday, how many business days are there after February 21, 2022 through March 27, 2022? The computation: ```python from datetime import date, timedelta start = date(2022, 2, 21) end = date(2022, 3, 27) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k))...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0061515
<|start|><|user|> How many whole days and leftover hours are in 132 hours?<|eot|> <|assistant|> ```python hours = 132 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` The program prints 5 days and 12 hours. That is 5 days and 12 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many whole days and leftover hours are in 132 hours?" }, { "role": "assistant", "content": "```python\nhours = 132\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\nThe program prints 5 days and 12 hours.\n\nThat is 5 days and 12 ho...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "5 days and 12 hours", "printed": "5 days and 12 hours", "notation": null}
nlprog_det-setting-0061516
Of a $2,000 budget, $1,200 has been spent. What percent is that? Here is a short program for it. ```python budget = 2000 spent = 1200 percent = spent / budget * 100 # 60.0 print(round(percent, 1)) ``` Printed — 60.0 60.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "60.0", "printed": "60.0", "notation": null}
nlprog_det-setting-0061517
How many days are there from November 12, 2022 to December 14, 2023? Python, step by step: ```python from datetime import date first = date(2022, 11, 12) # datetime.date(2022, 11, 12) second = date(2023, 12, 14) # datetime.date(2023, 12, 14) print((second - first).days) ``` (Printed result: 397) It is 397 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "397", "printed": "397", "notation": null}
nlprog_det-setting-0061518
<|start|><|user|> Count 21 days forward from September 5, 2020. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2020, 9, 5) # datetime.date(2020, 9, 5) end = start + timedelta(days=21) # datetime.date(2020, 9, 26) print(end.isoformat()) ``` (Program output: 2020-09-...
chat
[ { "role": "user", "content": "Count 21 days forward from September 5, 2020. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2020, 9, 5) # datetime.date(2020, 9, 5)\nend = start + timedelta(days=21) # datetime.date(2020, 9,...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "2020-09-26", "printed": "2020-09-26", "notation": null}
nlprog_det-setting-0061519
A library charges $0.20 per book per day late. What is the fine for 4 books that are 13 days late? per_day = 0.2 days_late = 13 books = 4 fine = per_day * days_late * books # 10.4 print(f"{fine:.2f}") The script prints: 10.40 $10.40 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "10.40", "printed": "10.40", "notation": null}
nlprog_det-setting-0061520
<|start|><|system|> Answer the user's question directly.<|eot|> <|user|> Convert 40 °C to Fahrenheit.<|eot|> <|assistant|> ```python celsius = 40 fahrenheit = celsius * 9 / 5 + 32 # 104.0 print(round(fahrenheit)) ``` # output: 104 That is 104 °F.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Answer the user's question directly." }, { "role": "user", "content": "Convert 40 °C to Fahrenheit." }, { "role": "assistant", "content": "```python\ncelsius = 40\nfahrenheit = celsius * 9 / 5 + 32 # 104.0\nprint(round(fahrenheit))\n```\n# output: 104...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "104", "printed": "104", "notation": null}
nlprog_det-setting-0061522
4 books come back 9 days late, at $0.15 a day each. What is the fine? Coded up: per_day = 0.15 days_late = 9 books = 4 fine = per_day * days_late * books # 5.3999999999999995 print(f"{fine:.2f}") Out: 5.40 $5.40 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "5.40", "printed": "5.40", "notation": null}
nlprog_det-setting-0061523
<|start|><|system|> Available functions (JSON Schema): [{"name": "math_engine", "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": ["source"]}}]<|eot|> <|u...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"math_engine\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python so...
nlprog_det
setting
original
null
deterministic
[]
[]
252
{"gold": "3750.00", "printed": "3750.00", "notation": null}
nlprog_det-setting-0061524
A service costs $29 a month or $312 a year. How much does the yearly plan save over 12 monthly payments? Here is the program. ```python monthly = 29 yearly = 312 savings = monthly * 12 - yearly # 36 print(savings) ``` This prints: 36 The annual plan saves $36.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0061525
$2,000 is invested at 4% compounded yearly. What is it worth after 2 years? Here is the program. ```python principal = 2000 rate = 4 / 100 # 0.04 years = 2 value = principal * (1 + rate) ** years # 2163.2000000000003 print(f"{value:.2f}") ``` Execution result: 2163.20 It is worth $2,163.20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "2163.20", "printed": "2163.20", "notation": null}
nlprog_det-setting-0061526
Meals are $64 per day and lodging $175 per night. What is the allowance for 4 days and 3 nights? We write it as a program: ```python days = 4 meal_rate = 64 lodging_rate = 175 nights = days - 1 # 3 total = days * meal_rate + nights * lodging_rate # 781 print(total) ``` Output = 781 The allowance is $781.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "781", "printed": "781", "notation": null}
nlprog_det-setting-0061527
<|start|><|system|> You can call tools. Available tools: {"name": "math_engine", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> A $150 dinner...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n{\"name\": \"math_engine\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"re...
nlprog_det
setting
original
null
deterministic
[]
[]
236
{"gold": "34.50", "printed": "34.50", "notation": null}
nlprog_det-setting-0061528
Which is cheaper per unit: 6 for $4.71 (A) or 24 for $29.48 (B)? Pack A is cheaper per item.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0061529
Split $2,550 between Lucia and Rafael in the ratio 1 to 2. What is Lucia's share? The computation: ```python total = 2550 parts_a = 1 parts_b = 2 share_a = total * parts_a // (parts_a + parts_b) # 850 print(share_a) ``` # run result: 850 Lucia gets $850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "850", "printed": "850", "notation": null}
nlprog_det-setting-0061530
Copies cost $10 plus $0.10 for each page beyond 10. How much for 35 pages? Programmatically: pages = 35 base = 10 per_page = 0.1 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page print(f"{cost:.2f}") It prints: 12.50 The copy costs $12.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "12.50", "printed": "12.50", "notation": null}
nlprog_det-setting-0061531
Equal monthly payments repay $6,000 plus 8% simple yearly interest over 24 months. How large is a payment? The monthly payment is $290.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "290.00", "printed": "290.00", "notation": null}
nlprog_det-setting-0061532
<|start|><|user|> After a 40% fee is taken from a $96,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 4 # 14400.0 print(f"{per_client:.2f}")...
chat
[ { "role": "user", "content": "After a 40% fee is taken from a $96,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = award * 40 / 100 # 38400.0\nremaining = award - fee # 57600.0\nper_cl...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0061533
<|start|><|user|> Revenue is $22,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)?<|eot|> <|assistant|> revenue = 22000 costs = 20000 profit = revenue - costs # 2000 margin = profit / revenue * 100 # 9.090909090909092 print(round(margin, 1)) The run gives ...
chat
[ { "role": "user", "content": "Revenue is $22,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)?" }, { "role": "assistant", "content": " revenue = 22000\n costs = 20000\n profit = revenue - costs # 2000\n margin = profit / revenue * 100 # 9.0...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "9.1", "printed": "9.1", "notation": null}
nlprog_det-setting-0061534
A claim accrued on July 20, 2014. The limitations period is 6 years. On what date does it expire? Python version: ```python from datetime import date accrued = date(2014, 7, 20) # datetime.date(2014, 7, 20) years = 6 expires = accrued.replace(year=accrued.year + years) # datetime.date(2020, 7, 20) print(expires.isof...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "2020-07-20", "printed": "2020-07-20", "notation": null}
nlprog_det-setting-0061535
<|start|><|system|> You can call tools. Available tools: [{"name": "lookup_statute", "description": "Look up the text of a U.S. Code section.", "parameters": {"type": "object", "properties": {"title": {"type": "integer"}, "section": {"type": "string"}}, "required": ["title", "section"]}}, {"name": "run_python", "descri...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"lookup_statute\", \"description\": \"Look up the text of a U.S. Code section.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"integer\"}, \"section\": {\"type\": \"string\"}}, \"required\":...
nlprog_det
setting
original
null
deterministic
[]
[]
308
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0061536
<|start|><|user|> Someone born January 20, 1979 turns how old by January 12, 2020? Give the age in whole years.<|eot|> <|assistant|> from datetime import date born = date(1979, 1, 20) # datetime.date(1979, 1, 20) on = date(2020, 1, 12) # datetime.date(2020, 1, 12) age = on.year - born.year - ((on.mont...
chat
[ { "role": "user", "content": "Someone born January 20, 1979 turns how old by January 12, 2020? Give the age in whole years." }, { "role": "assistant", "content": " from datetime import date\n born = date(1979, 1, 20) # datetime.date(1979, 1, 20)\n on = date(2020, 1, 12) # datetime.dat...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0061537
A lawyer's fee is 35% of a $90,000 recovery. How large is the fee? Let's compute it with Python. ```python recovery = 90000 rate = 35 / 100 # 0.35 fee = recovery * rate # 31499.999999999996 print(f"{fee:.2f}") ``` Run output — 31500.00 The fee is $31,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "31500.00", "printed": "31500.00", "notation": null}
nlprog_det-setting-0061538
Counting only Monday through Friday, how many business days are there after August 18, 2028 through September 17, 2028? Written as code: ```python from datetime import date, timedelta start = date(2028, 8, 18) end = date(2028, 9, 17) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
162
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0061539
<|start|><|user|> A film lasted 2 hours and 33 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 2 minutes = 33 total_minutes = hours * 60 + minutes # 153 print(total_minutes) ``` Printed result: 153 That is 153 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A film lasted 2 hours and 33 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 2\nminutes = 33\ntotal_minutes = hours * 60 + minutes # 153\nprint(total_minutes)\n```\nPrinted result: 153\n\nThat is 153 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "153", "printed": "153", "notation": null}
nlprog_det-setting-0061540
<|start|><|user|> How many weekdays (Monday to Friday) fall after August 27, 2021 up to and including September 22, 2021?<|eot|> <|assistant|> 18 weekdays.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after August 27, 2021 up to and including September 22, 2021?" }, { "role": "assistant", "content": "18 weekdays." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0061541
The firm was founded in 2021. How many years had passed by 2025? Coded up: ```python start_year = 2021 end_year = 2025 print(end_year - start_year) ``` It outputs: 4 4 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0061542
<|start|><|user|> How many weekdays (Monday to Friday) fall after March 3, 2028 up to and including March 30, 2028?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2028, 3, 3) end = date(2028, 3, 30) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k))...
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after March 3, 2028 up to and including March 30, 2028?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2028, 3, 3)\nend = date(2028, 3, 30)\ncount = 0\nfor k in range(1, ...
nlprog_det
setting
original
null
deterministic
[]
[]
156
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0061543
<|start|><|user|> A water bill is $20 plus $3.50 per thousand gallons beyond the first 3 thousand. What is the bill for 7 thousand gallons?<|eot|> <|assistant|> ```python base = 20 rate = 3.5 used = 7 free = 3 bill = base + rate * max(0, used - free) # 34.0 print(f"{bill:.2f}") ``` Printed result: 34.00 $34.00 is owe...
chat
[ { "role": "user", "content": "A water bill is $20 plus $3.50 per thousand gallons beyond the first 3 thousand. What is the bill for 7 thousand gallons?" }, { "role": "assistant", "content": "```python\nbase = 20\nrate = 3.5\nused = 7\nfree = 3\nbill = base + rate * max(0, used - free) # 34.0\np...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "34.00", "printed": "34.00", "notation": null}
nlprog_det-setting-0061544
<|start|><|system|> Keep answers short and correct.<|eot|> <|user|> Counting the first and last day, how many days are there from March 10, 2023 through March 16, 2023?<|eot|> <|assistant|> 7 calendar days.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Keep answers short and correct." }, { "role": "user", "content": "Counting the first and last day, how many days are there from March 10, 2023 through March 16, 2023?" }, { "role": "assistant", "content": "7 calendar days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0061545
<|start|><|user|> Walls total 421 sq ft and each can covers 250 sq ft. How many cans should be bought?<|eot|> <|assistant|> import math area = 421 coverage = 250 cans = math.ceil(area / coverage) # 2 print(cans) Shell output — 2 Buy 2 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Walls total 421 sq ft and each can covers 250 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": " import math\n area = 421\n coverage = 250\n cans = math.ceil(area / coverage) # 2\n print(cans)\nShell output — 2\n\nBuy 2 ca...
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0061546
<|start|><|user|> Scale 100 g of lentils from 4 servings to 10 servings.<|eot|> <|assistant|> ```python grams = 100 serves = 4 needed_for = 10 scaled = grams * needed_for // serves # 250 print(scaled) ``` (Execution result: 250) 250 grams of lentils are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Scale 100 g of lentils from 4 servings to 10 servings." }, { "role": "assistant", "content": "```python\ngrams = 100\nserves = 4\nneeded_for = 10\nscaled = grams * needed_for // serves # 250\nprint(scaled)\n```\n(Execution result: 250)\n\n250 grams of lentils are n...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "250", "printed": "250", "notation": null}
nlprog_det-setting-0061547
At $0.65 per mile, what is the reimbursement for 596 miles? The reimbursement is $387.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "387.40", "printed": "387.40", "notation": null}
nlprog_det-setting-0061548
A lease runs for 36 months at $3,250 per month. How much rent is paid over the whole term? One way, in code: ```python monthly_rent = 3250 months = 36 total = monthly_rent * months # 117000 print(total) ``` Interpreter output: 117000 In total, $117,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "117000", "printed": "117000", "notation": null}
nlprog_det-setting-0061549
<|start|><|user|> Nilufar buys 8 boxes of 10 lanyards each and gives away 13 lanyards. How many lanyards are left?<|eot|> <|assistant|> ```python boxes = 8 per_box = 10 given_away = 13 left = boxes * per_box - given_away # 67 print(left) ``` When run, it prints: 67 67 lanyards are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Nilufar buys 8 boxes of 10 lanyards each and gives away 13 lanyards. How many lanyards are left?" }, { "role": "assistant", "content": "```python\nboxes = 8\nper_box = 10\ngiven_away = 13\nleft = boxes * per_box - given_away # 67\nprint(left)\n```\nWhen run, it pri...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "67", "printed": "67", "notation": null}
nlprog_det-setting-0061550
A $12,000 grant pays $2,000 up front and the rest in 4 equal installments. How large is each installment? ```python grant = 12000 up_front = 2000 installments = 4 each = (grant - up_front) / installments # 2500.0 print(f"{each:.2f}") ``` Run output — 2500.00 $2,500.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "2500.00", "printed": "2500.00", "notation": null}
nlprog_det-setting-0061551
<|start|><|user|> The rules require 1/3 of 58 members (round up) to be present. How many is that?<|eot|> <|assistant|> ```python import math members = 58 quorum = math.ceil(members * 1 / 3) # 20 print(quorum) ``` Execution prints: 20 20 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The rules require 1/3 of 58 members (round up) to be present. How many is that?" }, { "role": "assistant", "content": "```python\nimport math\nmembers = 58\nquorum = math.ceil(members * 1 / 3) # 20\nprint(quorum)\n```\nExecution prints: 20\n\n20 members are needed....
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0061552
<|start|><|user|> A meal costs $243.11. How much is a 20% tip?<|eot|> <|assistant|> ```python bill = 243.11 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 48.62200000000001 print(f"{tip:.2f}") ``` Result = 48.62 The tip is $48.62.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A meal costs $243.11. How much is a 20% tip?" }, { "role": "assistant", "content": "```python\nbill = 243.11\ntip_rate = 20 / 100 # 0.2\ntip = bill * tip_rate # 48.62200000000001\nprint(f\"{tip:.2f}\")\n```\nResult = 48.62\n\nThe tip is $48.62." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "48.62", "printed": "48.62", "notation": null}
nlprog_det-setting-0061553
At $0.62 per mile, what is the reimbursement for 334 miles? Python does the arithmetic: ```python miles = 334 rate = 0.62 reimbursement = miles * rate # 207.08 print(f"{reimbursement:.2f}") ``` # run result: 207.08 The reimbursement is $207.08.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "207.08", "printed": "207.08", "notation": null}
nlprog_det-setting-0061554
<|start|><|user|> How much sales tax is charged on a $165.60 purchase at 5%?<|eot|> <|assistant|> ```python price = 165.6 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 8.28 print(f"{tax:.2f}") ``` # printed: 8.28 $8.28 in tax.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How much sales tax is charged on a $165.60 purchase at 5%?" }, { "role": "assistant", "content": "```python\nprice = 165.6\ntax_rate = 5 / 100 # 0.05\ntax = price * tax_rate # 8.28\nprint(f\"{tax:.2f}\")\n```\n# printed: 8.28\n\n$8.28 in tax." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "8.28", "printed": "8.28", "notation": null}
nlprog_det-setting-0061555
<|start|><|user|> Mateo was born on January 13, 2008. How old is Mateo on May 11, 2026?<|eot|> <|assistant|> ```python from datetime import date born = date(2008, 1, 13) # datetime.date(2008, 1, 13) on = date(2026, 5, 11) # datetime.date(2026, 5, 11) age = on.year - born.year - ((on.month, on.day) < (born.month, born...
chat
[ { "role": "user", "content": "Mateo was born on January 13, 2008. How old is Mateo on May 11, 2026?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nborn = date(2008, 1, 13) # datetime.date(2008, 1, 13)\non = date(2026, 5, 11) # datetime.date(2026, 5, 11)\nage = on....
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0061556
Diego lends $5,000 at 2% simple interest per year for 5 years. How much interest is earned? Set it up in Python: ```python principal = 5000 rate = 2 / 100 # 0.02 years = 5 interest = principal * rate * years # 500.0 print(f"{interest:.2f}") ``` Console output — 500.00 It earns $500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "500.00", "printed": "500.00", "notation": null}
nlprog_det-setting-0061557
Prorate $2,400 of monthly rent for 20 days of a 30-day month. In Python: ```python rent = 2400 days_in_month = 30 days_occupied = 20 prorated = rent * days_occupied / days_in_month # 1600.0 print(f"{prorated:.2f}") ``` Printed: 1600.00 The prorated rent is $1,600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "1600.00", "printed": "1600.00", "notation": null}
nlprog_det-setting-0061558
Under a 33% contingency agreement, what fee is owed on a $40,000 award? Coded up: ```python recovery = 40000 rate = 33 / 100 # 0.33 fee = recovery * rate # 13200.0 print(f"{fee:.2f}") ``` (Program output: 13200.00) The lawyer's fee comes to $13,200.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "13200.00", "printed": "13200.00", "notation": null}
nlprog_det-setting-0061559
A 168-page report must be reviewed in 3 days. How many pages a day is that, evenly? As Python: ```python pages = 168 days = 3 per_day = pages // days # 56 print(per_day) ``` Executing it gives: 56 56 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "56", "printed": "56", "notation": null}
nlprog_det-setting-0061560
<|start|><|system|> Tool definitions: {"name": "calc", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> 126 volunteers are split into 6 equal teams. Ho...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"calc\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"program\"]}}" }, ...
nlprog_det
setting
original
null
deterministic
[]
[]
220
{"gold": "21 each, 0 left over", "printed": "21 each, 0 left over", "notation": null}
nlprog_det-setting-0061561
A water bill is $15 plus $5.10 per thousand gallons beyond the first 3 thousand. What is the bill for 16 thousand gallons? As a program: ```python base = 15 rate = 5.1 used = 16 free = 3 bill = base + rate * max(0, used - free) # 81.3 print(f"{bill:.2f}") ``` Running this gives: 81.30 The bill is $81.30.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "81.30", "printed": "81.30", "notation": null}
nlprog_det-setting-0061562
<|start|><|user|> A penalty of $250 a day accrues, capped at $5,000. What is owed after 16 days?<|eot|> <|assistant|> The fine is $4,000.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $250 a day accrues, capped at $5,000. What is owed after 16 days?" }, { "role": "assistant", "content": "The fine is $4,000." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "4000", "printed": "4000", "notation": null}
nlprog_det-setting-0061563
<|start|><|user|> 6 friends split a $150 bill plus a 15% tip evenly. How much does each pay?<|eot|> <|assistant|> bill = 150 tip_rate = 15 / 100 # 0.15 people = 6 each = bill * (1 + tip_rate) / people # 28.75 print(f"{each:.2f}") # output: 28.75 The share is $28.75 each.<|eot|> <|end|>
chat
[ { "role": "user", "content": "6 friends split a $150 bill plus a 15% tip evenly. How much does each pay?" }, { "role": "assistant", "content": " bill = 150\n tip_rate = 15 / 100 # 0.15\n people = 6\n each = bill * (1 + tip_rate) / people # 28.75\n print(f\"{each:.2f}\")\n# outpu...
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "28.75", "printed": "28.75", "notation": null}
nlprog_det-setting-0061564
<|start|><|user|> At 2% a month (simple), what interest builds on $2,500 over 5 months?<|eot|> <|assistant|> ```python balance = 2500 monthly_rate = 2 / 100 # 0.02 months = 5 interest = balance * monthly_rate * months # 250.0 print(f"{interest:.2f}") ``` Printed = 250.00 The interest is $250.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 2% a month (simple), what interest builds on $2,500 over 5 months?" }, { "role": "assistant", "content": "```python\nbalance = 2500\nmonthly_rate = 2 / 100 # 0.02\nmonths = 5\ninterest = balance * monthly_rate * months # 250.0\nprint(f\"{interest:.2f}\")\n```\n...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "250.00", "printed": "250.00", "notation": null}
nlprog_det-setting-0061565
<|start|><|user|> A count moves from 500 to 550. By what percent did it change (use a minus sign for a drop)?<|eot|> <|assistant|> ```python old = 500 new = 550 change = (new - old) / old * 100 # 10.0 print(round(change)) ``` The interpreter prints: 10 It changed by 10%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A count moves from 500 to 550. By what percent did it change (use a minus sign for a drop)?" }, { "role": "assistant", "content": "```python\nold = 500\nnew = 550\nchange = (new - old) / old * 100 # 10.0\nprint(round(change))\n```\nThe interpreter prints: 10\n\nIt ...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0061566
Sami and Helga share $1,932 in the ratio 2:5. How much does Sami get? The computation: ```python total = 1932 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 552 print(share_a) ``` Run output — 552 Sami's share is $552.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "552", "printed": "552", "notation": null}
nlprog_det-setting-0061567
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}} {"name": "calc", "desc...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, ...
nlprog_det
setting
original
null
deterministic
[]
[]
278
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0061568
Convert 5 h 45 min (the length of a training session) to minutes. In Python: hours = 5 minutes = 45 total_minutes = hours * 60 + minutes # 345 print(total_minutes) Run it and it prints: 345 The training session lasted 345 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "345", "printed": "345", "notation": null}
nlprog_det-setting-0061569
<|start|><|user|> A hall has 29 rows of 12 seats, and 33 seats are empty. How many people are seated?<|eot|> <|assistant|> ```python rows = 29 per_row = 12 empty = 33 seated = rows * per_row - empty # 315 print(seated) ``` Executing it gives: 315 315 seats are taken.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hall has 29 rows of 12 seats, and 33 seats are empty. How many people are seated?" }, { "role": "assistant", "content": "```python\nrows = 29\nper_row = 12\nempty = 33\nseated = rows * per_row - empty # 315\nprint(seated)\n```\nExecuting it gives: 315\n\n315 seat...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "315", "printed": "315", "notation": null}
nlprog_det-setting-0061571
<|start|><|user|> A trial runs from October 1, 2026 to October 13, 2026, counting both days. How many calendar days is that?<|eot|> <|assistant|> ```python from datetime import date first = date(2026, 10, 1) # datetime.date(2026, 10, 1) last = date(2026, 10, 13) # datetime.date(2026, 10, 13) days = (last - first).day...
chat
[ { "role": "user", "content": "A trial runs from October 1, 2026 to October 13, 2026, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2026, 10, 1) # datetime.date(2026, 10, 1)\nlast = date(2026, 10, 13)...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0061572
A garage charges $4 an hour, never more than $24 a day. How much for 7 hours? As Python: ```python rate = 4 hours = 7 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` stdout: 24 The charge is $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0061573
A garage charges $3 an hour, never more than $20 a day. How much for 11 hours? We write it as a program: ```python rate = 3 hours = 11 daily_max = 20 cost = min(rate * hours, daily_max) # 20 print(cost) ``` The program outputs 20. The charge is $20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0061574
Xavier earns a 5% commission on $7,034 of sales. What is the commission? One way, in code: ```python sales = 7034 rate = 5 / 100 # 0.05 commission = sales * rate # 351.70000000000005 print(f"{commission:.2f}") ``` Printed: 351.70 The commission is $351.70.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "351.70", "printed": "351.70", "notation": null}
nlprog_det-setting-0061575
<|start|><|user|> An invoice lists 18 ink cartridges at $7 each, plus 6% sales tax. What is the invoice total?<|eot|> <|assistant|> ```python quantity = 18 unit_price = 7 subtotal = quantity * unit_price # 126 total = subtotal * (1 + 6 / 100) # 133.56 print(f"{total:.2f}") ``` Printed = 133.56 The total with tax is ...
chat
[ { "role": "user", "content": "An invoice lists 18 ink cartridges at $7 each, plus 6% sales tax. What is the invoice total?" }, { "role": "assistant", "content": "```python\nquantity = 18\nunit_price = 7\nsubtotal = quantity * unit_price # 126\ntotal = subtotal * (1 + 6 / 100) # 133.56\nprint(f...
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "133.56", "printed": "133.56", "notation": null}
nlprog_det-setting-0061576
A $2,500 security deposit has deductions of $120, $200 and $60. How much is refunded? The refund is $2,120.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "2120", "printed": "2120", "notation": null}
nlprog_det-setting-0061577
<|start|><|system|> Tools you may use: {"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"]}}<|eot|> <|user|> At 1.5% a month...
chat
[ { "role": "system", "content": "Tools you may use:\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
[]
[]
231
{"gold": "75.00", "printed": "75.00", "notation": null}
nlprog_det-setting-0061578
If a 4-year limitations period starts on March 20, 2012, when does it end? The period expires on March 20, 2016.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "2016-03-20", "printed": "2016-03-20", "notation": null}
nlprog_det-setting-0061580
<|start|><|user|> An unpaid balance of $12,000 accrues 1% simple interest per month. How much interest accrues in 5 months?<|eot|> <|assistant|> ```python balance = 12000 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 600.0 print(f"{interest:.2f}") ``` Execution result — 600.00 ...
chat
[ { "role": "user", "content": "An unpaid balance of $12,000 accrues 1% simple interest per month. How much interest accrues in 5 months?" }, { "role": "assistant", "content": "```python\nbalance = 12000\nmonthly_rate = 1 / 100 # 0.01\nmonths = 5\ninterest = balance * monthly_rate * months # 600...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0061581
10 boxes hold 12 toner kits each. After 8 are handed out, how many are left? A short script: ```python boxes = 10 per_box = 12 given_away = 8 left = boxes * per_box - given_away # 112 print(left) ``` That prints: 112 112 toner kits are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "112", "printed": "112", "notation": null}
nlprog_det-setting-0061582
Counting only Monday through Friday, how many business days are there after March 8, 2019 through April 2, 2019? There are 17 business days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0061583
Shipping costs $8 plus $0.75 per pound. What does a 2-pound parcel cost to ship? Python, step by step: ```python base = 8 per_pound = 0.75 weight = 2 cost = base + per_pound * weight # 9.5 print(f"{cost:.2f}") ``` Run it and it prints: 9.50 The charge is $9.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "9.50", "printed": "9.50", "notation": null}
nlprog_det-setting-0061584
A meal costs $227.55. How much is a 10% tip? Leave $22.76.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "22.76", "printed": "22.76", "notation": null}
nlprog_det-setting-0061586
What is a 10% tip on a $187.88 bill? A short script: ```python bill = 187.88 tip_rate = 10 / 100 # 0.1 tip = bill * tip_rate # 18.788 print(f"{tip:.2f}") ``` Result — 18.79 The tip is $18.79.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "18.79", "printed": "18.79", "notation": null}
nlprog_det-setting-0061587
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "code_runner", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> ...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"code_runner\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python...
nlprog_det
setting
original
null
deterministic
[]
[]
216
{"gold": "954", "printed": "954", "notation": null}
nlprog_det-setting-0061588
The paralegal logged 4 hours at a rate of $350. How much is billed? Code: ```python hours = 4 rate = 350 bill = hours * rate # 1400 print(f"{bill:.2f}") ``` Execution result: 1400.00 That comes to $1,400.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "1400.00", "printed": "1400.00", "notation": null}
nlprog_det-setting-0061589
<|start|><|system|> You help with homework problems.<|eot|> <|user|> Scale 300 g of flour from 6 servings to 8 servings.<|eot|> <|assistant|> ```python grams = 300 serves = 6 needed_for = 8 scaled = grams * needed_for // serves # 400 print(scaled) ``` Output of the run: 400 Use 400 g of flour.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help with homework problems." }, { "role": "user", "content": "Scale 300 g of flour from 6 servings to 8 servings." }, { "role": "assistant", "content": "```python\ngrams = 300\nserves = 6\nneeded_for = 8\nscaled = grams * needed_for // serves # 4...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0061590
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> Filing fees are $150 per document. What do 3 filings cost?<|eot|> <|assistant|> The filings cost $450 in all.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "Filing fees are $150 per document. What do 3 filings cost?" }, { "role": "assistant", "content": "The filings cost $450 in all." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "450", "printed": "450", "notation": null}
nlprog_det-setting-0061591
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> After an initial $2,000, the remainder of a $24,000 grant is paid in 12 equal parts. What is each part?<|eot|> <|assistant|> grant = 24000 up_front = 2000 installments = 12 each = (grant - up_front) / installments # 1833...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "After an initial $2,000, the remainder of a $24,000 grant is paid in 12 equal parts. What is each part?" }, { "role": "assistant", "content": " grant = 24000\n up_fr...
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "1833.33", "printed": "1833.33", "notation": null}
nlprog_det-setting-0061592
A meal costs $146.55. How much is a 15% tip? Translated to Python: ```python bill = 146.55 tip_rate = 15 / 100 # 0.15 tip = bill * tip_rate # 21.9825 print(f"{tip:.2f}") ``` (Output: 21.98) Leave $21.98.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "21.98", "printed": "21.98", "notation": null}
nlprog_det-setting-0061593
<|start|><|user|> Lucia and Amir share $2,516 in the ratio 1:3. How much does Lucia get?<|eot|> <|assistant|> ```python total = 2516 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 629 print(share_a) ``` This prints 629. Lucia gets $629.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Lucia and Amir share $2,516 in the ratio 1:3. How much does Lucia get?" }, { "role": "assistant", "content": "```python\ntotal = 2516\nparts_a = 1\nparts_b = 3\nshare_a = total * parts_a // (parts_a + parts_b) # 629\nprint(share_a)\n```\nThis prints 629.\n\nLucia g...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "629", "printed": "629", "notation": null}
nlprog_det-setting-0061594
At $29.96 an hour, what does 30 hours of work pay? A short script: ```python rate = 29.96 hours = 30 earnings = rate * hours # 898.8000000000001 print(f"{earnings:.2f}") ``` Python prints 898.80, as expected. The pay is $898.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "898.80", "printed": "898.80", "notation": null}
nlprog_det-setting-0061595
<|start|><|user|> An unpaid balance of $7,500 accrues 2% simple interest per month. How much interest accrues in 3 months?<|eot|> <|assistant|> ```python balance = 7500 monthly_rate = 2 / 100 # 0.02 months = 3 interest = balance * monthly_rate * months # 450.0 print(f"{interest:.2f}") ``` The script prints: 450.00 $...
chat
[ { "role": "user", "content": "An unpaid balance of $7,500 accrues 2% simple interest per month. How much interest accrues in 3 months?" }, { "role": "assistant", "content": "```python\nbalance = 7500\nmonthly_rate = 2 / 100 # 0.02\nmonths = 3\ninterest = balance * monthly_rate * months # 450.0...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0061596
<|start|><|user|> A workshop lasted 1 hours and 36 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 1 minutes = 36 total_minutes = hours * 60 + minutes # 96 print(total_minutes) ``` Running it prints: 96 The workshop lasted 96 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A workshop lasted 1 hours and 36 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 1\nminutes = 36\ntotal_minutes = hours * 60 + minutes # 96\nprint(total_minutes)\n```\nRunning it prints: 96\n\nThe workshop lasted 96 minu...
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "96", "printed": "96", "notation": null}