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-0059687
<|start|><|user|> Someone works 38 hours at $23.28 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 23.28 hours = 38 earnings = rate * hours # 884.6400000000001 print(f"{earnings:.2f}") ``` It prints 884.64, as expected. That earns $884.64.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 38 hours at $23.28 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 23.28\nhours = 38\nearnings = rate * hours # 884.6400000000001\nprint(f\"{earnings:.2f}\")\n```\nIt prints 884.64, as expected.\n\nThat earns ...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "884.64", "printed": "884.64", "notation": null}
nlprog_det-setting-0059688
At 1.5% a month (simple), what interest builds on $1,000 over 3 months? $45.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "45.00", "printed": "45.00", "notation": null}
nlprog_det-setting-0059689
4 bike rides at 150 calories each burn how many calories in total? Python code: per_session = 150 sessions = 4 total = per_session * sessions # 600 print(total) When run, it prints: 600 600 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "600", "printed": "600", "notation": null}
nlprog_det-setting-0059690
A 3-day trip pays $79 a day for meals and $140 a night for lodging (2 nights). What is the total allowance? The computation: ```python days = 3 meal_rate = 79 lodging_rate = 140 nights = days - 1 # 2 total = days * meal_rate + nights * lodging_rate # 517 print(total) ``` stdout = 517 That comes to $517.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "517", "printed": "517", "notation": null}
nlprog_det-setting-0059691
A measure needs at least 67% of 245 votes. How many votes is that, rounded up? Here is the program. ```python import math voters = 245 needed = math.ceil(voters * 67 / 100) print(needed) ``` Executing it gives 165. At least 165 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "165", "printed": "165", "notation": null}
nlprog_det-setting-0059692
If a 2-year limitations period starts on December 10, 2018, when does it end? Written as code: ```python from datetime import date accrued = date(2018, 12, 10) years = 2 expires = accrued.replace(year=accrued.year + years) print(expires.isoformat()) ``` It prints 2020-12-10, as expected. The period expires on Decembe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "2020-12-10", "printed": "2020-12-10", "notation": null}
nlprog_det-setting-0059693
<|start|><|user|> 4 clients win $60,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> Each share is $9,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 clients win $60,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "Each share is $9,000.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "9000.00", "printed": "9000.00", "notation": null}
nlprog_det-setting-0059694
Fines run at $100 per day up to a maximum of $1,000. How much after 35 days? Set it up in Python: ```python per_day = 100 days = 35 cap = 1000 fine = min(per_day * days, cap) # 1000 print(fine) ``` # stdout: 1000 The fine is $1,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0059695
Convert 40 °C to Fahrenheit. That is 104 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "104", "printed": "104", "notation": null}
nlprog_det-setting-0059696
<|start|><|user|> Papers were served by mail on July 20, 2019. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> It is due August 13, 2019.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Papers were served by mail on July 20, 2019. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "It is due August 13, 2019." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
50
{"gold": "2019-08-13", "printed": "2019-08-13", "notation": null}
nlprog_det-setting-0059697
To read 180 pages in 4 days, how many pages per day are needed? Python version: ```python pages = 180 days = 4 per_day = pages // days # 45 print(per_day) ``` # run result: 45 That is 45 pages per day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "45", "printed": "45", "notation": null}
nlprog_det-setting-0059698
If a 6-year limitations period starts on May 25, 2018, when does it end? Program: ```python from datetime import date accrued = date(2018, 5, 25) # datetime.date(2018, 5, 25) years = 6 expires = accrued.replace(year=accrued.year + years) # datetime.date(2024, 5, 25) print(expires.isoformat()) ``` Out: 2024-05-25 It...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "2024-05-25", "printed": "2024-05-25", "notation": null}
nlprog_det-setting-0059700
<|start|><|system|> Functions: {"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}} {"name": "compute", "description": "Executes a Python program and returns its output.", "parameters": {"type": "obje...
chat
[ { "role": "system", "content": "Functions:\n{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}\n{\"name\": \"compute\", \"description\": \"Executes a Python pro...
nlprog_det
setting
original
null
deterministic
[]
[]
355
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0059701
<|start|><|user|> A shift runs from 11:49 AM to 5:55 PM. How long is it in minutes?<|eot|> <|assistant|> 366 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A shift runs from 11:49 AM to 5:55 PM. How long is it in minutes?" }, { "role": "assistant", "content": "366 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "366", "printed": "366", "notation": null}
nlprog_det-setting-0059702
Buying 2 cables at $12 each, 1 flash drives at $10 each, 4 chairs at $8 each, 5 batteries at $28 each, someone hands over $250. What change comes back? Python code: ```python items = [(2, 12), (1, 10), (4, 8), (5, 28)] total = sum(q * p for q, p in items) # 206 paid = 250 change = paid - total # 44 print(change) ```...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "44", "printed": "44", "notation": null}
nlprog_det-setting-0059703
How many minutes pass from 8:00 AM to 1:59 PM on the same day? In code: ```python start = 8 * 60 + 0 # 480 end = 13 * 60 + 59 # 839 print(end - start) ``` It outputs: 359 359 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "359", "printed": "359", "notation": null}
nlprog_det-setting-0059704
Shipping costs $10 plus $1.20 per pound. What does a 12-pound parcel cost to ship? As a program: ```python base = 10 per_pound = 1.2 weight = 12 cost = base + per_pound * weight # 24.4 print(f"{cost:.2f}") ``` It prints 24.40, as expected. The charge is $24.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "24.40", "printed": "24.40", "notation": null}
nlprog_det-setting-0059706
What percentage of $5,000 is $1,600? ```python budget = 5000 spent = 1600 percent = spent / budget * 100 # 32.0 print(round(percent, 1)) ``` Run result: 32.0 That is 32.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "32.0", "printed": "32.0", "notation": null}
nlprog_det-setting-0059707
A hearing starts at 9:20 AM and lasts 150 minutes. When does it end? Coded up: ```python start = 9 * 60 + 20 end = start + 150 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Run output: 11:50 AM The hearing finishes at 11:50 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "11:50 AM", "printed": "11:50 AM", "notation": null}
nlprog_det-setting-0059709
What percentage of $2,000 is $1,000? Script: ```python budget = 2000 spent = 1000 percent = spent / budget * 100 # 50.0 print(round(percent, 1)) ``` Execution result: 50.0 50.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "50.0", "printed": "50.0", "notation": null}
nlprog_det-setting-0059710
<|start|><|user|> Each of Jae's bike rides burns 300 calories. How many calories over 5 bike rides?<|eot|> <|assistant|> per_session = 300 sessions = 5 total = per_session * sessions # 1500 print(total) Program output: 1500 1500 calories in total.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each of Jae's bike rides burns 300 calories. How many calories over 5 bike rides?" }, { "role": "assistant", "content": " per_session = 300\n sessions = 5\n total = per_session * sessions # 1500\n print(total)\nProgram output: 1500\n\n1500 calories in t...
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0059711
After an initial $3,000, the remainder of a $24,000 grant is paid in 4 equal parts. What is each part? The program: ```python grant = 24000 up_front = 3000 installments = 4 each = (grant - up_front) / installments # 5250.0 print(f"{each:.2f}") ``` Output of the run: 5250.00 Each installment is $5,250.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "5250.00", "printed": "5250.00", "notation": null}
nlprog_det-setting-0059712
<|start|><|user|> Straight-line depreciation: cost $45,000, salvage $6,000, 10 years. How much per year?<|eot|> <|assistant|> Depreciation is $3,900.00 per year.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Straight-line depreciation: cost $45,000, salvage $6,000, 10 years. How much per year?" }, { "role": "assistant", "content": "Depreciation is $3,900.00 per year." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
54
{"gold": "3900.00", "printed": "3900.00", "notation": null}
nlprog_det-setting-0059713
<|start|><|user|> Papers were served by mail on September 20, 2028. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> The response is due on October 14, 2028.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Papers were served by mail on September 20, 2028. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "The response is due on October 14, 2028." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
53
{"gold": "2028-10-14", "printed": "2028-10-14", "notation": null}
nlprog_det-setting-0059714
One can of paint covers 350 square feet. How many cans are needed for 1141 square feet of wall? The computation: ```python import math area = 1141 coverage = 350 cans = math.ceil(area / coverage) # 4 print(cans) ``` Execution prints 4. 4 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0059715
<|start|><|user|> 29 of 40 members attended. What percent attended?<|eot|> <|assistant|> ```python present = 29 total = 40 percent = present / total * 100 # 72.5 print(round(percent, 1)) ``` (Output: 72.5) 72.5% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "29 of 40 members attended. What percent attended?" }, { "role": "assistant", "content": "```python\npresent = 29\ntotal = 40\npercent = present / total * 100 # 72.5\nprint(round(percent, 1))\n```\n(Output: 72.5)\n\n72.5% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "72.5", "printed": "72.5", "notation": null}
nlprog_det-setting-0059716
With $36,000 in costs and $38,000 in revenue, what percent of revenue is profit? Round to one decimal. Computation in Python: ```python revenue = 38000 costs = 36000 profit = revenue - costs # 2000 margin = profit / revenue * 100 # 5.263157894736842 print(round(margin, 1)) ``` stdout: 5.3 The margin is 5.3%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "5.3", "printed": "5.3", "notation": null}
nlprog_det-setting-0059717
A garage charges $2 an hour, never more than $18 a day. How much for 4 hours? The Python version: ```python rate = 2 hours = 4 daily_max = 18 cost = min(rate * hours, daily_max) # 8 print(cost) ``` Printed result: 8 Parking costs $8.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0059718
A $2,000 security deposit has deductions of $60. How much is refunded? A few lines of Python do it: ```python deposit = 2000 deductions = [60] refund = deposit - sum(deductions) print(refund) ``` Executed, it shows 1940. $1,940 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "1940", "printed": "1940", "notation": null}
nlprog_det-setting-0059719
Attendance was 24 out of 25. Express it as a percent. As a program: present = 24 total = 25 percent = present / total * 100 print(round(percent, 1)) The program prints 96.0. 96.0% attended.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
64
{"gold": "96.0", "printed": "96.0", "notation": null}
nlprog_det-setting-0059720
Amir buys 7 boxes of 24 tape rolls each and gives away 3 tape rolls. How many tape rolls are left? ```python boxes = 7 per_box = 24 given_away = 3 left = boxes * per_box - given_away # 165 print(left) ``` The run gives: 165 That leaves 165 tape rolls.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "165", "printed": "165", "notation": null}
nlprog_det-setting-0059721
What percentage of $10,000 is $1,800? ```python budget = 10000 spent = 1800 percent = spent / budget * 100 # 18.0 print(round(percent, 1)) ``` Execution result: 18.0 That is 18.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "18.0", "printed": "18.0", "notation": null}
nlprog_det-setting-0059722
<|start|><|user|> From 2024 to 2056, how many years is that?<|eot|> <|assistant|> ```python start_year = 2024 end_year = 2056 print(end_year - start_year) ``` # program output: 32 That is 32 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From 2024 to 2056, how many years is that?" }, { "role": "assistant", "content": "```python\nstart_year = 2024\nend_year = 2056\nprint(end_year - start_year)\n```\n# program output: 32\n\nThat is 32 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0059723
With 6 rows of 11 chairs and 15 empty chairs, how many chairs are taken? A few lines of Python do it: ```python rows = 6 per_row = 11 empty = 15 seated = rows * per_row - empty # 51 print(seated) ``` Python prints: 51 51 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "51", "printed": "51", "notation": null}
nlprog_det-setting-0059724
From 2013 to 2044, how many years is that? Here is a short program for it. ```python start_year = 2013 end_year = 2044 print(end_year - start_year) ``` Running it prints 31, as expected. 31 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0059725
<|start|><|system|> Tools you may use: [{"name": "sandbox_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> Of a $8,000 budget, $1,000 has b...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"sandbox_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code...
nlprog_det
setting
original
null
deterministic
[]
[]
215
{"gold": "12.5", "printed": "12.5", "notation": null}
nlprog_det-setting-0059726
The bridge was finished in 2024. How many years had passed by 2058? We write it as a program: ```python start_year = 2024 end_year = 2058 print(end_year - start_year) ``` Run result — 34 34 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "34", "printed": "34", "notation": null}
nlprog_det-setting-0059727
From a $10,000 retainer, 2 hours at $200/hour have been drawn. What remains? Here is a short program for it. ```python retainer = 10000 hours = 2 rate = 200 left = retainer - hours * rate # 9600 print(left) ``` (Execution result: 9600) The remaining balance is $9,600.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "9600", "printed": "9600", "notation": null}
nlprog_det-setting-0059728
Monthly rent is $1,800. A tenant moves in with 6 days left in a 31-day month. What is the prorated rent? ```python rent = 1800 days_in_month = 31 days_occupied = 6 prorated = rent * days_occupied / days_in_month # 348.38709677419354 print(f"{prorated:.2f}") ``` The run gives 348.39. The tenant owes $348.39.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "348.39", "printed": "348.39", "notation": null}
nlprog_det-setting-0059730
Equipment costs $12,000, has a salvage value of $2,000, and a useful life of 3 years. What is the straight-line depreciation per year? Let the code do the arithmetic: cost = 12000 salvage = 2000 years = 3 per_year = (cost - salvage) / years print(f"{per_year:.2f}") Output of the run: 3333.33 $3,33...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "3333.33", "printed": "3333.33", "notation": null}
nlprog_det-setting-0059731
<|start|><|user|> How many meters are in 34.3 kilometers?<|eot|> <|assistant|> km = 34.3 meters = km * 1000 # 34300.0 print(round(meters)) What it prints: 34300 34,300 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 34.3 kilometers?" }, { "role": "assistant", "content": " km = 34.3\n meters = km * 1000 # 34300.0\n print(round(meters))\nWhat it prints: 34300\n\n34,300 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
70
{"gold": "34300", "printed": "34300", "notation": null}
nlprog_det-setting-0059732
One can of paint covers 400 square feet. How many cans are needed for 611 square feet of wall? Here is a short program for it. ```python import math area = 611 coverage = 400 cans = math.ceil(area / coverage) # 2 print(cans) ``` # output: 2 2 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0059733
<|start|><|user|> A 17 × 8 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 17 width = 8 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 136 print(tiles) ``` The program prints: 136 136 tiles are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 17 × 8 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 17\nwidth = 8\ntile = 1\ntiles = math.ceil(length * width / (tile * tile)) # 136\nprint(tiles)\n```\nThe program...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "136", "printed": "136", "notation": null}
nlprog_det-setting-0059734
<|start|><|system|> Be concise.<|eot|> <|user|> How much sales tax is charged on a $638.63 purchase at 4%?<|eot|> <|assistant|> $25.55 in tax.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be concise." }, { "role": "user", "content": "How much sales tax is charged on a $638.63 purchase at 4%?" }, { "role": "assistant", "content": "$25.55 in tax." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "25.55", "printed": "25.55", "notation": null}
nlprog_det-setting-0059735
A $12,000 grant pays $0 up front and the rest in 4 equal installments. How large is each installment? Set it up in Python: ```python grant = 12000 up_front = 0 installments = 4 each = (grant - up_front) / installments # 3000.0 print(f"{each:.2f}") ``` When run, it prints: 3000.00 Each installment is $3,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0059736
<|start|><|system|> You are a data assistant.<|eot|> <|user|> If a 135-minute class begins at 8:00 AM, what time does it finish?<|eot|> <|assistant|> ```python start = 8 * 60 + 0 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` It outputs: 1...
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "If a 135-minute class begins at 8:00 AM, what time does it finish?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 0\nend = start + 135\nhour, minute = divmod(end, 60)\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
139
{"gold": "10:15 AM", "printed": "10:15 AM", "notation": null}
nlprog_det-setting-0059737
<|start|><|system|> Tools (call with JSON): [{"name": "eval_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> Of a $8,000 budget...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"eval_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
226
{"gold": "35.0", "printed": "35.0", "notation": null}
nlprog_det-setting-0059738
<|start|><|user|> A 6% increase is applied to $2,200 monthly rent. What is the new amount?<|eot|> <|assistant|> ```python rent = 2200 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 2332.0 print(f"{new_rent:.2f}") ``` Interpreter output: 2332.00 It rises to $2,332.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 6% increase is applied to $2,200 monthly rent. What is the new amount?" }, { "role": "assistant", "content": "```python\nrent = 2200\nincrease = 6 / 100 # 0.06\nnew_rent = rent * (1 + increase) # 2332.0\nprint(f\"{new_rent:.2f}\")\n```\nInterpreter output: 2332....
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "2332.00", "printed": "2332.00", "notation": null}
nlprog_det-setting-0059739
<|start|><|system|> Keep answers short and correct.<|eot|> <|user|> The landlord deducts $200, $45 and $85 from a $1,500 deposit. What is returned to the tenant?<|eot|> <|assistant|> ```python deposit = 1500 deductions = [200, 45, 85] refund = deposit - sum(deductions) # 1170 print(refund) ``` Running this gives: 1170...
chat
[ { "role": "system", "content": "Keep answers short and correct." }, { "role": "user", "content": "The landlord deducts $200, $45 and $85 from a $1,500 deposit. What is returned to the tenant?" }, { "role": "assistant", "content": "```python\ndeposit = 1500\ndeductions = [200, 45, 85]...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1170", "printed": "1170", "notation": null}
nlprog_det-setting-0059740
5 claimants share a $18,000 settlement equally. What is each share? Program: ```python settlement = 18000 parties = 5 share = settlement // parties print(share) ``` # run result: 3600 Each share is $3,600.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "3600", "printed": "3600", "notation": null}
nlprog_det-setting-0059741
A 5% increase is applied to $1,250 monthly rent. What is the new amount? The new rent is $1,312.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "1312.50", "printed": "1312.50", "notation": null}
nlprog_det-setting-0059742
<|start|><|user|> Which is cheaper per unit: 6 for $9.26 (A) or 24 for $9.96 (B)?<|eot|> <|assistant|> pack_a = 9.26 / 6 # 1.5433333333333332 pack_b = 9.96 / 24 # 0.41500000000000004 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) This prints B, as expected. B has the lower unit price...
chat
[ { "role": "user", "content": "Which is cheaper per unit: 6 for $9.26 (A) or 24 for $9.96 (B)?" }, { "role": "assistant", "content": " pack_a = 9.26 / 6 # 1.5433333333333332\n pack_b = 9.96 / 24 # 0.41500000000000004\n cheaper = \"A\" if pack_a < pack_b else \"B\" # 'B'\n print(che...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0059743
Convert 15.4 km to meters. Here's the code. ```python km = 15.4 meters = km * 1000 # 15400.0 print(round(meters)) ``` The code prints 15400. 15,400 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "15400", "printed": "15400", "notation": null}
nlprog_det-setting-0059744
A shift runs from 9:40 AM to 12:44 PM. How long is it in minutes? It is 184 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "184", "printed": "184", "notation": null}
nlprog_det-setting-0059745
A $24,000 grant pays $3,000 up front and the rest in 12 equal installments. How large is each installment? Here is the program. ```python grant = 24000 up_front = 3000 installments = 12 each = (grant - up_front) / installments # 1750.0 print(f"{each:.2f}") ``` (Program output: 1750.00) Each installment is $1,750.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "1750.00", "printed": "1750.00", "notation": null}
nlprog_det-setting-0059746
Lucia earns $18.50 an hour and time and a half for hours over 40. What is the pay for a 41-hour week? Coded up: ```python rate = 18.5 hours = 41 regular = 40 * rate # 740.0 overtime = (hours - 40) * rate * 1.5 # 27.75 pay = regular + overtime # 767.75 print(f"{pay:.2f}") ``` Running it prints: 767.75 Lucia earns $...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "767.75", "printed": "767.75", "notation": null}
nlprog_det-setting-0059747
<|start|><|user|> Divide 267 items among 8 groups as evenly as possible with equal groups. How many per group, and how many remain?<|eot|> <|assistant|> The answer: 33 each, 3 left over.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Divide 267 items among 8 groups as evenly as possible with equal groups. How many per group, and how many remain?" }, { "role": "assistant", "content": "The answer: 33 each, 3 left over." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "33 each, 3 left over", "printed": "33 each, 3 left over", "notation": null}
nlprog_det-setting-0059748
Nilufar buys 6 boxes of 12 labels each and gives away 20 labels. How many labels are left? One way, in code: ```python boxes = 6 per_box = 12 given_away = 20 left = boxes * per_box - given_away # 52 print(left) ``` Executed, it shows: 52 That leaves 52 labels.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0059749
234 files go into boxes of 50. How many boxes does that take? Python does the arithmetic: ```python import math files = 234 per_box = 50 boxes = math.ceil(files / per_box) # 5 print(boxes) ``` Printed = 5 5 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0059751
<|start|><|system|> You may call the tools below. [{"name": "sandbox_python", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> A 7 × 12 foot pa...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"sandbox_python\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requi...
nlprog_det
setting
original
null
deterministic
[]
[]
244
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0059752
An attorney bills 6.5 hours at $250 per hour. What is the bill? Python: hours = 6.5 rate = 250 bill = hours * rate # 1625.0 print(f"{bill:.2f}") On running, it outputs: 1625.00 That comes to $1,625.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "1625.00", "printed": "1625.00", "notation": null}
nlprog_det-setting-0059753
A settlement of $7,350 is split equally among 3 parties. How much does each party receive? A short script: ```python settlement = 7350 parties = 3 share = settlement // parties # 2450 print(share) ``` This prints: 2450 Each share is $2,450.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "2450", "printed": "2450", "notation": null}
nlprog_det-setting-0059754
A car travels 82 miles in 2 hours. What is its average speed in miles per hour? One way, in code: ```python distance = 82 hours = 2 speed = distance / hours # 41.0 print(round(speed)) ``` Printed — 41 It averages 41 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0059755
<|start|><|user|> A storeroom has 650 keyboards. The office uses 8 a day. How many are left after 17 days?<|eot|> <|assistant|> 514 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A storeroom has 650 keyboards. The office uses 8 a day. How many are left after 17 days?" }, { "role": "assistant", "content": "514 remain." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "514", "printed": "514", "notation": null}
nlprog_det-setting-0059756
What percentage of $8,000 is $2,400? Python does the arithmetic: ```python budget = 8000 spent = 2400 percent = spent / budget * 100 # 30.0 print(round(percent, 1)) ``` It outputs: 30.0 That is 30.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "30.0", "printed": "30.0", "notation": null}
nlprog_det-setting-0059757
Tomas buys 5 boxes of 25 chairs each and gives away 16 chairs. How many chairs are left? ```python boxes = 5 per_box = 25 given_away = 16 left = boxes * per_box - given_away # 109 print(left) ``` Result: 109 109 chairs are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "109", "printed": "109", "notation": null}
nlprog_det-setting-0059758
An invoice lists 12 binders at $7 each, plus 10% sales tax. What is the invoice total? Script: ```python quantity = 12 unit_price = 7 subtotal = quantity * unit_price total = subtotal * (1 + 10 / 100) print(f"{total:.2f}") ``` Out: 92.40 The total with tax is $92.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "92.40", "printed": "92.40", "notation": null}
nlprog_det-setting-0059759
<|start|><|user|> From a $2,500 retainer, 10 hours at $200/hour have been drawn. What remains?<|eot|> <|assistant|> ```python retainer = 2500 hours = 10 rate = 200 left = retainer - hours * rate # 500 print(left) ``` Python prints 500, as expected. The remaining balance is $500.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From a $2,500 retainer, 10 hours at $200/hour have been drawn. What remains?" }, { "role": "assistant", "content": "```python\nretainer = 2500\nhours = 10\nrate = 200\nleft = retainer - hours * rate # 500\nprint(left)\n```\nPython prints 500, as expected.\n\nThe re...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "500", "printed": "500", "notation": null}
nlprog_det-setting-0059760
The rules require 3/5 of 16 members (round up) to be present. How many is that? 10 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0059761
<|start|><|user|> At $20.06 an hour, what does 38 hours of work pay?<|eot|> <|assistant|> ```python rate = 20.06 hours = 38 earnings = rate * hours # 762.28 print(f"{earnings:.2f}") ``` Result: 762.28 That earns $762.28.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $20.06 an hour, what does 38 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 20.06\nhours = 38\nearnings = rate * hours # 762.28\nprint(f\"{earnings:.2f}\")\n```\nResult:\n762.28\n\nThat earns $762.28." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "762.28", "printed": "762.28", "notation": null}
nlprog_det-setting-0059762
544 files go into boxes of 40. How many boxes does that take? A few lines of Python do it: ```python import math files = 544 per_box = 40 boxes = math.ceil(files / per_box) # 14 print(boxes) ``` It outputs 14. 14 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0059763
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> If a 135-minute meeting begins at 11:00 AM, what time does it finish?<|eot|> <|assistant|> ```python start = 11 * 60 + 0 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``...
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "If a 135-minute meeting begins at 11:00 AM, what time does it finish?" }, { "role": "assistant", "content": "```python\nstart = 11 * 60 + 0\nend = start + 135\nhour, minute = divmod...
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "1:15 PM", "printed": "1:15 PM", "notation": null}
nlprog_det-setting-0059764
<|start|><|user|> At 65 miles per hour, how many minutes does a 130-mile trip take?<|eot|> <|assistant|> The trip takes 120 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 65 miles per hour, how many minutes does a 130-mile trip take?" }, { "role": "assistant", "content": "The trip takes 120 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0059765
<|start|><|user|> Convert 87 km to meters.<|eot|> <|assistant|> 87,000 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 87 km to meters." }, { "role": "assistant", "content": "87,000 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "87000", "printed": "87000", "notation": null}
nlprog_det-setting-0059766
Equal monthly payments repay $6,000 plus 6% simple yearly interest over 12 months. How large is a payment? The program: ```python principal = 6000 annual_rate = 6 / 100 # 0.06 months = 12 interest = principal * annual_rate * months / 12 # 360.0 payment = (principal + interest) / months # 530.0 print(f"{payment:.2f}...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "530.00", "printed": "530.00", "notation": null}
nlprog_det-setting-0059767
What is a 18% tip on a $96.23 bill? Here is a short program for it. ```python bill = 96.23 tip_rate = 18 / 100 # 0.18 tip = bill * tip_rate # 17.3214 print(f"{tip:.2f}") ``` What it prints — 17.32 Leave $17.32.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "17.32", "printed": "17.32", "notation": null}
nlprog_det-setting-0059768
<|start|><|user|> What is a 10% tip on a $20.37 bill?<|eot|> <|assistant|> ```python bill = 20.37 tip_rate = 10 / 100 # 0.1 tip = bill * tip_rate # 2.0370000000000004 print(f"{tip:.2f}") ``` This prints 2.04, as expected. The tip is $2.04.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is a 10% tip on a $20.37 bill?" }, { "role": "assistant", "content": "```python\nbill = 20.37\ntip_rate = 10 / 100 # 0.1\ntip = bill * tip_rate # 2.0370000000000004\nprint(f\"{tip:.2f}\")\n```\nThis prints 2.04, as expected.\n\nThe tip is $2.04." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "2.04", "printed": "2.04", "notation": null}
nlprog_det-setting-0059769
Nadia buys 8 boxes of 24 desk lamps each and gives away 3 desk lamps. How many desk lamps are left? A short script: ```python boxes = 8 per_box = 24 given_away = 3 left = boxes * per_box - given_away # 189 print(left) ``` When run, it prints 189, as expected. That leaves 189 desk lamps.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "189", "printed": "189", "notation": null}
nlprog_det-setting-0059770
<|start|><|user|> Which is cheaper per unit: 6 for $8.35 (A) or 15 for $15.61 (B)?<|eot|> <|assistant|> ```python pack_a = 8.35 / 6 pack_b = 15.61 / 15 cheaper = "A" if pack_a < pack_b else "B" print(cheaper) ``` Running this gives B. B has the lower unit price.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Which is cheaper per unit: 6 for $8.35 (A) or 15 for $15.61 (B)?" }, { "role": "assistant", "content": "```python\npack_a = 8.35 / 6\npack_b = 15.61 / 15\ncheaper = \"A\" if pack_a < pack_b else \"B\"\nprint(cheaper)\n```\nRunning this gives B.\n\nB has the lower un...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0059771
Revenue is $21,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)? Set it up in Python: ```python revenue = 21000 costs = 20000 profit = revenue - costs # 1000 margin = profit / revenue * 100 # 4.761904761904762 print(round(margin, 1)) ``` (Run result: 4.8) Profit is 4.8% of ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "4.8", "printed": "4.8", "notation": null}
nlprog_det-setting-0059772
A meeting starts at 11:15 AM and lasts 40 minutes. When does it end? Python version: ```python start = 11 * 60 + 15 end = start + 40 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` The program prints 11:55 AM. The meeting finishes at 11:55 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "11:55 AM", "printed": "11:55 AM", "notation": null}
nlprog_det-setting-0059773
<|start|><|user|> Equal monthly payments repay $9,000 plus 10% simple yearly interest over 36 months. How large is a payment?<|eot|> <|assistant|> The monthly payment is $325.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Equal monthly payments repay $9,000 plus 10% simple yearly interest over 36 months. How large is a payment?" }, { "role": "assistant", "content": "The monthly payment is $325.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "325.00", "printed": "325.00", "notation": null}
nlprog_det-setting-0059774
<|start|><|user|> A client paid a $10,000 retainer. The firm has billed 11 hours at $250 per hour. How much of the retainer is left?<|eot|> <|assistant|> ```python retainer = 10000 hours = 11 rate = 250 left = retainer - hours * rate # 7250 print(left) ``` That prints: 7250 The remaining balance is $7,250.<|eot|> <|e...
chat
[ { "role": "user", "content": "A client paid a $10,000 retainer. The firm has billed 11 hours at $250 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": "```python\nretainer = 10000\nhours = 11\nrate = 250\nleft = retainer - hours * rate # 7250\nprint(left)\n```\nT...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "7250", "printed": "7250", "notation": null}
nlprog_det-setting-0059775
<|start|><|system|> Answer in plain English.<|eot|> <|user|> Attendance was 57 out of 100. Express it as a percent.<|eot|> <|assistant|> ```python present = 57 total = 100 percent = present / total * 100 # 56.99999999999999 print(round(percent, 1)) ``` # program output: 57.0 Attendance was 57.0%.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "Attendance was 57 out of 100. Express it as a percent." }, { "role": "assistant", "content": "```python\npresent = 57\ntotal = 100\npercent = present / total * 100 # 56.99999999999999\nprint(r...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "57.0", "printed": "57.0", "notation": null}
nlprog_det-setting-0059776
A claim accrued on February 24, 2020. The limitations period is 4 years. On what date does it expire? ```python from datetime import date accrued = date(2020, 2, 24) # datetime.date(2020, 2, 24) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2024, 2, 24) print(expires.isoformat()) ```...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "2024-02-24", "printed": "2024-02-24", "notation": null}
nlprog_det-setting-0059777
<|start|><|system|> You have access to these functions: {"name": "calc", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> A 7-day trip pays $59 a d...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"calc\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
240
{"gold": "1253", "printed": "1253", "notation": null}
nlprog_det-setting-0059778
The firm was founded in 1996. How many years had passed by 2016? We can compute it in Python. start_year = 1996 end_year = 2016 print(end_year - start_year) The script prints 20, as expected. 20 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
67
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0059779
<|start|><|user|> A storeroom has 1806 chairs. The office uses 32 a day. How many are left after 13 days?<|eot|> <|assistant|> stock = 1806 per_day = 32 days = 13 left = stock - per_day * days # 1390 print(left) Output = 1390 1390 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A storeroom has 1806 chairs. The office uses 32 a day. How many are left after 13 days?" }, { "role": "assistant", "content": " stock = 1806\n per_day = 32\n days = 13\n left = stock - per_day * days # 1390\n print(left)\nOutput = 1390\n\n1390 remain...
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "1390", "printed": "1390", "notation": null}
nlprog_det-setting-0059780
The rules require 2/3 of 19 members (round up) to be present. How many is that? The program: import math members = 19 quorum = math.ceil(members * 2 / 3) # 13 print(quorum) It prints 13. That is 13 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0059781
Revenue is $13,000 and costs are $8,000. What is the profit margin as a percent of revenue (one decimal)? Let's compute it with Python. ```python revenue = 13000 costs = 8000 profit = revenue - costs # 5000 margin = profit / revenue * 100 # 38.46153846153847 print(round(margin, 1)) ``` Output = 38.5 Profit is 38.5%...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "38.5", "printed": "38.5", "notation": null}
nlprog_det-setting-0059782
Lucia was born on May 15, 1970. How old is Lucia on August 13, 2025? The age is 55 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "55", "printed": "55", "notation": null}
nlprog_det-setting-0059783
A storeroom has 479 hard drives. The office uses 28 a day. How many are left after 17 days? ```python stock = 479 per_day = 28 days = 17 left = stock - per_day * days # 3 print(left) ``` Result: 3 3 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0059784
A client paid a $2,500 retainer. The firm has billed 3 hours at $150 per hour. How much of the retainer is left? Here is the program. ```python retainer = 2500 hours = 3 rate = 150 left = retainer - hours * rate # 2050 print(left) ``` # result: 2050 The remaining balance is $2,050.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "2050", "printed": "2050", "notation": null}
nlprog_det-setting-0059785
<|start|><|user|> A water bill is $18 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 20 thousand gallons?<|eot|> <|assistant|> $109.80 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A water bill is $18 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 20 thousand gallons?" }, { "role": "assistant", "content": "$109.80 is owed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "109.80", "printed": "109.80", "notation": null}
nlprog_det-setting-0059786
Goods bought on February 19, 2024 carry a 36-month warranty. When does it expire? Here is the program. from datetime import date start = date(2024, 2, 19) months = 36 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.i...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "2027-02-19", "printed": "2027-02-19", "notation": null}
nlprog_det-setting-0059787
A party has 21 days to respond to a motion served on March 2, 2027, with 3 days added because service was by mail. When is the response due? Translated to Python: ```python from datetime import date, timedelta served = date(2027, 3, 2) # datetime.date(2027, 3, 2) response_days = 21 mail_days = 3 due = served + timede...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
183
{"gold": "2027-03-26", "printed": "2027-03-26", "notation": null}
nlprog_det-setting-0059788
Nikhil drove 14 miles for work. Mileage is reimbursed at 62 cents a mile. How much is the reimbursement? Here is the program. ```python miles = 14 rate = 0.62 reimbursement = miles * rate # 8.68 print(f"{reimbursement:.2f}") ``` # console output: 8.68 Nikhil is owed $8.68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "8.68", "printed": "8.68", "notation": null}
nlprog_det-setting-0059789
A 200-mile drive at a steady 50 mph takes how many minutes? Coded up: ```python distance = 200 speed = 50 minutes = distance / speed * 60 # 240.0 print(round(minutes)) ``` Shell output: 240 The trip takes 240 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "240", "printed": "240", "notation": null}
nlprog_det-setting-0059790
<|start|><|user|> An unpaid balance of $2,500 accrues 1.5% simple interest per month. How much interest accrues in 4 months?<|eot|> <|assistant|> The interest is $150.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An unpaid balance of $2,500 accrues 1.5% simple interest per month. How much interest accrues in 4 months?" }, { "role": "assistant", "content": "The interest is $150.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "150.00", "printed": "150.00", "notation": null}
nlprog_det-setting-0059791
From a $5,000 retainer, 12 hours at $275/hour have been drawn. What remains? Here is the program. ```python retainer = 5000 hours = 12 rate = 275 left = retainer - hours * rate # 1700 print(left) ``` (Execution result: 1700) The remaining balance is $1,700.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1700", "printed": "1700", "notation": null}