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-0047435
Scale 240 g of oats from 6 servings to 4 servings. 160 grams of oats are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "160", "printed": "160", "notation": null}
nlprog_det-setting-0047436
Emeka lends $2,500 at 5% simple interest per year for 2 years. How much interest is earned? Python makes this quick: ```python principal = 2500 rate = 5 / 100 years = 2 interest = principal * rate * years print(f"{interest:.2f}") ``` Execution result: 250.00 It earns $250.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "250.00", "printed": "250.00", "notation": null}
nlprog_det-setting-0047437
Convert 0 °C to Fahrenheit. Translated to Python: ```python celsius = 0 fahrenheit = celsius * 9 / 5 + 32 # 32.0 print(round(fahrenheit)) ``` It prints 32, as expected. It equals 32 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0047438
Ines drove 544 miles for work. Mileage is reimbursed at 58 cents a mile. How much is the reimbursement? ```python miles = 544 rate = 0.58 reimbursement = miles * rate # 315.52 print(f"{reimbursement:.2f}") ``` Python prints 315.52. Ines is owed $315.52.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "315.52", "printed": "315.52", "notation": null}
nlprog_det-setting-0047439
<|start|><|user|> A 240-mile drive at a steady 40 mph takes how many minutes?<|eot|> <|assistant|> 360 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 240-mile drive at a steady 40 mph takes how many minutes?" }, { "role": "assistant", "content": "360 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "360", "printed": "360", "notation": null}
nlprog_det-setting-0047440
3 books come back 5 days late, at $0.10 a day each. What is the fine? The computation: ```python per_day = 0.1 days_late = 5 books = 3 fine = per_day * days_late * books # 1.5 print(f"{fine:.2f}") ``` Result — 1.50 $1.50 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1.50", "printed": "1.50", "notation": null}
nlprog_det-setting-0047441
<|start|><|user|> How many meters are in 56.8 kilometers?<|eot|> <|assistant|> That is 56,800 meters.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 56.8 kilometers?" }, { "role": "assistant", "content": "That is 56,800 meters." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "56800", "printed": "56800", "notation": null}
nlprog_det-setting-0047442
Walls total 231 sq ft and each can covers 350 sq ft. How many cans should be bought? Python version: ```python import math area = 231 coverage = 350 cans = math.ceil(area / coverage) # 1 print(cans) ``` Executed, it shows: 1 Buy 1 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0047443
Printing costs 10 cents a page. What does it cost to print 160 copies of a 23-page handout? Code: ```python pages = 23 copies = 160 cost_per_page = 0.1 cost = pages * copies * cost_per_page # 368.0 print(f"{cost:.2f}") ``` Python prints: 368.00 The job costs $368.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "368.00", "printed": "368.00", "notation": null}
nlprog_det-setting-0047444
Ada buys 6 boxes of 12 sticky pads each and gives away 12 sticky pads. How many sticky pads are left? The program: boxes = 6 per_box = 12 given_away = 12 left = boxes * per_box - given_away # 60 print(left) Running it prints 60. That leaves 60 sticky pads.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0047445
Convert -20 °C to Fahrenheit. A short script: ```python celsius = -20 fahrenheit = celsius * 9 / 5 + 32 # -4.0 print(round(fahrenheit)) ``` Interpreter output — -4 It equals -4 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "-4", "printed": "-4", "notation": null}
nlprog_det-setting-0047446
<|start|><|system|> You have access to these functions: [{"name": "run_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}, {"name": "translate", "...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"run_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}},...
nlprog_det
setting
original
null
deterministic
[]
[]
409
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0047447
At an exchange rate of 1.12 EUR per USD, how many EUR is 1,508 USD? Written as code: ```python amount = 1508 rate = 1.12 converted = amount * rate # 1688.9600000000003 print(f"{converted:.2f}") ``` Run output: 1688.96 It converts to 1,688.96 EUR.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "1688.96", "printed": "1688.96", "notation": null}
nlprog_det-setting-0047448
Pack A has 10 items for $3.09. Pack B has 18 items for $9.49. Which has the lower price per item? ```python pack_a = 3.09 / 10 # 0.309 pack_b = 9.49 / 18 # 0.5272222222222223 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) ``` # run result: A A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0047449
<|start|><|user|> Convert 26.6 km to meters.<|eot|> <|assistant|> ```python km = 26.6 meters = km * 1000 # 26600.0 print(round(meters)) ``` The program outputs: 26600 26,600 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 26.6 km to meters." }, { "role": "assistant", "content": "```python\nkm = 26.6\nmeters = km * 1000 # 26600.0\nprint(round(meters))\n```\nThe program outputs: 26600\n\n26,600 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "26600", "printed": "26600", "notation": null}
nlprog_det-setting-0047450
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> A meeting lasted 4 hours and 49 minutes. How many minutes is that?<|eot|> <|assistant|> The meeting lasted 289 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "A meeting lasted 4 hours and 49 minutes. How many minutes is that?" }, { "role": "assistant", "content": "The meeting lasted 289 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "289", "printed": "289", "notation": null}
nlprog_det-setting-0047451
Starting with 300 chairs and using 30 per day, how many remain after 4 days? Coded up: ```python stock = 300 per_day = 30 days = 4 left = stock - per_day * days # 180 print(left) ``` Executing it gives 180. 180 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0047452
How many whole days and leftover hours are in 227 hours? That is 9 days and 11 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "9 days and 11 hours", "printed": "9 days and 11 hours", "notation": null}
nlprog_det-setting-0047453
A service costs $15 a month or $156 a year. How much does the yearly plan save over 12 monthly payments? In Python: ```python monthly = 15 yearly = 156 savings = monthly * 12 - yearly # 24 print(savings) ``` The program outputs 24. $24 is saved.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0047454
<|start|><|user|> A pack of 20 file boxes sells for $320. What does each cost?<|eot|> <|assistant|> The unit price is $16.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A pack of 20 file boxes sells for $320. What does each cost?" }, { "role": "assistant", "content": "The unit price is $16." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0047455
<|start|><|user|> A 228-page report must be reviewed in 12 days. How many pages a day is that, evenly?<|eot|> <|assistant|> ```python pages = 228 days = 12 per_day = pages // days # 19 print(per_day) ``` The script prints 19. That is 19 pages per day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 228-page report must be reviewed in 12 days. How many pages a day is that, evenly?" }, { "role": "assistant", "content": "```python\npages = 228\ndays = 12\nper_day = pages // days # 19\nprint(per_day)\n```\nThe script prints 19.\n\nThat is 19 pages per day." }...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0047457
The bridge was finished in 2015. How many years had passed by 2045? Script: ```python start_year = 2015 end_year = 2045 print(end_year - start_year) ``` The interpreter prints: 30 That is 30 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0047458
The statute was enacted in 2020. How many years had passed by 2060? 40 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
23
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0047459
An invoice lists 40 flash drives at $4 each, plus 5% sales tax. What is the invoice total? As Python: ```python quantity = 40 unit_price = 4 subtotal = quantity * unit_price # 160 total = subtotal * (1 + 5 / 100) # 168.0 print(f"{total:.2f}") ``` Run it and it prints: 168.00 The invoice total is $168.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "168.00", "printed": "168.00", "notation": null}
nlprog_det-setting-0047460
How many units at $25 each (variable cost $20) cover $4,000 of fixed costs? Break-even is 800 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "800", "printed": "800", "notation": null}
nlprog_det-setting-0047461
How many days are there from November 8, 2026 to December 9, 2026? Python version: ```python from datetime import date first = date(2026, 11, 8) # datetime.date(2026, 11, 8) second = date(2026, 12, 9) # datetime.date(2026, 12, 9) print((second - first).days) ``` Executing it gives: 31 There are 31 days between the ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0047462
A trial runs from September 7, 2018 to September 15, 2018, counting both days. How many calendar days is that? Let the code do the arithmetic: from datetime import date first = date(2018, 9, 7) # datetime.date(2018, 9, 7) last = date(2018, 9, 15) # datetime.date(2018, 9, 15) days = (last - first).day...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0047464
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> A $96 dinner bill gets a 15% tip, and 2 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 96 tip_rate = 15 / 100 # 0.15 people = 2 each = bill * (1 + tip_rate) / people # 55.199999999999996 pri...
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "A $96 dinner bill gets a 15% tip, and 2 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 96\ntip_rate = 15 / ...
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "55.20", "printed": "55.20", "notation": null}
nlprog_det-setting-0047465
A lease runs for 12 months at $3,250 per month. How much rent is paid over the whole term? Programmatically: monthly_rent = 3250 months = 12 total = monthly_rent * months # 39000 print(total) This prints: 39000 The rent over the term is $39,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "39000", "printed": "39000", "notation": null}
nlprog_det-setting-0047466
At a 9% tax rate, what is the tax on $718.45? ```python price = 718.45 tax_rate = 9 / 100 # 0.09 tax = price * tax_rate # 64.6605 print(f"{tax:.2f}") ``` Executing it gives: 64.66 The tax is $64.66.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "64.66", "printed": "64.66", "notation": null}
nlprog_det-setting-0047467
A filing cabinet costs $60. It is 10% off. What is the sale price? The computation: ```python price = 60 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 54.0 print(f"{sale_price:.2f}") ``` Out: 54.00 The sale price is $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0047468
<|start|><|user|> Scale 150 g of sugar from 4 servings to 12 servings.<|eot|> <|assistant|> ```python grams = 150 serves = 4 needed_for = 12 scaled = grams * needed_for // serves # 450 print(scaled) ``` Output of the run: 450 Use 450 g of sugar.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Scale 150 g of sugar from 4 servings to 12 servings." }, { "role": "assistant", "content": "```python\ngrams = 150\nserves = 4\nneeded_for = 12\nscaled = grams * needed_for // serves # 450\nprint(scaled)\n```\nOutput of the run: 450\n\nUse 450 g of sugar." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "450", "printed": "450", "notation": null}
nlprog_det-setting-0047469
<|start|><|user|> A 4% increase is applied to $1,500 monthly rent. What is the new amount?<|eot|> <|assistant|> It rises to $1,560.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 4% increase is applied to $1,500 monthly rent. What is the new amount?" }, { "role": "assistant", "content": "It rises to $1,560.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "1560.00", "printed": "1560.00", "notation": null}
nlprog_det-setting-0047470
Walls total 123 sq ft and each can covers 400 sq ft. How many cans should be bought? Program: ```python import math area = 123 coverage = 400 cans = math.ceil(area / coverage) # 1 print(cans) ``` # printed result: 1 Buy 1 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0047471
<|start|><|system|> Be concise.<|eot|> <|user|> A penalty of $50 a day accrues, capped at $2,500. What is owed after 17 days?<|eot|> <|assistant|> ```python per_day = 50 days = 17 cap = 2500 fine = min(per_day * days, cap) print(fine) ``` The code prints 850. $850 is owed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be concise." }, { "role": "user", "content": "A penalty of $50 a day accrues, capped at $2,500. What is owed after 17 days?" }, { "role": "assistant", "content": "```python\nper_day = 50\ndays = 17\ncap = 2500\nfine = min(per_day * days, cap)\nprint(fi...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "850", "printed": "850", "notation": null}
nlprog_det-setting-0047472
<|start|><|user|> Ines earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 46-hour week?<|eot|> <|assistant|> ```python rate = 25.0 hours = 46 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 225.0 pay = regular + overtime # 1225.0 print(f"{pay:.2f}") ``` Running it p...
chat
[ { "role": "user", "content": "Ines earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 46-hour week?" }, { "role": "assistant", "content": "```python\nrate = 25.0\nhours = 46\nregular = 40 * rate # 1000.0\novertime = (hours - 40) * rate * 1.5 # 225.0\npay = regula...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "1225.00", "printed": "1225.00", "notation": null}
nlprog_det-setting-0047474
465 files go into boxes of 40. How many boxes does that take? Python code: ```python import math files = 465 per_box = 40 boxes = math.ceil(files / per_box) # 12 print(boxes) ``` Printed result — 12 It takes 12 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0047475
Of a $4,000 budget, $3,700 has been spent. What percent is that? Here is the program. ```python budget = 4000 spent = 3700 percent = spent / budget * 100 # 92.5 print(round(percent, 1)) ``` (stdout: 92.5) That is 92.5% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "92.5", "printed": "92.5", "notation": null}
nlprog_det-setting-0047476
Water costs $20 a month plus $4.75 for each 1,000 gallons over 2,000. What is owed for 3,000 gallons? $24.75 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "24.75", "printed": "24.75", "notation": null}
nlprog_det-setting-0047477
How many minutes pass from 10:39 AM to 11:15 AM on the same day? The computation: ```python start = 10 * 60 + 39 # 639 end = 11 * 60 + 15 # 675 print(end - start) ``` When run, it prints 36, as expected. It is 36 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0047478
<|start|><|user|> A car travels 412 miles in 1 hours. What is its average speed in miles per hour?<|eot|> <|assistant|> ```python distance = 412 hours = 1 speed = distance / hours # 412.0 print(round(speed)) ``` Run result — 412 The average speed is 412 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A car travels 412 miles in 1 hours. What is its average speed in miles per hour?" }, { "role": "assistant", "content": "```python\ndistance = 412\nhours = 1\nspeed = distance / hours # 412.0\nprint(round(speed))\n```\nRun result — 412\n\nThe average speed is 412 mp...
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "412", "printed": "412", "notation": null}
nlprog_det-setting-0047479
Pack A has 6 items for $6.87. Pack B has 30 items for $25.60. Which has the lower price per item? We can compute it in Python. ```python pack_a = 6.87 / 6 # 1.145 pack_b = 25.6 / 30 # 0.8533333333333334 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) ``` Run result = B B has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0047480
A 12-month warranty starts on June 14, 2021. On what date does it end? ```python from datetime import date start = date(2021, 6, 14) months = 12 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` The printout reads: 2022-06-14...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "2022-06-14", "printed": "2022-06-14", "notation": null}
nlprog_det-setting-0047481
The firm was founded in 2012. How many years had passed by 2043? Program: ```python start_year = 2012 end_year = 2043 print(end_year - start_year) ``` (Out: 31) That is 31 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0047482
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> A 4 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 4 width = 10 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 40 print(tiles) ``` Console output — 40 It...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "A 4 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 4\nwidth = 10\ntile = 1\ntiles =...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0047483
A trial runs from May 25, 2019 to June 5, 2019, counting both days. How many calendar days is that? Computation in Python: ```python from datetime import date first = date(2019, 5, 25) last = date(2019, 6, 5) days = (last - first).days + 1 print(days) ``` Out = 12 That is 12 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0047484
If a 2-year limitations period starts on November 20, 2020, when does it end? Programmatically: ```python from datetime import date accrued = date(2020, 11, 20) years = 2 expires = accrued.replace(year=accrued.year + years) print(expires.isoformat()) ``` Console output: 2022-11-20 It runs out on November 20, 2022.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "2022-11-20", "printed": "2022-11-20", "notation": null}
nlprog_det-setting-0047485
The rules require 2/3 of 36 members (round up) to be present. How many is that? A short script: import math members = 36 quorum = math.ceil(members * 2 / 3) # 24 print(quorum) What it prints: 24 That is 24 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0047486
<|start|><|user|> 9 boxes hold 25 envelopes each. After 16 are handed out, how many are left?<|eot|> <|assistant|> boxes = 9 per_box = 25 given_away = 16 left = boxes * per_box - given_away # 209 print(left) The program prints 209. 209 envelopes are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "9 boxes hold 25 envelopes each. After 16 are handed out, how many are left?" }, { "role": "assistant", "content": " boxes = 9\n per_box = 25\n given_away = 16\n left = boxes * per_box - given_away # 209\n print(left)\nThe program prints 209.\n\n209 e...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "209", "printed": "209", "notation": null}
nlprog_det-setting-0047487
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> An attorney bills 6.5 hours at $225 per hour. What is the bill?<|eot|> <|assistant|> ```python hours = 6.5 rate = 225 bill = hours * rate # 1462.5 print(f"{bill:.2f}") ``` # execution result: 1462.50 That comes to $1,462.50.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "An attorney bills 6.5 hours at $225 per hour. What is the bill?" }, { "role": "assistant", "content": "```python\nhours = 6.5\nrate = 225\nbill = hours * rate # 1462.5\nprint(f...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "1462.50", "printed": "1462.50", "notation": null}
nlprog_det-setting-0047488
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "convert_units", "description": "Convert a quantity between units.", "parameters": {"type": "object", "properties": {"value": {"type": "number"}, "from_unit": {"type": "string"}, "to_unit": {"type": "string"}}, "required": ["value",...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"}, ...
nlprog_det
setting
original
null
deterministic
[]
[]
407
{"gold": "56.25", "printed": "56.25", "notation": null}
nlprog_det-setting-0047489
A hall has 29 rows of 10 seats, and 36 seats are empty. How many people are seated? The Python version: rows = 29 per_row = 10 empty = 36 seated = rows * per_row - empty # 254 print(seated) The run gives: 254 254 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "254", "printed": "254", "notation": null}
nlprog_det-setting-0047490
Jae and Ivan share $1,440 in the ratio 1:3. How much does Jae get? Translated to Python: ```python total = 1440 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) print(share_a) ``` It prints: 360 Jae's share is $360.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "360", "printed": "360", "notation": null}
nlprog_det-setting-0047491
<|start|><|user|> Find the mean of these test scores: 95, 54, 55 and 60.<|eot|> <|assistant|> The mean is 66.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Find the mean of these test scores: 95, 54, 55 and 60." }, { "role": "assistant", "content": "The mean is 66." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "66", "printed": "66", "notation": null}
nlprog_det-setting-0047493
<|start|><|user|> What is the total rent on a 12-month lease at $2,875 a month?<|eot|> <|assistant|> ```python monthly_rent = 2875 months = 12 total = monthly_rent * months # 34500 print(total) ``` On running, it outputs: 34500 In total, $34,500 is paid.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is the total rent on a 12-month lease at $2,875 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 2875\nmonths = 12\ntotal = monthly_rent * months # 34500\nprint(total)\n```\nOn running, it outputs: 34500\n\nIn total, $34,500 is paid." ...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "34500", "printed": "34500", "notation": null}
nlprog_det-setting-0047494
What percentage of $10,000 is $900? Set it up in Python: ```python budget = 10000 spent = 900 percent = spent / budget * 100 # 9.0 print(round(percent, 1)) ``` (Console output: 9.0) 9.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "9.0", "printed": "9.0", "notation": null}
nlprog_det-setting-0047495
<|start|><|user|> A court charges $15 per request plus $0.10 per page after the first 0 pages. What does a 72-page copy cost?<|eot|> <|assistant|> The total is $22.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A court charges $15 per request plus $0.10 per page after the first 0 pages. What does a 72-page copy cost?" }, { "role": "assistant", "content": "The total is $22.20." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "22.20", "printed": "22.20", "notation": null}
nlprog_det-setting-0047496
What day of the week is January 1, 1990? In Python: from datetime import date hearing = date(1990, 1, 1) # datetime.date(1990, 1, 1) print(hearing.strftime("%A")) Out = Monday It is a Monday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "Monday", "printed": "Monday", "notation": null}
nlprog_det-setting-0047497
If a 25-minute hearing begins at 8:10 AM, what time does it finish? The computation: ```python start = 8 * 60 + 10 end = start + 25 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` (Result: 8:35 AM) It ends at 8:35 AM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "8:35 AM", "printed": "8:35 AM", "notation": null}
nlprog_det-setting-0047498
What day of the week is February 17, 2021? Here is the program. from datetime import date hearing = date(2021, 2, 17) # datetime.date(2021, 2, 17) print(hearing.strftime("%A")) Execution prints: Wednesday February 17, 2021 is a Wednesday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0047499
What simple interest does $1,000 earn at 4% a year over 3 years? We can compute it in Python. ```python principal = 1000 rate = 4 / 100 # 0.04 years = 3 interest = principal * rate * years # 120.0 print(f"{interest:.2f}") ``` It prints: 120.00 It earns $120.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "120.00", "printed": "120.00", "notation": null}
nlprog_det-setting-0047500
A 2% increase is applied to $900 monthly rent. What is the new amount? Python makes this quick: ```python rent = 900 increase = 2 / 100 new_rent = rent * (1 + increase) print(f"{new_rent:.2f}") ``` The run gives: 918.00 It rises to $918.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "918.00", "printed": "918.00", "notation": null}
nlprog_det-setting-0047501
A court charges $15 per request plus $0.50 per page after the first 20 pages. What does a 94-page copy cost? Programmatically: ```python pages = 94 base = 15 per_page = 0.5 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 52.0 print(f"{cost:.2f}") ``` Output: 52.00 The total is $52.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "52.00", "printed": "52.00", "notation": null}
nlprog_det-setting-0047502
A $12,000 grant pays $2,000 up front and the rest in 6 equal installments. How large is each installment? In Python: ```python grant = 12000 up_front = 2000 installments = 6 each = (grant - up_front) / installments # 1666.6666666666667 print(f"{each:.2f}") ``` Run output — 1666.67 $1,666.67 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "1666.67", "printed": "1666.67", "notation": null}
nlprog_det-setting-0047503
38 volunteers are split into 6 equal teams. How many are on each team, and how many are left over? We write it as a program: ```python total = 38 groups = 6 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` The script prints 6 each, 2 left over. The answer: 6 each, 2 l...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "6 each, 2 left over", "printed": "6 each, 2 left over", "notation": null}
nlprog_det-setting-0047504
What does $10,000 grow to in 5 years at 2% annual compounding? It is worth $11,040.81.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "11040.81", "printed": "11040.81", "notation": null}
nlprog_det-setting-0047505
A water bill is $20 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 18 thousand gallons? ```python base = 20 rate = 5.1 used = 18 free = 2 bill = base + rate * max(0, used - free) # 101.6 print(f"{bill:.2f}") ``` The script prints: 101.60 The bill is $101.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "101.60", "printed": "101.60", "notation": null}
nlprog_det-setting-0047506
A hall has 8 rows of 10 seats, and 32 seats are empty. How many people are seated? ```python rows = 8 per_row = 10 empty = 32 seated = rows * per_row - empty # 48 print(seated) ``` stdout: 48 48 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0047507
Fines run at $25 per day up to a maximum of $5,000. How much after 30 days? Computation in Python: ```python per_day = 25 days = 30 cap = 5000 fine = min(per_day * days, cap) # 750 print(fine) ``` Shell output — 750 The fine is $750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0047508
<|start|><|user|> The landlord deducts $200 from a $1,500 deposit. What is returned to the tenant?<|eot|> <|assistant|> $1,300 is returned.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The landlord deducts $200 from a $1,500 deposit. What is returned to the tenant?" }, { "role": "assistant", "content": "$1,300 is returned." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "1300", "printed": "1300", "notation": null}
nlprog_det-setting-0047509
<|start|><|user|> Count 30 days forward from February 7, 2026. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 2, 7) # datetime.date(2026, 2, 7) end = start + timedelta(days=30) # datetime.date(2026, 3, 9) print(end.isoformat()) ``` The printout reads 2026-03-...
chat
[ { "role": "user", "content": "Count 30 days forward from February 7, 2026. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 2, 7) # datetime.date(2026, 2, 7)\nend = start + timedelta(days=30) # datetime.date(2026, 3, ...
nlprog_det
setting
original
null
deterministic
[]
[]
139
{"gold": "2026-03-09", "printed": "2026-03-09", "notation": null}
nlprog_det-setting-0047510
Counting only Monday through Friday, how many business days are there after February 9, 2020 through February 22, 2020? We write it as a program: ```python from datetime import date, timedelta start = date(2020, 2, 9) end = date(2020, 2, 22) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelt...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0047511
Water costs $20 a month plus $4.75 for each 1,000 gallons over 3,000. What is owed for 21,000 gallons? As Python: ```python base = 20 rate = 4.75 used = 21 free = 3 bill = base + rate * max(0, used - free) # 105.5 print(f"{bill:.2f}") ``` It outputs 105.50. The bill is $105.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "105.50", "printed": "105.50", "notation": null}
nlprog_det-setting-0047512
A shift runs from 8:15 AM to 2:56 PM. How long is it in minutes? Computing it: ```python start = 8 * 60 + 15 # 495 end = 14 * 60 + 56 # 896 print(end - start) ``` The run gives 401. It is 401 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "401", "printed": "401", "notation": null}
nlprog_det-setting-0047513
A $60,000 grant pays $6,000 up front and the rest in 3 equal installments. How large is each installment? Program: ```python grant = 60000 up_front = 6000 installments = 3 each = (grant - up_front) / installments # 18000.0 print(f"{each:.2f}") ``` The printout reads 18000.00. $18,000.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "18000.00", "printed": "18000.00", "notation": null}
nlprog_det-setting-0047514
<|start|><|user|> Counting only Monday through Friday, how many business days are there after November 1, 2022 through November 14, 2022?<|eot|> <|assistant|> 9 weekdays.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after November 1, 2022 through November 14, 2022?" }, { "role": "assistant", "content": "9 weekdays." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0047515
<|start|><|user|> Olga's scores were 84, 66, 61 and 53. What is the average score?<|eot|> <|assistant|> ```python scores = [84, 66, 61, 53] average = sum(scores) // len(scores) # 66 print(average) ``` The program outputs: 66 The mean is 66.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Olga's scores were 84, 66, 61 and 53. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [84, 66, 61, 53]\naverage = sum(scores) // len(scores) # 66\nprint(average)\n```\nThe program outputs: 66\n\nThe mean is 66." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "66", "printed": "66", "notation": null}
nlprog_det-setting-0047516
$10,000 is invested at 4% compounded yearly. What is it worth after 5 years? It is worth $12,166.53.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "12166.53", "printed": "12166.53", "notation": null}
nlprog_det-setting-0047517
With $8,000 in costs and $9,000 in revenue, what percent of revenue is profit? Round to one decimal. The Python version: ```python revenue = 9000 costs = 8000 profit = revenue - costs # 1000 margin = profit / revenue * 100 # 11.11111111111111 print(round(margin, 1)) ``` Running it prints: 11.1 Profit is 11.1% of re...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "11.1", "printed": "11.1", "notation": null}
nlprog_det-setting-0047518
What commission does Kemal make on $92,999 in sales at 8%? The program: ```python sales = 92999 rate = 8 / 100 # 0.08 commission = sales * rate # 7439.92 print(f"{commission:.2f}") ``` Console output — 7439.92 The commission is $7,439.92.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "7439.92", "printed": "7439.92", "notation": null}
nlprog_det-setting-0047519
<|start|><|system|> Tools you may use: [{"name": "py_exec", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> What simple interest does $20,000 earn ...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"py_exec\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code\"]}}]"...
nlprog_det
setting
original
null
deterministic
[]
[]
223
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0047520
A measure needs at least 60% of 257 votes. How many votes is that, rounded up? Here is a short program for it. import math voters = 257 needed = math.ceil(voters * 60 / 100) # 155 print(needed) Printed: 155 155 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "155", "printed": "155", "notation": null}
nlprog_det-setting-0047521
11 boxes hold 10 calendars each. After 3 are handed out, how many are left? Let's compute it with Python. ```python boxes = 11 per_box = 10 given_away = 3 left = boxes * per_box - given_away # 107 print(left) ``` (Printed result: 107) 107 calendars are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "107", "printed": "107", "notation": null}
nlprog_det-setting-0047522
<|start|><|user|> A hearing starts at 1:45 PM and lasts 40 minutes. When does it end?<|eot|> <|assistant|> ```python start = 13 * 60 + 45 end = start + 40 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` This prints 2:25 PM. The hearing finishes at 2:25 PM.<...
chat
[ { "role": "user", "content": "A hearing starts at 1:45 PM and lasts 40 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 13 * 60 + 45\nend = start + 40\nhour, minute = divmod(end, 60)\nprint(f\"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}\")...
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "2:25 PM", "printed": "2:25 PM", "notation": null}
nlprog_det-setting-0047523
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> Convert 2,291 USD to CAD at 1 USD = 1.12 CAD.<|eot|> <|assistant|> ```python amount = 2291 rate = 1.12 converted = amount * rate # 2565.92 print(f"{converted:.2f}") ``` The code prints: 2565.92 It converts to 2,565.92 CAD.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "Convert 2,291 USD to CAD at 1 USD = 1.12 CAD." }, { "role": "assistant", "content": "```python\namount = 2291\nrate = 1.12\nconverted = amount * rate # 2565.92\nprint(f\"{converted:.2f}\")\n``...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "2565.92", "printed": "2565.92", "notation": null}
nlprog_det-setting-0047524
A service costs $29 a month or $336 a year. How much does the yearly plan save over 12 monthly payments? The Python version: ```python monthly = 29 yearly = 336 savings = monthly * 12 - yearly # 12 print(savings) ``` Execution result: 12 The annual plan saves $12.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0047525
<|start|><|user|> With $36,000 in costs and $37,000 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> Profit is 2.7% of revenue.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With $36,000 in costs and $37,000 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "Profit is 2.7% of revenue." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "2.7", "printed": "2.7", "notation": null}
nlprog_det-setting-0047526
How many minutes pass from 8:10 AM to 11:33 AM on the same day? The program: start = 8 * 60 + 10 # 490 end = 11 * 60 + 33 # 693 print(end - start) # stdout: 203 It is 203 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
72
{"gold": "203", "printed": "203", "notation": null}
nlprog_det-setting-0047527
<|start|><|user|> An office budget of $20,000 has expenses of $2,748, $1,356, $3,374, $1,169. How much of the budget is left?<|eot|> <|assistant|> budget = 20000 expenses = [2748, 1356, 3374, 1169] left = budget - sum(expenses) # 11353 print(left) The script prints: 11353 $11,353 is left.<|eot|> <|end...
chat
[ { "role": "user", "content": "An office budget of $20,000 has expenses of $2,748, $1,356, $3,374, $1,169. How much of the budget is left?" }, { "role": "assistant", "content": " budget = 20000\n expenses = [2748, 1356, 3374, 1169]\n left = budget - sum(expenses) # 11353\n print(left...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "11353", "printed": "11353", "notation": null}
nlprog_det-setting-0047528
<|start|><|user|> A $240 dinner bill gets a 18% tip, and 3 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 240 tip_rate = 18 / 100 # 0.18 people = 3 each = bill * (1 + tip_rate) / people # 94.39999999999999 print(f"{each:.2f}") ``` stdout: 94.40 Each person pays $94....
chat
[ { "role": "user", "content": "A $240 dinner bill gets a 18% tip, and 3 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 240\ntip_rate = 18 / 100 # 0.18\npeople = 3\neach = bill * (1 + tip_rate) / people # 94.39999999999999\npr...
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "94.40", "printed": "94.40", "notation": null}
nlprog_det-setting-0047529
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> With $20,000 in costs and $21,000 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> The margin is 4.8%.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "With $20,000 in costs and $21,000 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "The margin is 4.8%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "4.8", "printed": "4.8", "notation": null}
nlprog_det-setting-0047530
<|start|><|system|> Give the answer first.<|eot|> <|user|> 2 clients win $48,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 48000 fee = award * 30 / 100 # 14400.0 remaining = award - fee # 33600.0 per_client = remaining / 2 # 16800.0 pr...
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "2 clients win $48,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 48000\nfee = award * 30 / 100 ...
nlprog_det
setting
original
null
deterministic
[]
[]
149
{"gold": "16800.00", "printed": "16800.00", "notation": null}
nlprog_det-setting-0047531
Malik drove 344 miles for work. Mileage is reimbursed at 58 cents a mile. How much is the reimbursement? The Python version: ```python miles = 344 rate = 0.58 reimbursement = miles * rate # 199.51999999999998 print(f"{reimbursement:.2f}") ``` # printed result: 199.52 Malik is owed $199.52.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "199.52", "printed": "199.52", "notation": null}
nlprog_det-setting-0047532
10 boxes hold 12 water bottles each. After 5 are handed out, how many are left? The program: boxes = 10 per_box = 12 given_away = 5 left = boxes * per_box - given_away # 115 print(left) Printed — 115 115 water bottles are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "115", "printed": "115", "notation": null}
nlprog_det-setting-0047533
A pack of 24 binders sells for $1440. What does each cost? Set it up in Python: ```python total = 1440 count = 24 per_item = total // count # 60 print(per_item) ``` Running it prints: 60 Each one costs $60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "60", "printed": "60", "notation": null}
nlprog_det-setting-0047534
<|start|><|system|> Tools (call with JSON): [{"name": "python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}, {"name": "define_word", "descr...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"r...
nlprog_det
setting
original
null
deterministic
[]
[]
386
{"gold": "1380.00", "printed": "1380.00", "notation": null}
nlprog_det-setting-0047535
<|start|><|system|> You may call the tools below. [{"name": "run_python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"run_python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source ...
nlprog_det
setting
original
null
deterministic
[]
[]
214
{"gold": "17550", "printed": "17550", "notation": null}
nlprog_det-setting-0047536
<|start|><|user|> What commission does Sofia make on $104,284 in sales at 3%?<|eot|> <|assistant|> Sofia earns $3,128.52.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What commission does Sofia make on $104,284 in sales at 3%?" }, { "role": "assistant", "content": "Sofia earns $3,128.52." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "3128.52", "printed": "3128.52", "notation": null}
nlprog_det-setting-0047537
<|start|><|user|> One can of paint covers 250 square feet. How many cans are needed for 195 square feet of wall?<|eot|> <|assistant|> ```python import math area = 195 coverage = 250 cans = math.ceil(area / coverage) # 1 print(cans) ``` This prints: 1 1 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 250 square feet. How many cans are needed for 195 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 195\ncoverage = 250\ncans = math.ceil(area / coverage) # 1\nprint(cans)\n```\nThis prints: 1\n\n1 ca...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0047538
<|start|><|user|> What commission does Reza make on $38,931 in sales at 2%?<|eot|> <|assistant|> ```python sales = 38931 rate = 2 / 100 # 0.02 commission = sales * rate # 778.62 print(f"{commission:.2f}") ``` This prints 778.62, as expected. The commission is $778.62.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What commission does Reza make on $38,931 in sales at 2%?" }, { "role": "assistant", "content": "```python\nsales = 38931\nrate = 2 / 100 # 0.02\ncommission = sales * rate # 778.62\nprint(f\"{commission:.2f}\")\n```\nThis prints 778.62, as expected.\n\nThe commiss...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "778.62", "printed": "778.62", "notation": null}