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-0070893
What is a 18% tip on a $30.34 bill? bill = 30.34 tip_rate = 18 / 100 tip = bill * tip_rate print(f"{tip:.2f}") Program output — 5.46 Leave $5.46.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
68
{"gold": "5.46", "printed": "5.46", "notation": null}
nlprog_det-setting-0070894
Count the days between June 19, 2018 and September 30, 2018. The program: ```python from datetime import date first = date(2018, 6, 19) second = date(2018, 9, 30) print((second - first).days) ``` It prints 103. It is 103 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "103", "printed": "103", "notation": null}
nlprog_det-setting-0070895
<|start|><|user|> A settlement of $4,500 is split equally among 3 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 4500 parties = 3 share = settlement // parties # 1500 print(share) ``` # console output: 1500 Each party receives $1,500.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A settlement of $4,500 is split equally among 3 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 4500\nparties = 3\nshare = settlement // parties # 1500\nprint(share)\n```\n# console output: 1500\n\nEach part...
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0070896
<|start|><|user|> How many weekdays (Monday to Friday) fall after August 11, 2023 up to and including August 28, 2023?<|eot|> <|assistant|> 11 weekdays.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after August 11, 2023 up to and including August 28, 2023?" }, { "role": "assistant", "content": "11 weekdays." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "11", "printed": "11", "notation": null}
nlprog_det-setting-0070897
Someone born September 3, 1974 turns how old by November 14, 2028? Give the age in whole years. Bruna is 54.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "54", "printed": "54", "notation": null}
nlprog_det-setting-0070898
A 11 × 8 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up? Computation in Python: ```python import math length = 11 width = 8 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 22 print(tiles) ``` (Printed result: 22) 22 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "22", "printed": "22", "notation": null}
nlprog_det-setting-0070899
Papers were served by mail on March 27, 2026. A response is due 14 days after service, plus 3 extra days for mailing. What is the due date? A Python solution: ```python from datetime import date, timedelta served = date(2026, 3, 27) # datetime.date(2026, 3, 27) response_days = 14 mail_days = 3 due = served + timedelt...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
184
{"gold": "2026-04-13", "printed": "2026-04-13", "notation": null}
nlprog_det-setting-0070900
A penalty of $50 a day accrues, capped at $5,000. What is owed after 6 days? Python version: ```python per_day = 50 days = 6 cap = 5000 fine = min(per_day * days, cap) # 300 print(fine) ``` # printed: 300 $300 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0070901
Starting with 1592 keyboards and using 6 per day, how many remain after 9 days? Translated to Python: ```python stock = 1592 per_day = 6 days = 9 left = stock - per_day * days # 1538 print(left) ``` Running it prints 1538. 1538 keyboards are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1538", "printed": "1538", "notation": null}
nlprog_det-setting-0070902
A $1,000 security deposit has deductions of $45. How much is refunded? Written as code: ```python deposit = 1000 deductions = [45] refund = deposit - sum(deductions) # 955 print(refund) ``` The printout reads 955. $955 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "955", "printed": "955", "notation": null}
nlprog_det-setting-0070903
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "code_runner", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}} {"name"...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"code_runner\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Pyt...
nlprog_det
setting
original
null
deterministic
[]
[]
299
{"gold": "2100", "printed": "2100", "notation": null}
nlprog_det-setting-0070904
An attorney bills 1.5 hours at $250 per hour. What is the bill? ```python hours = 1.5 rate = 250 bill = hours * rate print(f"{bill:.2f}") ``` stdout = 375.00 That comes to $375.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "375.00", "printed": "375.00", "notation": null}
nlprog_det-setting-0070905
A filing cabinet costs $90. It is 25% off. What is the sale price? ```python price = 90 discount = 25 / 100 # 0.25 sale_price = price * (1 - discount) # 67.5 print(f"{sale_price:.2f}") ``` Run result — 67.50 The sale price is $67.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "67.50", "printed": "67.50", "notation": null}
nlprog_det-setting-0070906
Convert 572 GBP to USD at 1 GBP = 1.27 USD. Python makes this quick: ```python amount = 572 rate = 1.27 converted = amount * rate # 726.44 print(f"{converted:.2f}") ``` Run it and it prints 726.44. That is 726.44 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "726.44", "printed": "726.44", "notation": null}
nlprog_det-setting-0070907
A hearing is set for August 12, 2007. What day of the week is that? As Python: from datetime import date hearing = date(2007, 8, 12) # datetime.date(2007, 8, 12) print(hearing.strftime("%A")) Run it and it prints Sunday. August 12, 2007 is a Sunday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "Sunday", "printed": "Sunday", "notation": null}
nlprog_det-setting-0070908
<|start|><|user|> Pack A has 10 items for $8.98. Pack B has 24 items for $14.56. Which has the lower price per item?<|eot|> <|assistant|> Pack B is cheaper per item.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Pack A has 10 items for $8.98. Pack B has 24 items for $14.56. Which has the lower price per item?" }, { "role": "assistant", "content": "Pack B is cheaper per item." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0070909
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> Fines run at $250 per day up to a maximum of $2,500. How much after 59 days?<|eot|> <|assistant|> $2,500 is owed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "Fines run at $250 per day up to a maximum of $2,500. How much after 59 days?" }, { "role": "assistant", "content": "$2,500 is owed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
51
{"gold": "2500", "printed": "2500", "notation": null}
nlprog_det-setting-0070910
A board has 56 members. A majority is more than half. How many votes make a majority? We write it as a program: ```python members = 56 majority = members // 2 + 1 # 29 print(majority) ``` (Printed result: 29) That is 29 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0070911
A count moves from 500 to 750. By what percent did it change (use a minus sign for a drop)? old = 500 new = 750 change = (new - old) / old * 100 # 50.0 print(round(change)) Result: 50 The change is 50%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0070913
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> If a 75-minute appointment begins at 1:20 PM, what time does it finish?<|eot|> <|assistant|> ```python start = 13 * 60 + 20 end = start + 75 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Running th...
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "If a 75-minute appointment begins at 1:20 PM, what time does it finish?" }, { "role": "assistant", "content": "```python\nstart = 13 * 60 + 20\nend = start + 75\nhour, minute = divmod(end, 60)\np...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "2:35 PM", "printed": "2:35 PM", "notation": null}
nlprog_det-setting-0070916
A measure needs at least 75% of 253 votes. How many votes is that, rounded up? Python code: ```python import math voters = 253 needed = math.ceil(voters * 75 / 100) # 190 print(needed) ``` (Out: 190) 190 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "190", "printed": "190", "notation": null}
nlprog_det-setting-0070917
With $36,000 in costs and $38,000 in revenue, what percent of revenue is profit? Round to one decimal. Python, step by step: ```python revenue = 38000 costs = 36000 profit = revenue - costs # 2000 margin = profit / revenue * 100 # 5.263157894736842 print(round(margin, 1)) ``` Output = 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-0070918
<|start|><|user|> A storeroom has 1220 sticky pads. The office uses 40 a day. How many are left after 8 days?<|eot|> <|assistant|> ```python stock = 1220 per_day = 40 days = 8 left = stock - per_day * days # 900 print(left) ``` Result — 900 900 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A storeroom has 1220 sticky pads. The office uses 40 a day. How many are left after 8 days?" }, { "role": "assistant", "content": "```python\nstock = 1220\nper_day = 40\ndays = 8\nleft = stock - per_day * days # 900\nprint(left)\n```\nResult — 900\n\n900 remain." ...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0070919
<|start|><|user|> Printing costs 12 cents a page. What does it cost to print 80 copies of a 34-page handout?<|eot|> <|assistant|> ```python pages = 34 copies = 80 cost_per_page = 0.12 cost = pages * copies * cost_per_page # 326.4 print(f"{cost:.2f}") ``` (Output: 326.40) Printing costs $326.40.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 12 cents a page. What does it cost to print 80 copies of a 34-page handout?" }, { "role": "assistant", "content": "```python\npages = 34\ncopies = 80\ncost_per_page = 0.12\ncost = pages * copies * cost_per_page # 326.4\nprint(f\"{cost:.2f}\")\n```\n(...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "326.40", "printed": "326.40", "notation": null}
nlprog_det-setting-0070920
A count moves from 1,200 to 1,260. By what percent did it change (use a minus sign for a drop)? ```python old = 1200 new = 1260 change = (new - old) / old * 100 # 5.0 print(round(change)) ``` Executing it gives: 5 The change is 5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0070921
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "code_runner", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> 7 copies o...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"code_runner\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \...
nlprog_det
setting
original
null
deterministic
[]
[]
238
{"gold": "32.48", "printed": "32.48", "notation": null}
nlprog_det-setting-0070922
<|start|><|user|> What is -10 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> ```python celsius = -10 fahrenheit = celsius * 9 / 5 + 32 # 14.0 print(round(fahrenheit)) ``` Python prints 14, as expected. That is 14 °F.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is -10 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "```python\ncelsius = -10\nfahrenheit = celsius * 9 / 5 + 32 # 14.0\nprint(round(fahrenheit))\n```\nPython prints 14, as expected.\n\nThat is 14 °F." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0070923
<|start|><|user|> How long, in days, is it from April 15, 2026 until May 6, 2026?<|eot|> <|assistant|> There are 21 days between the two dates.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How long, in days, is it from April 15, 2026 until May 6, 2026?" }, { "role": "assistant", "content": "There are 21 days between the two dates." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0070924
Counting the first and last day, how many days are there from April 18, 2026 through May 10, 2026? Here is a short program for it. ```python from datetime import date first = date(2026, 4, 18) # datetime.date(2026, 4, 18) last = date(2026, 5, 10) # datetime.date(2026, 5, 10) days = (last - first).days + 1 # 23 prin...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0070926
<|start|><|user|> An attorney bills 4 hours at $250 per hour. What is the bill?<|eot|> <|assistant|> ```python hours = 4 rate = 250 bill = hours * rate # 1000 print(f"{bill:.2f}") ``` Out: 1000.00 That comes to $1,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An attorney bills 4 hours at $250 per hour. What is the bill?" }, { "role": "assistant", "content": "```python\nhours = 4\nrate = 250\nbill = hours * rate # 1000\nprint(f\"{bill:.2f}\")\n```\nOut: 1000.00\n\nThat comes to $1,000.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "1000.00", "printed": "1000.00", "notation": null}
nlprog_det-setting-0070927
<|start|><|system|> You can call tools. Available tools: {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}} {"name": "run_python", "description": "A Python interpreter. Returns standard output.", "para...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}\n{\"name\": \"run_python\", \"description\...
nlprog_det
setting
original
null
deterministic
[]
[]
296
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0070929
Zoe earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 41-hour week? Computation in Python: ```python rate = 16.0 hours = 41 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 24.0 pay = regular + overtime # 664.0 print(f"{pay:.2f}") ``` Executing it gives: 664.00 The...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "664.00", "printed": "664.00", "notation": null}
nlprog_det-setting-0070930
An office budget of $20,000 has expenses of $2,732, $2,938, $336. How much of the budget is left? As a program: ```python budget = 20000 expenses = [2732, 2938, 336] left = budget - sum(expenses) # 13994 print(left) ``` It prints: 13994 $13,994 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "13994", "printed": "13994", "notation": null}
nlprog_det-setting-0070931
<|start|><|system|> You have access to these functions: [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "code_runner", "description": "A Python interpreter. Returns standard output.", ...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"code_runner\", \"descript...
nlprog_det
setting
original
null
deterministic
[]
[]
303
{"gold": "67", "printed": "67", "notation": null}
nlprog_det-setting-0070933
<|start|><|user|> A $9,000 loan carries 6% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> ```python principal = 9000 annual_rate = 6 / 100 # 0.06 months = 12 interest = principal * annual_rate * months / 12 # 540.0 payment...
chat
[ { "role": "user", "content": "A $9,000 loan carries 6% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": "```python\nprincipal = 9000\nannual_rate = 6 / 100 # 0.06\nmonths = 12\ninteres...
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "795.00", "printed": "795.00", "notation": null}
nlprog_det-setting-0070934
<|start|><|user|> Parking is $2 per hour with a daily maximum of $15. What do 12 hours cost?<|eot|> <|assistant|> ```python rate = 2 hours = 12 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) ``` When run, it prints 15. The charge is $15.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Parking is $2 per hour with a daily maximum of $15. What do 12 hours cost?" }, { "role": "assistant", "content": "```python\nrate = 2\nhours = 12\ndaily_max = 15\ncost = min(rate * hours, daily_max) # 15\nprint(cost)\n```\nWhen run, it prints 15.\n\nThe charge is $...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0070935
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> Find the mean of these test scores: 81, 100, 67 and 92.<|eot|> <|assistant|> ```python scores = [81, 100, 67, 92] average = sum(scores) // len(scores) # 85 print(average) ``` The program outputs 85. The average score is 85.<|eot|> <|en...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "Find the mean of these test scores: 81, 100, 67 and 92." }, { "role": "assistant", "content": "```python\nscores = [81, 100, 67, 92]\naverage = sum(scores) // len(scores) ...
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "85", "printed": "85", "notation": null}
nlprog_det-setting-0070936
<|start|><|user|> A penalty of $100 a day accrues, capped at $5,000. What is owed after 32 days?<|eot|> <|assistant|> ```python per_day = 100 days = 32 cap = 5000 fine = min(per_day * days, cap) # 3200 print(fine) ``` (Printed result: 3200) $3,200 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $100 a day accrues, capped at $5,000. What is owed after 32 days?" }, { "role": "assistant", "content": "```python\nper_day = 100\ndays = 32\ncap = 5000\nfine = min(per_day * days, cap) # 3200\nprint(fine)\n```\n(Printed result: 3200)\n\n$3,200 is owed...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "3200", "printed": "3200", "notation": null}
nlprog_det-setting-0070937
How many minutes pass from 10:26 AM to 4:29 PM on the same day? Set it up in Python: start = 10 * 60 + 26 # 626 end = 16 * 60 + 29 # 989 print(end - start) (Output: 363) It is 363 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "363", "printed": "363", "notation": null}
nlprog_det-setting-0070938
Fines run at $250 per day up to a maximum of $5,000. How much after 17 days? We write it as a program: per_day = 250 days = 17 cap = 5000 fine = min(per_day * days, cap) # 4250 print(fine) The program prints 4250, as expected. $4,250 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "4250", "printed": "4250", "notation": null}
nlprog_det-setting-0070939
A meeting lasted 5 hours and 30 minutes. How many minutes is that? Written as code: ```python hours = 5 minutes = 30 total_minutes = hours * 60 + minutes # 330 print(total_minutes) ``` (Out: 330) The meeting lasted 330 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "330", "printed": "330", "notation": null}
nlprog_det-setting-0070940
Revenue is $14,500 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)? Let the code do the arithmetic: revenue = 14500 costs = 12500 profit = revenue - costs # 2000 margin = profit / revenue * 100 # 13.793103448275861 print(round(margin, 1)) The program outputs...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "13.8", "printed": "13.8", "notation": null}
nlprog_det-setting-0070941
Papers were served by mail on January 25, 2022. A response is due 30 days after service, plus 3 extra days for mailing. What is the due date? We can compute it in Python. ```python from datetime import date, timedelta served = date(2022, 1, 25) # datetime.date(2022, 1, 25) response_days = 30 mail_days = 3 due = serve...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
182
{"gold": "2022-02-27", "printed": "2022-02-27", "notation": null}
nlprog_det-setting-0070942
Someone works 36 hours at $17.81 per hour. What are the earnings? A short script: ```python rate = 17.81 hours = 36 earnings = rate * hours # 641.16 print(f"{earnings:.2f}") ``` Python prints 641.16, as expected. The pay is $641.16.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "641.16", "printed": "641.16", "notation": null}
nlprog_det-setting-0070943
Someone works 20 hours at $23.00 per hour. What are the earnings? Programmatically: ```python rate = 23.0 hours = 20 earnings = rate * hours # 460.0 print(f"{earnings:.2f}") ``` The interpreter prints: 460.00 That earns $460.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "460.00", "printed": "460.00", "notation": null}
nlprog_det-setting-0070944
<|start|><|system|> Tools (call with JSON): {"name": "calculator", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> Copies cost $15 plus $0.10 for each...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n{\"name\": \"calculator\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"program\"...
nlprog_det
setting
original
null
deterministic
[]
[]
241
{"gold": "16.10", "printed": "16.10", "notation": null}
nlprog_det-setting-0070945
2 clients win $72,000. The lawyer takes 30%, and the rest is split equally. How much does each client get? Program: ```python award = 72000 fee = award * 30 / 100 # 21600.0 remaining = award - fee # 50400.0 per_client = remaining / 2 # 25200.0 print(f"{per_client:.2f}") ``` On running, it outputs 25200.00. Each sh...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "25200.00", "printed": "25200.00", "notation": null}
nlprog_det-setting-0070946
Monthly rent is $2,400. A tenant moves in with 8 days left in a 30-day month. What is the prorated rent? The tenant owes $640.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "640.00", "printed": "640.00", "notation": null}
nlprog_det-setting-0070947
885 files go into boxes of 24. How many boxes does that take? Let the code do the arithmetic: ```python import math files = 885 per_box = 24 boxes = math.ceil(files / per_box) # 37 print(boxes) ``` The script prints 37, as expected. It takes 37 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0070948
Fixed costs are $1,200. Each unit sells for $20 and costs $10 to make. How many units must be sold to break even? Python does the arithmetic: ```python import math fixed = 1200 price = 20 variable = 10 units = math.ceil(fixed / (price - variable)) # 120 print(units) ``` Running this gives 120. 120 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0070949
<|start|><|user|> How many 2-foot square tiles cover a 17 ft by 4 ft floor (round up)?<|eot|> <|assistant|> It takes 17 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 2-foot square tiles cover a 17 ft by 4 ft floor (round up)?" }, { "role": "assistant", "content": "It takes 17 tiles." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0070950
A library charges $0.15 per book per day late. What is the fine for 3 books that are 21 days late? ```python per_day = 0.15 days_late = 21 books = 3 fine = per_day * days_late * books # 9.45 print(f"{fine:.2f}") ``` Console: 9.45 $9.45 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "9.45", "printed": "9.45", "notation": null}
nlprog_det-setting-0070951
At a 4% tax rate, what is the tax on $606.71? Python, step by step: price = 606.71 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 24.268400000000003 print(f"{tax:.2f}") Running this gives 24.27. The tax is $24.27.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "24.27", "printed": "24.27", "notation": null}
nlprog_det-setting-0070952
From a $2,500 retainer, 4 hours at $250/hour have been drawn. What remains? A short script: ```python retainer = 2500 hours = 4 rate = 250 left = retainer - hours * rate # 1500 print(left) ``` Python prints 1500, as expected. $1,500 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0070953
An invoice lists 36 tape rolls at $5 each, plus 6% sales tax. What is the invoice total? The total with tax is $190.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "190.80", "printed": "190.80", "notation": null}
nlprog_det-setting-0070954
What percentage of $4,000 is $300? Here is the program. ```python budget = 4000 spent = 300 percent = spent / budget * 100 print(round(percent, 1)) ``` (Printed result: 7.5) 7.5% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "7.5", "printed": "7.5", "notation": null}
nlprog_det-setting-0070955
A shift runs from 7:04 AM to 12:04 PM. How long is it in minutes? As Python: ```python start = 7 * 60 + 4 # 424 end = 12 * 60 + 4 # 724 print(end - start) ``` # stdout: 300 It is 300 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0070956
<|start|><|user|> Papers were served by mail on March 12, 2026. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2026, 3, 12) # datetime.date(2026, 3, 12) response_days = 21 mail_days = 3 due ...
chat
[ { "role": "user", "content": "Papers were served by mail on March 12, 2026. A response is due 21 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(2026, 3, 12) # datetime...
nlprog_det
setting
original
null
deterministic
[]
[]
182
{"gold": "2026-04-05", "printed": "2026-04-05", "notation": null}
nlprog_det-setting-0070957
<|start|><|user|> 55 volunteers are split into 6 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> 9 each, 1 left over.<|eot|> <|end|>
chat
[ { "role": "user", "content": "55 volunteers are split into 6 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "9 each, 1 left over." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "9 each, 1 left over", "printed": "9 each, 1 left over", "notation": null}
nlprog_det-setting-0070958
Monthly rent is $900. A tenant moves in with 10 days left in a 31-day month. What is the prorated rent? rent = 900 days_in_month = 31 days_occupied = 10 prorated = rent * days_occupied / days_in_month print(f"{prorated:.2f}") What it prints: 290.32 The prorated rent is $290.32.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "290.32", "printed": "290.32", "notation": null}
nlprog_det-setting-0070959
A service costs $12 a month or $120 a year. How much does the yearly plan save over 12 monthly payments? Computing it: monthly = 12 yearly = 120 savings = monthly * 12 - yearly # 24 print(savings) (Out: 24) The annual plan saves $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070960
A measure needs at least 75% of 57 votes. How many votes is that, rounded up? Python code: ```python import math voters = 57 needed = math.ceil(voters * 75 / 100) # 43 print(needed) ``` The program outputs 43. At least 43 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "43", "printed": "43", "notation": null}
nlprog_det-setting-0070961
Diego earns $18.50 an hour and time and a half for hours over 40. What is the pay for a 55-hour week? One way, in code: ```python rate = 18.5 hours = 55 regular = 40 * rate # 740.0 overtime = (hours - 40) * rate * 1.5 # 416.25 pay = regular + overtime # 1156.25 print(f"{pay:.2f}") ``` Printed result: 1156.25 Diego...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "1156.25", "printed": "1156.25", "notation": null}
nlprog_det-setting-0070962
What is 10 degrees Celsius in Fahrenheit? Program: ```python celsius = 10 fahrenheit = celsius * 9 / 5 + 32 # 50.0 print(round(fahrenheit)) ``` Output: 50 That is 50 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0070963
<|start|><|user|> What commission does Elena make on $35,637 in sales at 8%?<|eot|> <|assistant|> sales = 35637 rate = 8 / 100 # 0.08 commission = sales * rate # 2850.96 print(f"{commission:.2f}") Run it and it prints: 2850.96 Elena earns $2,850.96.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What commission does Elena make on $35,637 in sales at 8%?" }, { "role": "assistant", "content": " sales = 35637\n rate = 8 / 100 # 0.08\n commission = sales * rate # 2850.96\n print(f\"{commission:.2f}\")\nRun it and it prints: 2850.96\n\nElena earns ...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "2850.96", "printed": "2850.96", "notation": null}
nlprog_det-setting-0070964
<|start|><|user|> With 40% off, what does a $250 filing cabinet cost?<|eot|> <|assistant|> ```python price = 250 discount = 40 / 100 # 0.4 sale_price = price * (1 - discount) # 150.0 print(f"{sale_price:.2f}") ``` (Program output: 150.00) The sale price is $150.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 40% off, what does a $250 filing cabinet cost?" }, { "role": "assistant", "content": "```python\nprice = 250\ndiscount = 40 / 100 # 0.4\nsale_price = price * (1 - discount) # 150.0\nprint(f\"{sale_price:.2f}\")\n```\n(Program output: 150.00)\n\nThe sale price...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "150.00", "printed": "150.00", "notation": null}
nlprog_det-setting-0070965
<|start|><|system|> Answer accurately and briefly.<|eot|> <|user|> Revenue is $21,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)?<|eot|> <|assistant|> ```python revenue = 21000 costs = 20000 profit = revenue - costs # 1000 margin = profit / revenue * 100 # 4.761904761904762...
chat
[ { "role": "system", "content": "Answer accurately and briefly." }, { "role": "user", "content": "Revenue is $21,000 and costs are $20,000. What is the profit margin as a percent of revenue (one decimal)?" }, { "role": "assistant", "content": "```python\nrevenue = 21000\ncosts = 20000...
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "4.8", "printed": "4.8", "notation": null}
nlprog_det-setting-0070966
Count the days between June 7, 2020 and March 28, 2021. Computing it: ```python from datetime import date first = date(2020, 6, 7) # datetime.date(2020, 6, 7) second = date(2021, 3, 28) # datetime.date(2021, 3, 28) print((second - first).days) ``` The program outputs 294. It is 294 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "294", "printed": "294", "notation": null}
nlprog_det-setting-0070967
A appointment starts at 11:40 AM and lasts 90 minutes. When does it end? Here's the code. ```python start = 11 * 60 + 40 end = start + 90 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` The interpreter prints: 1:10 PM The appointment finishes at 1:10 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "1:10 PM", "printed": "1:10 PM", "notation": null}
nlprog_det-setting-0070968
From a $10,000 retainer, 12 hours at $275/hour have been drawn. What remains? The Python version: ```python retainer = 10000 hours = 12 rate = 275 left = retainer - hours * rate # 6700 print(left) ``` Executing it gives 6700, as expected. The remaining balance is $6,700.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "6700", "printed": "6700", "notation": null}
nlprog_det-setting-0070970
<|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": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}, {"name": "...
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\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python sou...
nlprog_det
setting
original
null
deterministic
[]
[]
343
{"gold": "10949", "printed": "10949", "notation": null}
nlprog_det-setting-0070971
<|start|><|user|> Split $2,684 between Wanjiru and Grace in the ratio 1 to 3. What is Wanjiru's share?<|eot|> <|assistant|> Wanjiru gets $671.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $2,684 between Wanjiru and Grace in the ratio 1 to 3. What is Wanjiru's share?" }, { "role": "assistant", "content": "Wanjiru gets $671." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
54
{"gold": "671", "printed": "671", "notation": null}
nlprog_det-setting-0070972
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "compute", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"compute\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Pytho...
nlprog_det
setting
original
null
deterministic
[]
[]
207
{"gold": "70.0", "printed": "70.0", "notation": null}
nlprog_det-setting-0070973
A $1,200 loan carries 6% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment? Python code: ```python principal = 1200 annual_rate = 6 / 100 # 0.06 months = 36 interest = principal * annual_rate * months / 12 # 216.0 payment = (principal + interest)...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "39.33", "printed": "39.33", "notation": null}
nlprog_det-setting-0070974
How many 2-foot square tiles cover a 5 ft by 3 ft floor (round up)? As Python: ```python import math length = 5 width = 3 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 4 print(tiles) ``` Console: 4 It takes 4 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0070975
<|start|><|system|> Tools you may use: {"name": "compute", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}} {"name": "fetch_filing", "description": "Fetch an SEC filin...
chat
[ { "role": "system", "content": "Tools you may use:\n{\"name\": \"compute\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippet\"]}}\n{\"...
nlprog_det
setting
original
null
deterministic
[]
[]
282
{"gold": "810", "printed": "810", "notation": null}
nlprog_det-setting-0070976
How many 2-foot square tiles cover a 20 ft by 15 ft floor (round up)? The Python version: ```python import math length = 20 width = 15 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 75 print(tiles) ``` The interpreter prints: 75 75 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "75", "printed": "75", "notation": null}
nlprog_det-setting-0070977
6 friends split a $150 bill plus a 18% tip evenly. How much does each pay? Each person pays $29.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "29.50", "printed": "29.50", "notation": null}
nlprog_det-setting-0070978
<|start|><|user|> Rent of $1,800 goes up 3%. What is the new rent?<|eot|> <|assistant|> ```python rent = 1800 increase = 3 / 100 # 0.03 new_rent = rent * (1 + increase) # 1854.0 print(f"{new_rent:.2f}") ``` Console output — 1854.00 The new rent is $1,854.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rent of $1,800 goes up 3%. What is the new rent?" }, { "role": "assistant", "content": "```python\nrent = 1800\nincrease = 3 / 100 # 0.03\nnew_rent = rent * (1 + increase) # 1854.0\nprint(f\"{new_rent:.2f}\")\n```\nConsole output — 1854.00\n\nThe new rent is $1,85...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "1854.00", "printed": "1854.00", "notation": null}
nlprog_det-setting-0070979
Emeka and Joelle share $3,165 in the ratio 2:3. How much does Emeka get? Python does the arithmetic: ```python total = 3165 parts_a = 2 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 1266 print(share_a) ``` Execution result — 1266 Emeka's share is $1,266.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "1266", "printed": "1266", "notation": null}
nlprog_det-setting-0070980
Each storage box holds 12 files. How many boxes are needed for 580 files? We can compute it in Python. ```python import math files = 580 per_box = 12 boxes = math.ceil(files / per_box) # 49 print(boxes) ``` # stdout: 49 49 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "49", "printed": "49", "notation": null}
nlprog_det-setting-0070981
<|start|><|system|> Avoid unnecessary detail.<|eot|> <|user|> Scale 300 g of rice from 4 servings to 6 servings.<|eot|> <|assistant|> ```python grams = 300 serves = 4 needed_for = 6 scaled = grams * needed_for // serves # 450 print(scaled) ``` The run gives 450. Use 450 g of rice.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Avoid unnecessary detail." }, { "role": "user", "content": "Scale 300 g of rice from 4 servings to 6 servings." }, { "role": "assistant", "content": "```python\ngrams = 300\nserves = 4\nneeded_for = 6\nscaled = grams * needed_for // serves # 450\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "450", "printed": "450", "notation": null}
nlprog_det-setting-0070983
<|start|><|user|> 7 boxes hold 12 pens each. After 13 are handed out, how many are left?<|eot|> <|assistant|> ```python boxes = 7 per_box = 12 given_away = 13 left = boxes * per_box - given_away # 71 print(left) ``` Executing it gives: 71 That leaves 71 pens.<|eot|> <|end|>
chat
[ { "role": "user", "content": "7 boxes hold 12 pens each. After 13 are handed out, how many are left?" }, { "role": "assistant", "content": "```python\nboxes = 7\nper_box = 12\ngiven_away = 13\nleft = boxes * per_box - given_away # 71\nprint(left)\n```\nExecuting it gives: 71\n\nThat leaves 71 p...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "71", "printed": "71", "notation": null}
nlprog_det-setting-0070984
How many of 80 votes make 75% (round up)? Computing it: ```python import math voters = 80 needed = math.ceil(voters * 75 / 100) # 60 print(needed) ``` # console output: 60 60 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0070985
<|start|><|user|> Amir's scores were 91, 100, 78, 65 and 71. What is the average score?<|eot|> <|assistant|> ```python scores = [91, 100, 78, 65, 71] average = sum(scores) // len(scores) # 81 print(average) ``` The run gives: 81 The average score is 81.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Amir's scores were 91, 100, 78, 65 and 71. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [91, 100, 78, 65, 71]\naverage = sum(scores) // len(scores) # 81\nprint(average)\n```\nThe run gives: 81\n\nThe average score is 81." ...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "81", "printed": "81", "notation": null}
nlprog_det-setting-0070986
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> A settlement of $15,000 is split equally among 3 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 15000 parties = 3 share = settlement // parties # 5000 print(share) ``` Result — 5000 Each party receives $5,000.<|eo...
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "A settlement of $15,000 is split equally among 3 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 15000\nparties = 3\nshare = settle...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "5000", "printed": "5000", "notation": null}
nlprog_det-setting-0070987
A storeroom has 1902 binders. The office uses 15 a day. How many are left after 8 days? Here's the code. ```python stock = 1902 per_day = 15 days = 8 left = stock - per_day * days print(left) ``` Result: 1782 1782 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "1782", "printed": "1782", "notation": null}
nlprog_det-setting-0070988
<|start|><|user|> Flooring at $12/sq ft for a 12 ft × 17 ft room costs how much?<|eot|> <|assistant|> The flooring costs $2,448.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Flooring at $12/sq ft for a 12 ft × 17 ft room costs how much?" }, { "role": "assistant", "content": "The flooring costs $2,448." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "2448", "printed": "2448", "notation": null}
nlprog_det-setting-0070989
4 boxes hold 8 ink cartridges each. After 18 are handed out, how many are left? 14 ink cartridges are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0070990
A garage charges $4 an hour, never more than $24 a day. How much for 6 hours? Python does the arithmetic: ```python rate = 4 hours = 6 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` The interpreter prints 24. Parking costs $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0070991
The rules require 2/3 of 15 members (round up) to be present. How many is that? A Python solution: ```python import math members = 15 quorum = math.ceil(members * 2 / 3) # 10 print(quorum) ``` Result — 10 That is 10 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0070992
<|start|><|user|> With $20,000 in costs and $24,000 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> Profit is 16.7% of revenue.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With $20,000 in costs and $24,000 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "Profit is 16.7% of revenue." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "16.7", "printed": "16.7", "notation": null}
nlprog_det-setting-0070993
Maren and Zoe share $2,268 in the ratio 2:5. How much does Maren get? Maren's share is $648.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "648", "printed": "648", "notation": null}
nlprog_det-setting-0070994
<|start|><|user|> A shift starts at 10:20 AM and lasts 135 minutes. When does it end?<|eot|> <|assistant|> The shift finishes at 12:35 PM.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A shift starts at 10:20 AM and lasts 135 minutes. When does it end?" }, { "role": "assistant", "content": "The shift finishes at 12:35 PM." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "12:35 PM", "printed": "12:35 PM", "notation": null}
nlprog_det-setting-0070995
<|start|><|system|> You are a helpful assistant.<|eot|> <|user|> What does $10,000 grow to in 4 years at 5% annual compounding?<|eot|> <|assistant|> ```python principal = 10000 rate = 5 / 100 # 0.05 years = 4 value = principal * (1 + rate) ** years # 12155.062500000002 print(f"{value:.2f}") ``` Execution result: 1215...
chat
[ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "What does $10,000 grow to in 4 years at 5% annual compounding?" }, { "role": "assistant", "content": "```python\nprincipal = 10000\nrate = 5 / 100 # 0.05\nyears = 4\nvalue = principal * (1...
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "12155.06", "printed": "12155.06", "notation": null}
nlprog_det-setting-0070996
<|start|><|user|> A measure needs at least 75% of 149 votes. How many votes is that, rounded up?<|eot|> <|assistant|> ```python import math voters = 149 needed = math.ceil(voters * 75 / 100) # 112 print(needed) ``` Running it prints 112, as expected. 112 votes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A measure needs at least 75% of 149 votes. How many votes is that, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 149\nneeded = math.ceil(voters * 75 / 100) # 112\nprint(needed)\n```\nRunning it prints 112, as expected.\n\n112 v...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "112", "printed": "112", "notation": null}
nlprog_det-setting-0070997
Someone works 40 hours at $22.36 per hour. What are the earnings? Python: ```python rate = 22.36 hours = 40 earnings = rate * hours # 894.4 print(f"{earnings:.2f}") ``` It prints 894.40, as expected. The pay is $894.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "894.40", "printed": "894.40", "notation": null}
nlprog_det-setting-0070998
<|start|><|user|> Parking is $2 per hour with a daily maximum of $18. What do 5 hours cost?<|eot|> <|assistant|> ```python rate = 2 hours = 5 daily_max = 18 cost = min(rate * hours, daily_max) # 10 print(cost) ``` Result: 10 Parking costs $10.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Parking is $2 per hour with a daily maximum of $18. What do 5 hours cost?" }, { "role": "assistant", "content": "```python\nrate = 2\nhours = 5\ndaily_max = 18\ncost = min(rate * hours, daily_max) # 10\nprint(cost)\n```\nResult: 10\n\nParking costs $10." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0070999
How many units at $15 each (variable cost $5) cover $1,200 of fixed costs? A Python solution: ```python import math fixed = 1200 price = 15 variable = 5 units = math.ceil(fixed / (price - variable)) # 120 print(units) ``` The program prints 120. 120 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0071000
<|start|><|user|> To read 155 pages in 5 days, how many pages per day are needed?<|eot|> <|assistant|> That is 31 pages per day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "To read 155 pages in 5 days, how many pages per day are needed?" }, { "role": "assistant", "content": "That is 31 pages per day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "31", "printed": "31", "notation": null}