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-0078386
<|start|><|user|> Divide 203 items among 8 groups as evenly as possible with equal groups. How many per group, and how many remain?<|eot|> <|assistant|> 25 each, 3 left over.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Divide 203 items among 8 groups as evenly as possible with equal groups. How many per group, and how many remain?" }, { "role": "assistant", "content": "25 each, 3 left over." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "25 each, 3 left over", "printed": "25 each, 3 left over", "notation": null}
nlprog_det-setting-0078387
A room is 22 feet by 12 feet. Flooring costs $8 per square foot. What does it cost to floor the room? It costs $2,112.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "2112", "printed": "2112", "notation": null}
nlprog_det-setting-0078388
Goods bought on April 6, 2026 carry a 6-month warranty. When does it expire? Here's the code. ```python from datetime import date start = date(2026, 4, 6) months = 6 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` (Executio...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "2026-10-06", "printed": "2026-10-06", "notation": null}
nlprog_det-setting-0078389
A count moves from 2,500 to 2,125. By what percent did it change (use a minus sign for a drop)? The Python version: ```python old = 2500 new = 2125 change = (new - old) / old * 100 # -15.0 print(round(change)) ``` Execution prints -15. It changed by -15%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "-15", "printed": "-15", "notation": null}
nlprog_det-setting-0078390
At a 7% tax rate, what is the tax on $204.37? We can compute it in Python. ```python price = 204.37 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 14.305900000000001 print(f"{tax:.2f}") ``` When run, it prints: 14.31 $14.31 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "14.31", "printed": "14.31", "notation": null}
nlprog_det-setting-0078391
<|start|><|user|> 4 clients win $60,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```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}") ``` It outputs 90...
chat
[ { "role": "user", "content": "4 clients win $60,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 60000\nfee = award * 40 / 100 # 24000.0\nremaining = award - fee # 36000.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "9000.00", "printed": "9000.00", "notation": null}
nlprog_det-setting-0078392
A storeroom has 1975 flash drives. The office uses 35 a day. How many are left after 19 days? 1310 flash drives are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "1310", "printed": "1310", "notation": null}
nlprog_det-setting-0078393
A recipe for 6 people uses 200 grams of rice. How many grams are needed for 3 people? As a program: ```python grams = 200 serves = 6 needed_for = 3 scaled = grams * needed_for // serves print(scaled) ``` Running this gives: 100 100 grams of rice are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "100", "printed": "100", "notation": null}
nlprog_det-setting-0078394
<|start|><|user|> A client paid a $7,500 retainer. The firm has billed 7 hours at $250 per hour. How much of the retainer is left?<|eot|> <|assistant|> ```python retainer = 7500 hours = 7 rate = 250 left = retainer - hours * rate # 5750 print(left) ``` Running it prints: 5750 $5,750 of the retainer is left.<|eot|> <|...
chat
[ { "role": "user", "content": "A client paid a $7,500 retainer. The firm has billed 7 hours at $250 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": "```python\nretainer = 7500\nhours = 7\nrate = 250\nleft = retainer - hours * rate # 5750\nprint(left)\n```\nRunni...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "5750", "printed": "5750", "notation": null}
nlprog_det-setting-0078395
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> Counting the first and last day, how many days are there from September 20, 2024 through September 29, 2024?<|eot|> <|assistant|> ```python from datetime import date first = date(2024, 9, 20) # datetime.date(2024, 9, 20) last = date(2024, 9, 29) # datet...
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "Counting the first and last day, how many days are there from September 20, 2024 through September 29, 2024?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfir...
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0078396
A $180 dinner bill gets a 18% tip, and 4 people share the cost equally. What is each person's share? Python makes this quick: bill = 180 tip_rate = 18 / 100 # 0.18 people = 4 each = bill * (1 + tip_rate) / people # 53.099999999999994 print(f"{each:.2f}") (Printed result: 53.10) The share is $53....
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "53.10", "printed": "53.10", "notation": null}
nlprog_det-setting-0078397
Papers were served by mail on June 21, 2025. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date? Set it up in Python: ```python from datetime import date, timedelta served = date(2025, 6, 21) # datetime.date(2025, 6, 21) response_days = 21 mail_days = 3 due = served + timedel...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
189
{"gold": "2025-07-15", "printed": "2025-07-15", "notation": null}
nlprog_det-setting-0078399
A pack of 4 tape rolls sells for $96. What does each cost? Programmatically: ```python total = 96 count = 4 per_item = total // count # 24 print(per_item) ``` Result: 24 Each one costs $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0078400
An unpaid balance of $1,000 accrues 1% simple interest per month. How much interest accrues in 3 months? In code: ```python balance = 1000 monthly_rate = 1 / 100 # 0.01 months = 3 interest = balance * monthly_rate * months # 30.0 print(f"{interest:.2f}") ``` stdout = 30.00 $30.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "30.00", "printed": "30.00", "notation": null}
nlprog_det-setting-0078401
The paralegal logged 7 hours at a rate of $410. How much is billed? One way, in code: ```python hours = 7 rate = 410 bill = hours * rate # 2870 print(f"{bill:.2f}") ``` # stdout: 2870.00 The bill is $2,870.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "2870.00", "printed": "2870.00", "notation": null}
nlprog_det-setting-0078402
<|start|><|user|> Of a $5,000 budget, $2,300 has been spent. What percent is that?<|eot|> <|assistant|> ```python budget = 5000 spent = 2300 percent = spent / budget * 100 # 46.0 print(round(percent, 1)) ``` Result: 46.0 That is 46.0% of the budget.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Of a $5,000 budget, $2,300 has been spent. What percent is that?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nspent = 2300\npercent = spent / budget * 100 # 46.0\nprint(round(percent, 1))\n```\nResult:\n46.0\n\nThat is 46.0% of the budget." } ...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "46.0", "printed": "46.0", "notation": null}
nlprog_det-setting-0078403
A 28 lb package ships at $8 base plus $2.00/lb. What is the charge? The program: ```python base = 8 per_pound = 2.0 weight = 28 cost = base + per_pound * weight # 64.0 print(f"{cost:.2f}") ``` # result: 64.00 The charge is $64.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "64.00", "printed": "64.00", "notation": null}
nlprog_det-setting-0078404
Under a 25% contingency agreement, what fee is owed on a $60,000 award? As Python: ```python recovery = 60000 rate = 25 / 100 # 0.25 fee = recovery * rate # 15000.0 print(f"{fee:.2f}") ``` Program output — 15000.00 The lawyer's fee comes to $15,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "15000.00", "printed": "15000.00", "notation": null}
nlprog_det-setting-0078405
<|start|><|user|> A training session lasted 3 hours and 21 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 3 minutes = 21 total_minutes = hours * 60 + minutes # 201 print(total_minutes) ``` (Execution result: 201) The training session lasted 201 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A training session lasted 3 hours and 21 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 3\nminutes = 21\ntotal_minutes = hours * 60 + minutes # 201\nprint(total_minutes)\n```\n(Execution result: 201)\n\nThe training ses...
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "201", "printed": "201", "notation": null}
nlprog_det-setting-0078406
<|start|><|user|> A penalty of $25 a day accrues, capped at $2,500. What is owed after 42 days?<|eot|> <|assistant|> per_day = 25 days = 42 cap = 2500 fine = min(per_day * days, cap) # 1050 print(fine) It prints: 1050 $1,050 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $25 a day accrues, capped at $2,500. What is owed after 42 days?" }, { "role": "assistant", "content": " per_day = 25\n days = 42\n cap = 2500\n fine = min(per_day * days, cap) # 1050\n print(fine)\nIt prints: 1050\n\n$1,050 is owed." ...
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "1050", "printed": "1050", "notation": null}
nlprog_det-setting-0078407
Papers were served by mail on January 21, 2023. A response is due 14 days after service, plus 3 extra days for mailing. What is the due date? Written as code: ```python from datetime import date, timedelta served = date(2023, 1, 21) # datetime.date(2023, 1, 21) response_days = 14 mail_days = 3 due = served + timedelt...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
180
{"gold": "2023-02-07", "printed": "2023-02-07", "notation": null}
nlprog_det-setting-0078408
A 5 × 6 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? We can compute it in Python. ```python import math length = 5 width = 6 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 30 print(tiles) ``` The program outputs 30. 30 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0078409
After a 25% fee is taken from a $72,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share? Python code: ```python award = 72000 fee = award * 25 / 100 # 18000.0 remaining = award - fee # 54000.0 per_client = remaining / 4 # 13500.0 print(f"{per_client:.2f}") ``` Printed = 13500.00 ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
139
{"gold": "13500.00", "printed": "13500.00", "notation": null}
nlprog_det-setting-0078410
A lease runs for 36 months at $975 per month. How much rent is paid over the whole term? We write it as a program: ```python monthly_rent = 975 months = 36 total = monthly_rent * months # 35100 print(total) ``` Running it prints: 35100 In total, $35,100 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "35100", "printed": "35100", "notation": null}
nlprog_det-setting-0078411
Split $1,881 between Pilar and Priya in the ratio 1 to 2. What is Pilar's share? In Python: ```python total = 1881 parts_a = 1 parts_b = 2 share_a = total * parts_a // (parts_a + parts_b) # 627 print(share_a) ``` Console: 627 Pilar's share is $627.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "627", "printed": "627", "notation": null}
nlprog_det-setting-0078412
What percentage of $8,000 is $7,600? One way, in code: ```python budget = 8000 spent = 7600 percent = spent / budget * 100 print(round(percent, 1)) ``` The code prints 95.0. 95.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "95.0", "printed": "95.0", "notation": null}
nlprog_det-setting-0078413
<|start|><|user|> A 5-day trip pays $79 a day for meals and $140 a night for lodging (4 nights). What is the total allowance?<|eot|> <|assistant|> days = 5 meal_rate = 79 lodging_rate = 140 nights = days - 1 # 4 total = days * meal_rate + nights * lodging_rate # 955 print(total) On running, it...
chat
[ { "role": "user", "content": "A 5-day trip pays $79 a day for meals and $140 a night for lodging (4 nights). What is the total allowance?" }, { "role": "assistant", "content": " days = 5\n meal_rate = 79\n lodging_rate = 140\n nights = days - 1 # 4\n total = days * meal_rate + ni...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "955", "printed": "955", "notation": null}
nlprog_det-setting-0078414
A 10 × 11 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up? The computation: ```python import math length = 10 width = 11 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 28 print(tiles) ``` The program prints: 28 It takes 28 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0078415
On which weekday does May 5, 2017 fall? One way, in code: ```python from datetime import date hearing = date(2017, 5, 5) # datetime.date(2017, 5, 5) print(hearing.strftime("%A")) ``` When run, it prints Friday, as expected. May 5, 2017 is a Friday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "Friday", "printed": "Friday", "notation": null}
nlprog_det-setting-0078416
Find the mean of these test scores: 69, 87 and 51. Coded up: ```python scores = [69, 87, 51] average = sum(scores) // len(scores) # 69 print(average) ``` Output: 69 The average score is 69.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "69", "printed": "69", "notation": null}
nlprog_det-setting-0078417
Grace has 6 documents to file, and each filing costs $35. How much are the filing fees in total? ```python fee = 35 filings = 6 total = fee * filings # 210 print(total) ``` stdout — 210 $210 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "210", "printed": "210", "notation": null}
nlprog_det-setting-0078418
<|start|><|user|> Zainab and Elena share $658 in the ratio 2:5. How much does Zainab get?<|eot|> <|assistant|> Zainab's share is $188.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Zainab and Elena share $658 in the ratio 2:5. How much does Zainab get?" }, { "role": "assistant", "content": "Zainab's share is $188." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "188", "printed": "188", "notation": null}
nlprog_det-setting-0078419
$10,000 is invested at 4% compounded yearly. What is it worth after 5 years? Python, step by step: ```python principal = 10000 rate = 4 / 100 # 0.04 years = 5 value = principal * (1 + rate) ** years # 12166.529024000001 print(f"{value:.2f}") ``` It prints: 12166.53 It is worth $12,166.53.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "12166.53", "printed": "12166.53", "notation": null}
nlprog_det-setting-0078420
237 volunteers are split into 3 equal teams. How many are on each team, and how many are left over? In code: ```python total = 237 groups = 3 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Executed, it shows: 79 each, 0 left over 79 each, 0 left over.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "79 each, 0 left over", "printed": "79 each, 0 left over", "notation": null}
nlprog_det-setting-0078421
Prorate $1,800 of monthly rent for 19 days of a 30-day month. Python code: ```python rent = 1800 days_in_month = 30 days_occupied = 19 prorated = rent * days_occupied / days_in_month # 1140.0 print(f"{prorated:.2f}") ``` The script prints: 1140.00 The tenant owes $1,140.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "1140.00", "printed": "1140.00", "notation": null}
nlprog_det-setting-0078422
A quorum is 2/3 of the 12 members, rounded up. How many members make a quorum? Written as code: ```python import math members = 12 quorum = math.ceil(members * 2 / 3) # 8 print(quorum) ``` # out: 8 8 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0078423
The rules require 2/3 of 25 members (round up) to be present. How many is that? Program: ```python import math members = 25 quorum = math.ceil(members * 2 / 3) # 17 print(quorum) ``` Executing it gives: 17 That is 17 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0078424
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> Shipping costs $12 plus $0.75 per pound. What does a 17-pound parcel cost to ship?<|eot|> <|assistant|> ```python base = 12 per_pound = 0.75 weight = 17 cost = base + per_pound * weight # 24.75 print(f"{cost:.2f}") ``` stdout — 24.75 The charge ...
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "Shipping costs $12 plus $0.75 per pound. What does a 17-pound parcel cost to ship?" }, { "role": "assistant", "content": "```python\nbase = 12\nper_pound = 0.75\nweight = 17\ncost =...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "24.75", "printed": "24.75", "notation": null}
nlprog_det-setting-0078425
How many units at $40 each (variable cost $30) cover $2,500 of fixed costs? Programmatically: ```python import math fixed = 2500 price = 40 variable = 30 units = math.ceil(fixed / (price - variable)) # 250 print(units) ``` Python prints 250, as expected. 250 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "250", "printed": "250", "notation": null}
nlprog_det-setting-0078426
What percentage of $5,000 is $3,700? A short script: budget = 5000 spent = 3700 percent = spent / budget * 100 # 74.0 print(round(percent, 1)) Out — 74.0 That is 74.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "74.0", "printed": "74.0", "notation": null}
nlprog_det-setting-0078427
What simple interest does $2,500 earn at 6% a year over 5 years? A Python solution: ```python principal = 2500 rate = 6 / 100 # 0.06 years = 5 interest = principal * rate * years # 750.0 print(f"{interest:.2f}") ``` Running it prints: 750.00 It earns $750.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "750.00", "printed": "750.00", "notation": null}
nlprog_det-setting-0078428
<|start|><|user|> Split $1,775 between Ulla and Zainab in the ratio 2 to 3. What is Ulla's share?<|eot|> <|assistant|> ```python total = 1775 parts_a = 2 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 710 print(share_a) ``` stdout = 710 Ulla's share is $710.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $1,775 between Ulla and Zainab in the ratio 2 to 3. What is Ulla's share?" }, { "role": "assistant", "content": "```python\ntotal = 1775\nparts_a = 2\nparts_b = 3\nshare_a = total * parts_a // (parts_a + parts_b) # 710\nprint(share_a)\n```\nstdout = 710\n\nUl...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "710", "printed": "710", "notation": null}
nlprog_det-setting-0078429
$2,000 is invested at 4% compounded yearly. What is it worth after 3 years? Python, step by step: ```python principal = 2000 rate = 4 / 100 years = 3 value = principal * (1 + rate) ** years print(f"{value:.2f}") ``` (Result: 2249.73) It is worth $2,249.73.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "2249.73", "printed": "2249.73", "notation": null}
nlprog_det-setting-0078430
What is a 22% tip on a $31.44 bill? Here is the program. ```python bill = 31.44 tip_rate = 22 / 100 # 0.22 tip = bill * tip_rate # 6.9168 print(f"{tip:.2f}") ``` That prints: 6.92 The tip is $6.92.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "6.92", "printed": "6.92", "notation": null}
nlprog_det-setting-0078431
Yoko lends $1,000 at 3% simple interest per year for 2 years. How much interest is earned? It earns $60.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "60.00", "printed": "60.00", "notation": null}
nlprog_det-setting-0078432
<|start|><|user|> Monthly rent is $1,200. A tenant moves in with 19 days left in a 31-day month. What is the prorated rent?<|eot|> <|assistant|> rent = 1200 days_in_month = 31 days_occupied = 19 prorated = rent * days_occupied / days_in_month # 735.483870967742 print(f"{prorated:.2f}") Execution re...
chat
[ { "role": "user", "content": "Monthly rent is $1,200. A tenant moves in with 19 days left in a 31-day month. What is the prorated rent?" }, { "role": "assistant", "content": " rent = 1200\n days_in_month = 31\n days_occupied = 19\n prorated = rent * days_occupied / days_in_month # 7...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "735.48", "printed": "735.48", "notation": null}
nlprog_det-setting-0078433
A lawyer's fee is 25% of a $60,000 recovery. How large is the fee? As a program: ```python recovery = 60000 rate = 25 / 100 fee = recovery * rate print(f"{fee:.2f}") ``` The run gives 15000.00. The lawyer's fee comes to $15,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "15000.00", "printed": "15000.00", "notation": null}
nlprog_det-setting-0078434
At $31.09 an hour, what does 38 hours of work pay? Set it up in Python: ```python rate = 31.09 hours = 38 earnings = rate * hours # 1181.42 print(f"{earnings:.2f}") ``` (Console output: 1181.42) That earns $1,181.42.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "1181.42", "printed": "1181.42", "notation": null}
nlprog_det-setting-0078435
<|start|><|user|> Sales went from 200 to 250. What is the percent change?<|eot|> <|assistant|> ```python old = 200 new = 250 change = (new - old) / old * 100 # 25.0 print(round(change)) ``` The script prints: 25 It changed by 25%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sales went from 200 to 250. What is the percent change?" }, { "role": "assistant", "content": "```python\nold = 200\nnew = 250\nchange = (new - old) / old * 100 # 25.0\nprint(round(change))\n```\nThe script prints: 25\n\nIt changed by 25%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0078436
A court charges $15 per request plus $0.25 per page after the first 0 pages. What does a 114-page copy cost? Here is a short program for it. ```python pages = 114 base = 15 per_page = 0.25 free_pages = 0 cost = base + max(0, pages - free_pages) * per_page # 43.5 print(f"{cost:.2f}") ``` Execution prints 43.50, as exp...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "43.50", "printed": "43.50", "notation": null}
nlprog_det-setting-0078437
<|start|><|system|> You are a data assistant.<|eot|> <|user|> Fines run at $250 per day up to a maximum of $2,500. How much after 22 days?<|eot|> <|assistant|> ```python per_day = 250 days = 22 cap = 2500 fine = min(per_day * days, cap) # 2500 print(fine) ``` Out: 2500 The fine is $2,500.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "Fines run at $250 per day up to a maximum of $2,500. How much after 22 days?" }, { "role": "assistant", "content": "```python\nper_day = 250\ndays = 22\ncap = 2500\nfine = min(per_day * days, ...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "2500", "printed": "2500", "notation": null}
nlprog_det-setting-0078438
To read 784 pages in 16 days, how many pages per day are needed? Translated to Python: ```python pages = 784 days = 16 per_day = pages // days print(per_day) ``` What it prints: 49 49 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "49", "printed": "49", "notation": null}
nlprog_det-setting-0078439
A 4% increase is applied to $1,250 monthly rent. What is the new amount? Here is a short program for it. ```python rent = 1250 increase = 4 / 100 # 0.04 new_rent = rent * (1 + increase) # 1300.0 print(f"{new_rent:.2f}") ``` Executing it gives 1300.00. The new rent is $1,300.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "1300.00", "printed": "1300.00", "notation": null}
nlprog_det-setting-0078440
Counting only Monday through Friday, how many business days are there after November 17, 2027 through December 27, 2027? A Python solution: ```python from datetime import date, timedelta start = date(2027, 11, 17) end = date(2027, 12, 27) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(d...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
159
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0078441
<|start|><|user|> Starting with 494 desk lamps and using 23 per day, how many remain after 7 days?<|eot|> <|assistant|> 333 desk lamps are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting with 494 desk lamps and using 23 per day, how many remain after 7 days?" }, { "role": "assistant", "content": "333 desk lamps are left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "333", "printed": "333", "notation": null}
nlprog_det-setting-0078442
At 60 miles per hour, how many minutes does a 150-mile trip take? Here's the code. ```python distance = 150 speed = 60 minutes = distance / speed * 60 # 150.0 print(round(minutes)) ``` Executed, it shows 150. The trip takes 150 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "150", "printed": "150", "notation": null}
nlprog_det-setting-0078443
With $12,500 in costs and $13,000 in revenue, what percent of revenue is profit? Round to one decimal. Code: ```python revenue = 13000 costs = 12500 profit = revenue - costs # 500 margin = profit / revenue * 100 # 3.8461538461538463 print(round(margin, 1)) ``` Printed result: 3.8 Profit is 3.8% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "3.8", "printed": "3.8", "notation": null}
nlprog_det-setting-0078444
<|start|><|system|> Tool definitions: {"name": "interpreter", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}<|eot|> <|user|> An office budget of $20,000 has ...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"interpreter\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippe...
nlprog_det
setting
original
null
deterministic
[]
[]
231
{"gold": "15173", "printed": "15173", "notation": null}
nlprog_det-setting-0078445
<|start|><|user|> Attendance was 65 out of 80. Express it as a percent.<|eot|> <|assistant|> ```python present = 65 total = 80 percent = present / total * 100 print(round(percent, 1)) ``` Executed, it shows 81.2. Attendance was 81.2%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Attendance was 65 out of 80. Express it as a percent." }, { "role": "assistant", "content": "```python\npresent = 65\ntotal = 80\npercent = present / total * 100\nprint(round(percent, 1))\n```\nExecuted, it shows 81.2.\n\nAttendance was 81.2%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "81.2", "printed": "81.2", "notation": null}
nlprog_det-setting-0078446
<|start|><|system|> Tool definitions: [{"name": "calc", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> A $800 security deposit ...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"calc\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\...
nlprog_det
setting
original
null
deterministic
[]
[]
200
{"gold": "655", "printed": "655", "notation": null}
nlprog_det-setting-0078447
Pack A has 8 items for $9.60. Pack B has 24 items for $8.91. Which has the lower price per item? One way, in code: pack_a = 9.6 / 8 # 1.2 pack_b = 8.91 / 24 # 0.37125 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) Running it prints: B B has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0078448
At a 8% tax rate, what is the tax on $690.99? Here is the program. ```python price = 690.99 tax_rate = 8 / 100 # 0.08 tax = price * tax_rate # 55.2792 print(f"{tax:.2f}") ``` Interpreter output: 55.28 The tax is $55.28.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "55.28", "printed": "55.28", "notation": null}
nlprog_det-setting-0078449
How much is a $69 daily meal allowance over 8 days? Program: ```python days = 8 meal_rate = 69 total = days * meal_rate print(total) ``` Result = 552 The allowance is $552.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "552", "printed": "552", "notation": null}
nlprog_det-setting-0078450
A trial runs from October 22, 2024 to November 11, 2024, counting both days. How many calendar days is that? ```python from datetime import date first = date(2024, 10, 22) # datetime.date(2024, 10, 22) last = date(2024, 11, 11) # datetime.date(2024, 11, 11) days = (last - first).days + 1 # 21 print(days) ``` Run it...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0078451
<|start|><|system|> You may call the tools below. [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "define_word", "description": "Return a dictionary definition.", ...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"define_wor...
nlprog_det
setting
original
null
deterministic
[]
[]
354
{"gold": "36.0", "printed": "36.0", "notation": null}
nlprog_det-setting-0078452
<|start|><|system|> You have access to these functions: {"name": "py_exec", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}} {"name": "lookup_statute", "descript...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"py_exec\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
314
{"gold": "22.50", "printed": "22.50", "notation": null}
nlprog_det-setting-0078453
A penalty of $250 a day accrues, capped at $2,500. What is owed after 16 days? As a program: per_day = 250 days = 16 cap = 2500 fine = min(per_day * days, cap) # 2500 print(fine) Run output — 2500 The fine is $2,500.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "2500", "printed": "2500", "notation": null}
nlprog_det-setting-0078454
A count moves from 1,000 to 600. By what percent did it change (use a minus sign for a drop)? We write it as a program: ```python old = 1000 new = 600 change = (new - old) / old * 100 # -40.0 print(round(change)) ``` Execution result: -40 It changed by -40%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "-40", "printed": "-40", "notation": null}
nlprog_det-setting-0078455
161 of 200 members attended. What percent attended? Python code: ```python present = 161 total = 200 percent = present / total * 100 # 80.5 print(round(percent, 1)) ``` # stdout: 80.5 Attendance was 80.5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "80.5", "printed": "80.5", "notation": null}
nlprog_det-setting-0078456
<|start|><|user|> What simple interest does $20,000 earn at 4% a year over 3 years?<|eot|> <|assistant|> ```python principal = 20000 rate = 4 / 100 # 0.04 years = 3 interest = principal * rate * years # 2400.0 print(f"{interest:.2f}") ``` The interpreter prints: 2400.00 It earns $2,400.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What simple interest does $20,000 earn at 4% a year over 3 years?" }, { "role": "assistant", "content": "```python\nprincipal = 20000\nrate = 4 / 100 # 0.04\nyears = 3\ninterest = principal * rate * years # 2400.0\nprint(f\"{interest:.2f}\")\n```\nThe interpreter ...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "2400.00", "printed": "2400.00", "notation": null}
nlprog_det-setting-0078457
<|start|><|user|> An attorney bills 2 hours at $350 per hour. What is the bill?<|eot|> <|assistant|> ```python hours = 2 rate = 350 bill = hours * rate # 700 print(f"{bill:.2f}") ``` Run result: 700.00 That comes to $700.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An attorney bills 2 hours at $350 per hour. What is the bill?" }, { "role": "assistant", "content": "```python\nhours = 2\nrate = 350\nbill = hours * rate # 700\nprint(f\"{bill:.2f}\")\n```\nRun result: 700.00\n\nThat comes to $700.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "700.00", "printed": "700.00", "notation": null}
nlprog_det-setting-0078458
A 22 lb package ships at $10 base plus $1.50/lb. What is the charge? The program: ```python base = 10 per_pound = 1.5 weight = 22 cost = base + per_pound * weight # 43.0 print(f"{cost:.2f}") ``` # result: 43.00 Shipping costs $43.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "43.00", "printed": "43.00", "notation": null}
nlprog_det-setting-0078459
A garage charges $4 an hour, never more than $18 a day. How much for 7 hours? Programmatically: ```python rate = 4 hours = 7 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) ``` Out = 18 The charge is $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0078460
<|start|><|user|> What is a 20% tip on a $239.46 bill?<|eot|> <|assistant|> ```python bill = 239.46 tip_rate = 20 / 100 tip = bill * tip_rate print(f"{tip:.2f}") ``` When run, it prints 47.89. The tip is $47.89.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is a 20% tip on a $239.46 bill?" }, { "role": "assistant", "content": "```python\nbill = 239.46\ntip_rate = 20 / 100\ntip = bill * tip_rate\nprint(f\"{tip:.2f}\")\n```\nWhen run, it prints 47.89.\n\nThe tip is $47.89." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "47.89", "printed": "47.89", "notation": null}
nlprog_det-setting-0078461
A 17 × 3 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? Written as code: ```python import math length = 17 width = 3 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 51 print(tiles) ``` Shell output: 51 It takes 51 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "51", "printed": "51", "notation": null}
nlprog_det-setting-0078462
<|start|><|system|> You may call the tools below. [{"name": "py_exec", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> A library charges $0.10 pe...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"py_exec\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"...
nlprog_det
setting
original
null
deterministic
[]
[]
235
{"gold": "2.50", "printed": "2.50", "notation": null}
nlprog_det-setting-0078463
Meals are $59 per day and lodging $140 per night. What is the allowance for 4 days and 3 nights? Computing it: ```python days = 4 meal_rate = 59 lodging_rate = 140 nights = days - 1 # 3 total = days * meal_rate + nights * lodging_rate # 656 print(total) ``` This prints 656. That comes to $656.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "656", "printed": "656", "notation": null}
nlprog_det-setting-0078464
<|start|><|user|> 26 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> ```python total = 26 groups = 7 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Execution result: 3 each, 5 left over 3 each, 5 le...
chat
[ { "role": "user", "content": "26 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "```python\ntotal = 26\ngroups = 7\nper_group, remainder = divmod(total, groups)\nprint(f\"{per_group} each, {remainder} left ove...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "3 each, 5 left over", "printed": "3 each, 5 left over", "notation": null}
nlprog_det-setting-0078465
<|start|><|user|> A garage charges $2 an hour, never more than $24 a day. How much for 12 hours?<|eot|> <|assistant|> ```python rate = 2 hours = 12 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` Running it prints 24, as expected. The charge is $24.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A garage charges $2 an hour, never more than $24 a day. How much for 12 hours?" }, { "role": "assistant", "content": "```python\nrate = 2\nhours = 12\ndaily_max = 24\ncost = min(rate * hours, daily_max) # 24\nprint(cost)\n```\nRunning it prints 24, as expected.\n\n...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0078466
A lease runs for 24 months at $975 per month. How much rent is paid over the whole term? The program: ```python monthly_rent = 975 months = 24 total = monthly_rent * months # 23400 print(total) ``` The interpreter prints: 23400 In total, $23,400 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "23400", "printed": "23400", "notation": null}
nlprog_det-setting-0078467
Starting with 1874 scissors and using 28 per day, how many remain after 14 days? The computation: ```python stock = 1874 per_day = 28 days = 14 left = stock - per_day * days # 1482 print(left) ``` # out: 1482 1482 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "1482", "printed": "1482", "notation": null}
nlprog_det-setting-0078468
A customer buys 1 scissors at $12 each, 4 badges at $2 each and pays with $50. How much change is due? A Python solution: ```python items = [(1, 12), (4, 2)] total = sum(q * p for q, p in items) paid = 50 change = paid - total print(change) ``` stdout: 30 $30 comes back.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0078469
At an exchange rate of 0.92 USD per EUR, how many USD is 2,403 EUR? Here is the program. ```python amount = 2403 rate = 0.92 converted = amount * rate # 2210.76 print(f"{converted:.2f}") ``` This prints: 2210.76 It converts to 2,210.76 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "2210.76", "printed": "2210.76", "notation": null}
nlprog_det-setting-0078470
Pay is $20.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 45 hours? We write it as a program: rate = 20.0 hours = 45 regular = 40 * rate overtime = (hours - 40) * rate * 1.5 pay = regular + overtime print(f"{pay:.2f}") The run gives: 950.00 The weekly pay is $950.0...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "950.00", "printed": "950.00", "notation": null}
nlprog_det-setting-0078471
Find the mean of these test scores: 72, 90, 76, 86, 87 and 69. Let's compute it with Python. ```python scores = [72, 90, 76, 86, 87, 69] average = sum(scores) // len(scores) # 80 print(average) ``` Python prints 80. The average score is 80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "80", "printed": "80", "notation": null}
nlprog_det-setting-0078472
<|start|><|user|> Counting the first and last day, how many days are there from April 27, 2022 through May 1, 2022?<|eot|> <|assistant|> ```python from datetime import date first = date(2022, 4, 27) # datetime.date(2022, 4, 27) last = date(2022, 5, 1) # datetime.date(2022, 5, 1) days = (last - first).days + 1 # 5 pr...
chat
[ { "role": "user", "content": "Counting the first and last day, how many days are there from April 27, 2022 through May 1, 2022?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2022, 4, 27) # datetime.date(2022, 4, 27)\nlast = date(2022, 5, 1) # datetim...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0078473
A customer buys 5 tape rolls at $2 each, 3 cables at $5 each, 5 headsets at $14 each, 3 sticky pads at $4 each and pays with $150. How much change is due? Let the code do the arithmetic: ```python items = [(5, 2), (3, 5), (5, 14), (3, 4)] total = sum(q * p for q, p in items) # 107 paid = 150 change = paid - total # ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "43", "printed": "43", "notation": null}
nlprog_det-setting-0078474
A settlement of $15,000 is split equally among 2 parties. How much does each party receive? Python code: ```python settlement = 15000 parties = 2 share = settlement // parties # 7500 print(share) ``` Python prints: 7500 Each share is $7,500.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "7500", "printed": "7500", "notation": null}
nlprog_det-setting-0078475
The rules require 3/5 of 19 members (round up) to be present. How many is that? 12 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0078476
A $12,000 grant pays $3,000 up front and the rest in 3 equal installments. How large is each installment? Here is the program. ```python grant = 12000 up_front = 3000 installments = 3 each = (grant - up_front) / installments # 3000.0 print(f"{each:.2f}") ``` (Printed result: 3000.00) Each installment is $3,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0078477
With 25% off, what does a $80 printer cost? Python does the arithmetic: ```python price = 80 discount = 25 / 100 # 0.25 sale_price = price * (1 - discount) # 60.0 print(f"{sale_price:.2f}") ``` It prints 60.00. It costs $60.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "60.00", "printed": "60.00", "notation": null}
nlprog_det-setting-0078478
<|start|><|user|> Oskar buys 4 boxes of 8 folders each and gives away 12 folders. How many folders are left?<|eot|> <|assistant|> ```python boxes = 4 per_box = 8 given_away = 12 left = boxes * per_box - given_away # 20 print(left) ``` Printed result — 20 That leaves 20 folders.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Oskar buys 4 boxes of 8 folders each and gives away 12 folders. How many folders are left?" }, { "role": "assistant", "content": "```python\nboxes = 4\nper_box = 8\ngiven_away = 12\nleft = boxes * per_box - given_away # 20\nprint(left)\n```\nPrinted result — 20\n\n...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0078479
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> Monthly: $15. Annual: $144. What is saved per year by paying annually?<|eot|> <|assistant|> ```python monthly = 15 yearly = 144 savings = monthly * 12 - yearly # 36 print(savings) ``` The interpreter prints 36. $36 is saved.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "Monthly: $15. Annual: $144. What is saved per year by paying annually?" }, { "role": "assistant", "content": "```python\nmonthly = 15\nyearly = 144\nsavings = monthly * 12 - yearly # 36\nprint(s...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0078480
<|start|><|system|> You can call tools. Available tools: [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "calculator", "description": "Exec...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\",...
nlprog_det
setting
original
null
deterministic
[]
[]
324
{"gold": "10612.08", "printed": "10612.08", "notation": null}
nlprog_det-setting-0078481
Shipping costs $12 plus $2.00 per pound. What does a 29-pound parcel cost to ship? Let's compute it with Python. ```python base = 12 per_pound = 2.0 weight = 29 cost = base + per_pound * weight # 70.0 print(f"{cost:.2f}") ``` Executed, it shows: 70.00 Shipping costs $70.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "70.00", "printed": "70.00", "notation": null}
nlprog_det-setting-0078482
Fixed costs are $6,000. Each unit sells for $40 and costs $30 to make. How many units must be sold to break even? Set it up in Python: ```python import math fixed = 6000 price = 40 variable = 30 units = math.ceil(fixed / (price - variable)) # 600 print(units) ``` stdout: 600 Break-even is 600 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "600", "printed": "600", "notation": null}
nlprog_det-setting-0078483
<|start|><|user|> A quorum is 3/5 of the 21 members, rounded up. How many members make a quorum?<|eot|> <|assistant|> ```python import math members = 21 quorum = math.ceil(members * 3 / 5) # 13 print(quorum) ``` Interpreter output — 13 13 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A quorum is 3/5 of the 21 members, rounded up. How many members make a quorum?" }, { "role": "assistant", "content": "```python\nimport math\nmembers = 21\nquorum = math.ceil(members * 3 / 5) # 13\nprint(quorum)\n```\nInterpreter output — 13\n\n13 members are neede...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0078484
<|start|><|user|> 4 clients win $72,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 72000 fee = award * 25 / 100 # 18000.0 remaining = award - fee # 54000.0 per_client = remaining / 4 # 13500.0 print(f"{per_client:.2f}") ``` # program ou...
chat
[ { "role": "user", "content": "4 clients win $72,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 72000\nfee = award * 25 / 100 # 18000.0\nremaining = award - fee # 54000.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "13500.00", "printed": "13500.00", "notation": null}
nlprog_det-setting-0078485
A hall has 10 rows of 14 seats, and 25 seats are empty. How many people are seated? Script: ```python rows = 10 per_row = 14 empty = 25 seated = rows * per_row - empty # 115 print(seated) ``` Printed: 115 115 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "115", "printed": "115", "notation": null}
nlprog_det-setting-0078486
<|start|><|user|> At $15.14 an hour, what does 32 hours of work pay?<|eot|> <|assistant|> ```python rate = 15.14 hours = 32 earnings = rate * hours # 484.48 print(f"{earnings:.2f}") ``` Shell output — 484.48 That earns $484.48.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $15.14 an hour, what does 32 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 15.14\nhours = 32\nearnings = rate * hours # 484.48\nprint(f\"{earnings:.2f}\")\n```\nShell output — 484.48\n\nThat earns $484.48." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "484.48", "printed": "484.48", "notation": null}