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-0045090
How many whole days and leftover hours are in 96 hours? Python, step by step: hours = 96 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") stdout: 4 days and 0 hours That is 4 days and 0 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "4 days and 0 hours", "printed": "4 days and 0 hours", "notation": null}
nlprog_det-setting-0045091
<|start|><|user|> Express 378 hours in days and hours.<|eot|> <|assistant|> ```python hours = 378 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` The code prints: 15 days and 18 hours 378 hours is 15 days and 18 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Express 378 hours in days and hours." }, { "role": "assistant", "content": "```python\nhours = 378\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\nThe code prints: 15 days and 18 hours\n\n378 hours is 15 days and 18 hours." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "15 days and 18 hours", "printed": "15 days and 18 hours", "notation": null}
nlprog_det-setting-0045092
At a 7% tax rate, what is the tax on $387.54? Let's compute it with Python. ```python price = 387.54 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 27.127800000000004 print(f"{tax:.2f}") ``` # output: 27.13 $27.13 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "27.13", "printed": "27.13", "notation": null}
nlprog_det-setting-0045093
<|start|><|user|> A customer buys 1 badges at $11 each, 3 mugs at $15 each, 1 flash drives at $10 each, 4 paper reams at $17 each and pays with $150. How much change is due?<|eot|> <|assistant|> items = [(1, 11), (3, 15), (1, 10), (4, 17)] total = sum(q * p for q, p in items) # 134 paid = 150 change = ...
chat
[ { "role": "user", "content": "A customer buys 1 badges at $11 each, 3 mugs at $15 each, 1 flash drives at $10 each, 4 paper reams at $17 each and pays with $150. How much change is due?" }, { "role": "assistant", "content": " items = [(1, 11), (3, 15), (1, 10), (4, 17)]\n total = sum(q * p...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0045094
Convert 88.7 km to meters. That is 88,700 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
24
{"gold": "88700", "printed": "88700", "notation": null}
nlprog_det-setting-0045095
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> What is the total rent on a 12-month lease at $1,475 a month?<|eot|> <|assistant|> In total, $17,700 is paid.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "What is the total rent on a 12-month lease at $1,475 a month?" }, { "role": "assistant", "content": "In total, $17,700 is paid." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
55
{"gold": "17700", "printed": "17700", "notation": null}
nlprog_det-setting-0045096
A car travels 522 miles in 2 hours. What is its average speed in miles per hour? Here is a short program for it. ```python distance = 522 hours = 2 speed = distance / hours # 261.0 print(round(speed)) ``` # console output: 261 It averages 261 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "261", "printed": "261", "notation": null}
nlprog_det-setting-0045098
A water bill is $18 plus $5.10 per thousand gallons beyond the first 0 thousand. What is the bill for 3 thousand gallons? As Python: ```python base = 18 rate = 5.1 used = 3 free = 0 bill = base + rate * max(0, used - free) # 33.3 print(f"{bill:.2f}") ``` Printed result: 33.30 $33.30 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "33.30", "printed": "33.30", "notation": null}
nlprog_det-setting-0045099
<|start|><|user|> Convert 25.1 km to meters.<|eot|> <|assistant|> ```python km = 25.1 meters = km * 1000 # 25100.0 print(round(meters)) ``` The script prints 25100. 25,100 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 25.1 km to meters." }, { "role": "assistant", "content": "```python\nkm = 25.1\nmeters = km * 1000 # 25100.0\nprint(round(meters))\n```\nThe script prints 25100.\n\n25,100 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "25100", "printed": "25100", "notation": null}
nlprog_det-setting-0045100
<|start|><|user|> A desk lamp costs $250. It is 25% off. What is the sale price?<|eot|> <|assistant|> price = 250 discount = 25 / 100 # 0.25 sale_price = price * (1 - discount) # 187.5 print(f"{sale_price:.2f}") (Console output: 187.50) It costs $187.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A desk lamp costs $250. It is 25% off. What is the sale price?" }, { "role": "assistant", "content": " price = 250\n discount = 25 / 100 # 0.25\n sale_price = price * (1 - discount) # 187.5\n print(f\"{sale_price:.2f}\")\n(Console output: 187.50)\n\nIt...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "187.50", "printed": "187.50", "notation": null}
nlprog_det-setting-0045101
<|start|><|user|> At 2% a month (simple), what interest builds on $2,500 over 4 months?<|eot|> <|assistant|> ```python balance = 2500 monthly_rate = 2 / 100 # 0.02 months = 4 interest = balance * monthly_rate * months # 200.0 print(f"{interest:.2f}") ``` This prints: 200.00 The interest is $200.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 2% a month (simple), what interest builds on $2,500 over 4 months?" }, { "role": "assistant", "content": "```python\nbalance = 2500\nmonthly_rate = 2 / 100 # 0.02\nmonths = 4\ninterest = balance * monthly_rate * months # 200.0\nprint(f\"{interest:.2f}\")\n```\n...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "200.00", "printed": "200.00", "notation": null}
nlprog_det-setting-0045103
What average speed covers 178 miles in 2 hours? Script: ```python distance = 178 hours = 2 speed = distance / hours print(round(speed)) ``` Running this gives: 89 It averages 89 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "89", "printed": "89", "notation": null}
nlprog_det-setting-0045104
<|start|><|user|> Count the days between May 1, 2019 and July 26, 2019.<|eot|> <|assistant|> ```python from datetime import date first = date(2019, 5, 1) # datetime.date(2019, 5, 1) second = date(2019, 7, 26) # datetime.date(2019, 7, 26) print((second - first).days) ``` Executed, it shows: 86 There are 86 days betwe...
chat
[ { "role": "user", "content": "Count the days between May 1, 2019 and July 26, 2019." }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2019, 5, 1) # datetime.date(2019, 5, 1)\nsecond = date(2019, 7, 26) # datetime.date(2019, 7, 26)\nprint((second - first)...
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "86", "printed": "86", "notation": null}
nlprog_det-setting-0045105
How many whole days and leftover hours are in 38 hours? 38 hours is 1 days and 14 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "1 days and 14 hours", "printed": "1 days and 14 hours", "notation": null}
nlprog_det-setting-0045106
<|start|><|user|> What is -20 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> ```python celsius = -20 fahrenheit = celsius * 9 / 5 + 32 print(round(fahrenheit)) ``` Printed = -4 That is -4 °F.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is -20 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "```python\ncelsius = -20\nfahrenheit = celsius * 9 / 5 + 32\nprint(round(fahrenheit))\n```\nPrinted = -4\n\nThat is -4 °F." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "-4", "printed": "-4", "notation": null}
nlprog_det-setting-0045107
A garage charges $2 an hour, never more than $15 a day. How much for 7 hours? The computation: ```python rate = 2 hours = 7 daily_max = 15 cost = min(rate * hours, daily_max) # 14 print(cost) ``` (Output: 14) The charge is $14.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0045108
Walls total 778 sq ft and each can covers 250 sq ft. How many cans should be bought? As Python: ```python import math area = 778 coverage = 250 cans = math.ceil(area / coverage) print(cans) ``` Result = 4 4 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0045109
Someone works 38 hours at $30.54 per hour. What are the earnings? Computation in Python: ```python rate = 30.54 hours = 38 earnings = rate * hours # 1160.52 print(f"{earnings:.2f}") ``` stdout = 1160.52 That earns $1,160.52.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "1160.52", "printed": "1160.52", "notation": null}
nlprog_det-setting-0045110
<|start|><|system|> Show working only when it helps.<|eot|> <|user|> Each storage box holds 25 files. How many boxes are needed for 93 files?<|eot|> <|assistant|> ```python import math files = 93 per_box = 25 boxes = math.ceil(files / per_box) # 4 print(boxes) ``` The program prints 4. It takes 4 boxes.<|eot|> <|end|...
chat
[ { "role": "system", "content": "Show working only when it helps." }, { "role": "user", "content": "Each storage box holds 25 files. How many boxes are needed for 93 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 93\nper_box = 25\nboxes = math.ceil(files...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0045111
A client paid a $2,500 retainer. The firm has billed 10 hours at $250 per hour. How much of the retainer is left? Python version: ```python retainer = 2500 hours = 10 rate = 250 left = retainer - hours * rate # 0 print(left) ``` Run result: 0 $0 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "0", "printed": "0", "notation": null}
nlprog_det-setting-0045112
To read 728 pages in 13 days, how many pages per day are needed? Here's the code. ```python pages = 728 days = 13 per_day = pages // days # 56 print(per_day) ``` Printed: 56 That is 56 pages per day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "56", "printed": "56", "notation": null}
nlprog_det-setting-0045113
<|start|><|user|> What commission does Sara make on $8,370 in sales at 6%?<|eot|> <|assistant|> ```python sales = 8370 rate = 6 / 100 commission = sales * rate print(f"{commission:.2f}") ``` The code prints: 502.20 Sara earns $502.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What commission does Sara make on $8,370 in sales at 6%?" }, { "role": "assistant", "content": "```python\nsales = 8370\nrate = 6 / 100\ncommission = sales * rate\nprint(f\"{commission:.2f}\")\n```\nThe code prints: 502.20\n\nSara earns $502.20." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "502.20", "printed": "502.20", "notation": null}
nlprog_det-setting-0045114
A measure needs at least 75% of 194 votes. How many votes is that, rounded up? Python, step by step: ```python import math voters = 194 needed = math.ceil(voters * 75 / 100) # 146 print(needed) ``` What it prints — 146 146 votes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "146", "printed": "146", "notation": null}
nlprog_det-setting-0045115
At an exchange rate of 1.31 USD per EUR, how many USD is 1,980 EUR? A Python solution: ```python amount = 1980 rate = 1.31 converted = amount * rate # 2593.8 print(f"{converted:.2f}") ``` Interpreter output — 2593.80 That is 2,593.80 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "2593.80", "printed": "2593.80", "notation": null}
nlprog_det-setting-0045116
Express 233 hours in days and hours. hours = 233 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") The script prints: 9 days and 17 hours 233 hours is 9 days and 17 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "9 days and 17 hours", "printed": "9 days and 17 hours", "notation": null}
nlprog_det-setting-0045118
Under a 25% contingency agreement, what fee is owed on a $150,000 award? Here's the code. ```python recovery = 150000 rate = 25 / 100 # 0.25 fee = recovery * rate # 37500.0 print(f"{fee:.2f}") ``` The program outputs: 37500.00 The lawyer's fee comes to $37,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "37500.00", "printed": "37500.00", "notation": null}
nlprog_det-setting-0045119
A 6% increase is applied to $2,200 monthly rent. What is the new amount? Python: ```python rent = 2200 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 2332.0 print(f"{new_rent:.2f}") ``` (Run result: 2332.00) It rises to $2,332.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "2332.00", "printed": "2332.00", "notation": null}
nlprog_det-setting-0045120
Scale 300 g of flour from 2 servings to 6 servings. Let's compute it with Python. grams = 300 serves = 2 needed_for = 6 scaled = grams * needed_for // serves # 900 print(scaled) The printout reads 900. Use 900 g of flour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0045121
<|start|><|system|> You have access to these functions: [{"name": "calc", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> To read 399 pages in ...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"calc\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\":...
nlprog_det
setting
original
null
deterministic
[]
[]
203
{"gold": "57", "printed": "57", "notation": null}
nlprog_det-setting-0045122
<|start|><|user|> At $20.25 an hour, what does 40 hours of work pay?<|eot|> <|assistant|> rate = 20.25 hours = 40 earnings = rate * hours # 810.0 print(f"{earnings:.2f}") That prints 810.00. That earns $810.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $20.25 an hour, what does 40 hours of work pay?" }, { "role": "assistant", "content": " rate = 20.25\n hours = 40\n earnings = rate * hours # 810.0\n print(f\"{earnings:.2f}\")\nThat prints 810.00.\n\nThat earns $810.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "810.00", "printed": "810.00", "notation": null}
nlprog_det-setting-0045123
<|start|><|user|> A claim accrued on July 27, 2024. The limitations period is 4 years. On what date does it expire?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2024, 7, 27) # datetime.date(2024, 7, 27) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2028, 7, ...
chat
[ { "role": "user", "content": "A claim accrued on July 27, 2024. The limitations period is 4 years. On what date does it expire?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2024, 7, 27) # datetime.date(2024, 7, 27)\nyears = 4\nexpires = accrued.rep...
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "2028-07-27", "printed": "2028-07-27", "notation": null}
nlprog_det-setting-0045124
Attendance was 69 out of 100. Express it as a percent. Attendance was 69.0%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "69.0", "printed": "69.0", "notation": null}
nlprog_det-setting-0045125
<|start|><|user|> At $0.58 per mile, what is the reimbursement for 338 miles?<|eot|> <|assistant|> Noor is owed $196.04.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $0.58 per mile, what is the reimbursement for 338 miles?" }, { "role": "assistant", "content": "Noor is owed $196.04." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "196.04", "printed": "196.04", "notation": null}
nlprog_det-setting-0045126
Ulla drove 92 miles for work. Mileage is reimbursed at 70 cents a mile. How much is the reimbursement? Here's the code. miles = 92 rate = 0.7 reimbursement = miles * rate # 64.39999999999999 print(f"{reimbursement:.2f}") Execution prints: 64.40 The reimbursement is $64.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "64.40", "printed": "64.40", "notation": null}
nlprog_det-setting-0045127
<|start|><|system|> You can call tools. Available tools: [{"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}, {"name": "compute", "description": "A Python interpreter. Returns standard output.", "param...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}, {\"name\": \"compute\", \"description\":...
nlprog_det
setting
original
null
deterministic
[]
[]
369
{"gold": "237", "printed": "237", "notation": null}
nlprog_det-setting-0045128
<|start|><|user|> Each storage box holds 24 files. How many boxes are needed for 258 files?<|eot|> <|assistant|> It takes 11 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 24 files. How many boxes are needed for 258 files?" }, { "role": "assistant", "content": "It takes 11 boxes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "11", "printed": "11", "notation": null}
nlprog_det-setting-0045129
<|start|><|user|> Express 181 hours in days and hours.<|eot|> <|assistant|> ```python hours = 181 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` (Execution result: 7 days and 13 hours) 181 hours is 7 days and 13 hours.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Express 181 hours in days and hours." }, { "role": "assistant", "content": "```python\nhours = 181\ndays, rest = divmod(hours, 24)\nprint(f\"{days} days and {rest} hours\")\n```\n(Execution result: 7 days and 13 hours)\n\n181 hours is 7 days and 13 hours." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "7 days and 13 hours", "printed": "7 days and 13 hours", "notation": null}
nlprog_det-setting-0045130
Split $1,379 between Cyrus and Reza in the ratio 3 to 4. What is Cyrus's share? The computation: ```python total = 1379 parts_a = 3 parts_b = 4 share_a = total * parts_a // (parts_a + parts_b) # 591 print(share_a) ``` Running this gives 591. Cyrus's share is $591.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "591", "printed": "591", "notation": null}
nlprog_det-setting-0045131
A hall has 26 rows of 18 seats, and 0 seats are empty. How many people are seated? Written as code: ```python rows = 26 per_row = 18 empty = 0 seated = rows * per_row - empty # 468 print(seated) ``` Out = 468 468 seats are taken.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "468", "printed": "468", "notation": null}
nlprog_det-setting-0045132
From 2004 to 2017, how many years is that? In Python: start_year = 2004 end_year = 2017 print(end_year - start_year) Printed = 13 13 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
54
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0045133
At $0.67 per mile, what is the reimbursement for 271 miles? The computation: ```python miles = 271 rate = 0.67 reimbursement = miles * rate print(f"{reimbursement:.2f}") ``` This prints 181.57. Sara is owed $181.57.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "181.57", "printed": "181.57", "notation": null}
nlprog_det-setting-0045134
Convert 4,427 GBP to USD at 1 GBP = 0.92 USD. A few lines of Python do it: ```python amount = 4427 rate = 0.92 converted = amount * rate # 4072.84 print(f"{converted:.2f}") ``` Run output: 4072.84 That is 4,072.84 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "4072.84", "printed": "4072.84", "notation": null}
nlprog_det-setting-0045135
<|start|><|system|> You are a careful assistant.<|eot|> <|user|> A 16 × 3 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 16 width = 3 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 48 print(tiles) ``` The printout reads: 48 It ...
chat
[ { "role": "system", "content": "You are a careful assistant." }, { "role": "user", "content": "A 16 × 3 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 16\nwidth = 3\ntile = 1\ntiles = mat...
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0045136
A pack of 25 sticky pads sells for $975. What does each cost? Python, step by step: ```python total = 975 count = 25 per_item = total // count # 39 print(per_item) ``` (Console output: 39) The unit price is $39.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0045137
<|start|><|system|> You are a careful assistant.<|eot|> <|user|> With $4,000 in costs and $5,000 in revenue, what percent of revenue is profit? Round to one decimal.<|eot|> <|assistant|> ```python revenue = 5000 costs = 4000 profit = revenue - costs # 1000 margin = profit / revenue * 100 # 20.0 print(round(margin, 1)...
chat
[ { "role": "system", "content": "You are a careful assistant." }, { "role": "user", "content": "With $4,000 in costs and $5,000 in revenue, what percent of revenue is profit? Round to one decimal." }, { "role": "assistant", "content": "```python\nrevenue = 5000\ncosts = 4000\nprofit =...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "20.0", "printed": "20.0", "notation": null}
nlprog_det-setting-0045138
Omar and Signe share $2,940 in the ratio 2:3. How much does Omar get? Here is the program. ```python total = 2940 parts_a = 2 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 1176 print(share_a) ``` Output of the run: 1176 Omar's share is $1,176.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "1176", "printed": "1176", "notation": null}
nlprog_det-setting-0045139
<|start|><|user|> At 45 miles per hour, how many minutes does a 285-mile trip take?<|eot|> <|assistant|> ```python distance = 285 speed = 45 minutes = distance / speed * 60 # 380.0 print(round(minutes)) ``` Console: 380 The trip takes 380 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 45 miles per hour, how many minutes does a 285-mile trip take?" }, { "role": "assistant", "content": "```python\ndistance = 285\nspeed = 45\nminutes = distance / speed * 60 # 380.0\nprint(round(minutes))\n```\nConsole:\n380\n\nThe trip takes 380 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "380", "printed": "380", "notation": null}
nlprog_det-setting-0045140
Water costs $20 a month plus $4.75 for each 1,000 gallons over 0,000. What is owed for 24,000 gallons? Here's the code. ```python base = 20 rate = 4.75 used = 24 free = 0 bill = base + rate * max(0, used - free) # 134.0 print(f"{bill:.2f}") ``` Run result — 134.00 The bill is $134.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "134.00", "printed": "134.00", "notation": null}
nlprog_det-setting-0045141
Straight-line depreciation: cost $12,000, salvage $3,000, 8 years. How much per year? In code: ```python cost = 12000 salvage = 3000 years = 8 per_year = (cost - salvage) / years # 1125.0 print(f"{per_year:.2f}") ``` (Execution result: 1125.00) Depreciation is $1,125.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "1125.00", "printed": "1125.00", "notation": null}
nlprog_det-setting-0045142
<|start|><|user|> Split $2,048 between Liesel and Ines in the ratio 3 to 5. What is Liesel's share?<|eot|> <|assistant|> ```python total = 2048 parts_a = 3 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 768 print(share_a) ``` stdout = 768 Liesel's share is $768.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $2,048 between Liesel and Ines in the ratio 3 to 5. What is Liesel's share?" }, { "role": "assistant", "content": "```python\ntotal = 2048\nparts_a = 3\nparts_b = 5\nshare_a = total * parts_a // (parts_a + parts_b) # 768\nprint(share_a)\n```\nstdout = 768\n\n...
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "768", "printed": "768", "notation": null}
nlprog_det-setting-0045143
Revenue is $12,000 and costs are $8,000. What is the profit margin as a percent of revenue (one decimal)? Profit is 33.3% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "33.3", "printed": "33.3", "notation": null}
nlprog_det-setting-0045144
At 1.5% a month (simple), what interest builds on $2,500 over 5 months? Code: ```python balance = 2500 monthly_rate = 1.5 / 100 # 0.015 months = 5 interest = balance * monthly_rate * months # 187.5 print(f"{interest:.2f}") ``` The run gives 187.50, as expected. $187.50 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "187.50", "printed": "187.50", "notation": null}
nlprog_det-setting-0045145
How many minutes pass from 11:49 AM to 2:07 PM on the same day? Python does the arithmetic: ```python start = 11 * 60 + 49 # 709 end = 14 * 60 + 7 # 847 print(end - start) ``` Shell output: 138 138 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "138", "printed": "138", "notation": null}
nlprog_det-setting-0045146
After an initial $2,000, the remainder of a $24,000 grant is paid in 6 equal parts. What is each part? Each installment is $3,666.67.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "3666.67", "printed": "3666.67", "notation": null}
nlprog_det-setting-0045147
<|start|><|user|> From a $5,000 retainer, 6 hours at $275/hour have been drawn. What remains?<|eot|> <|assistant|> $3,350 of the retainer is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From a $5,000 retainer, 6 hours at $275/hour have been drawn. What remains?" }, { "role": "assistant", "content": "$3,350 of the retainer is left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "3350", "printed": "3350", "notation": null}
nlprog_det-setting-0045148
Divide 85 items among 6 groups as evenly as possible with equal groups. How many per group, and how many remain? Here is a short program for it. ```python total = 85 groups = 6 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` The program prints 14 each, 1 left over. 1...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "14 each, 1 left over", "printed": "14 each, 1 left over", "notation": null}
nlprog_det-setting-0045149
<|start|><|system|> You can call tools. Available tools: {"name": "run_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> What day...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\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
[]
[]
206
{"gold": "Sunday", "printed": "Sunday", "notation": null}
nlprog_det-setting-0045150
Sales went from 400 to 380. What is the percent change? Python does the arithmetic: ```python old = 400 new = 380 change = (new - old) / old * 100 # -5.0 print(round(change)) ``` Executed, it shows -5. The change is -5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "-5", "printed": "-5", "notation": null}
nlprog_det-setting-0045151
Revenue is $9,000 and costs are $4,000. What is the profit margin as a percent of revenue (one decimal)? Let the code do the arithmetic: ```python revenue = 9000 costs = 4000 profit = revenue - costs # 5000 margin = profit / revenue * 100 # 55.55555555555556 print(round(margin, 1)) ``` Execution result — 55.6 Profi...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "55.6", "printed": "55.6", "notation": null}
nlprog_det-setting-0045152
How many weekdays (Monday to Friday) fall after September 1, 2027 up to and including October 1, 2027? We can compute it in Python. ```python from datetime import date, timedelta start = date(2027, 9, 1) end = date(2027, 10, 1) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).wee...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
160
{"gold": "22", "printed": "22", "notation": null}
nlprog_det-setting-0045153
<|start|><|user|> A penalty of $250 a day accrues, capped at $5,000. What is owed after 28 days?<|eot|> <|assistant|> ```python per_day = 250 days = 28 cap = 5000 fine = min(per_day * days, cap) # 5000 print(fine) ``` The program prints: 5000 The fine is $5,000.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $250 a day accrues, capped at $5,000. What is owed after 28 days?" }, { "role": "assistant", "content": "```python\nper_day = 250\ndays = 28\ncap = 5000\nfine = min(per_day * days, cap) # 5000\nprint(fine)\n```\nThe program prints: 5000\n\nThe fine is ...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "5000", "printed": "5000", "notation": null}
nlprog_det-setting-0045154
With 6 rows of 9 chairs and 34 empty chairs, how many chairs are taken? In Python: ```python rows = 6 per_row = 9 empty = 34 seated = rows * per_row - empty # 20 print(seated) ``` This prints 20, as expected. 20 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0045155
<|start|><|user|> A $2,500 security deposit has deductions of $200 and $200. How much is refunded?<|eot|> <|assistant|> ```python deposit = 2500 deductions = [200, 200] refund = deposit - sum(deductions) # 2100 print(refund) ``` It outputs 2100. $2,100 is returned.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A $2,500 security deposit has deductions of $200 and $200. How much is refunded?" }, { "role": "assistant", "content": "```python\ndeposit = 2500\ndeductions = [200, 200]\nrefund = deposit - sum(deductions) # 2100\nprint(refund)\n```\nIt outputs 2100.\n\n$2,100 is ...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "2100", "printed": "2100", "notation": null}
nlprog_det-setting-0045156
Equal monthly payments repay $9,000 plus 10% simple yearly interest over 24 months. How large is a payment? The monthly payment is $450.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0045158
The meal allowance is $59 per day. What is it for 4 days? Let's compute it with Python. ```python days = 4 meal_rate = 59 total = days * meal_rate # 236 print(total) ``` # console output: 236 That comes to $236.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "236", "printed": "236", "notation": null}
nlprog_det-setting-0045159
How many of 263 votes make 60% (round up)? import math voters = 263 needed = math.ceil(voters * 60 / 100) print(needed) (Run result: 158) At least 158 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
67
{"gold": "158", "printed": "158", "notation": null}
nlprog_det-setting-0045160
Revenue is $41,000 and costs are $36,000. What is the profit margin as a percent of revenue (one decimal)? As Python: ```python revenue = 41000 costs = 36000 profit = revenue - costs # 5000 margin = profit / revenue * 100 # 12.195121951219512 print(round(margin, 1)) ``` Output of the run — 12.2 Profit is 12.2% of r...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "12.2", "printed": "12.2", "notation": null}
nlprog_det-setting-0045161
<|start|><|user|> Nadia was born on November 28, 1972. How old is Nadia on December 18, 2024?<|eot|> <|assistant|> from datetime import date born = date(1972, 11, 28) # datetime.date(1972, 11, 28) on = date(2024, 12, 18) # datetime.date(2024, 12, 18) age = on.year - born.year - ((on.month, on.day) < (...
chat
[ { "role": "user", "content": "Nadia was born on November 28, 1972. How old is Nadia on December 18, 2024?" }, { "role": "assistant", "content": " from datetime import date\n born = date(1972, 11, 28) # datetime.date(1972, 11, 28)\n on = date(2024, 12, 18) # datetime.date(2024, 12, 18)...
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0045162
One can of paint covers 400 square feet. How many cans are needed for 274 square feet of wall? ```python import math area = 274 coverage = 400 cans = math.ceil(area / coverage) # 1 print(cans) ``` Executing it gives 1. 1 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0045163
<|start|><|user|> Yara earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 47-hour week?<|eot|> <|assistant|> ```python rate = 16.0 hours = 47 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 168.0 pay = regular + overtime # 808.0 print(f"{pay:.2f}") ``` (Printed: 808....
chat
[ { "role": "user", "content": "Yara earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 47-hour week?" }, { "role": "assistant", "content": "```python\nrate = 16.0\nhours = 47\nregular = 40 * rate # 640.0\novertime = (hours - 40) * rate * 1.5 # 168.0\npay = regular...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "808.00", "printed": "808.00", "notation": null}
nlprog_det-setting-0045164
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> A $96 dinner bill gets a 20% tip, and 2 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 96 tip_rate = 20 / 100 people = 2 each = bill * (1 + tip_rate) / people print(f"{each:.2f}") ``` Result: 57.60 The share...
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "A $96 dinner bill gets a 20% tip, and 2 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 96\ntip_rate = 20 / 100\npeople = 2\...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "57.60", "printed": "57.60", "notation": null}
nlprog_det-setting-0045165
Of a $10,000 budget, $2,100 has been spent. What percent is that? One way, in code: ```python budget = 10000 spent = 2100 percent = spent / budget * 100 # 21.0 print(round(percent, 1)) ``` Printed: 21.0 That is 21.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "21.0", "printed": "21.0", "notation": null}
nlprog_det-setting-0045166
How many 2-foot square tiles cover a 16 ft by 11 ft floor (round up)? Python, step by step: ```python import math length = 16 width = 11 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 44 print(tiles) ``` The run gives 44, as expected. It takes 44 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "44", "printed": "44", "notation": null}
nlprog_det-setting-0045167
<|start|><|system|> You have access to these functions: {"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}} {"name": "code_runner", "description": "Executes Python code and returns stdout.", "paramet...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}\n{\"name\": \"code_runner\", \"descripti...
nlprog_det
setting
original
null
deterministic
[]
[]
306
{"gold": "70.00", "printed": "70.00", "notation": null}
nlprog_det-setting-0045168
<|start|><|user|> One can of paint covers 300 square feet. How many cans are needed for 1092 square feet of wall?<|eot|> <|assistant|> ```python import math area = 1092 coverage = 300 cans = math.ceil(area / coverage) # 4 print(cans) ``` It prints 4, as expected. Buy 4 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 300 square feet. How many cans are needed for 1092 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1092\ncoverage = 300\ncans = math.ceil(area / coverage) # 4\nprint(cans)\n```\nIt prints 4, as expe...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0045169
162 copies of a 58-page packet are printed at $0.15 per page. What is the cost? We write it as a program: ```python pages = 58 copies = 162 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 1409.3999999999999 print(f"{cost:.2f}") ``` Executed, it shows: 1409.40 Printing costs $1,409.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "1409.40", "printed": "1409.40", "notation": null}
nlprog_det-setting-0045171
<|start|><|system|> You are a precise assistant.<|eot|> <|user|> A measure needs at least 60% of 22 votes. How many votes is that, rounded up?<|eot|> <|assistant|> ```python import math voters = 22 needed = math.ceil(voters * 60 / 100) # 14 print(needed) ``` When run, it prints 14. At least 14 votes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a precise assistant." }, { "role": "user", "content": "A measure needs at least 60% of 22 votes. How many votes is that, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 22\nneeded = math.ceil(voters * 60 / 10...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0045172
A customer buys 3 mugs at $22 each, 3 paper reams at $13 each and pays with $150. How much change is due? Here's the code. ```python items = [(3, 22), (3, 13)] total = sum(q * p for q, p in items) # 105 paid = 150 change = paid - total # 45 print(change) ``` Output of the run: 45 $45 comes back.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "45", "printed": "45", "notation": null}
nlprog_det-setting-0045173
<|start|><|user|> Starting from $8,000, the team spends $2,996, $714, $2,101, $2,441. What remains?<|eot|> <|assistant|> ```python budget = 8000 expenses = [2996, 714, 2101, 2441] left = budget - sum(expenses) print(left) ``` Interpreter output — -252 The remaining budget is -$252.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting from $8,000, the team spends $2,996, $714, $2,101, $2,441. What remains?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nexpenses = [2996, 714, 2101, 2441]\nleft = budget - sum(expenses)\nprint(left)\n```\nInterpreter output — -252\n\nThe r...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "-252", "printed": "-252", "notation": null}
nlprog_det-setting-0045174
<|start|><|user|> Divide 295 items among 3 groups as evenly as possible with equal groups. How many per group, and how many remain?<|eot|> <|assistant|> ```python total = 295 groups = 3 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Executing it gives: 98 each, 1 left...
chat
[ { "role": "user", "content": "Divide 295 items among 3 groups as evenly as possible with equal groups. How many per group, and how many remain?" }, { "role": "assistant", "content": "```python\ntotal = 295\ngroups = 3\nper_group, remainder = divmod(total, groups)\nprint(f\"{per_group} each, {rem...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "98 each, 1 left over", "printed": "98 each, 1 left over", "notation": null}
nlprog_det-setting-0045175
A car travels 256 miles in 2 hours. What is its average speed in miles per hour? It averages 128 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "128", "printed": "128", "notation": null}
nlprog_det-setting-0045176
Goods bought on October 5, 2026 carry a 36-month warranty. When does it expire? Computation in Python: ```python from datetime import date start = date(2026, 10, 5) months = 36 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "2029-10-05", "printed": "2029-10-05", "notation": null}
nlprog_det-setting-0045177
<|start|><|user|> 21 flash drives cost $3 apiece. With 7% tax added, what is the total?<|eot|> <|assistant|> quantity = 21 unit_price = 3 subtotal = quantity * unit_price # 63 total = subtotal * (1 + 7 / 100) # 67.41000000000001 print(f"{total:.2f}") Running it prints 67.41, as expected. The invo...
chat
[ { "role": "user", "content": "21 flash drives cost $3 apiece. With 7% tax added, what is the total?" }, { "role": "assistant", "content": " quantity = 21\n unit_price = 3\n subtotal = quantity * unit_price # 63\n total = subtotal * (1 + 7 / 100) # 67.41000000000001\n print(f\"{t...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "67.41", "printed": "67.41", "notation": null}
nlprog_det-setting-0045178
Fines run at $250 per day up to a maximum of $5,000. How much after 60 days? The computation: ```python per_day = 250 days = 60 cap = 5000 fine = min(per_day * days, cap) # 5000 print(fine) ``` The code prints 5000. The fine is $5,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "5000", "printed": "5000", "notation": null}
nlprog_det-setting-0045179
A quorum is 1/3 of the 40 members, rounded up. How many members make a quorum? As Python: import math members = 40 quorum = math.ceil(members * 1 / 3) # 14 print(quorum) stdout: 14 That is 14 members.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0045180
From 2006 to 2027, how many years is that? Program: ```python start_year = 2006 end_year = 2027 print(end_year - start_year) ``` Run result: 21 That is 21 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
67
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0045181
A 10-day notice period begins on November 23, 2019. On what date does it end? One way, in code: ```python from datetime import date, timedelta start = date(2019, 11, 23) end = start + timedelta(days=10) print(end.isoformat()) ``` Out: 2019-12-03 That date is December 3, 2019.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "2019-12-03", "printed": "2019-12-03", "notation": null}
nlprog_det-setting-0045182
One can of paint covers 400 square feet. How many cans are needed for 1359 square feet of wall? We can compute it in Python. ```python import math area = 1359 coverage = 400 cans = math.ceil(area / coverage) # 4 print(cans) ``` The run gives 4, as expected. Buy 4 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0045183
<|start|><|user|> Someone works 16 hours at $23.63 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 23.63 hours = 16 earnings = rate * hours # 378.08 print(f"{earnings:.2f}") ``` The run gives 378.08, as expected. The pay is $378.08.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 16 hours at $23.63 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 23.63\nhours = 16\nearnings = rate * hours # 378.08\nprint(f\"{earnings:.2f}\")\n```\nThe run gives 378.08, as expected.\n\nThe pay is $378.08...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "378.08", "printed": "378.08", "notation": null}
nlprog_det-setting-0045184
<|start|><|user|> Counting the first and last day, how many days are there from May 2, 2026 through May 20, 2026?<|eot|> <|assistant|> ```python from datetime import date first = date(2026, 5, 2) last = date(2026, 5, 20) days = (last - first).days + 1 print(days) ``` What it prints: 19 That is 19 days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting the first and last day, how many days are there from May 2, 2026 through May 20, 2026?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2026, 5, 2)\nlast = date(2026, 5, 20)\ndays = (last - first).days + 1\nprint(day...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0045186
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "math_engine", "description": "Execu...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\...
nlprog_det
setting
original
null
deterministic
[]
[]
299
{"gold": "3100", "printed": "3100", "notation": null}
nlprog_det-setting-0045187
<|start|><|user|> From a $10,000 retainer, 3 hours at $250/hour have been drawn. What remains?<|eot|> <|assistant|> ```python retainer = 10000 hours = 3 rate = 250 left = retainer - hours * rate # 9250 print(left) ``` # console output: 9250 The remaining balance is $9,250.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From a $10,000 retainer, 3 hours at $250/hour have been drawn. What remains?" }, { "role": "assistant", "content": "```python\nretainer = 10000\nhours = 3\nrate = 250\nleft = retainer - hours * rate # 9250\nprint(left)\n```\n# console output: 9250\n\nThe remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "9250", "printed": "9250", "notation": null}
nlprog_det-setting-0045188
How many of 192 votes make 75% (round up)? We write it as a program: ```python import math voters = 192 needed = math.ceil(voters * 75 / 100) # 144 print(needed) ``` The script prints 144, as expected. At least 144 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "144", "printed": "144", "notation": null}
nlprog_det-setting-0045189
At 50 miles per hour, how many minutes does a 200-mile trip take? Computation in Python: ```python distance = 200 speed = 50 minutes = distance / speed * 60 # 240.0 print(round(minutes)) ``` Output: 240 The trip takes 240 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "240", "printed": "240", "notation": null}
nlprog_det-setting-0045190
<|start|><|user|> How many 2-foot square tiles cover a 6 ft by 6 ft floor (round up)?<|eot|> <|assistant|> It takes 9 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 2-foot square tiles cover a 6 ft by 6 ft floor (round up)?" }, { "role": "assistant", "content": "It takes 9 tiles." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "9", "printed": "9", "notation": null}
nlprog_det-setting-0045191
The landlord deducts $85, $150 and $85 from a $1,000 deposit. What is returned to the tenant? Python, step by step: ```python deposit = 1000 deductions = [85, 150, 85] refund = deposit - sum(deductions) # 680 print(refund) ``` On running, it outputs 680. $680 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "680", "printed": "680", "notation": null}
nlprog_det-setting-0045192
A seminar starts at 2:45 PM and lasts 50 minutes. When does it end? It ends at 3:35 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "3:35 PM", "printed": "3:35 PM", "notation": null}
nlprog_det-setting-0045193
A claim accrued on April 15, 2018. The limitations period is 3 years. On what date does it expire? As a program: ```python from datetime import date accrued = date(2018, 4, 15) # datetime.date(2018, 4, 15) years = 3 expires = accrued.replace(year=accrued.year + years) # datetime.date(2021, 4, 15) print(expires.isofo...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "2021-04-15", "printed": "2021-04-15", "notation": null}
nlprog_det-setting-0045194
<|start|><|system|> Tool definitions: [{"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}, {"name": "python_exec", "description": "Executes Python code and returns stdout.", "parameters": {"type": "obj...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}, {\"name\": \"python_exec\", \"description\": \"Executes Pyt...
nlprog_det
setting
original
null
deterministic
[]
[]
298
{"gold": "44.25", "printed": "44.25", "notation": null}
nlprog_det-setting-0045195
<|start|><|user|> Convert 8,277 CHF to USD at 1 CHF = 0.74 USD.<|eot|> <|assistant|> ```python amount = 8277 rate = 0.74 converted = amount * rate # 6124.98 print(f"{converted:.2f}") ``` Running it prints 6124.98. That is 6,124.98 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 8,277 CHF to USD at 1 CHF = 0.74 USD." }, { "role": "assistant", "content": "```python\namount = 8277\nrate = 0.74\nconverted = amount * rate # 6124.98\nprint(f\"{converted:.2f}\")\n```\nRunning it prints 6124.98.\n\nThat is 6,124.98 USD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "6124.98", "printed": "6124.98", "notation": null}