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-0071642
<|start|><|user|> Each storage box holds 12 files. How many boxes are needed for 420 files?<|eot|> <|assistant|> 35 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 12 files. How many boxes are needed for 420 files?" }, { "role": "assistant", "content": "35 boxes are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0071643
A filing cabinet costs $180. It is 40% off. What is the sale price? The sale price is $108.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "108.00", "printed": "108.00", "notation": null}
nlprog_det-setting-0071644
How many 1-foot square tiles cover a 8 ft by 5 ft floor (round up)? A Python solution: ```python import math length = 8 width = 5 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 40 print(tiles) ``` What it prints — 40 It takes 40 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0071646
<|start|><|user|> 3 books come back 10 days late, at $0.15 a day each. What is the fine?<|eot|> <|assistant|> ```python per_day = 0.15 days_late = 10 books = 3 fine = per_day * days_late * books # 4.5 print(f"{fine:.2f}") ``` The code prints: 4.50 $4.50 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 books come back 10 days late, at $0.15 a day each. What is the fine?" }, { "role": "assistant", "content": "```python\nper_day = 0.15\ndays_late = 10\nbooks = 3\nfine = per_day * days_late * books # 4.5\nprint(f\"{fine:.2f}\")\n```\nThe code prints: 4.50\n\n$4.50...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "4.50", "printed": "4.50", "notation": null}
nlprog_det-setting-0071647
From 1990 to 2016, how many years is that? Python version: start_year = 1990 end_year = 2016 print(end_year - start_year) Out: 26 That is 26 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
56
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0071648
<|start|><|user|> A room is 17 feet by 16 feet. Flooring costs $8 per square foot. What does it cost to floor the room?<|eot|> <|assistant|> It costs $2,176.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A room is 17 feet by 16 feet. Flooring costs $8 per square foot. What does it cost to floor the room?" }, { "role": "assistant", "content": "It costs $2,176." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "2176", "printed": "2176", "notation": null}
nlprog_det-setting-0071649
A hearing lasted 4 hours and 27 minutes. How many minutes is that? We can compute it in Python. ```python hours = 4 minutes = 27 total_minutes = hours * 60 + minutes # 267 print(total_minutes) ``` Printed: 267 The hearing lasted 267 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "267", "printed": "267", "notation": null}
nlprog_det-setting-0071650
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> How much sales tax is charged on a $249.59 purchase at 5%?<|eot|> <|assistant|> ```python price = 249.59 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 12.479500000000002 print(f"{tax:.2f}") ``` Interpreter output: 12.48 $12.48 in tax.<|eot|> <...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "How much sales tax is charged on a $249.59 purchase at 5%?" }, { "role": "assistant", "content": "```python\nprice = 249.59\ntax_rate = 5 / 100 # 0.05\ntax = price * tax_rate # 12.479...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "12.48", "printed": "12.48", "notation": null}
nlprog_det-setting-0071651
Find the mean of these test scores: 91, 61 and 52. In Python: ```python scores = [91, 61, 52] average = sum(scores) // len(scores) # 68 print(average) ``` What it prints: 68 The mean is 68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "68", "printed": "68", "notation": null}
nlprog_det-setting-0071652
A meal costs $101.91. How much is a 18% tip? The program: ```python bill = 101.91 tip_rate = 18 / 100 # 0.18 tip = bill * tip_rate # 18.343799999999998 print(f"{tip:.2f}") ``` Console output: 18.34 The tip is $18.34.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "18.34", "printed": "18.34", "notation": null}
nlprog_det-setting-0071653
<|start|><|system|> Be concise.<|eot|> <|user|> Revenue is $22,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)?<|eot|> <|assistant|> ```python revenue = 22000 costs = 20000 profit = revenue - costs # 2000 margin = profit / revenue * 100 # 9.090909090909092 print(round(margin...
chat
[ { "role": "system", "content": "Be concise." }, { "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": "```python\nrevenue = 22000\ncosts = 20000\nprofit = revenue ...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "9.1", "printed": "9.1", "notation": null}
nlprog_det-setting-0071654
<|start|><|user|> Each storage box holds 20 files. How many boxes are needed for 853 files?<|eot|> <|assistant|> import math files = 853 per_box = 20 boxes = math.ceil(files / per_box) # 43 print(boxes) Printed = 43 It takes 43 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 20 files. How many boxes are needed for 853 files?" }, { "role": "assistant", "content": " import math\n files = 853\n per_box = 20\n boxes = math.ceil(files / per_box) # 43\n print(boxes)\nPrinted = 43\n\nIt takes 43 boxes." ...
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "43", "printed": "43", "notation": null}
nlprog_det-setting-0071655
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> At a 4% tax rate, what is the tax on $512.40?<|eot|> <|assistant|> ```python price = 512.4 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 20.496 print(f"{tax:.2f}") ``` Out = 20.50 The tax is $20.50.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "At a 4% tax rate, what is the tax on $512.40?" }, { "role": "assistant", "content": "```python\nprice = 512.4\ntax_rate = 4 / 100 # 0.04\ntax = price * tax_rate # 20.496\nprint(f\...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "20.50", "printed": "20.50", "notation": null}
nlprog_det-setting-0071656
<|start|><|user|> A lawyer's fee is 25% of a $60,000 recovery. How large is the fee?<|eot|> <|assistant|> ```python recovery = 60000 rate = 25 / 100 # 0.25 fee = recovery * rate # 15000.0 print(f"{fee:.2f}") ``` It prints 15000.00, as expected. The lawyer's fee comes to $15,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A lawyer's fee is 25% of a $60,000 recovery. How large is the fee?" }, { "role": "assistant", "content": "```python\nrecovery = 60000\nrate = 25 / 100 # 0.25\nfee = recovery * rate # 15000.0\nprint(f\"{fee:.2f}\")\n```\nIt prints 15000.00, as expected.\n\nThe lawy...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "15000.00", "printed": "15000.00", "notation": null}
nlprog_det-setting-0071658
What commission does Beatriz make on $22,181 in sales at 3%? The program: ```python sales = 22181 rate = 3 / 100 # 0.03 commission = sales * rate # 665.43 print(f"{commission:.2f}") ``` Out: 665.43 Beatriz earns $665.43.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "665.43", "printed": "665.43", "notation": null}
nlprog_det-setting-0071659
How many days are there from July 9, 2027 to April 17, 2028? A short script: ```python from datetime import date first = date(2027, 7, 9) # datetime.date(2027, 7, 9) second = date(2028, 4, 17) # datetime.date(2028, 4, 17) print((second - first).days) ``` # printed: 283 There are 283 days between the two dates.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "283", "printed": "283", "notation": null}
nlprog_det-setting-0071660
What average speed covers 378 miles in 1.5 hours? The computation: ```python distance = 378 hours = 1.5 speed = distance / hours # 252.0 print(round(speed)) ``` # stdout: 252 The average speed is 252 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "252", "printed": "252", "notation": null}
nlprog_det-setting-0071661
<|start|><|user|> The paralegal logged 8 hours at a rate of $150. How much is billed?<|eot|> <|assistant|> ```python hours = 8 rate = 150 bill = hours * rate print(f"{bill:.2f}") ``` (Printed result: 1200.00) That comes to $1,200.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The paralegal logged 8 hours at a rate of $150. How much is billed?" }, { "role": "assistant", "content": "```python\nhours = 8\nrate = 150\nbill = hours * rate\nprint(f\"{bill:.2f}\")\n```\n(Printed result: 1200.00)\n\nThat comes to $1,200.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0071662
A bicycle helmet costs $300. It is 40% off. What is the sale price? It costs $180.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "180.00", "printed": "180.00", "notation": null}
nlprog_det-setting-0071664
A claim accrued on May 20, 2016. The limitations period is 6 years. On what date does it expire? The Python version: ```python from datetime import date accrued = date(2016, 5, 20) # datetime.date(2016, 5, 20) years = 6 expires = accrued.replace(year=accrued.year + years) # datetime.date(2022, 5, 20) print(expires.i...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2022-05-20", "printed": "2022-05-20", "notation": null}
nlprog_det-setting-0071666
<|start|><|user|> What percentage of $8,000 is $4,400?<|eot|> <|assistant|> ```python budget = 8000 spent = 4400 percent = spent / budget * 100 # 55.00000000000001 print(round(percent, 1)) ``` Result — 55.0 55.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $8,000 is $4,400?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nspent = 4400\npercent = spent / budget * 100 # 55.00000000000001\nprint(round(percent, 1))\n```\nResult — 55.0\n\n55.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "55.0", "printed": "55.0", "notation": null}
nlprog_det-setting-0071667
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> An unpaid balance of $4,000 accrues 2% simple interest per month. How much interest accrues in 3 months?<|eot|> <|assistant|> The interest is $240.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "An unpaid balance of $4,000 accrues 2% simple interest per month. How much interest accrues in 3 months?" }, { "role": "assistant", "content": "The interest is $240.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
56
{"gold": "240.00", "printed": "240.00", "notation": null}
nlprog_det-setting-0071668
With 20% off, what does a $300 filing cabinet cost? The program: ```python price = 300 discount = 20 / 100 sale_price = price * (1 - discount) print(f"{sale_price:.2f}") ``` Result: 240.00 It costs $240.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "240.00", "printed": "240.00", "notation": null}
nlprog_det-setting-0071669
762 files go into boxes of 12. How many boxes does that take? A short script: ```python import math files = 762 per_box = 12 boxes = math.ceil(files / per_box) # 64 print(boxes) ``` stdout: 64 64 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "64", "printed": "64", "notation": null}
nlprog_det-setting-0071671
Starting from $8,000, the team spends $3,058, $1,363, $1,820, $3,782. What remains? Here's the code. ```python budget = 8000 expenses = [3058, 1363, 1820, 3782] left = budget - sum(expenses) # -2023 print(left) ``` Interpreter output — -2023 The remaining budget is -$2,023.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "-2023", "printed": "-2023", "notation": null}
nlprog_det-setting-0071672
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> A garage charges $3 an hour, never more than $20 a day. How much for 10 hours?<|eot|> <|assistant|> ```python rate = 3 hours = 10 daily_max = 20 cost = min(rate * hours, daily_max) # 20 print(cost) ``` Running this gives: 20 Parking costs $2...
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "A garage charges $3 an hour, never more than $20 a day. How much for 10 hours?" }, { "role": "assistant", "content": "```python\nrate = 3\nhours = 10\ndaily_max = 20\ncost = min...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0071673
3 books come back 9 days late, at $0.15 a day each. What is the fine? Program: per_day = 0.15 days_late = 9 books = 3 fine = per_day * days_late * books print(f"{fine:.2f}") This prints 4.05. $4.05 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "4.05", "printed": "4.05", "notation": null}
nlprog_det-setting-0071674
Which is cheaper per unit: 8 for $11.19 (A) or 20 for $31.30 (B)? ```python pack_a = 11.19 / 8 # 1.39875 pack_b = 31.3 / 20 # 1.565 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) ``` Run result — A A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0071675
A 4-day trip pays $74 a day for meals and $175 a night for lodging (3 nights). What is the total allowance? The Python version: ```python days = 4 meal_rate = 74 lodging_rate = 175 nights = days - 1 total = days * meal_rate + nights * lodging_rate print(total) ``` Executing it gives: 821 That comes to $821.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "821", "printed": "821", "notation": null}
nlprog_det-setting-0071676
The building opened in 1991. How many years had passed by 2027? We write it as a program: ```python start_year = 1991 end_year = 2027 print(end_year - start_year) ``` Run result — 36 That is 36 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0071677
<|start|><|user|> A shift runs from 11:35 AM to 5:48 PM. How long is it in minutes?<|eot|> <|assistant|> ```python start = 11 * 60 + 35 # 695 end = 17 * 60 + 48 # 1068 print(end - start) ``` # output: 373 373 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A shift runs from 11:35 AM to 5:48 PM. How long is it in minutes?" }, { "role": "assistant", "content": "```python\nstart = 11 * 60 + 35 # 695\nend = 17 * 60 + 48 # 1068\nprint(end - start)\n```\n# output: 373\n\n373 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "373", "printed": "373", "notation": null}
nlprog_det-setting-0071678
At 50 miles per hour, how many minutes does a 150-mile trip take? Python code: ```python distance = 150 speed = 50 minutes = distance / speed * 60 print(round(minutes)) ``` (Output: 180) 180 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0071679
<|start|><|user|> A pack of 12 notebooks sells for $336. What does each cost?<|eot|> <|assistant|> Each one costs $28.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A pack of 12 notebooks sells for $336. What does each cost?" }, { "role": "assistant", "content": "Each one costs $28." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0071680
A deposition lasted 3 hours and 20 minutes. How many minutes is that? Python code: ```python hours = 3 minutes = 20 total_minutes = hours * 60 + minutes # 200 print(total_minutes) ``` Shell output: 200 The deposition lasted 200 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "200", "printed": "200", "notation": null}
nlprog_det-setting-0071681
What average speed covers 274 miles in 2 hours? Python: ```python distance = 274 hours = 2 speed = distance / hours # 137.0 print(round(speed)) ``` # printed result: 137 It averages 137 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "137", "printed": "137", "notation": null}
nlprog_det-setting-0071682
Revenue is $17,500 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)? Profit is 28.6% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "28.6", "printed": "28.6", "notation": null}
nlprog_det-setting-0071683
<|start|><|system|> Tools you may use: [{"name": "python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Sales went from 400 to ...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": ...
nlprog_det
setting
original
null
deterministic
[]
[]
197
{"gold": "-40", "printed": "-40", "notation": null}
nlprog_det-setting-0071684
A storeroom has 1279 scissors. The office uses 38 a day. How many are left after 7 days? Let the code do the arithmetic: ```python stock = 1279 per_day = 38 days = 7 left = stock - per_day * days # 1013 print(left) ``` Shell output — 1013 1013 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "1013", "printed": "1013", "notation": null}
nlprog_det-setting-0071685
<|start|><|user|> Convert 2 h 50 min (the length of a meeting) to minutes.<|eot|> <|assistant|> ```python hours = 2 minutes = 50 total_minutes = hours * 60 + minutes # 170 print(total_minutes) ``` The script prints 170. That is 170 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 2 h 50 min (the length of a meeting) to minutes." }, { "role": "assistant", "content": "```python\nhours = 2\nminutes = 50\ntotal_minutes = hours * 60 + minutes # 170\nprint(total_minutes)\n```\nThe script prints 170.\n\nThat is 170 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "170", "printed": "170", "notation": null}
nlprog_det-setting-0071686
After a 40% fee is taken from a $96,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? Computation in Python: ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 3 # 19200.0 print(f"{per_client:.2f}") ``` The code p...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "19200.00", "printed": "19200.00", "notation": null}
nlprog_det-setting-0071687
Papers were served by mail on April 24, 2018. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date? Python, step by step: ```python from datetime import date, timedelta served = date(2018, 4, 24) # datetime.date(2018, 4, 24) response_days = 28 mail_days = 3 due = served + timed...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
178
{"gold": "2018-05-25", "printed": "2018-05-25", "notation": null}
nlprog_det-setting-0071688
<|start|><|system|> Functions: [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "define_word", "description": "Return a dictionary definiti...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\": [\"start\", \"end\"]}}, {\"name\"...
nlprog_det
setting
original
null
deterministic
[]
[]
395
{"gold": "49.80", "printed": "49.80", "notation": null}
nlprog_det-setting-0071689
<|start|><|user|> A clerk's office charges $45 for each filing. Kofi submits 6 filings. What is the total fee?<|eot|> <|assistant|> The total fee is $270.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A clerk's office charges $45 for each filing. Kofi submits 6 filings. What is the total fee?" }, { "role": "assistant", "content": "The total fee is $270." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "270", "printed": "270", "notation": null}
nlprog_det-setting-0071690
A car travels 536 miles in 2 hours. What is its average speed in miles per hour? The average speed is 268 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "268", "printed": "268", "notation": null}
nlprog_det-setting-0071691
<|start|><|user|> Pack A has 10 items for $9.17. Pack B has 24 items for $28.84. Which has the lower price per item?<|eot|> <|assistant|> ```python pack_a = 9.17 / 10 # 0.917 pack_b = 28.84 / 24 # 1.2016666666666667 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) ``` Run it and it prints: A Pack A is...
chat
[ { "role": "user", "content": "Pack A has 10 items for $9.17. Pack B has 24 items for $28.84. Which has the lower price per item?" }, { "role": "assistant", "content": "```python\npack_a = 9.17 / 10 # 0.917\npack_b = 28.84 / 24 # 1.2016666666666667\ncheaper = \"A\" if pack_a < pack_b else \"B\"...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0071692
<|start|><|system|> You are a math tutor.<|eot|> <|user|> With 25% off, what does a $120 chair cost?<|eot|> <|assistant|> It costs $90.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "With 25% off, what does a $120 chair cost?" }, { "role": "assistant", "content": "It costs $90.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "90.00", "printed": "90.00", "notation": null}
nlprog_det-setting-0071693
From a $5,000 retainer, 4 hours at $275/hour have been drawn. What remains? Program: ```python retainer = 5000 hours = 4 rate = 275 left = retainer - hours * rate # 3900 print(left) ``` The script prints 3900. $3,900 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "3900", "printed": "3900", "notation": null}
nlprog_det-setting-0071694
What commission does Kaito make on $90,561 in sales at 6%? In Python: ```python sales = 90561 rate = 6 / 100 # 0.06 commission = sales * rate # 5433.66 print(f"{commission:.2f}") ``` What it prints: 5433.66 Kaito earns $5,433.66.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "5433.66", "printed": "5433.66", "notation": null}
nlprog_det-setting-0071696
Shipping costs $12 plus $1.50 per pound. What does a 24-pound parcel cost to ship? A short script: base = 12 per_pound = 1.5 weight = 24 cost = base + per_pound * weight # 48.0 print(f"{cost:.2f}") Running it prints 48.00. The charge is $48.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "48.00", "printed": "48.00", "notation": null}
nlprog_det-setting-0071697
Monthly rent is $1,500. A tenant moves in with 17 days left in a 30-day month. What is the prorated rent? The prorated rent is $850.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "850.00", "printed": "850.00", "notation": null}
nlprog_det-setting-0071698
Filing fees are $150 per document. What do 13 filings cost? In Python: ```python fee = 150 filings = 13 total = fee * filings # 1950 print(total) ``` Result: 1950 $1,950 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "1950", "printed": "1950", "notation": null}
nlprog_det-setting-0071699
Shipping costs $5 plus $1.50 per pound. What does a 34-pound parcel cost to ship? Python code: ```python base = 5 per_pound = 1.5 weight = 34 cost = base + per_pound * weight # 56.0 print(f"{cost:.2f}") ``` Shell output — 56.00 The charge is $56.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "56.00", "printed": "56.00", "notation": null}
nlprog_det-setting-0071700
<|start|><|system|> Tools (call with JSON): [{"name": "calc", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> How much sales tax is charged on a $840...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"calc\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippet\"]}}]"...
nlprog_det
setting
original
null
deterministic
[]
[]
220
{"gold": "42.01", "printed": "42.01", "notation": null}
nlprog_det-setting-0071702
How many of 261 votes make 60% (round up)? We can compute it in Python. ```python import math voters = 261 needed = math.ceil(voters * 60 / 100) print(needed) ``` Printed result: 157 157 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "157", "printed": "157", "notation": null}
nlprog_det-setting-0071703
A 6% increase is applied to $1,500 monthly rent. What is the new amount? Let the code do the arithmetic: ```python rent = 1500 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 1590.0 print(f"{new_rent:.2f}") ``` It outputs: 1590.00 The new rent is $1,590.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "1590.00", "printed": "1590.00", "notation": null}
nlprog_det-setting-0071704
Of a $8,000 budget, $2,800 has been spent. What percent is that? ```python budget = 8000 spent = 2800 percent = spent / budget * 100 # 35.0 print(round(percent, 1)) ``` It prints: 35.0 That is 35.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "35.0", "printed": "35.0", "notation": null}
nlprog_det-setting-0071705
What is a 25% tip on a $85.05 bill? Script: ```python bill = 85.05 tip_rate = 25 / 100 # 0.25 tip = bill * tip_rate # 21.2625 print(f"{tip:.2f}") ``` (stdout: 21.26) Leave $21.26.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "21.26", "printed": "21.26", "notation": null}
nlprog_det-setting-0071706
<|start|><|user|> To read 570 pages in 19 days, how many pages per day are needed?<|eot|> <|assistant|> 30 pages a day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "To read 570 pages in 19 days, how many pages per day are needed?" }, { "role": "assistant", "content": "30 pages a day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0071707
<|start|><|user|> Counting only Monday through Friday, how many business days are there after March 16, 2023 through April 2, 2023?<|eot|> <|assistant|> There are 11 business days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after March 16, 2023 through April 2, 2023?" }, { "role": "assistant", "content": "There are 11 business days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "11", "printed": "11", "notation": null}
nlprog_det-setting-0071709
<|start|><|user|> How much sales tax is charged on a $425.38 purchase at 5%?<|eot|> <|assistant|> ```python price = 425.38 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 21.269000000000002 print(f"{tax:.2f}") ``` That prints 21.27. $21.27 in tax.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How much sales tax is charged on a $425.38 purchase at 5%?" }, { "role": "assistant", "content": "```python\nprice = 425.38\ntax_rate = 5 / 100 # 0.05\ntax = price * tax_rate # 21.269000000000002\nprint(f\"{tax:.2f}\")\n```\nThat prints 21.27.\n\n$21.27 in tax." ...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "21.27", "printed": "21.27", "notation": null}
nlprog_det-setting-0071710
<|start|><|user|> Goods bought on September 21, 2018 carry a 24-month warranty. When does it expire?<|eot|> <|assistant|> from datetime import date start = date(2018, 9, 21) months = 24 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.da...
chat
[ { "role": "user", "content": "Goods bought on September 21, 2018 carry a 24-month warranty. When does it expire?" }, { "role": "assistant", "content": " from datetime import date\n start = date(2018, 9, 21)\n months = 24\n years, month_index = divmod(start.month - 1 + months, 12)\n ...
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "2020-09-21", "printed": "2020-09-21", "notation": null}
nlprog_det-setting-0071711
20 labels cost $6 apiece. With 7% tax added, what is the total? quantity = 20 unit_price = 6 subtotal = quantity * unit_price # 120 total = subtotal * (1 + 7 / 100) # 128.4 print(f"{total:.2f}") The program prints 128.40, as expected. The total with tax is $128.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "128.40", "printed": "128.40", "notation": null}
nlprog_det-setting-0071712
Counting only Monday through Friday, how many business days are there after September 26, 2018 through October 3, 2018? Translated to Python: from datetime import date, timedelta start = date(2018, 9, 26) end = date(2018, 10, 3) count = 0 for k in range(1, (end - start).days + 1): if (start...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0071713
<|start|><|system|> Tools (call with JSON): [{"name": "calculator", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> What is the total rent on a 24...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"calculator\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"co...
nlprog_det
setting
original
null
deterministic
[]
[]
208
{"gold": "23400", "printed": "23400", "notation": null}
nlprog_det-setting-0071714
<|start|><|user|> 4 clients win $48,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 48000 fee = award * 40 / 100 remaining = award - fee per_client = remaining / 4 print(f"{per_client:.2f}") ``` stdout — 7200.00 Each share is $7,200.00.<|e...
chat
[ { "role": "user", "content": "4 clients win $48,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 48000\nfee = award * 40 / 100\nremaining = award - fee\nper_client = remaining / 4\nprint(f\"{per_cli...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "7200.00", "printed": "7200.00", "notation": null}
nlprog_det-setting-0071715
A $30,000 grant pays $6,000 up front and the rest in 6 equal installments. How large is each installment? Python version: grant = 30000 up_front = 6000 installments = 6 each = (grant - up_front) / installments # 4000.0 print(f"{each:.2f}") On running, it outputs 4000.00. Each installment is $4,00...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "4000.00", "printed": "4000.00", "notation": null}
nlprog_det-setting-0071716
Fixed costs are $9,000. Each unit sells for $30 and costs $25 to make. How many units must be sold to break even? Python: ```python import math fixed = 9000 price = 30 variable = 25 units = math.ceil(fixed / (price - variable)) # 1800 print(units) ``` Result — 1800 Break-even is 1800 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "1800", "printed": "1800", "notation": null}
nlprog_det-setting-0071717
With $36,000 in costs and $37,000 in revenue, what percent of revenue is profit? Round to one decimal. Python code: revenue = 37000 costs = 36000 profit = revenue - costs # 1000 margin = profit / revenue * 100 # 2.7027027027027026 print(round(margin, 1)) Printed result: 2.7 Profit is 2.7% of rev...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "2.7", "printed": "2.7", "notation": null}
nlprog_det-setting-0071718
<|start|><|user|> How long, in days, is it from October 18, 2027 until March 1, 2028?<|eot|> <|assistant|> There are 135 days between the two dates.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How long, in days, is it from October 18, 2027 until March 1, 2028?" }, { "role": "assistant", "content": "There are 135 days between the two dates." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "135", "printed": "135", "notation": null}
nlprog_det-setting-0071719
6 boxes hold 24 batteries each. After 9 are handed out, how many are left? ```python boxes = 6 per_box = 24 given_away = 9 left = boxes * per_box - given_away print(left) ``` # stdout: 135 That leaves 135 batteries.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "135", "printed": "135", "notation": null}
nlprog_det-setting-0071720
Counting only Monday through Friday, how many business days are there after February 6, 2024 through March 14, 2024? As a program: ```python from datetime import date, timedelta start = date(2024, 2, 6) end = date(2024, 3, 14) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).week...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
155
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0071721
<|start|><|user|> Noor buys 4 boxes of 10 mugs each and gives away 11 mugs. How many mugs are left?<|eot|> <|assistant|> ```python boxes = 4 per_box = 10 given_away = 11 left = boxes * per_box - given_away # 29 print(left) ``` Execution result: 29 That leaves 29 mugs.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Noor buys 4 boxes of 10 mugs each and gives away 11 mugs. How many mugs are left?" }, { "role": "assistant", "content": "```python\nboxes = 4\nper_box = 10\ngiven_away = 11\nleft = boxes * per_box - given_away # 29\nprint(left)\n```\nExecution result: 29\n\nThat le...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0071722
<|start|><|system|> Write short, precise answers.<|eot|> <|user|> Goods bought on March 22, 2026 carry a 6-month warranty. When does it expire?<|eot|> <|assistant|> from datetime import date start = date(2026, 3, 22) months = 6 years, month_index = divmod(start.month - 1 + months, 12) end = date(sta...
chat
[ { "role": "system", "content": "Write short, precise answers." }, { "role": "user", "content": "Goods bought on March 22, 2026 carry a 6-month warranty. When does it expire?" }, { "role": "assistant", "content": " from datetime import date\n start = date(2026, 3, 22)\n month...
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2026-09-22", "printed": "2026-09-22", "notation": null}
nlprog_det-setting-0071724
Parking is $3 per hour with a daily maximum of $18. What do 9 hours cost? A short script: rate = 3 hours = 9 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) The program outputs 18. Parking costs $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0071725
An unpaid balance of $2,500 accrues 1% simple interest per month. How much interest accrues in 5 months? Written as code: ```python balance = 2500 monthly_rate = 1 / 100 months = 5 interest = balance * monthly_rate * months print(f"{interest:.2f}") ``` It prints: 125.00 $125.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "125.00", "printed": "125.00", "notation": null}
nlprog_det-setting-0071726
<|start|><|user|> A client paid a $5,000 retainer. The firm has billed 8 hours at $275 per hour. How much of the retainer is left?<|eot|> <|assistant|> $2,800 of the retainer is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A client paid a $5,000 retainer. The firm has billed 8 hours at $275 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": "$2,800 of the retainer is left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "2800", "printed": "2800", "notation": null}
nlprog_det-setting-0071727
Walls total 218 sq ft and each can covers 300 sq ft. How many cans should be bought? As Python: ```python import math area = 218 coverage = 300 cans = math.ceil(area / coverage) # 1 print(cans) ``` Run output — 1 1 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0071728
<|start|><|system|> The following tools are available. Call one when it helps. {"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": "...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"lookup_statute\", \"description\": \"Look up the text of a U.S. Code section.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"integer\"}, \"section\": {\"type\": \"stri...
nlprog_det
setting
original
null
deterministic
[]
[]
317
{"gold": "28.32", "printed": "28.32", "notation": null}
nlprog_det-setting-0071729
A count moves from 2,000 to 1,200. By what percent did it change (use a minus sign for a drop)? As a program: ```python old = 2000 new = 1200 change = (new - old) / old * 100 # -40.0 print(round(change)) ``` Result — -40 The change is -40%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "-40", "printed": "-40", "notation": null}
nlprog_det-setting-0071730
<|start|><|system|> Tools you may use: [{"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": "python", "description": "Use for arith...
chat
[ { "role": "system", "content": "Tools you may use:\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\": [\"title\", \"sec...
nlprog_det
setting
original
null
deterministic
[]
[]
358
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0071731
<|start|><|user|> Abel earns a 5% commission on $116,863 of sales. What is the commission?<|eot|> <|assistant|> ```python sales = 116863 rate = 5 / 100 # 0.05 commission = sales * rate # 5843.150000000001 print(f"{commission:.2f}") ``` Python prints 5843.15, as expected. The commission is $5,843.15.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Abel earns a 5% commission on $116,863 of sales. What is the commission?" }, { "role": "assistant", "content": "```python\nsales = 116863\nrate = 5 / 100 # 0.05\ncommission = sales * rate # 5843.150000000001\nprint(f\"{commission:.2f}\")\n```\nPython prints 5843.1...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "5843.15", "printed": "5843.15", "notation": null}
nlprog_det-setting-0071732
A water bill is $20 plus $4.20 per thousand gallons beyond the first 0 thousand. What is the bill for 7 thousand gallons? Python does the arithmetic: base = 20 rate = 4.2 used = 7 free = 0 bill = base + rate * max(0, used - free) # 49.400000000000006 print(f"{bill:.2f}") The run gives 49.40, a...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "49.40", "printed": "49.40", "notation": null}
nlprog_det-setting-0071733
Counting only Monday through Friday, how many business days are there after May 28, 2027 through June 8, 2027? Code: ```python from datetime import date, timedelta start = date(2027, 5, 28) end = date(2027, 6, 8) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).weekday() < 5: ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
155
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0071734
Jonas drove 96 miles for work. Mileage is reimbursed at 65 cents a mile. How much is the reimbursement? The computation: ```python miles = 96 rate = 0.65 reimbursement = miles * rate # 62.400000000000006 print(f"{reimbursement:.2f}") ``` The printout reads: 62.40 Jonas is owed $62.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "62.40", "printed": "62.40", "notation": null}
nlprog_det-setting-0071735
<|start|><|user|> How many days are there from August 18, 2019 to November 15, 2019?<|eot|> <|assistant|> There are 89 days between the two dates.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many days are there from August 18, 2019 to November 15, 2019?" }, { "role": "assistant", "content": "There are 89 days between the two dates." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "89", "printed": "89", "notation": null}
nlprog_det-setting-0071736
<|start|><|user|> What simple interest does $12,000 earn at 8% a year over 6 years?<|eot|> <|assistant|> ```python principal = 12000 rate = 8 / 100 # 0.08 years = 6 interest = principal * rate * years # 5760.0 print(f"{interest:.2f}") ``` The program prints 5760.00. It earns $5,760.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $12,000 earn at 8% a year over 6 years?" }, { "role": "assistant", "content": "```python\nprincipal = 12000\nrate = 8 / 100 # 0.08\nyears = 6\ninterest = principal * rate * years # 5760.0\nprint(f\"{interest:.2f}\")\n```\nThe program prin...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "5760.00", "printed": "5760.00", "notation": null}
nlprog_det-setting-0071738
What simple interest does $5,000 earn at 3% a year over 4 years? The interest is $600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0071739
<|start|><|system|> Tool definitions: {"name": "math_engine", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|> <|user|> 80 copies of a 48-page packet are pri...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"math_engine\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code\"]}...
nlprog_det
setting
original
null
deterministic
[]
[]
230
{"gold": "576.00", "printed": "576.00", "notation": null}
nlprog_det-setting-0071740
How long, in days, is it from May 18, 2018 until April 22, 2019? As a program: ```python from datetime import date first = date(2018, 5, 18) # datetime.date(2018, 5, 18) second = date(2019, 4, 22) # datetime.date(2019, 4, 22) print((second - first).days) ``` The program outputs: 339 There are 339 days between the t...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "339", "printed": "339", "notation": null}
nlprog_det-setting-0071741
<|start|><|user|> A deposition lasted 5 hours and 39 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 5 minutes = 39 total_minutes = hours * 60 + minutes # 339 print(total_minutes) ``` # console output: 339 The deposition lasted 339 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A deposition lasted 5 hours and 39 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 5\nminutes = 39\ntotal_minutes = hours * 60 + minutes # 339\nprint(total_minutes)\n```\n# console output: 339\n\nThe deposition lasted 33...
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "339", "printed": "339", "notation": null}
nlprog_det-setting-0071742
<|start|><|user|> A hearing starts at 8:45 AM and lasts 105 minutes. When does it end?<|eot|> <|assistant|> ```python start = 8 * 60 + 45 end = start + 105 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Execution prints 10:30 AM. It ends at 10:30 AM.<|eot|...
chat
[ { "role": "user", "content": "A hearing starts at 8:45 AM and lasts 105 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 45\nend = start + 105\nhour, minute = divmod(end, 60)\nprint(f\"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "10:30 AM", "printed": "10:30 AM", "notation": null}
nlprog_det-setting-0071743
<|start|><|user|> Walls total 1019 sq ft and each can covers 250 sq ft. How many cans should be bought?<|eot|> <|assistant|> ```python import math area = 1019 coverage = 250 cans = math.ceil(area / coverage) # 5 print(cans) ``` That prints 5. Buy 5 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Walls total 1019 sq ft and each can covers 250 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1019\ncoverage = 250\ncans = math.ceil(area / coverage) # 5\nprint(cans)\n```\nThat prints 5.\n\nBuy 5 cans."...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0071744
Notice was given on March 26, 2025. The notice period is 45 days. When does it run out? Python does the arithmetic: ```python from datetime import date, timedelta start = date(2025, 3, 26) # datetime.date(2025, 3, 26) end = start + timedelta(days=45) # datetime.date(2025, 5, 10) print(end.isoformat()) ``` Execution ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "2025-05-10", "printed": "2025-05-10", "notation": null}
nlprog_det-setting-0071745
<|start|><|user|> Parking is $4 per hour with a daily maximum of $24. What do 7 hours cost?<|eot|> <|assistant|> ```python rate = 4 hours = 7 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` Python prints: 24 Parking costs $24.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Parking is $4 per hour with a daily maximum of $24. What do 7 hours cost?" }, { "role": "assistant", "content": "```python\nrate = 4\nhours = 7\ndaily_max = 24\ncost = min(rate * hours, daily_max) # 24\nprint(cost)\n```\nPython prints: 24\n\nParking costs $24." }...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0071746
How many minutes pass from 11:00 AM to 4:21 PM on the same day? Code: start = 11 * 60 + 0 # 660 end = 16 * 60 + 21 # 981 print(end - start) # stdout: 321 It is 321 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
72
{"gold": "321", "printed": "321", "notation": null}
nlprog_det-setting-0071747
Convert 10 °C to Fahrenheit. Python version: ```python celsius = 10 fahrenheit = celsius * 9 / 5 + 32 # 50.0 print(round(fahrenheit)) ``` Execution prints: 50 It equals 50 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0071748
Prorate $900 of monthly rent for 11 days of a 31-day month. We write it as a program: ```python rent = 900 days_in_month = 31 days_occupied = 11 prorated = rent * days_occupied / days_in_month # 319.35483870967744 print(f"{prorated:.2f}") ``` Interpreter output: 319.35 The prorated rent is $319.35.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "319.35", "printed": "319.35", "notation": null}
nlprog_det-setting-0071749
After a 40% fee is taken from a $96,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? One way, in code: ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 3 # 19200.0 print(f"{per_client:.2f}") ``` Result: 19200.0...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "19200.00", "printed": "19200.00", "notation": null}
nlprog_det-setting-0071750
A 2% increase is applied to $1,500 monthly rent. What is the new amount? Here's the code. ```python rent = 1500 increase = 2 / 100 # 0.02 new_rent = rent * (1 + increase) # 1530.0 print(f"{new_rent:.2f}") ``` The run gives 1530.00, as expected. The new rent is $1,530.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1530.00", "printed": "1530.00", "notation": null}
nlprog_det-setting-0071751
A 38 lb package ships at $5 base plus $1.50/lb. What is the charge? We write it as a program: ```python base = 5 per_pound = 1.5 weight = 38 cost = base + per_pound * weight # 62.0 print(f"{cost:.2f}") ``` Running it prints 62.00, as expected. The charge is $62.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "62.00", "printed": "62.00", "notation": null}