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-0084056
Equal monthly payments repay $2,400 plus 8% simple yearly interest over 36 months. How large is a payment? The program: ```python principal = 2400 annual_rate = 8 / 100 # 0.08 months = 36 interest = principal * annual_rate * months / 12 # 576.0 payment = (principal + interest) / months # 82.66666666666667 print(f"{...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "82.67", "printed": "82.67", "notation": null}
nlprog_det-setting-0084057
<|start|><|user|> If a 6-year limitations period starts on August 27, 2024, when does it end?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2024, 8, 27) # datetime.date(2024, 8, 27) years = 6 expires = accrued.replace(year=accrued.year + years) # datetime.date(2030, 8, 27) print(expires.isof...
chat
[ { "role": "user", "content": "If a 6-year limitations period starts on August 27, 2024, when does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2024, 8, 27) # datetime.date(2024, 8, 27)\nyears = 6\nexpires = accrued.replace(year=accrued.year...
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2030-08-27", "printed": "2030-08-27", "notation": null}
nlprog_det-setting-0084058
<|start|><|system|> Tools (call with JSON): {"name": "compute", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}} {"name": "translate", "description": "Translate text i...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n{\"name\": \"compute\", \"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
[]
[]
313
{"gold": "3600.00", "printed": "3600.00", "notation": null}
nlprog_det-setting-0084059
9 boxes hold 24 toner kits each. After 1 are handed out, how many are left? The computation: boxes = 9 per_box = 24 given_away = 1 left = boxes * per_box - given_away # 215 print(left) Executing it gives 215, as expected. 215 toner kits are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "215", "printed": "215", "notation": null}
nlprog_det-setting-0084060
An attorney bills 12 hours at $410 per hour. What is the bill? ```python hours = 12 rate = 410 bill = hours * rate # 4920 print(f"{bill:.2f}") ``` Result: 4920.00 That comes to $4,920.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "4920.00", "printed": "4920.00", "notation": null}
nlprog_det-setting-0084061
<|start|><|user|> One can of paint covers 250 square feet. How many cans are needed for 304 square feet of wall?<|eot|> <|assistant|> Buy 2 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 250 square feet. How many cans are needed for 304 square feet of wall?" }, { "role": "assistant", "content": "Buy 2 cans." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0084062
<|start|><|user|> Water costs $18 a month plus $3.50 for each 1,000 gallons over 3,000. What is owed for 4,000 gallons?<|eot|> <|assistant|> ```python base = 18 rate = 3.5 used = 4 free = 3 bill = base + rate * max(0, used - free) # 21.5 print(f"{bill:.2f}") ``` (Output: 21.50) The bill is $21.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Water costs $18 a month plus $3.50 for each 1,000 gallons over 3,000. What is owed for 4,000 gallons?" }, { "role": "assistant", "content": "```python\nbase = 18\nrate = 3.5\nused = 4\nfree = 3\nbill = base + rate * max(0, used - free) # 21.5\nprint(f\"{bill:.2f}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "21.50", "printed": "21.50", "notation": null}
nlprog_det-setting-0084063
A 649-page report must be reviewed in 11 days. How many pages a day is that, evenly? Here is a short program for it. ```python pages = 649 days = 11 per_day = pages // days # 59 print(per_day) ``` (Execution result: 59) 59 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "59", "printed": "59", "notation": null}
nlprog_det-setting-0084064
<|start|><|user|> 8 claimants share a $1,200 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 1200 parties = 8 share = settlement // parties # 150 print(share) ``` Out: 150 Each share is $150.<|eot|> <|end|>
chat
[ { "role": "user", "content": "8 claimants share a $1,200 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 1200\nparties = 8\nshare = settlement // parties # 150\nprint(share)\n```\nOut:\n150\n\nEach share is $150." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "150", "printed": "150", "notation": null}
nlprog_det-setting-0084065
What simple interest does $1,000 earn at 3% a year over 2 years? Python, step by step: ```python principal = 1000 rate = 3 / 100 # 0.03 years = 2 interest = principal * rate * years # 60.0 print(f"{interest:.2f}") ``` Printed result: 60.00 It earns $60.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "60.00", "printed": "60.00", "notation": null}
nlprog_det-setting-0084066
Meals are $69 per day and lodging $175 per night. What is the allowance for 5 days and 4 nights? That comes to $1,045.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "1045", "printed": "1045", "notation": null}
nlprog_det-setting-0084067
<|start|><|user|> Papers were served by mail on July 15, 2024. A response is due 14 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2024, 7, 15) # datetime.date(2024, 7, 15) response_days = 14 mail_days = 3 due =...
chat
[ { "role": "user", "content": "Papers were served by mail on July 15, 2024. A response is due 14 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nserved = date(2024, 7, 15) # datetime....
nlprog_det
setting
original
null
deterministic
[]
[]
177
{"gold": "2024-08-01", "printed": "2024-08-01", "notation": null}
nlprog_det-setting-0084069
Equipment costs $24,000, has a salvage value of $3,000, and a useful life of 8 years. What is the straight-line depreciation per year? We can compute it in Python. ```python cost = 24000 salvage = 3000 years = 8 per_year = (cost - salvage) / years # 2625.0 print(f"{per_year:.2f}") ``` (Console output: 2625.00) $2,62...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "2625.00", "printed": "2625.00", "notation": null}
nlprog_det-setting-0084070
<|start|><|user|> Buying 2 sticky pads at $24 each, 4 labels at $4 each, 1 clipboards at $21 each, 1 badges at $26 each, someone hands over $150. What change comes back?<|eot|> <|assistant|> items = [(2, 24), (4, 4), (1, 21), (1, 26)] total = sum(q * p for q, p in items) # 111 paid = 150 change = paid ...
chat
[ { "role": "user", "content": "Buying 2 sticky pads at $24 each, 4 labels at $4 each, 1 clipboards at $21 each, 1 badges at $26 each, someone hands over $150. What change comes back?" }, { "role": "assistant", "content": " items = [(2, 24), (4, 4), (1, 21), (1, 26)]\n total = sum(q * p for ...
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0084071
<|start|><|user|> Convert 3,107 USD to CAD at 1 USD = 1.31 CAD.<|eot|> <|assistant|> amount = 3107 rate = 1.31 converted = amount * rate # 4070.17 print(f"{converted:.2f}") stdout = 4070.17 It converts to 4,070.17 CAD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 3,107 USD to CAD at 1 USD = 1.31 CAD." }, { "role": "assistant", "content": " amount = 3107\n rate = 1.31\n converted = amount * rate # 4070.17\n print(f\"{converted:.2f}\")\nstdout = 4070.17\n\nIt converts to 4,070.17 CAD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "4070.17", "printed": "4070.17", "notation": null}
nlprog_det-setting-0084072
At a 5% tax rate, what is the tax on $441.43? ```python price = 441.43 tax_rate = 5 / 100 # 0.05 tax = price * tax_rate # 22.0715 print(f"{tax:.2f}") ``` That prints 22.07. The tax is $22.07.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "22.07", "printed": "22.07", "notation": null}
nlprog_det-setting-0084073
A appointment starts at 1:10 PM and lasts 50 minutes. When does it end? Python does the arithmetic: start = 13 * 60 + 10 end = start + 50 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") Output — 2:00 PM The appointment finishes at 2:00 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "2:00 PM", "printed": "2:00 PM", "notation": null}
nlprog_det-setting-0084074
4 clients win $96,000. The lawyer takes 40%, and the rest is split equally. How much does each client get? Code: ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 4 # 14400.0 print(f"{per_client:.2f}") ``` When run, it prints: 14400.00 Each share is...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0084075
4 clients win $96,000. The lawyer takes 40%, and the rest is split equally. How much does each client get? The program: ```python award = 96000 fee = award * 40 / 100 # 38400.0 remaining = award - fee # 57600.0 per_client = remaining / 4 # 14400.0 print(f"{per_client:.2f}") ``` Printed: 14400.00 Each share is $14,...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0084076
<|start|><|user|> Convert 85.3 km to meters.<|eot|> <|assistant|> ```python km = 85.3 meters = km * 1000 # 85300.0 print(round(meters)) ``` Result: 85300 85,300 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 85.3 km to meters." }, { "role": "assistant", "content": "```python\nkm = 85.3\nmeters = km * 1000 # 85300.0\nprint(round(meters))\n```\nResult: 85300\n\n85,300 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "85300", "printed": "85300", "notation": null}
nlprog_det-setting-0084077
<|start|><|system|> Tools you may use: [{"name": "eval_python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}, {"name": "search_cases", "...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"eval_python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \...
nlprog_det
setting
original
null
deterministic
[]
[]
322
{"gold": "1260.00", "printed": "1260.00", "notation": null}
nlprog_det-setting-0084078
How long, in days, is it from August 6, 2022 until February 20, 2023? The program: ```python from datetime import date first = date(2022, 8, 6) # datetime.date(2022, 8, 6) second = date(2023, 2, 20) # datetime.date(2023, 2, 20) print((second - first).days) ``` When run, it prints: 198 There are 198 days between the...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "198", "printed": "198", "notation": null}
nlprog_det-setting-0084079
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "run_python", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}, {"name": "fe...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"run_python\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python sour...
nlprog_det
setting
original
null
deterministic
[]
[]
315
{"gold": "16.80", "printed": "16.80", "notation": null}
nlprog_det-setting-0084080
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}}, {"name": "math_engine", "description": "A Python interpreter. Ret...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}, {\"name\": \"m...
nlprog_det
setting
original
null
deterministic
[]
[]
277
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0084081
8 claimants share a $960 settlement equally. What is each share? Computing it: settlement = 960 parties = 8 share = settlement // parties # 120 print(share) # out: 120 Each share is $120.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
63
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0084082
<|start|><|system|> Be brief and correct.<|eot|> <|user|> A 8% increase is applied to $1,800 monthly rent. What is the new amount?<|eot|> <|assistant|> ```python rent = 1800 increase = 8 / 100 # 0.08 new_rent = rent * (1 + increase) # 1944.0000000000002 print(f"{new_rent:.2f}") ``` Console output: 1944.00 It rises t...
chat
[ { "role": "system", "content": "Be brief and correct." }, { "role": "user", "content": "A 8% increase is applied to $1,800 monthly rent. What is the new amount?" }, { "role": "assistant", "content": "```python\nrent = 1800\nincrease = 8 / 100 # 0.08\nnew_rent = rent * (1 + increase)...
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "1944.00", "printed": "1944.00", "notation": null}
nlprog_det-setting-0084083
<|start|><|user|> What is 35 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> That is 95 °F.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is 35 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "That is 95 °F." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "95", "printed": "95", "notation": null}
nlprog_det-setting-0084084
<|start|><|user|> Maren lends $20,000 at 2% simple interest per year for 4 years. How much interest is earned?<|eot|> <|assistant|> principal = 20000 rate = 2 / 100 # 0.02 years = 4 interest = principal * rate * years # 1600.0 print(f"{interest:.2f}") # result: 1600.00 The interest is $1,600.00.<...
chat
[ { "role": "user", "content": "Maren lends $20,000 at 2% simple interest per year for 4 years. How much interest is earned?" }, { "role": "assistant", "content": " principal = 20000\n rate = 2 / 100 # 0.02\n years = 4\n interest = principal * rate * years # 1600.0\n print(f\"{int...
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "1600.00", "printed": "1600.00", "notation": null}
nlprog_det-setting-0084085
<|start|><|user|> A water bill is $20 plus $4.20 per thousand gallons beyond the first 0 thousand. What is the bill for 16 thousand gallons?<|eot|> <|assistant|> ```python base = 20 rate = 4.2 used = 16 free = 0 bill = base + rate * max(0, used - free) # 87.2 print(f"{bill:.2f}") ``` Interpreter output: 87.20 The bil...
chat
[ { "role": "user", "content": "A water bill is $20 plus $4.20 per thousand gallons beyond the first 0 thousand. What is the bill for 16 thousand gallons?" }, { "role": "assistant", "content": "```python\nbase = 20\nrate = 4.2\nused = 16\nfree = 0\nbill = base + rate * max(0, used - free) # 87.2\...
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "87.20", "printed": "87.20", "notation": null}
nlprog_det-setting-0084086
With $8,000 in costs and $13,000 in revenue, what percent of revenue is profit? Round to one decimal. ```python revenue = 13000 costs = 8000 profit = revenue - costs # 5000 margin = profit / revenue * 100 # 38.46153846153847 print(round(margin, 1)) ``` (Execution result: 38.5) Profit is 38.5% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "38.5", "printed": "38.5", "notation": null}
nlprog_det-setting-0084087
Fines run at $250 per day up to a maximum of $5,000. How much after 20 days? $5,000 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "5000", "printed": "5000", "notation": null}
nlprog_det-setting-0084088
Xavier has 19 documents to file, and each filing costs $150. How much are the filing fees in total? The computation: ```python fee = 150 filings = 19 total = fee * filings # 2850 print(total) ``` Executed, it shows 2850. The total fee is $2,850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "2850", "printed": "2850", "notation": null}
nlprog_det-setting-0084089
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> What is the total rent on a 36-month lease at $1,200 a month?<|eot|> <|assistant|> ```python monthly_rent = 1200 months = 36 total = monthly_rent * months # 43200 print(total) ``` The program prints 43200. The rent over the term is $43,200.<|eot|> <...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "What is the total rent on a 36-month lease at $1,200 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 1200\nmonths = 36\ntotal = monthly_rent * months # 43200\...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "43200", "printed": "43200", "notation": null}
nlprog_det-setting-0084091
<|start|><|user|> The building opened in 2019. How many years had passed by 2041?<|eot|> <|assistant|> start_year = 2019 end_year = 2041 print(end_year - start_year) On running, it outputs 22. 22 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The building opened in 2019. How many years had passed by 2041?" }, { "role": "assistant", "content": " start_year = 2019\n end_year = 2041\n print(end_year - start_year)\nOn running, it outputs 22.\n\n22 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
61
{"gold": "22", "printed": "22", "notation": null}
nlprog_det-setting-0084092
3 books come back 22 days late, at $0.50 a day each. What is the fine? We write it as a program: ```python per_day = 0.5 days_late = 22 books = 3 fine = per_day * days_late * books # 33.0 print(f"{fine:.2f}") ``` # execution result: 33.00 The fine is $33.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "33.00", "printed": "33.00", "notation": null}
nlprog_det-setting-0084093
What day of the week is January 12, 1995? Set it up in Python: from datetime import date hearing = date(1995, 1, 12) # datetime.date(1995, 1, 12) print(hearing.strftime("%A")) stdout — Thursday January 12, 1995 is a Thursday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "Thursday", "printed": "Thursday", "notation": null}
nlprog_det-setting-0084094
<|start|><|system|> Available functions (JSON Schema): [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "calculator", "description": "Executes a Python program and returns its output.",...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"calculator\", \"descriptio...
nlprog_det
setting
original
null
deterministic
[]
[]
384
{"gold": "1386.00", "printed": "1386.00", "notation": null}
nlprog_det-setting-0084095
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> 3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 96000 fee = award * 25 / 100 # 24000.0 remaining = award - fee # 72000.0 per_client = remaining ...
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = ...
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "24000.00", "printed": "24000.00", "notation": null}
nlprog_det-setting-0084096
<|start|><|user|> How many whole days and leftover hours are in 145 hours?<|eot|> <|assistant|> ```python hours = 145 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Console output — 6 days and 1 hours That is 6 days and 1 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many whole days and leftover hours are in 145 hours?" }, { "role": "assistant", "content": "```python\nhours = 145\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\nConsole output — 6 days and 1 hours\n\nThat is 6 days and 1 hours."...
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "6 days and 1 hours", "printed": "6 days and 1 hours", "notation": null}
nlprog_det-setting-0084097
The building opened in 2005. How many years had passed by 2042? Python code: start_year = 2005 end_year = 2042 print(end_year - start_year) Execution result: 37 37 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
61
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0084098
A bicycle helmet costs $60. It is 10% off. What is the sale price? Computation in Python: ```python price = 60 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 54.0 print(f"{sale_price:.2f}") ``` Console output — 54.00 The sale price is $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0084099
<|start|><|user|> Express 78 hours in days and hours.<|eot|> <|assistant|> ```python hours = 78 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Run it and it prints: 3 days and 6 hours 78 hours is 3 days and 6 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Express 78 hours in days and hours." }, { "role": "assistant", "content": "```python\nhours = 78\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\nRun it and it prints: 3 days and 6 hours\n\n78 hours is 3 days and 6 hours." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "3 days and 6 hours", "printed": "3 days and 6 hours", "notation": null}
nlprog_det-setting-0084100
A workshop lasted 2 hours and 9 minutes. How many minutes is that? ```python hours = 2 minutes = 9 total_minutes = hours * 60 + minutes print(total_minutes) ``` Interpreter output: 129 That is 129 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "129", "printed": "129", "notation": null}
nlprog_det-setting-0084101
<|start|><|user|> A settlement of $524 is split equally among 4 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 524 parties = 4 share = settlement // parties # 131 print(share) ``` What it prints — 131 Each share is $131.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A settlement of $524 is split equally among 4 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 524\nparties = 4\nshare = settlement // parties # 131\nprint(share)\n```\nWhat it prints — 131\n\nEach share is $...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "131", "printed": "131", "notation": null}
nlprog_det-setting-0084102
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> Meals are $59 per day and lodging $140 per night. What is the allowance for 3 days and 2 nights?<|eot|> <|assistant|> That comes to $457.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "Meals are $59 per day and lodging $140 per night. What is the allowance for 3 days and 2 nights?" }, { "role": "assistant", "content": "That comes to $457." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
59
{"gold": "457", "printed": "457", "notation": null}
nlprog_det-setting-0084103
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> Fines run at $250 per day up to a maximum of $1,000. How much after 54 days?<|eot|> <|assistant|> ```python per_day = 250 days = 54 cap = 1000 fine = min(per_day * days, cap) # 1000 print(fine) ``` Execution prints: 1000 The fine is $1,000.<|eot|> <...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "Fines run at $250 per day up to a maximum of $1,000. How much after 54 days?" }, { "role": "assistant", "content": "```python\nper_day = 250\ndays = 54\ncap = 1000\nfine = min(per_day *...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0084104
<|start|><|system|> You have access to these functions: [{"name": "interpreter", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Beatriz...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"interpreter\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}...
nlprog_det
setting
original
null
deterministic
[]
[]
246
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0084105
A lease runs for 12 months at $3,250 per month. How much rent is paid over the whole term? One way, in code: ```python monthly_rent = 3250 months = 12 total = monthly_rent * months # 39000 print(total) ``` Executed, it shows: 39000 In total, $39,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "39000", "printed": "39000", "notation": null}
nlprog_det-setting-0084106
<|start|><|user|> How many 2-foot square tiles cover a 4 ft by 3 ft floor (round up)?<|eot|> <|assistant|> ```python import math length = 4 width = 3 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 3 print(tiles) ``` That prints 3. It takes 3 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 2-foot square tiles cover a 4 ft by 3 ft floor (round up)?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 4\nwidth = 3\ntile = 2\ntiles = math.ceil(length * width / (tile * tile)) # 3\nprint(tiles)\n```\nThat prints 3.\n\nIt takes ...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0084108
Fixed costs are $4,000. Each unit sells for $25 and costs $21 to make. How many units must be sold to break even? Python, step by step: ```python import math fixed = 4000 price = 25 variable = 21 units = math.ceil(fixed / (price - variable)) # 1000 print(units) ``` Out: 1000 1000 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0084109
<|start|><|user|> Copies cost $5 plus $0.10 for each page beyond 10. How much for 52 pages?<|eot|> <|assistant|> ```python pages = 52 base = 5 per_page = 0.1 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 9.2 print(f"{cost:.2f}") ``` # program output: 9.20 The copy costs $9.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Copies cost $5 plus $0.10 for each page beyond 10. How much for 52 pages?" }, { "role": "assistant", "content": "```python\npages = 52\nbase = 5\nper_page = 0.1\nfree_pages = 10\ncost = base + max(0, pages - free_pages) * per_page # 9.2\nprint(f\"{cost:.2f}\")\n```...
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "9.20", "printed": "9.20", "notation": null}
nlprog_det-setting-0084110
<|start|><|user|> A lease runs for 36 months at $1,200 per month. How much rent is paid over the whole term?<|eot|> <|assistant|> ```python monthly_rent = 1200 months = 36 total = monthly_rent * months # 43200 print(total) ``` Result = 43200 The rent over the term is $43,200.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A lease runs for 36 months at $1,200 per month. How much rent is paid over the whole term?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 1200\nmonths = 36\ntotal = monthly_rent * months # 43200\nprint(total)\n```\nResult = 43200\n\nThe rent over ...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "43200", "printed": "43200", "notation": null}
nlprog_det-setting-0084112
With 12 rows of 18 chairs and 13 empty chairs, how many chairs are taken? The program: ```python rows = 12 per_row = 18 empty = 13 seated = rows * per_row - empty # 203 print(seated) ``` Executing it gives 203. 203 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "203", "printed": "203", "notation": null}
nlprog_det-setting-0084113
A lawyer's fee is 25% of a $90,000 recovery. How large is the fee? ```python recovery = 90000 rate = 25 / 100 fee = recovery * rate print(f"{fee:.2f}") ``` Printed result: 22500.00 The lawyer's fee comes to $22,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "22500.00", "printed": "22500.00", "notation": null}
nlprog_det-setting-0084114
One can of paint covers 350 square feet. How many cans are needed for 1394 square feet of wall? Script: ```python import math area = 1394 coverage = 350 cans = math.ceil(area / coverage) # 4 print(cans) ``` Output of the run: 4 Buy 4 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0084115
How many units at $25 each (variable cost $20) cover $9,000 of fixed costs? Here's the code. ```python import math fixed = 9000 price = 25 variable = 20 units = math.ceil(fixed / (price - variable)) # 1800 print(units) ``` The program outputs 1800. 1800 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1800", "printed": "1800", "notation": null}
nlprog_det-setting-0084116
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> Each storage box holds 24 files. How many boxes are needed for 611 files?<|eot|> <|assistant|> ```python import math files = 611 per_box = 24 boxes = math.ceil(files / per_box) print(boxes) ``` (Run result: 26) It takes 26 boxes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "Each storage box holds 24 files. How many boxes are needed for 611 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 611\nper_box = 24\nboxes = math.ceil(files / per...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0084118
What simple interest does $1,000 earn at 4% a year over 5 years? Python does the arithmetic: ```python principal = 1000 rate = 4 / 100 # 0.04 years = 5 interest = principal * rate * years # 200.0 print(f"{interest:.2f}") ``` The program prints 200.00. It earns $200.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "200.00", "printed": "200.00", "notation": null}
nlprog_det-setting-0084119
Farah buys 7 boxes of 8 batteries each and gives away 19 batteries. How many batteries are left? As a program: ```python boxes = 7 per_box = 8 given_away = 19 left = boxes * per_box - given_away # 37 print(left) ``` Console: 37 That leaves 37 batteries.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0084120
<|start|><|system|> You may call the tools below. [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "py_exec", "description": "Evaluates Python and returns the print...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"py_exec\",...
nlprog_det
setting
original
null
deterministic
[]
[]
314
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0084121
Jamal drove 281 miles for work. Mileage is reimbursed at 65 cents a mile. How much is the reimbursement? A few lines of Python do it: ```python miles = 281 rate = 0.65 reimbursement = miles * rate # 182.65 print(f"{reimbursement:.2f}") ``` It prints: 182.65 The reimbursement is $182.65.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "182.65", "printed": "182.65", "notation": null}
nlprog_det-setting-0084122
<|start|><|system|> Write short, precise answers.<|eot|> <|user|> Wanjiru earns a 4% commission on $80,633 of sales. What is the commission?<|eot|> <|assistant|> ```python sales = 80633 rate = 4 / 100 # 0.04 commission = sales * rate # 3225.32 print(f"{commission:.2f}") ``` The program prints 3225.32. Wanjiru earns ...
chat
[ { "role": "system", "content": "Write short, precise answers." }, { "role": "user", "content": "Wanjiru earns a 4% commission on $80,633 of sales. What is the commission?" }, { "role": "assistant", "content": "```python\nsales = 80633\nrate = 4 / 100 # 0.04\ncommission = sales * rat...
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "3225.32", "printed": "3225.32", "notation": null}
nlprog_det-setting-0084123
Pack A has 12 items for $7.14. Pack B has 20 items for $20.51. Which has the lower price per item? A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0084124
The paralegal logged 12 hours at a rate of $300. How much is billed? Programmatically: hours = 12 rate = 300 bill = hours * rate # 3600 print(f"{bill:.2f}") (Printed result: 3600.00) That comes to $3,600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "3600.00", "printed": "3600.00", "notation": null}
nlprog_det-setting-0084125
<|start|><|system|> Tools (call with JSON): {"name": "python_exec", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}} {"name": "define_word",...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n{\"name\": \"python_exec\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}...
nlprog_det
setting
original
null
deterministic
[]
[]
300
{"gold": "837.02", "printed": "837.02", "notation": null}
nlprog_det-setting-0084126
An unpaid balance of $4,000 accrues 1% simple interest per month. How much interest accrues in 3 months? Python: balance = 4000 monthly_rate = 1 / 100 # 0.01 months = 3 interest = balance * monthly_rate * months # 120.0 print(f"{interest:.2f}") The run gives 120.00, as expected. $120.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "120.00", "printed": "120.00", "notation": null}
nlprog_det-setting-0084127
<|start|><|user|> Walls total 1356 sq ft and each can covers 300 sq ft. How many cans should be bought?<|eot|> <|assistant|> ```python import math area = 1356 coverage = 300 cans = math.ceil(area / coverage) # 5 print(cans) ``` Run result — 5 5 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Walls total 1356 sq ft and each can covers 300 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1356\ncoverage = 300\ncans = math.ceil(area / coverage) # 5\nprint(cans)\n```\nRun result — 5\n\n5 cans are n...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0084128
<|start|><|system|> You can call tools. Available tools: [{"name": "calculator", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Which is cheaper per u...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"calculator\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\":...
nlprog_det
setting
original
null
deterministic
[]
[]
237
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0084129
<|start|><|user|> Under a 25% contingency agreement, what fee is owed on a $90,000 award?<|eot|> <|assistant|> ```python recovery = 90000 rate = 25 / 100 fee = recovery * rate print(f"{fee:.2f}") ``` Printed result: 22500.00 The lawyer's fee comes to $22,500.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 25% contingency agreement, what fee is owed on a $90,000 award?" }, { "role": "assistant", "content": "```python\nrecovery = 90000\nrate = 25 / 100\nfee = recovery * rate\nprint(f\"{fee:.2f}\")\n```\nPrinted result: 22500.00\n\nThe lawyer's fee comes to $22,...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "22500.00", "printed": "22500.00", "notation": null}
nlprog_det-setting-0084131
A library charges $0.10 per book per day late. What is the fine for 2 books that are 30 days late? Here is the program. ```python per_day = 0.1 days_late = 30 books = 2 fine = per_day * days_late * books # 6.0 print(f"{fine:.2f}") ``` Printed: 6.00 The fine is $6.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "6.00", "printed": "6.00", "notation": null}
nlprog_det-setting-0084132
Water costs $18 a month plus $4.75 for each 1,000 gallons over 0,000. What is owed for 5,000 gallons? Code: ```python base = 18 rate = 4.75 used = 5 free = 0 bill = base + rate * max(0, used - free) # 41.75 print(f"{bill:.2f}") ``` Out: 41.75 The bill is $41.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "41.75", "printed": "41.75", "notation": null}
nlprog_det-setting-0084133
A 3 lb package ships at $12 base plus $1.50/lb. What is the charge? One way, in code: ```python base = 12 per_pound = 1.5 weight = 3 cost = base + per_pound * weight # 16.5 print(f"{cost:.2f}") ``` Shell output — 16.50 Shipping costs $16.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "16.50", "printed": "16.50", "notation": null}
nlprog_det-setting-0084134
<|start|><|system|> Tools (call with JSON): [{"name": "run_python", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> The statute was enac...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"run_python\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\...
nlprog_det
setting
original
null
deterministic
[]
[]
203
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0084135
<|start|><|user|> A 18-month warranty starts on November 14, 2026. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2026, 11, 14) months = 18 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isof...
chat
[ { "role": "user", "content": "A 18-month warranty starts on November 14, 2026. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2026, 11, 14)\nmonths = 18\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(sta...
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "2028-05-14", "printed": "2028-05-14", "notation": null}
nlprog_det-setting-0084136
A claim accrued on August 2, 2013. The limitations period is 4 years. On what date does it expire? Computing it: ```python from datetime import date accrued = date(2013, 8, 2) # datetime.date(2013, 8, 2) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2017, 8, 2) print(expires.isoforma...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "2017-08-02", "printed": "2017-08-02", "notation": null}
nlprog_det-setting-0084137
<|start|><|user|> What average speed covers 518 miles in 0.5 hours?<|eot|> <|assistant|> ```python distance = 518 hours = 0.5 speed = distance / hours # 1036.0 print(round(speed)) ``` Execution result — 1036 The average speed is 1036 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 518 miles in 0.5 hours?" }, { "role": "assistant", "content": "```python\ndistance = 518\nhours = 0.5\nspeed = distance / hours # 1036.0\nprint(round(speed))\n```\nExecution result — 1036\n\nThe average speed is 1036 mph." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "1036", "printed": "1036", "notation": null}
nlprog_det-setting-0084138
1 books come back 25 days late, at $0.50 a day each. What is the fine? The program: ```python per_day = 0.5 days_late = 25 books = 1 fine = per_day * days_late * books # 12.5 print(f"{fine:.2f}") ``` Run result = 12.50 $12.50 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "12.50", "printed": "12.50", "notation": null}
nlprog_det-setting-0084139
How many whole days and leftover hours are in 152 hours? ```python hours = 152 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Run result — 6 days and 8 hours 152 hours is 6 days and 8 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "6 days and 8 hours", "printed": "6 days and 8 hours", "notation": null}
nlprog_det-setting-0084140
<|start|><|user|> Pay is $16.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 51 hours?<|eot|> <|assistant|> ```python rate = 16.0 hours = 51 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 264.0 pay = regular + overtime # 904.0 print(f"{pay:.2f}") ``` Running this gives...
chat
[ { "role": "user", "content": "Pay is $16.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 51 hours?" }, { "role": "assistant", "content": "```python\nrate = 16.0\nhours = 51\nregular = 40 * rate # 640.0\novertime = (hours - 40) * rate * 1.5 # 264.0\npay = regular + o...
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "904.00", "printed": "904.00", "notation": null}
nlprog_det-setting-0084141
164 volunteers are split into 5 equal teams. How many are on each team, and how many are left over? As Python: ```python total = 164 groups = 5 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Output — 32 each, 4 left over The answer: 32 each, 4 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "32 each, 4 left over", "printed": "32 each, 4 left over", "notation": null}
nlprog_det-setting-0084142
57 copies of a 35-page packet are printed at $0.15 per page. What is the cost? Python, step by step: ```python pages = 35 copies = 57 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 299.25 print(f"{cost:.2f}") ``` Execution prints 299.25. The job costs $299.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "299.25", "printed": "299.25", "notation": null}
nlprog_det-setting-0084143
Straight-line depreciation: cost $24,000, salvage $0, 3 years. How much per year? Code: ```python cost = 24000 salvage = 0 years = 3 per_year = (cost - salvage) / years # 8000.0 print(f"{per_year:.2f}") ``` Executing it gives: 8000.00 $8,000.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "8000.00", "printed": "8000.00", "notation": null}
nlprog_det-setting-0084144
At $22.67 an hour, what does 16 hours of work pay? Coded up: rate = 22.67 hours = 16 earnings = rate * hours # 362.72 print(f"{earnings:.2f}") That prints 362.72. The pay is $362.72.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "362.72", "printed": "362.72", "notation": null}
nlprog_det-setting-0084145
A 7 × 13 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up? It takes 23 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0084146
A library charges $0.50 per book per day late. What is the fine for 2 books that are 9 days late? The program: ```python per_day = 0.5 days_late = 9 books = 2 fine = per_day * days_late * books # 9.0 print(f"{fine:.2f}") ``` stdout — 9.00 The fine is $9.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "9.00", "printed": "9.00", "notation": null}
nlprog_det-setting-0084147
A $240 dinner bill gets a 18% tip, and 2 people share the cost equally. What is each person's share? Programmatically: ```python bill = 240 tip_rate = 18 / 100 # 0.18 people = 2 each = bill * (1 + tip_rate) / people # 141.6 print(f"{each:.2f}") ``` Running this gives 141.60. The share is $141.60 each.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "141.60", "printed": "141.60", "notation": null}
nlprog_det-setting-0084149
<|start|><|user|> 3 swims at 400 calories each burn how many calories in total?<|eot|> <|assistant|> 1200 calories in total.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 swims at 400 calories each burn how many calories in total?" }, { "role": "assistant", "content": "1200 calories in total." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "1200", "printed": "1200", "notation": null}
nlprog_det-setting-0084150
<|start|><|user|> A meal costs $157.34. How much is a 15% tip?<|eot|> <|assistant|> bill = 157.34 tip_rate = 15 / 100 # 0.15 tip = bill * tip_rate # 23.601 print(f"{tip:.2f}") The program outputs 23.60. Leave $23.60.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A meal costs $157.34. How much is a 15% tip?" }, { "role": "assistant", "content": " bill = 157.34\n tip_rate = 15 / 100 # 0.15\n tip = bill * tip_rate # 23.601\n print(f\"{tip:.2f}\")\nThe program outputs 23.60.\n\nLeave $23.60." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "23.60", "printed": "23.60", "notation": null}
nlprog_det-setting-0084151
At $20.29 an hour, what does 32 hours of work pay? Computation in Python: ```python rate = 20.29 hours = 32 earnings = rate * hours print(f"{earnings:.2f}") ``` Executing it gives: 649.28 The pay is $649.28.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "649.28", "printed": "649.28", "notation": null}
nlprog_det-setting-0084152
A garage charges $2 an hour, never more than $15 a day. How much for 8 hours? Programmatically: rate = 2 hours = 8 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) Running it prints 15, as expected. Parking costs $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0084153
Of a $10,000 budget, $600 has been spent. What percent is that? ```python budget = 10000 spent = 600 percent = spent / budget * 100 # 6.0 print(round(percent, 1)) ``` The program outputs: 6.0 That is 6.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "6.0", "printed": "6.0", "notation": null}
nlprog_det-setting-0084155
Revenue is $16,500 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)? Programmatically: ```python revenue = 16500 costs = 12500 profit = revenue - costs # 4000 margin = profit / revenue * 100 # 24.242424242424242 print(round(margin, 1)) ``` The interpreter prints: 24.2 Profit is...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "24.2", "printed": "24.2", "notation": null}
nlprog_det-setting-0084156
68 copies of a 52-page packet are printed at $0.15 per page. What is the cost? The job costs $530.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "530.40", "printed": "530.40", "notation": null}
nlprog_det-setting-0084157
<|start|><|system|> You may call the tools below. {"name": "python_exec", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> If a 105-minut...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"python_exec\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"req...
nlprog_det
setting
original
null
deterministic
[]
[]
258
{"gold": "5:45 PM", "printed": "5:45 PM", "notation": null}
nlprog_det-setting-0084158
A $24,000 grant pays $3,000 up front and the rest in 12 equal installments. How large is each installment? Python code: ```python grant = 24000 up_front = 3000 installments = 12 each = (grant - up_front) / installments # 1750.0 print(f"{each:.2f}") ``` Execution prints 1750.00. $1,750.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "1750.00", "printed": "1750.00", "notation": null}
nlprog_det-setting-0084159
4 books come back 14 days late, at $0.25 a day each. What is the fine? Python makes this quick: ```python per_day = 0.25 days_late = 14 books = 4 fine = per_day * days_late * books # 14.0 print(f"{fine:.2f}") ``` stdout = 14.00 $14.00 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "14.00", "printed": "14.00", "notation": null}
nlprog_det-setting-0084160
<|start|><|user|> Each of Nadia's swims burns 350 calories. How many calories over 6 swims?<|eot|> <|assistant|> ```python per_session = 350 sessions = 6 total = per_session * sessions print(total) ``` (Printed: 2100) That burns 2100 calories.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each of Nadia's swims burns 350 calories. How many calories over 6 swims?" }, { "role": "assistant", "content": "```python\nper_session = 350\nsessions = 6\ntotal = per_session * sessions\nprint(total)\n```\n(Printed: 2100)\n\nThat burns 2100 calories." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "2100", "printed": "2100", "notation": null}
nlprog_det-setting-0084161
How many of 172 votes make 67% (round up)? Let's compute it with Python. ```python import math voters = 172 needed = math.ceil(voters * 67 / 100) # 116 print(needed) ``` It outputs: 116 116 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "116", "printed": "116", "notation": null}
nlprog_det-setting-0084162
<|start|><|user|> At $20.18 an hour, what does 16 hours of work pay?<|eot|> <|assistant|> ```python rate = 20.18 hours = 16 earnings = rate * hours # 322.88 print(f"{earnings:.2f}") ``` It prints 322.88. The pay is $322.88.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $20.18 an hour, what does 16 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 20.18\nhours = 16\nearnings = rate * hours # 322.88\nprint(f\"{earnings:.2f}\")\n```\nIt prints 322.88.\n\nThe pay is $322.88." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "322.88", "printed": "322.88", "notation": null}
nlprog_det-setting-0084164
<|start|><|user|> Goods bought on August 7, 2021 carry a 36-month warranty. When does it expire?<|eot|> <|assistant|> ```python from datetime import date start = date(2021, 8, 7) months = 36 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.is...
chat
[ { "role": "user", "content": "Goods bought on August 7, 2021 carry a 36-month warranty. When does it expire?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2021, 8, 7)\nmonths = 36\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(s...
nlprog_det
setting
original
null
deterministic
[]
[]
149
{"gold": "2024-08-07", "printed": "2024-08-07", "notation": null}