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-0051840
Copies cost $10 plus $0.10 for each page beyond 20. How much for 84 pages? Set it up in Python: ```python pages = 84 base = 10 per_page = 0.1 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 16.4 print(f"{cost:.2f}") ``` Console output: 16.40 The copy costs $16.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "16.40", "printed": "16.40", "notation": null}
nlprog_det-setting-0051841
An attorney bills 1.5 hours at $300 per hour. What is the bill? As Python: ```python hours = 1.5 rate = 300 bill = hours * rate print(f"{bill:.2f}") ``` Python prints: 450.00 The bill is $450.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0051842
Eamon buys 3 boxes of 6 chairs each and gives away 20 chairs. How many chairs are left? -2 chairs are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "-2", "printed": "-2", "notation": null}
nlprog_det-setting-0051843
A room is 17 feet by 11 feet. Flooring costs $12 per square foot. What does it cost to floor the room? It costs $2,244.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "2244", "printed": "2244", "notation": null}
nlprog_det-setting-0051844
<|start|><|user|> Pay is $20.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 43 hours?<|eot|> <|assistant|> Liesel earns $890.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Pay is $20.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 43 hours?" }, { "role": "assistant", "content": "Liesel earns $890.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "890.00", "printed": "890.00", "notation": null}
nlprog_det-setting-0051845
Sales went from 500 to 425. What is the percent change? It changed by -15%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "-15", "printed": "-15", "notation": null}
nlprog_det-setting-0051846
<|start|><|user|> A hall has 24 rows of 16 seats, and 8 seats are empty. How many people are seated?<|eot|> <|assistant|> rows = 24 per_row = 16 empty = 8 seated = rows * per_row - empty # 376 print(seated) (Execution result: 376) 376 people are seated.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hall has 24 rows of 16 seats, and 8 seats are empty. How many people are seated?" }, { "role": "assistant", "content": " rows = 24\n per_row = 16\n empty = 8\n seated = rows * per_row - empty # 376\n print(seated)\n(Execution result: 376)\n\n376 pe...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "376", "printed": "376", "notation": null}
nlprog_det-setting-0051847
4 clients win $30,000. The lawyer takes 25%, and the rest is split equally. How much does each client get? Set it up in Python: ```python award = 30000 fee = award * 25 / 100 # 7500.0 remaining = award - fee # 22500.0 per_client = remaining / 4 # 5625.0 print(f"{per_client:.2f}") ``` Program output — 5625.00 Each ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
139
{"gold": "5625.00", "printed": "5625.00", "notation": null}
nlprog_det-setting-0051849
<|start|><|user|> Monthly: $19. Annual: $180. What is saved per year by paying annually?<|eot|> <|assistant|> ```python monthly = 19 yearly = 180 savings = monthly * 12 - yearly # 48 print(savings) ``` Output: 48 The annual plan saves $48.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Monthly: $19. Annual: $180. What is saved per year by paying annually?" }, { "role": "assistant", "content": "```python\nmonthly = 19\nyearly = 180\nsavings = monthly * 12 - yearly # 48\nprint(savings)\n```\nOutput:\n48\n\nThe annual plan saves $48." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0051850
A trial runs from June 14, 2025 to July 1, 2025, counting both days. How many calendar days is that? 18 calendar days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0051851
At $28.40 an hour, what does 12 hours of work pay? Computing it: ```python rate = 28.4 hours = 12 earnings = rate * hours # 340.79999999999995 print(f"{earnings:.2f}") ``` Output: 340.80 That earns $340.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "340.80", "printed": "340.80", "notation": null}
nlprog_det-setting-0051852
Rent of $1,250 goes up 5%. What is the new rent? A Python solution: ```python rent = 1250 increase = 5 / 100 # 0.05 new_rent = rent * (1 + increase) # 1312.5 print(f"{new_rent:.2f}") ``` Out — 1312.50 It rises to $1,312.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "1312.50", "printed": "1312.50", "notation": null}
nlprog_det-setting-0051853
Counting only Monday through Friday, how many business days are there after June 5, 2028 through July 15, 2028? We can compute it in Python. ```python from datetime import date, timedelta start = date(2028, 6, 5) end = date(2028, 7, 15) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(day...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
161
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0051854
The paralegal logged 2.5 hours at a rate of $250. How much is billed? ```python hours = 2.5 rate = 250 bill = hours * rate # 625.0 print(f"{bill:.2f}") ``` Printed result: 625.00 That comes to $625.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "625.00", "printed": "625.00", "notation": null}
nlprog_det-setting-0051855
A $48,000 grant pays $6,000 up front and the rest in 12 equal installments. How large is each installment? Computation in Python: ```python grant = 48000 up_front = 6000 installments = 12 each = (grant - up_front) / installments # 3500.0 print(f"{each:.2f}") ``` Printed result — 3500.00 $3,500.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "3500.00", "printed": "3500.00", "notation": null}
nlprog_det-setting-0051856
A $48,000 grant pays $3,000 up front and the rest in 6 equal installments. How large is each installment? Here's the code. ```python grant = 48000 up_front = 3000 installments = 6 each = (grant - up_front) / installments # 7500.0 print(f"{each:.2f}") ``` Printed result — 7500.00 Each installment is $7,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "7500.00", "printed": "7500.00", "notation": null}
nlprog_det-setting-0051858
<|start|><|user|> To read 1140 pages in 20 days, how many pages per day are needed?<|eot|> <|assistant|> ```python pages = 1140 days = 20 per_day = pages // days # 57 print(per_day) ``` The run gives 57. That is 57 pages per day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "To read 1140 pages in 20 days, how many pages per day are needed?" }, { "role": "assistant", "content": "```python\npages = 1140\ndays = 20\nper_day = pages // days # 57\nprint(per_day)\n```\nThe run gives 57.\n\nThat is 57 pages per day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "57", "printed": "57", "notation": null}
nlprog_det-setting-0051860
Hana earns a 8% commission on $118,052 of sales. What is the commission? The commission is $9,444.16.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "9444.16", "printed": "9444.16", "notation": null}
nlprog_det-setting-0051861
<|start|><|user|> An attorney bills 4 hours at $410 per hour. What is the bill?<|eot|> <|assistant|> hours = 4 rate = 410 bill = hours * rate # 1640 print(f"{bill:.2f}") # output: 1640.00 That comes to $1,640.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An attorney bills 4 hours at $410 per hour. What is the bill?" }, { "role": "assistant", "content": " hours = 4\n rate = 410\n bill = hours * rate # 1640\n print(f\"{bill:.2f}\")\n# output: 1640.00\n\nThat comes to $1,640.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "1640.00", "printed": "1640.00", "notation": null}
nlprog_det-setting-0051862
<|start|><|system|> Tools (call with JSON): [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "python", "description": "A Python interpreter....
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\", \"target\"]}...
nlprog_det
setting
original
null
deterministic
[]
[]
372
{"gold": "1109.52", "printed": "1109.52", "notation": null}
nlprog_det-setting-0051864
Convert 30 °C to Fahrenheit. In Python: ```python celsius = 30 fahrenheit = celsius * 9 / 5 + 32 print(round(fahrenheit)) ``` Executed, it shows: 86 It equals 86 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "86", "printed": "86", "notation": null}
nlprog_det-setting-0051865
<|start|><|user|> How many 2-foot square tiles cover a 19 ft by 10 ft floor (round up)?<|eot|> <|assistant|> 48 tiles are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 2-foot square tiles cover a 19 ft by 10 ft floor (round up)?" }, { "role": "assistant", "content": "48 tiles are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0051866
10 boxes hold 25 staplers each. After 11 are handed out, how many are left? In code: ```python boxes = 10 per_box = 25 given_away = 11 left = boxes * per_box - given_away # 239 print(left) ``` When run, it prints 239. 239 staplers are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "239", "printed": "239", "notation": null}
nlprog_det-setting-0051867
Sales went from 1,200 to 1,260. What is the percent change? Translated to Python: ```python old = 1200 new = 1260 change = (new - old) / old * 100 # 5.0 print(round(change)) ``` Execution prints 5, as expected. It changed by 5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0051868
The landlord deducts $120 and $200 from a $1,000 deposit. What is returned to the tenant? We can compute it in Python. ```python deposit = 1000 deductions = [120, 200] refund = deposit - sum(deductions) # 680 print(refund) ``` On running, it outputs: 680 The refund is $680.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "680", "printed": "680", "notation": null}
nlprog_det-setting-0051870
Hugo and Uma share $2,680 in the ratio 3:5. How much does Hugo get? Let's compute it with Python. total = 2680 parts_a = 3 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 1005 print(share_a) (stdout: 1005) Hugo gets $1,005.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "1005", "printed": "1005", "notation": null}
nlprog_det-setting-0051871
A 120-mile drive at a steady 40 mph takes how many minutes? A short script: ```python distance = 120 speed = 40 minutes = distance / speed * 60 # 180.0 print(round(minutes)) ``` Console: 180 The trip takes 180 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0051872
<|start|><|user|> An office budget of $8,000 has expenses of $2,550, $2,811, $891, $2,045. How much of the budget is left?<|eot|> <|assistant|> ```python budget = 8000 expenses = [2550, 2811, 891, 2045] left = budget - sum(expenses) # -297 print(left) ``` Result = -297 -$297 is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An office budget of $8,000 has expenses of $2,550, $2,811, $891, $2,045. How much of the budget is left?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nexpenses = [2550, 2811, 891, 2045]\nleft = budget - sum(expenses) # -297\nprint(left)\n```\nRes...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "-297", "printed": "-297", "notation": null}
nlprog_det-setting-0051873
A $30,000 grant pays $2,000 up front and the rest in 12 equal installments. How large is each installment? Program: ```python grant = 30000 up_front = 2000 installments = 12 each = (grant - up_front) / installments # 2333.3333333333335 print(f"{each:.2f}") ``` The script prints 2333.33. $2,333.33 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "2333.33", "printed": "2333.33", "notation": null}
nlprog_det-setting-0051874
A 24-month warranty starts on July 6, 2025. On what date does it end? Python does the arithmetic: from datetime import date start = date(2025, 7, 6) months = 24 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoform...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "2027-07-06", "printed": "2027-07-06", "notation": null}
nlprog_det-setting-0051875
<|start|><|user|> Attendance was 27 out of 40. Express it as a percent.<|eot|> <|assistant|> ```python present = 27 total = 40 percent = present / total * 100 # 67.5 print(round(percent, 1)) ``` Result: 67.5 67.5% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Attendance was 27 out of 40. Express it as a percent." }, { "role": "assistant", "content": "```python\npresent = 27\ntotal = 40\npercent = present / total * 100 # 67.5\nprint(round(percent, 1))\n```\nResult: 67.5\n\n67.5% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "67.5", "printed": "67.5", "notation": null}
nlprog_det-setting-0051876
A car gets 25 miles per gallon. Gas is $4.59 a gallon. What does fuel cost for a 180-mile trip? The trip uses $33.05 of gas.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "33.05", "printed": "33.05", "notation": null}
nlprog_det-setting-0051877
<|start|><|system|> You are a math tutor.<|eot|> <|user|> A trial runs from October 13, 2024 to October 18, 2024, counting both days. How many calendar days is that?<|eot|> <|assistant|> ```python from datetime import date first = date(2024, 10, 13) # datetime.date(2024, 10, 13) last = date(2024, 10, 18) # datetime.d...
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "A trial runs from October 13, 2024 to October 18, 2024, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = dat...
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "6", "printed": "6", "notation": null}
nlprog_det-setting-0051878
<|start|><|system|> Tools you may use: [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"get_weather\", \"desc...
nlprog_det
setting
original
null
deterministic
[]
[]
337
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0051879
What average speed covers 144 miles in 4 hours? A Python solution: ```python distance = 144 hours = 4 speed = distance / hours # 36.0 print(round(speed)) ``` The run gives 36. It averages 36 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0051880
<|start|><|user|> From a $10,000 retainer, 3 hours at $250/hour have been drawn. What remains?<|eot|> <|assistant|> retainer = 10000 hours = 3 rate = 250 left = retainer - hours * rate # 9250 print(left) Running this gives 9250. The remaining balance is $9,250.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From a $10,000 retainer, 3 hours at $250/hour have been drawn. What remains?" }, { "role": "assistant", "content": " retainer = 10000\n hours = 3\n rate = 250\n left = retainer - hours * rate # 9250\n print(left)\nRunning this gives 9250.\n\nThe rema...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "9250", "printed": "9250", "notation": null}
nlprog_det-setting-0051881
Each storage box holds 20 files. How many boxes are needed for 792 files? Coded up: import math files = 792 per_box = 20 boxes = math.ceil(files / per_box) # 40 print(boxes) The program prints 40. 40 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0051882
<|start|><|system|> Keep answers short and correct.<|eot|> <|user|> Monthly rent is $1,800. A tenant moves in with 13 days left in a 31-day month. What is the prorated rent?<|eot|> <|assistant|> ```python rent = 1800 days_in_month = 31 days_occupied = 13 prorated = rent * days_occupied / days_in_month # 754.8387096774...
chat
[ { "role": "system", "content": "Keep answers short and correct." }, { "role": "user", "content": "Monthly rent is $1,800. A tenant moves in with 13 days left in a 31-day month. What is the prorated rent?" }, { "role": "assistant", "content": "```python\nrent = 1800\ndays_in_month = 3...
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "754.84", "printed": "754.84", "notation": null}
nlprog_det-setting-0051883
<|start|><|user|> With 26 rows of 21 chairs and 15 empty chairs, how many chairs are taken?<|eot|> <|assistant|> ```python rows = 26 per_row = 21 empty = 15 seated = rows * per_row - empty # 531 print(seated) ``` The code prints: 531 531 people are seated.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 26 rows of 21 chairs and 15 empty chairs, how many chairs are taken?" }, { "role": "assistant", "content": "```python\nrows = 26\nper_row = 21\nempty = 15\nseated = rows * per_row - empty # 531\nprint(seated)\n```\nThe code prints: 531\n\n531 people are seated...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "531", "printed": "531", "notation": null}
nlprog_det-setting-0051884
A garage charges $5 an hour, never more than $24 a day. How much for 4 hours? Written as code: ```python rate = 5 hours = 4 daily_max = 24 cost = min(rate * hours, daily_max) print(cost) ``` stdout: 20 The charge is $20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0051885
Vera's scores were 101, 75, 63, 88 and 93. What is the average score? ```python scores = [101, 75, 63, 88, 93] average = sum(scores) // len(scores) # 84 print(average) ``` # out: 84 The average score is 84.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "84", "printed": "84", "notation": null}
nlprog_det-setting-0051886
6 boxes hold 10 ink cartridges each. After 19 are handed out, how many are left? One way, in code: ```python boxes = 6 per_box = 10 given_away = 19 left = boxes * per_box - given_away # 41 print(left) ``` Execution result — 41 That leaves 41 ink cartridges.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0051887
After an initial $2,000, the remainder of a $24,000 grant is paid in 6 equal parts. What is each part? As Python: ```python grant = 24000 up_front = 2000 installments = 6 each = (grant - up_front) / installments # 3666.6666666666665 print(f"{each:.2f}") ``` # printed result: 3666.67 $3,666.67 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "3666.67", "printed": "3666.67", "notation": null}
nlprog_det-setting-0051888
<|start|><|user|> Idris earns a 3% commission on $53,149 of sales. What is the commission?<|eot|> <|assistant|> The commission is $1,594.47.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Idris earns a 3% commission on $53,149 of sales. What is the commission?" }, { "role": "assistant", "content": "The commission is $1,594.47." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "1594.47", "printed": "1594.47", "notation": null}
nlprog_det-setting-0051889
At $28.34 an hour, what does 40 hours of work pay? That earns $1,133.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "1133.60", "printed": "1133.60", "notation": null}
nlprog_det-setting-0051890
Convert -10 °C to Fahrenheit. Computation in Python: ```python celsius = -10 fahrenheit = celsius * 9 / 5 + 32 # 14.0 print(round(fahrenheit)) ``` Printed: 14 That is 14 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0051891
How many units at $25 each (variable cost $19) cover $4,000 of fixed costs? We write it as a program: ```python import math fixed = 4000 price = 25 variable = 19 units = math.ceil(fixed / (price - variable)) # 667 print(units) ``` # stdout: 667 667 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "667", "printed": "667", "notation": null}
nlprog_det-setting-0051892
Equipment costs $18,000, has a salvage value of $2,000, and a useful life of 8 years. What is the straight-line depreciation per year? Depreciation is $2,000.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
53
{"gold": "2000.00", "printed": "2000.00", "notation": null}
nlprog_det-setting-0051893
After a 40% fee is taken from a $30,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? Here's the code. ```python award = 30000 fee = award * 40 / 100 # 12000.0 remaining = award - fee # 18000.0 per_client = remaining / 3 # 6000.0 print(f"{per_client:.2f}") ``` Python prints: 60...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "6000.00", "printed": "6000.00", "notation": null}
nlprog_det-setting-0051895
<|start|><|user|> 124 of 200 members attended. What percent attended?<|eot|> <|assistant|> Attendance was 62.0%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "124 of 200 members attended. What percent attended?" }, { "role": "assistant", "content": "Attendance was 62.0%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "62.0", "printed": "62.0", "notation": null}
nlprog_det-setting-0051896
8 boxes hold 6 ink cartridges each. After 13 are handed out, how many are left? Here is the program. ```python boxes = 8 per_box = 6 given_away = 13 left = boxes * per_box - given_away # 35 print(left) ``` Console output: 35 That leaves 35 ink cartridges.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0051897
A court charges $15 per request plus $0.25 per page after the first 20 pages. What does a 77-page copy cost? The computation: ```python pages = 77 base = 15 per_page = 0.25 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 29.25 print(f"{cost:.2f}") ``` The code prints: 29.25 The total is $29.25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "29.25", "printed": "29.25", "notation": null}
nlprog_det-setting-0051898
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> At an exchange rate of 1.12 USD per EUR, how many USD is 2,772 EUR?<|eot|> <|assistant|> ```python amount = 2772 rate = 1.12 converted = amount * rate print(f"{converted:.2f}") ``` Running this gives: 3104.64 That is 3,104.64 USD.<|eot|...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "At an exchange rate of 1.12 USD per EUR, how many USD is 2,772 EUR?" }, { "role": "assistant", "content": "```python\namount = 2772\nrate = 1.12\nconverted = amount * rate...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "3104.64", "printed": "3104.64", "notation": null}
nlprog_det-setting-0051899
Prorate $2,400 of monthly rent for 19 days of a 30-day month. Python does the arithmetic: ```python rent = 2400 days_in_month = 30 days_occupied = 19 prorated = rent * days_occupied / days_in_month # 1520.0 print(f"{prorated:.2f}") ``` The interpreter prints: 1520.00 The tenant owes $1,520.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "1520.00", "printed": "1520.00", "notation": null}
nlprog_det-setting-0051900
Fines run at $100 per day up to a maximum of $1,000. How much after 9 days? Python code: ```python per_day = 100 days = 9 cap = 1000 fine = min(per_day * days, cap) print(fine) ``` Printed: 900 The fine is $900.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0051901
How many meters are in 49.6 kilometers? Python version: ```python km = 49.6 meters = km * 1000 # 49600.0 print(round(meters)) ``` Execution prints 49600, as expected. That is 49,600 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "49600", "printed": "49600", "notation": null}
nlprog_det-setting-0051902
2.5 hours of work at $150 an hour: what is the total charge? Coded up: hours = 2.5 rate = 150 bill = hours * rate # 375.0 print(f"{bill:.2f}") Run output: 375.00 The bill is $375.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "375.00", "printed": "375.00", "notation": null}
nlprog_det-setting-0051903
Convert 3,724 GBP to USD at 1 GBP = 1.35 USD. Python version: ```python amount = 3724 rate = 1.35 converted = amount * rate # 5027.400000000001 print(f"{converted:.2f}") ``` (Execution result: 5027.40) It converts to 5,027.40 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "5027.40", "printed": "5027.40", "notation": null}
nlprog_det-setting-0051904
The rules require 2/3 of 52 members (round up) to be present. How many is that? That is 35 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0051905
A quorum is 1/3 of the 51 members, rounded up. How many members make a quorum? ```python import math members = 51 quorum = math.ceil(members * 1 / 3) # 17 print(quorum) ``` (Output: 17) That is 17 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0051906
Monthly rent is $900. A tenant moves in with 7 days left in a 31-day month. What is the prorated rent? We can compute it in Python. ```python rent = 900 days_in_month = 31 days_occupied = 7 prorated = rent * days_occupied / days_in_month # 203.2258064516129 print(f"{prorated:.2f}") ``` Run result: 203.23 The tenant ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "203.23", "printed": "203.23", "notation": null}
nlprog_det-setting-0051907
A water bill is $20 plus $4.75 per thousand gallons beyond the first 3 thousand. What is the bill for 19 thousand gallons? Set it up in Python: ```python base = 20 rate = 4.75 used = 19 free = 3 bill = base + rate * max(0, used - free) # 96.0 print(f"{bill:.2f}") ``` It outputs 96.00. The bill is $96.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "96.00", "printed": "96.00", "notation": null}
nlprog_det-setting-0051908
Emeka earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 50-hour week? Python version: ```python rate = 25.0 hours = 50 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 375.0 pay = regular + overtime # 1375.0 print(f"{pay:.2f}") ``` It prints: 1375.00 The weekly pa...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "1375.00", "printed": "1375.00", "notation": null}
nlprog_det-setting-0051909
<|start|><|user|> A trial runs from September 19, 2021 to October 13, 2021, counting both days. How many calendar days is that?<|eot|> <|assistant|> 25 calendar days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A trial runs from September 19, 2021 to October 13, 2021, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "25 calendar days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0051910
A trial runs from September 1, 2025 to September 10, 2025, counting both days. How many calendar days is that? Written as code: ```python from datetime import date first = date(2025, 9, 1) # datetime.date(2025, 9, 1) last = date(2025, 9, 10) # datetime.date(2025, 9, 10) days = (last - first).days + 1 # 10 print(day...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0051911
If a 90-minute appointment begins at 11:15 AM, what time does it finish? Script: ```python start = 11 * 60 + 15 end = start + 90 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Executing it gives 12:45 PM, as expected. It ends at 12:45 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "12:45 PM", "printed": "12:45 PM", "notation": null}
nlprog_det-setting-0051912
<|start|><|user|> A water bill is $15 plus $4.75 per thousand gallons beyond the first 3 thousand. What is the bill for 23 thousand gallons?<|eot|> <|assistant|> ```python base = 15 rate = 4.75 used = 23 free = 3 bill = base + rate * max(0, used - free) # 110.0 print(f"{bill:.2f}") ``` (Run result: 110.00) $110.00 is...
chat
[ { "role": "user", "content": "A water bill is $15 plus $4.75 per thousand gallons beyond the first 3 thousand. What is the bill for 23 thousand gallons?" }, { "role": "assistant", "content": "```python\nbase = 15\nrate = 4.75\nused = 23\nfree = 3\nbill = base + rate * max(0, used - free) # 110....
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "110.00", "printed": "110.00", "notation": null}
nlprog_det-setting-0051913
Pack A has 12 items for $6.98. Pack B has 15 items for $18.93. Which has the lower price per item? The Python version: pack_a = 6.98 / 12 pack_b = 18.93 / 15 cheaper = "A" if pack_a < pack_b else "B" print(cheaper) Shell output — A A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0051914
A $3,600 loan carries 5% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment? The monthly payment is $315.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "315.00", "printed": "315.00", "notation": null}
nlprog_det-setting-0051915
One can of paint covers 350 square feet. How many cans are needed for 772 square feet of wall? The Python version: ```python import math area = 772 coverage = 350 cans = math.ceil(area / coverage) # 3 print(cans) ``` Executed, it shows: 3 3 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0051916
<|start|><|system|> Write short, precise answers.<|eot|> <|user|> A lease runs for 6 months at $3,250 per month. How much rent is paid over the whole term?<|eot|> <|assistant|> The rent over the term is $19,500.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Write short, precise answers." }, { "role": "user", "content": "A lease runs for 6 months at $3,250 per month. How much rent is paid over the whole term?" }, { "role": "assistant", "content": "The rent over the term is $19,500." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "19500", "printed": "19500", "notation": null}
nlprog_det-setting-0051917
Shipping costs $12 plus $0.75 per pound. What does a 28-pound parcel cost to ship? Shipping costs $33.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "33.00", "printed": "33.00", "notation": null}
nlprog_det-setting-0051918
<|start|><|user|> Find the mean of these test scores: 64, 95 and 51.<|eot|> <|assistant|> ```python scores = [64, 95, 51] average = sum(scores) // len(scores) # 70 print(average) ``` (Output: 70) The average score is 70.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Find the mean of these test scores: 64, 95 and 51." }, { "role": "assistant", "content": "```python\nscores = [64, 95, 51]\naverage = sum(scores) // len(scores) # 70\nprint(average)\n```\n(Output: 70)\n\nThe average score is 70." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "70", "printed": "70", "notation": null}
nlprog_det-setting-0051919
Signe's scores were 76, 63, 77, 73, 66, 78 and 85. What is the average score? ```python scores = [76, 63, 77, 73, 66, 78, 85] average = sum(scores) // len(scores) # 74 print(average) ``` (Out: 74) The average score is 74.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "74", "printed": "74", "notation": null}
nlprog_det-setting-0051920
<|start|><|user|> 4 boxes hold 6 rulers each. After 2 are handed out, how many are left?<|eot|> <|assistant|> boxes = 4 per_box = 6 given_away = 2 left = boxes * per_box - given_away # 22 print(left) Run result = 22 22 rulers are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 boxes hold 6 rulers each. After 2 are handed out, how many are left?" }, { "role": "assistant", "content": " boxes = 4\n per_box = 6\n given_away = 2\n left = boxes * per_box - given_away # 22\n print(left)\nRun result = 22\n\n22 rulers are left." ...
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "22", "printed": "22", "notation": null}
nlprog_det-setting-0051921
Convert 4 h 35 min (the length of a deposition) to minutes. Program: ```python hours = 4 minutes = 35 total_minutes = hours * 60 + minutes # 275 print(total_minutes) ``` Printed — 275 The deposition lasted 275 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "275", "printed": "275", "notation": null}
nlprog_det-setting-0051922
<|start|><|user|> An invoice lists 7 pens at $12 each, plus 6% sales tax. What is the invoice total?<|eot|> <|assistant|> ```python quantity = 7 unit_price = 12 subtotal = quantity * unit_price # 84 total = subtotal * (1 + 6 / 100) # 89.04 print(f"{total:.2f}") ``` When run, it prints 89.04. The invoice total is $89...
chat
[ { "role": "user", "content": "An invoice lists 7 pens at $12 each, plus 6% sales tax. What is the invoice total?" }, { "role": "assistant", "content": "```python\nquantity = 7\nunit_price = 12\nsubtotal = quantity * unit_price # 84\ntotal = subtotal * (1 + 6 / 100) # 89.04\nprint(f\"{total:.2f...
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "89.04", "printed": "89.04", "notation": null}
nlprog_det-setting-0051923
49 copies of a 36-page packet are printed at $0.12 per page. What is the cost? One way, in code: pages = 36 copies = 49 cost_per_page = 0.12 cost = pages * copies * cost_per_page # 211.67999999999998 print(f"{cost:.2f}") stdout: 211.68 The job costs $211.68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "211.68", "printed": "211.68", "notation": null}
nlprog_det-setting-0051924
<|start|><|user|> Each storage box holds 15 files. How many boxes are needed for 589 files?<|eot|> <|assistant|> ```python import math files = 589 per_box = 15 boxes = math.ceil(files / per_box) # 40 print(boxes) ``` It outputs 40. 40 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 15 files. How many boxes are needed for 589 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 589\nper_box = 15\nboxes = math.ceil(files / per_box) # 40\nprint(boxes)\n```\nIt outputs 40.\n\n40 boxes are needed." ...
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0051925
<|start|><|user|> Under a 33% contingency agreement, what fee is owed on a $60,000 award?<|eot|> <|assistant|> ```python recovery = 60000 rate = 33 / 100 # 0.33 fee = recovery * rate # 19800.0 print(f"{fee:.2f}") ``` Run result — 19800.00 The fee is $19,800.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 33% contingency agreement, what fee is owed on a $60,000 award?" }, { "role": "assistant", "content": "```python\nrecovery = 60000\nrate = 33 / 100 # 0.33\nfee = recovery * rate # 19800.0\nprint(f\"{fee:.2f}\")\n```\nRun result — 19800.00\n\nThe fee is $19...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "19800.00", "printed": "19800.00", "notation": null}
nlprog_det-setting-0051926
Equipment costs $45,000, has a salvage value of $3,000, and a useful life of 5 years. What is the straight-line depreciation per year? Depreciation is $8,400.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "8400.00", "printed": "8400.00", "notation": null}
nlprog_det-setting-0051928
<|start|><|system|> You are a careful assistant.<|eot|> <|user|> A pack of 6 paper reams sells for $270. What does each cost?<|eot|> <|assistant|> ```python total = 270 count = 6 per_item = total // count # 45 print(per_item) ``` Printed: 45 The unit price is $45.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful assistant." }, { "role": "user", "content": "A pack of 6 paper reams sells for $270. What does each cost?" }, { "role": "assistant", "content": "```python\ntotal = 270\ncount = 6\nper_item = total // count # 45\nprint(per_item)\n```\...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "45", "printed": "45", "notation": null}
nlprog_det-setting-0051929
Diego's scores were 86, 89, 99, 99 and 97. What is the average score? In code: ```python scores = [86, 89, 99, 99, 97] average = sum(scores) // len(scores) # 94 print(average) ``` Python prints 94. The mean is 94.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "94", "printed": "94", "notation": null}
nlprog_det-setting-0051930
A hearing lasted 5 hours and 15 minutes. How many minutes is that? Programmatically: ```python hours = 5 minutes = 15 total_minutes = hours * 60 + minutes # 315 print(total_minutes) ``` stdout: 315 That is 315 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "315", "printed": "315", "notation": null}
nlprog_det-setting-0051931
Sales went from 2,500 to 3,000. What is the percent change? Set it up in Python: ```python old = 2500 new = 3000 change = (new - old) / old * 100 # 20.0 print(round(change)) ``` Printed — 20 The change is 20%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0051932
4 clients win $60,000. The lawyer takes 40%, and the rest is split equally. How much does each client get? We can compute it in Python. ```python award = 60000 fee = award * 40 / 100 # 24000.0 remaining = award - fee # 36000.0 per_client = remaining / 4 # 9000.0 print(f"{per_client:.2f}") ``` (Output: 9000.00) Eac...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "9000.00", "printed": "9000.00", "notation": null}
nlprog_det-setting-0051933
6 swims at 300 calories each burn how many calories in total? Python version: ```python per_session = 300 sessions = 6 total = per_session * sessions # 1800 print(total) ``` Run output: 1800 That burns 1800 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "1800", "printed": "1800", "notation": null}
nlprog_det-setting-0051934
Water costs $20 a month plus $3.50 for each 1,000 gallons over 3,000. What is owed for 5,000 gallons? Python does the arithmetic: ```python base = 20 rate = 3.5 used = 5 free = 3 bill = base + rate * max(0, used - free) # 27.0 print(f"{bill:.2f}") ``` It outputs: 27.00 The bill is $27.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "27.00", "printed": "27.00", "notation": null}
nlprog_det-setting-0051935
<|start|><|user|> On which weekday does March 8, 1990 fall?<|eot|> <|assistant|> from datetime import date hearing = date(1990, 3, 8) # datetime.date(1990, 3, 8) print(hearing.strftime("%A")) Output of the run: Thursday It is a Thursday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "On which weekday does March 8, 1990 fall?" }, { "role": "assistant", "content": " from datetime import date\n hearing = date(1990, 3, 8) # datetime.date(1990, 3, 8)\n print(hearing.strftime(\"%A\"))\nOutput of the run: Thursday\n\nIt is a Thursday." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "Thursday", "printed": "Thursday", "notation": null}
nlprog_det-setting-0051936
<|start|><|user|> Each of Lucia's bike rides burns 150 calories. How many calories over 7 bike rides?<|eot|> <|assistant|> That burns 1050 calories.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each of Lucia's bike rides burns 150 calories. How many calories over 7 bike rides?" }, { "role": "assistant", "content": "That burns 1050 calories." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "1050", "printed": "1050", "notation": null}
nlprog_det-setting-0051937
A court charges $5 per request plus $0.10 per page after the first 20 pages. What does a 119-page copy cost? A Python solution: ```python pages = 119 base = 5 per_page = 0.1 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 14.9 print(f"{cost:.2f}") ``` Output: 14.90 The total is $14.90.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "14.90", "printed": "14.90", "notation": null}
nlprog_det-setting-0051938
A 180-mile drive at a steady 45 mph takes how many minutes? 240 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "240", "printed": "240", "notation": null}
nlprog_det-setting-0051939
<|start|><|system|> Available functions (JSON Schema): {"name": "run_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> Equal monthl...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n{\"name\": \"run_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"...
nlprog_det
setting
original
null
deterministic
[]
[]
257
{"gold": "112.00", "printed": "112.00", "notation": null}
nlprog_det-setting-0051940
<|start|><|user|> Under a 30% contingency agreement, what fee is owed on a $25,000 award?<|eot|> <|assistant|> recovery = 25000 rate = 30 / 100 # 0.3 fee = recovery * rate # 7500.0 print(f"{fee:.2f}") The printout reads: 7500.00 The lawyer's fee comes to $7,500.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 30% contingency agreement, what fee is owed on a $25,000 award?" }, { "role": "assistant", "content": " recovery = 25000\n rate = 30 / 100 # 0.3\n fee = recovery * rate # 7500.0\n print(f\"{fee:.2f}\")\nThe printout reads: 7500.00\n\nThe lawyer...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "7500.00", "printed": "7500.00", "notation": null}
nlprog_det-setting-0051941
<|start|><|user|> Convert 0 °C to Fahrenheit.<|eot|> <|assistant|> ```python celsius = 0 fahrenheit = celsius * 9 / 5 + 32 # 32.0 print(round(fahrenheit)) ``` # printed: 32 That is 32 °F.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 0 °C to Fahrenheit." }, { "role": "assistant", "content": "```python\ncelsius = 0\nfahrenheit = celsius * 9 / 5 + 32 # 32.0\nprint(round(fahrenheit))\n```\n# printed: 32\n\nThat is 32 °F." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0051942
A client paid a $10,000 retainer. The firm has billed 7 hours at $275 per hour. How much of the retainer is left? In code: ```python retainer = 10000 hours = 7 rate = 275 left = retainer - hours * rate # 8075 print(left) ``` This prints 8075, as expected. The remaining balance is $8,075.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "8075", "printed": "8075", "notation": null}
nlprog_det-setting-0051943
<|start|><|user|> Copies cost $15 plus $0.10 for each page beyond 20. How much for 104 pages?<|eot|> <|assistant|> The total is $23.40.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Copies cost $15 plus $0.10 for each page beyond 20. How much for 104 pages?" }, { "role": "assistant", "content": "The total is $23.40." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "23.40", "printed": "23.40", "notation": null}
nlprog_det-setting-0051944
<|start|><|system|> You have access to these functions: [{"name": "calc", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> A 270-mile d...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"calc\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"re...
nlprog_det
setting
original
null
deterministic
[]
[]
208
{"gold": "405", "printed": "405", "notation": null}
nlprog_det-setting-0051945
Convert 1 h 20 min (the length of a deposition) to minutes. Python: hours = 1 minutes = 20 total_minutes = hours * 60 + minutes # 80 print(total_minutes) Python prints 80, as expected. That is 80 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "80", "printed": "80", "notation": null}
nlprog_det-setting-0051946
Hugo earns a 10% commission on $113,856 of sales. What is the commission? ```python sales = 113856 rate = 10 / 100 # 0.1 commission = sales * rate # 11385.6 print(f"{commission:.2f}") ``` Console output — 11385.60 The commission is $11,385.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "11385.60", "printed": "11385.60", "notation": null}