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-0060228
Find the mean of these test scores: 68, 91, 98, 88, 93 and 72. The computation: ```python scores = [68, 91, 98, 88, 93, 72] average = sum(scores) // len(scores) # 85 print(average) ``` What it prints: 85 The average score is 85.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "85", "printed": "85", "notation": null}
nlprog_det-setting-0060229
<|start|><|user|> How many days are there from April 15, 2027 to April 19, 2028?<|eot|> <|assistant|> There are 370 days between the two dates.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many days are there from April 15, 2027 to April 19, 2028?" }, { "role": "assistant", "content": "There are 370 days between the two dates." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "370", "printed": "370", "notation": null}
nlprog_det-setting-0060230
<|start|><|user|> A $1,200 loan carries 8% simple annual interest over 24 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> ```python principal = 1200 annual_rate = 8 / 100 # 0.08 months = 24 interest = principal * annual_rate * months / 12 # 192.0 payment...
chat
[ { "role": "user", "content": "A $1,200 loan carries 8% simple annual interest over 24 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", "content": "```python\nprincipal = 1200\nannual_rate = 8 / 100 # 0.08\nmonths = 24\ninteres...
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "58.00", "printed": "58.00", "notation": null}
nlprog_det-setting-0060231
Convert 3 h 18 min (the length of a film) to minutes. As a program: ```python hours = 3 minutes = 18 total_minutes = hours * 60 + minutes print(total_minutes) ``` The program prints 198. That is 198 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "198", "printed": "198", "notation": null}
nlprog_det-setting-0060232
<|start|><|system|> Functions: [{"name": "py_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Lena was born on February 13, ...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"py_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"scri...
nlprog_det
setting
original
null
deterministic
[]
[]
240
{"gold": "56", "printed": "56", "notation": null}
nlprog_det-setting-0060233
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "python_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippe...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"python_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"descriptio...
nlprog_det
setting
original
null
deterministic
[]
[]
305
{"gold": "23520", "printed": "23520", "notation": null}
nlprog_det-setting-0060235
<|start|><|system|> Tool definitions: [{"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}, {"name": "code_runner", "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\": \"code_runner\", \"description\": \"Executes Pyt...
nlprog_det
setting
original
null
deterministic
[]
[]
278
{"gold": "1050.00", "printed": "1050.00", "notation": null}
nlprog_det-setting-0060236
3 clients win $48,000. The lawyer takes 25%, and the rest is split equally. How much does each client get? The program: ```python award = 48000 fee = award * 25 / 100 # 12000.0 remaining = award - fee # 36000.0 per_client = remaining / 3 # 12000.0 print(f"{per_client:.2f}") ``` This prints 12000.00, as expected. E...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "12000.00", "printed": "12000.00", "notation": null}
nlprog_det-setting-0060238
<|start|><|user|> Sales went from 200 to 280. What is the percent change?<|eot|> <|assistant|> The change is 40%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sales went from 200 to 280. What is the percent change?" }, { "role": "assistant", "content": "The change is 40%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0060239
From a $5,000 retainer, 7 hours at $150/hour have been drawn. What remains? A short script: ```python retainer = 5000 hours = 7 rate = 150 left = retainer - hours * rate # 3950 print(left) ``` When run, it prints: 3950 $3,950 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "3950", "printed": "3950", "notation": null}
nlprog_det-setting-0060240
Water costs $20 a month plus $4.75 for each 1,000 gallons over 0,000. What is owed for 9,000 gallons? Script: base = 20 rate = 4.75 used = 9 free = 0 bill = base + rate * max(0, used - free) # 62.75 print(f"{bill:.2f}") # out: 62.75 The bill is $62.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "62.75", "printed": "62.75", "notation": null}
nlprog_det-setting-0060241
After a 25% fee is taken from a $60,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share? In Python: ```python award = 60000 fee = award * 25 / 100 # 15000.0 remaining = award - fee # 45000.0 per_client = remaining / 2 # 22500.0 print(f"{per_client:.2f}") ``` Output of the run — 22...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "22500.00", "printed": "22500.00", "notation": null}
nlprog_det-setting-0060242
<|start|><|user|> The rules require 2/3 of 45 members (round up) to be present. How many is that?<|eot|> <|assistant|> ```python import math members = 45 quorum = math.ceil(members * 2 / 3) # 30 print(quorum) ``` Output: 30 30 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The rules require 2/3 of 45 members (round up) to be present. How many is that?" }, { "role": "assistant", "content": "```python\nimport math\nmembers = 45\nquorum = math.ceil(members * 2 / 3) # 30\nprint(quorum)\n```\nOutput: 30\n\n30 members are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0060243
<|start|><|user|> Counting only Monday through Friday, how many business days are there after August 12, 2028 through August 31, 2028?<|eot|> <|assistant|> 14 weekdays.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after August 12, 2028 through August 31, 2028?" }, { "role": "assistant", "content": "14 weekdays." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0060244
<|start|><|user|> Find the mean of these test scores: 72, 98 and 94.<|eot|> <|assistant|> ```python scores = [72, 98, 94] average = sum(scores) // len(scores) # 88 print(average) ``` It prints 88. The average score is 88.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Find the mean of these test scores: 72, 98 and 94." }, { "role": "assistant", "content": "```python\nscores = [72, 98, 94]\naverage = sum(scores) // len(scores) # 88\nprint(average)\n```\nIt prints 88.\n\nThe average score is 88." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "88", "printed": "88", "notation": null}
nlprog_det-setting-0060245
<|start|><|user|> Notice was given on January 25, 2027. The notice period is 90 days. When does it run out?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2027, 1, 25) end = start + timedelta(days=90) print(end.isoformat()) ``` (stdout: 2027-04-25) It ends on April 25, 2027.<|eot|> <|...
chat
[ { "role": "user", "content": "Notice was given on January 25, 2027. The notice period is 90 days. When does it run out?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2027, 1, 25)\nend = start + timedelta(days=90)\nprint(end.isoformat())\n```...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "2027-04-25", "printed": "2027-04-25", "notation": null}
nlprog_det-setting-0060246
Emeka has 5 documents to file, and each filing costs $25. How much are the filing fees in total? In Python: ```python fee = 25 filings = 5 total = fee * filings # 125 print(total) ``` # printed: 125 The filings cost $125 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "125", "printed": "125", "notation": null}
nlprog_det-setting-0060247
Sara's scores were 97, 96, 68 and 71. What is the average score? Python code: ```python scores = [97, 96, 68, 71] average = sum(scores) // len(scores) # 83 print(average) ``` The run gives 83. The mean is 83.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "83", "printed": "83", "notation": null}
nlprog_det-setting-0060248
Convert 73.5 km to meters. Python makes this quick: ```python km = 73.5 meters = km * 1000 # 73500.0 print(round(meters)) ``` Printed = 73500 That is 73,500 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "73500", "printed": "73500", "notation": null}
nlprog_det-setting-0060249
<|start|><|user|> At an exchange rate of 1.08 EUR per USD, how many EUR is 635 USD?<|eot|> <|assistant|> ```python amount = 635 rate = 1.08 converted = amount * rate # 685.8000000000001 print(f"{converted:.2f}") ``` Output: 685.80 That is 685.80 EUR.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 1.08 EUR per USD, how many EUR is 635 USD?" }, { "role": "assistant", "content": "```python\namount = 635\nrate = 1.08\nconverted = amount * rate # 685.8000000000001\nprint(f\"{converted:.2f}\")\n```\nOutput:\n685.80\n\nThat is 685.80 EUR." ...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "685.80", "printed": "685.80", "notation": null}
nlprog_det-setting-0060250
How many whole days and leftover hours are in 190 hours? ```python hours = 190 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` The script prints 7 days and 22 hours. 190 hours is 7 days and 22 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "7 days and 22 hours", "printed": "7 days and 22 hours", "notation": null}
nlprog_det-setting-0060251
Scale 300 g of lentils from 4 servings to 10 servings. ```python grams = 300 serves = 4 needed_for = 10 scaled = grams * needed_for // serves print(scaled) ``` Shell output — 750 Use 750 g of lentils.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0060252
<|start|><|user|> A 6% increase is applied to $1,250 monthly rent. What is the new amount?<|eot|> <|assistant|> ```python rent = 1250 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 1325.0 print(f"{new_rent:.2f}") ``` Console output: 1325.00 The new rent is $1,325.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 6% increase is applied to $1,250 monthly rent. What is the new amount?" }, { "role": "assistant", "content": "```python\nrent = 1250\nincrease = 6 / 100 # 0.06\nnew_rent = rent * (1 + increase) # 1325.0\nprint(f\"{new_rent:.2f}\")\n```\nConsole output: 1325.00\n...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "1325.00", "printed": "1325.00", "notation": null}
nlprog_det-setting-0060253
5 friends split a $240 bill plus a 15% tip evenly. How much does each pay? Let's compute it with Python. ```python bill = 240 tip_rate = 15 / 100 # 0.15 people = 5 each = bill * (1 + tip_rate) / people # 55.2 print(f"{each:.2f}") ``` stdout — 55.20 Each person pays $55.20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "55.20", "printed": "55.20", "notation": null}
nlprog_det-setting-0060254
<|start|><|user|> A penalty of $250 a day accrues, capped at $5,000. What is owed after 20 days?<|eot|> <|assistant|> ```python per_day = 250 days = 20 cap = 5000 fine = min(per_day * days, cap) # 5000 print(fine) ``` The program prints 5000, as expected. 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 20 days?" }, { "role": "assistant", "content": "```python\nper_day = 250\ndays = 20\ncap = 5000\nfine = min(per_day * days, cap) # 5000\nprint(fine)\n```\nThe program prints 5000, as expected.\n\...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "5000", "printed": "5000", "notation": null}
nlprog_det-setting-0060255
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> With 8 rows of 13 chairs and 31 empty chairs, how many chairs are taken?<|eot|> <|assistant|> ```python rows = 8 per_row = 13 empty = 31 seated = rows * per_row - empty print(seated) ``` The run gives: 73 73 seats are taken.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "With 8 rows of 13 chairs and 31 empty chairs, how many chairs are taken?" }, { "role": "assistant", "content": "```python\nrows = 8\nper_row = 13\nempty = 31\nseated = rows * per_row - empty\npri...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "73", "printed": "73", "notation": null}
nlprog_det-setting-0060256
Sales went from 200 to 300. What is the percent change? It changed by 50%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
23
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0060257
<|start|><|user|> 27 keyboards cost $9 apiece. With 10% tax added, what is the total?<|eot|> <|assistant|> ```python quantity = 27 unit_price = 9 subtotal = quantity * unit_price # 243 total = subtotal * (1 + 10 / 100) # 267.3 print(f"{total:.2f}") ``` # output: 267.30 The total with tax is $267.30.<|eot|> <|end|>
chat
[ { "role": "user", "content": "27 keyboards cost $9 apiece. With 10% tax added, what is the total?" }, { "role": "assistant", "content": "```python\nquantity = 27\nunit_price = 9\nsubtotal = quantity * unit_price # 243\ntotal = subtotal * (1 + 10 / 100) # 267.3\nprint(f\"{total:.2f}\")\n```\n# ...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "267.30", "printed": "267.30", "notation": null}
nlprog_det-setting-0060258
Rent of $1,800 goes up 2%. What is the new rent? Python code: ```python rent = 1800 increase = 2 / 100 # 0.02 new_rent = rent * (1 + increase) # 1836.0 print(f"{new_rent:.2f}") ``` On running, it outputs: 1836.00 It rises to $1,836.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "1836.00", "printed": "1836.00", "notation": null}
nlprog_det-setting-0060259
What average speed covers 202 miles in 2 hours? Python makes this quick: distance = 202 hours = 2 speed = distance / hours # 101.0 print(round(speed)) It prints 101. The average speed is 101 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
66
{"gold": "101", "printed": "101", "notation": null}
nlprog_det-setting-0060260
<|start|><|user|> With 40% off, what does a $250 bicycle helmet cost?<|eot|> <|assistant|> ```python price = 250 discount = 40 / 100 # 0.4 sale_price = price * (1 - discount) # 150.0 print(f"{sale_price:.2f}") ``` The interpreter prints: 150.00 It costs $150.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 40% off, what does a $250 bicycle helmet cost?" }, { "role": "assistant", "content": "```python\nprice = 250\ndiscount = 40 / 100 # 0.4\nsale_price = price * (1 - discount) # 150.0\nprint(f\"{sale_price:.2f}\")\n```\nThe interpreter prints: 150.00\n\nIt costs...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "150.00", "printed": "150.00", "notation": null}
nlprog_det-setting-0060261
<|start|><|user|> Count 14 days forward from June 14, 2026. What date is that?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 6, 14) end = start + timedelta(days=14) print(end.isoformat()) ``` That prints 2026-06-28. The period ends on June 28, 2026.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Count 14 days forward from June 14, 2026. What date is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 6, 14)\nend = start + timedelta(days=14)\nprint(end.isoformat())\n```\nThat prints 2026-06-28.\n\n...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "2026-06-28", "printed": "2026-06-28", "notation": null}
nlprog_det-setting-0060262
<|start|><|user|> 4 books come back 29 days late, at $0.15 a day each. What is the fine?<|eot|> <|assistant|> per_day = 0.15 days_late = 29 books = 4 fine = per_day * days_late * books # 17.4 print(f"{fine:.2f}") Out = 17.40 $17.40 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 books come back 29 days late, at $0.15 a day each. What is the fine?" }, { "role": "assistant", "content": " per_day = 0.15\n days_late = 29\n books = 4\n fine = per_day * days_late * books # 17.4\n print(f\"{fine:.2f}\")\nOut = 17.40\n\n$17.40 is ...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "17.40", "printed": "17.40", "notation": null}
nlprog_det-setting-0060263
<|start|><|system|> Tool definitions: [{"name": "sandbox_python", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}, {"name": "get_weather", "description": "Ge...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"sandbox_python\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"s...
nlprog_det
setting
original
null
deterministic
[]
[]
292
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0060264
<|start|><|user|> 2 clients win $30,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> Each client gets $10,500.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "2 clients win $30,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "Each client gets $10,500.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "10500.00", "printed": "10500.00", "notation": null}
nlprog_det-setting-0060265
Someone works 12 hours at $16.58 per hour. What are the earnings? A short script: ```python rate = 16.58 hours = 12 earnings = rate * hours # 198.95999999999998 print(f"{earnings:.2f}") ``` The code prints: 198.96 The pay is $198.96.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "198.96", "printed": "198.96", "notation": null}
nlprog_det-setting-0060266
<|start|><|user|> Split $623 between Reza and Mateo in the ratio 3 to 4. What is Reza's share?<|eot|> <|assistant|> Reza's share is $267.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $623 between Reza and Mateo in the ratio 3 to 4. What is Reza's share?" }, { "role": "assistant", "content": "Reza's share is $267." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "267", "printed": "267", "notation": null}
nlprog_det-setting-0060267
<|start|><|user|> How many minutes pass from 11:21 AM to 5:45 PM on the same day?<|eot|> <|assistant|> It is 384 minutes long.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 11:21 AM to 5:45 PM on the same day?" }, { "role": "assistant", "content": "It is 384 minutes long." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "384", "printed": "384", "notation": null}
nlprog_det-setting-0060268
A $24,000 grant pays $3,000 up front and the rest in 6 equal installments. How large is each installment? Let's compute it with Python. ```python grant = 24000 up_front = 3000 installments = 6 each = (grant - up_front) / installments # 3500.0 print(f"{each:.2f}") ``` # console output: 3500.00 Each installment is $3,...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "3500.00", "printed": "3500.00", "notation": null}
nlprog_det-setting-0060269
After a 25% fee is taken from a $96,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? As Python: award = 96000 fee = award * 25 / 100 # 24000.0 remaining = award - fee # 72000.0 per_client = remaining / 3 # 24000.0 print(f"{per_client:.2f}") Executing it giv...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "24000.00", "printed": "24000.00", "notation": null}
nlprog_det-setting-0060270
Delia earns a 3% commission on $11,116 of sales. What is the commission? ```python sales = 11116 rate = 3 / 100 commission = sales * rate print(f"{commission:.2f}") ``` # printed: 333.48 Delia earns $333.48.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "333.48", "printed": "333.48", "notation": null}
nlprog_det-setting-0060271
To read 700 pages in 20 days, how many pages per day are needed? Programmatically: ```python pages = 700 days = 20 per_day = pages // days # 35 print(per_day) ``` Output of the run — 35 35 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0060272
A library charges $0.20 per book per day late. What is the fine for 2 books that are 21 days late? Written as code: ```python per_day = 0.2 days_late = 21 books = 2 fine = per_day * days_late * books # 8.4 print(f"{fine:.2f}") ``` This prints 8.40, as expected. The fine is $8.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "8.40", "printed": "8.40", "notation": null}
nlprog_det-setting-0060274
<|start|><|user|> An unpaid balance of $4,000 accrues 2% simple interest per month. How much interest accrues in 5 months?<|eot|> <|assistant|> ```python balance = 4000 monthly_rate = 2 / 100 months = 5 interest = balance * monthly_rate * months print(f"{interest:.2f}") ``` Output — 400.00 $400.00 accrues.<|eot|> <|en...
chat
[ { "role": "user", "content": "An unpaid balance of $4,000 accrues 2% simple interest per month. How much interest accrues in 5 months?" }, { "role": "assistant", "content": "```python\nbalance = 4000\nmonthly_rate = 2 / 100\nmonths = 5\ninterest = balance * monthly_rate * months\nprint(f\"{inter...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "400.00", "printed": "400.00", "notation": null}
nlprog_det-setting-0060276
A 12-month warranty starts on February 8, 2020. On what date does it end? Python code: from datetime import date start = date(2020, 2, 8) months = 12 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) Shell...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "2021-02-08", "printed": "2021-02-08", "notation": null}
nlprog_det-setting-0060277
What simple interest does $2,500 earn at 2% a year over 3 years? Computation in Python: ```python principal = 2500 rate = 2 / 100 # 0.02 years = 3 interest = principal * rate * years # 150.0 print(f"{interest:.2f}") ``` The program prints: 150.00 It earns $150.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "150.00", "printed": "150.00", "notation": null}
nlprog_det-setting-0060278
After a 40% fee is taken from a $72,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? The Python version: ```python award = 72000 fee = award * 40 / 100 # 28800.0 remaining = award - fee # 43200.0 per_client = remaining / 3 # 14400.0 print(f"{per_client:.2f}") ``` Python prints...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "14400.00", "printed": "14400.00", "notation": null}
nlprog_det-setting-0060279
How many 2-foot square tiles cover a 8 ft by 12 ft floor (round up)? Script: ```python import math length = 8 width = 12 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 24 print(tiles) ``` This prints 24, as expected. It takes 24 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0060280
A car travels 351 miles in 1 hours. What is its average speed in miles per hour? Python, step by step: ```python distance = 351 hours = 1 speed = distance / hours # 351.0 print(round(speed)) ``` The run gives 351, as expected. It averages 351 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "351", "printed": "351", "notation": null}
nlprog_det-setting-0060281
A 45-day notice period begins on July 14, 2020. On what date does it end? As Python: ```python from datetime import date, timedelta start = date(2020, 7, 14) # datetime.date(2020, 7, 14) end = start + timedelta(days=45) # datetime.date(2020, 8, 28) print(end.isoformat()) ``` Printed result — 2020-08-28 It ends on A...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "2020-08-28", "printed": "2020-08-28", "notation": null}
nlprog_det-setting-0060282
<|start|><|user|> A penalty of $250 a day accrues, capped at $1,000. What is owed after 6 days?<|eot|> <|assistant|> The fine is $1,000.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $250 a day accrues, capped at $1,000. What is owed after 6 days?" }, { "role": "assistant", "content": "The fine is $1,000." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0060283
<|start|><|system|> Answer accurately and briefly.<|eot|> <|user|> One can of paint covers 250 square feet. How many cans are needed for 406 square feet of wall?<|eot|> <|assistant|> ```python import math area = 406 coverage = 250 cans = math.ceil(area / coverage) # 2 print(cans) ``` Output — 2 2 cans are needed.<|eo...
chat
[ { "role": "system", "content": "Answer accurately and briefly." }, { "role": "user", "content": "One can of paint covers 250 square feet. How many cans are needed for 406 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 406\ncoverage = 250\nc...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0060284
The rules require 3/5 of 60 members (round up) to be present. How many is that? ```python import math members = 60 quorum = math.ceil(members * 3 / 5) # 36 print(quorum) ``` The program prints 36. 36 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0060285
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> What percentage of $8,000 is $7,600?<|eot|> <|assistant|> ```python budget = 8000 spent = 7600 percent = spent / budget * 100 print(round(percent, 1)) ``` The program prints 95.0, as expected. That is 95.0% of the budget.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "What percentage of $8,000 is $7,600?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nspent = 7600\npercent = spent / budget * 100\nprint(round(percent, 1))\n```\...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "95.0", "printed": "95.0", "notation": null}
nlprog_det-setting-0060287
<|start|><|user|> Walls total 601 sq ft and each can covers 400 sq ft. How many cans should be bought?<|eot|> <|assistant|> ```python import math area = 601 coverage = 400 cans = math.ceil(area / coverage) print(cans) ``` The run gives 2, as expected. 2 cans are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Walls total 601 sq ft and each can covers 400 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": "```python\nimport math\narea = 601\ncoverage = 400\ncans = math.ceil(area / coverage)\nprint(cans)\n```\nThe run gives 2, as expected.\n\n2 ca...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0060288
A 160-page report must be reviewed in 16 days. How many pages a day is that, evenly? ```python pages = 160 days = 16 per_day = pages // days # 10 print(per_day) ``` On running, it outputs: 10 10 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0060289
<|start|><|system|> Tool definitions: [{"name": "code_runner", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Copies cost $10 plus $0.25 for each page...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"code_runner\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"script\"]}}]" ...
nlprog_det
setting
original
null
deterministic
[]
[]
243
{"gold": "22.50", "printed": "22.50", "notation": null}
nlprog_det-setting-0060290
Farah was born on March 3, 1957. How old is Farah on April 7, 2021? We write it as a program: ```python from datetime import date born = date(1957, 3, 3) on = date(2021, 4, 7) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) print(age) ``` Program output — 64 The age is 64 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "64", "printed": "64", "notation": null}
nlprog_det-setting-0060291
53 copies of a 36-page packet are printed at $0.05 per page. What is the cost? Python version: ```python pages = 36 copies = 53 cost_per_page = 0.05 cost = pages * copies * cost_per_page # 95.4 print(f"{cost:.2f}") ``` Executing it gives 95.40. The job costs $95.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "95.40", "printed": "95.40", "notation": null}
nlprog_det-setting-0060292
Prorate $900 of monthly rent for 7 days of a 31-day month. Programmatically: rent = 900 days_in_month = 31 days_occupied = 7 prorated = rent * days_occupied / days_in_month # 203.2258064516129 print(f"{prorated:.2f}") Program output — 203.23 The prorated rent is $203.23.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "203.23", "printed": "203.23", "notation": null}
nlprog_det-setting-0060293
<|start|><|system|> Available functions (JSON Schema): [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "interpreter", "description": "Execu...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\", \...
nlprog_det
setting
original
null
deterministic
[]
[]
364
{"gold": "2028-06-14", "printed": "2028-06-14", "notation": null}
nlprog_det-setting-0060294
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "python_exec", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> A ...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"python_exec\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code...
nlprog_det
setting
original
null
deterministic
[]
[]
228
{"gold": "36.00", "printed": "36.00", "notation": null}
nlprog_det-setting-0060295
<|start|><|user|> A service costs $9 a month or $96 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> ```python monthly = 9 yearly = 96 savings = monthly * 12 - yearly # 12 print(savings) ``` That prints 12. $12 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $9 a month or $96 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "```python\nmonthly = 9\nyearly = 96\nsavings = monthly * 12 - yearly # 12\nprint(savings)\n```\nThat prints 12.\n\n$12 is s...
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0060296
<|start|><|system|> Tool definitions: [{"name": "calc", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> At an exchange rate of 1.31 CAD per US...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"calc\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"script\"]}}]...
nlprog_det
setting
original
null
deterministic
[]
[]
217
{"gold": "2684.19", "printed": "2684.19", "notation": null}
nlprog_det-setting-0060297
Prorate $2,400 of monthly rent for 5 days of a 31-day month. Computing it: ```python rent = 2400 days_in_month = 31 days_occupied = 5 prorated = rent * days_occupied / days_in_month # 387.0967741935484 print(f"{prorated:.2f}") ``` # output: 387.10 The prorated rent is $387.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "387.10", "printed": "387.10", "notation": null}
nlprog_det-setting-0060298
<|start|><|system|> Answer accurately and briefly.<|eot|> <|user|> 29 ink cartridges cost $9 apiece. With 8% tax added, what is the total?<|eot|> <|assistant|> ```python quantity = 29 unit_price = 9 subtotal = quantity * unit_price # 261 total = subtotal * (1 + 8 / 100) # 281.88 print(f"{total:.2f}") ``` When run, it...
chat
[ { "role": "system", "content": "Answer accurately and briefly." }, { "role": "user", "content": "29 ink cartridges cost $9 apiece. With 8% tax added, what is the total?" }, { "role": "assistant", "content": "```python\nquantity = 29\nunit_price = 9\nsubtotal = quantity * unit_price ...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "281.88", "printed": "281.88", "notation": null}
nlprog_det-setting-0060299
Water costs $18 a month plus $4.20 for each 1,000 gallons over 0,000. What is owed for 8,000 gallons? ```python base = 18 rate = 4.2 used = 8 free = 0 bill = base + rate * max(0, used - free) # 51.6 print(f"{bill:.2f}") ``` The printout reads: 51.60 The bill is $51.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "51.60", "printed": "51.60", "notation": null}
nlprog_det-setting-0060300
3 swims at 400 calories each burn how many calories in total? Programmatically: ```python per_session = 400 sessions = 3 total = per_session * sessions # 1200 print(total) ``` Run it and it prints: 1200 1200 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "1200", "printed": "1200", "notation": null}
nlprog_det-setting-0060301
<|start|><|user|> A claim accrued on July 20, 2013. The limitations period is 5 years. On what date does it expire?<|eot|> <|assistant|> ```python from datetime import date accrued = date(2013, 7, 20) # datetime.date(2013, 7, 20) years = 5 expires = accrued.replace(year=accrued.year + years) # datetime.date(2018, 7, ...
chat
[ { "role": "user", "content": "A claim accrued on July 20, 2013. The limitations period is 5 years. On what date does it expire?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\naccrued = date(2013, 7, 20) # datetime.date(2013, 7, 20)\nyears = 5\nexpires = accrued.rep...
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2018-07-20", "printed": "2018-07-20", "notation": null}
nlprog_det-setting-0060302
A court charges $5 per request plus $0.50 per page after the first 0 pages. What does a 16-page copy cost? Python: ```python pages = 16 base = 5 per_page = 0.5 free_pages = 0 cost = base + max(0, pages - free_pages) * per_page # 13.0 print(f"{cost:.2f}") ``` Running it prints 13.00, as expected. The total is $13.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "13.00", "printed": "13.00", "notation": null}
nlprog_det-setting-0060303
Convert 25 °C to Fahrenheit. The program: ```python celsius = 25 fahrenheit = celsius * 9 / 5 + 32 # 77.0 print(round(fahrenheit)) ``` Out: 77 It equals 77 degrees Fahrenheit.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "77", "printed": "77", "notation": null}
nlprog_det-setting-0060304
A storeroom has 344 headsets. The office uses 27 a day. How many are left after 12 days? Program: ```python stock = 344 per_day = 27 days = 12 left = stock - per_day * days # 20 print(left) ``` Console: 20 20 headsets are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0060305
A storeroom has 854 file boxes. The office uses 23 a day. How many are left after 12 days? Here is a short program for it. ```python stock = 854 per_day = 23 days = 12 left = stock - per_day * days # 578 print(left) ``` Out: 578 578 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "578", "printed": "578", "notation": null}
nlprog_det-setting-0060306
Printing costs 12 cents a page. What does it cost to print 94 copies of a 33-page handout? Here is the program. ```python pages = 33 copies = 94 cost_per_page = 0.12 cost = pages * copies * cost_per_page # 372.24 print(f"{cost:.2f}") ``` stdout: 372.24 The job costs $372.24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "372.24", "printed": "372.24", "notation": null}
nlprog_det-setting-0060307
<|start|><|user|> Sales went from 2,000 to 1,000. What is the percent change?<|eot|> <|assistant|> It changed by -50%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sales went from 2,000 to 1,000. What is the percent change?" }, { "role": "assistant", "content": "It changed by -50%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "-50", "printed": "-50", "notation": null}
nlprog_det-setting-0060308
At a 7% tax rate, what is the tax on $169.74? The tax is $11.88.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "11.88", "printed": "11.88", "notation": null}
nlprog_det-setting-0060309
<|start|><|user|> A board has 34 members. A majority is more than half. How many votes make a majority?<|eot|> <|assistant|> ```python members = 34 majority = members // 2 + 1 # 18 print(majority) ``` (Output: 18) That is 18 members.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A board has 34 members. A majority is more than half. How many votes make a majority?" }, { "role": "assistant", "content": "```python\nmembers = 34\nmajority = members // 2 + 1 # 18\nprint(majority)\n```\n(Output: 18)\n\nThat is 18 members." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0060310
<|start|><|system|> Tool definitions: {"name": "interpreter", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}<|eot|> <|user|> From 2015 to 2041, how many years is...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"interpreter\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"script\"]...
nlprog_det
setting
original
null
deterministic
[]
[]
184
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0060311
Tomas was born on November 17, 1985. How old is Tomas on January 28, 2025? Python does the arithmetic: ```python from datetime import date born = date(1985, 11, 17) # datetime.date(1985, 11, 17) on = date(2025, 1, 28) # datetime.date(2025, 1, 28) age = on.year - born.year - ((on.month, on.day) < (born.month, born.da...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "39", "printed": "39", "notation": null}
nlprog_det-setting-0060312
Divide 280 items among 8 groups as evenly as possible with equal groups. How many per group, and how many remain? The Python version: ```python total = 280 groups = 8 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Out: 35 each, 0 left over The answer: 35 each, 0 lef...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "35 each, 0 left over", "printed": "35 each, 0 left over", "notation": null}
nlprog_det-setting-0060313
<|start|><|user|> At a 4% tax rate, what is the tax on $191.04?<|eot|> <|assistant|> The tax is $7.64.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At a 4% tax rate, what is the tax on $191.04?" }, { "role": "assistant", "content": "The tax is $7.64." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "7.64", "printed": "7.64", "notation": null}
nlprog_det-setting-0060314
<|start|><|user|> Split $2,668 between Ines and Nilufar in the ratio 1 to 3. What is Ines's share?<|eot|> <|assistant|> ```python total = 2668 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) print(share_a) ``` Printed: 667 Ines's share is $667.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $2,668 between Ines and Nilufar in the ratio 1 to 3. What is Ines's share?" }, { "role": "assistant", "content": "```python\ntotal = 2668\nparts_a = 1\nparts_b = 3\nshare_a = total * parts_a // (parts_a + parts_b)\nprint(share_a)\n```\nPrinted:\n667\n\nInes's ...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "667", "printed": "667", "notation": null}
nlprog_det-setting-0060315
<|start|><|system|> Tools you may use: [{"name": "calc", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}, {"name": "convert_units", "description": "Convert a...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"calc\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code\"]...
nlprog_det
setting
original
null
deterministic
[]
[]
325
{"gold": "79", "printed": "79", "notation": null}
nlprog_det-setting-0060316
<|start|><|user|> How many 1-foot square tiles cover a 18 ft by 7 ft floor (round up)?<|eot|> <|assistant|> ```python import math length = 18 width = 7 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 126 print(tiles) ``` # printed: 126 126 tiles are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many 1-foot square tiles cover a 18 ft by 7 ft floor (round up)?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 18\nwidth = 7\ntile = 1\ntiles = math.ceil(length * width / (tile * tile)) # 126\nprint(tiles)\n```\n# printed: 126\n\n126 t...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "126", "printed": "126", "notation": null}
nlprog_det-setting-0060317
<|start|><|user|> 4 bike rides at 350 calories each burn how many calories in total?<|eot|> <|assistant|> 1400 calories in total.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 bike rides at 350 calories each burn how many calories in total?" }, { "role": "assistant", "content": "1400 calories in total." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "1400", "printed": "1400", "notation": null}
nlprog_det-setting-0060318
Split $4,319 between Yoko and Eamon in the ratio 2 to 5. What is Yoko's share? Yoko's share is $1,234.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "1234", "printed": "1234", "notation": null}
nlprog_det-setting-0060319
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "python_exec", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> One ...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"python_exec\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\...
nlprog_det
setting
original
null
deterministic
[]
[]
229
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0060320
A party has 21 days to respond to a motion served on April 15, 2018, with 3 days added because service was by mail. When is the response due? Coded up: ```python from datetime import date, timedelta served = date(2018, 4, 15) # datetime.date(2018, 4, 15) response_days = 21 mail_days = 3 due = served + timedelta(days=...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
171
{"gold": "2018-05-09", "printed": "2018-05-09", "notation": null}
nlprog_det-setting-0060321
Counting only Monday through Friday, how many business days are there after March 15, 2018 through April 8, 2018? The computation: ```python from datetime import date, timedelta start = date(2018, 3, 15) end = date(2018, 4, 8) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).week...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0060322
<|start|><|user|> An unpaid balance of $1,000 accrues 1.5% simple interest per month. How much interest accrues in 4 months?<|eot|> <|assistant|> The interest is $60.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An unpaid balance of $1,000 accrues 1.5% simple interest per month. How much interest accrues in 4 months?" }, { "role": "assistant", "content": "The interest is $60.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "60.00", "printed": "60.00", "notation": null}
nlprog_det-setting-0060323
At 2% a month (simple), what interest builds on $2,500 over 5 months? The interest is $250.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "250.00", "printed": "250.00", "notation": null}
nlprog_det-setting-0060324
An office budget of $5,000 has expenses of $3,493, $686, $1,248. How much of the budget is left? Computing it: ```python budget = 5000 expenses = [3493, 686, 1248] left = budget - sum(expenses) # -427 print(left) ``` Console output — -427 -$427 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "-427", "printed": "-427", "notation": null}
nlprog_det-setting-0060325
What average speed covers 124 miles in 0.5 hours? As Python: ```python distance = 124 hours = 0.5 speed = distance / hours # 248.0 print(round(speed)) ``` The script prints 248. The average speed is 248 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "248", "printed": "248", "notation": null}
nlprog_det-setting-0060326
Notice was given on February 14, 2026. The notice period is 60 days. When does it run out? Here is a short program for it. ```python from datetime import date, timedelta start = date(2026, 2, 14) # datetime.date(2026, 2, 14) end = start + timedelta(days=60) # datetime.date(2026, 4, 15) print(end.isoformat()) ``` Exe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "2026-04-15", "printed": "2026-04-15", "notation": null}
nlprog_det-setting-0060327
<|start|><|user|> A penalty of $100 a day accrues, capped at $2,500. What is owed after 22 days?<|eot|> <|assistant|> per_day = 100 days = 22 cap = 2500 fine = min(per_day * days, cap) # 2200 print(fine) Run it and it prints 2200. The fine is $2,200.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $100 a day accrues, capped at $2,500. What is owed after 22 days?" }, { "role": "assistant", "content": " per_day = 100\n days = 22\n cap = 2500\n fine = min(per_day * days, cap) # 2200\n print(fine)\nRun it and it prints 2200.\n\nThe fi...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "2200", "printed": "2200", "notation": null}
nlprog_det-setting-0060328
<|start|><|user|> Under a 30% contingency agreement, what fee is owed on a $150,000 award?<|eot|> <|assistant|> ```python recovery = 150000 rate = 30 / 100 # 0.3 fee = recovery * rate # 45000.0 print(f"{fee:.2f}") ``` Result — 45000.00 The lawyer's fee comes to $45,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 30% contingency agreement, what fee is owed on a $150,000 award?" }, { "role": "assistant", "content": "```python\nrecovery = 150000\nrate = 30 / 100 # 0.3\nfee = recovery * rate # 45000.0\nprint(f\"{fee:.2f}\")\n```\nResult — 45000.00\n\nThe lawyer's fee ...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "45000.00", "printed": "45000.00", "notation": null}
nlprog_det-setting-0060329
A 39 lb package ships at $5 base plus $1.20/lb. What is the charge? Here is a short program for it. ```python base = 5 per_pound = 1.2 weight = 39 cost = base + per_pound * weight # 51.8 print(f"{cost:.2f}") ``` The program outputs 51.80. The charge is $51.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "51.80", "printed": "51.80", "notation": null}
nlprog_det-setting-0060330
<|start|><|system|> You may call the tools below. [{"name": "calculator", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Prorate $1,200...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"calculator\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"req...
nlprog_det
setting
original
null
deterministic
[]
[]
239
{"gold": "851.61", "printed": "851.61", "notation": null}
nlprog_det-setting-0060331
Attendance was 46 out of 50. Express it as a percent. Attendance was 92.0%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "92.0", "printed": "92.0", "notation": null}
nlprog_det-setting-0060332
At an exchange rate of 1.35 USD per EUR, how many USD is 1,974 EUR? Program: ```python amount = 1974 rate = 1.35 converted = amount * rate # 2664.9 print(f"{converted:.2f}") ``` The program prints 2664.90. It converts to 2,664.90 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "2664.90", "printed": "2664.90", "notation": null}