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-0075490
Monthly: $9. Annual: $72. What is saved per year by paying annually? Python: ```python monthly = 9 yearly = 72 savings = monthly * 12 - yearly # 36 print(savings) ``` # execution result: 36 $36 is saved.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0075491
A lease runs for 18 months at $3,250 per month. How much rent is paid over the whole term? A few lines of Python do it: ```python monthly_rent = 3250 months = 18 total = monthly_rent * months # 58500 print(total) ``` Executing it gives 58500. In total, $58,500 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "58500", "printed": "58500", "notation": null}
nlprog_det-setting-0075492
<|start|><|user|> Count the days between May 13, 2026 and August 25, 2026.<|eot|> <|assistant|> ```python from datetime import date first = date(2026, 5, 13) # datetime.date(2026, 5, 13) second = date(2026, 8, 25) # datetime.date(2026, 8, 25) print((second - first).days) ``` stdout = 104 There are 104 days between t...
chat
[ { "role": "user", "content": "Count the days between May 13, 2026 and August 25, 2026." }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2026, 5, 13) # datetime.date(2026, 5, 13)\nsecond = date(2026, 8, 25) # datetime.date(2026, 8, 25)\nprint((second - f...
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "104", "printed": "104", "notation": null}
nlprog_det-setting-0075493
A meal costs $113.81. How much is a 22% tip? Python: bill = 113.81 tip_rate = 22 / 100 # 0.22 tip = bill * tip_rate # 25.0382 print(f"{tip:.2f}") Running it prints 25.04, as expected. Leave $25.04.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "25.04", "printed": "25.04", "notation": null}
nlprog_det-setting-0075494
<|start|><|user|> A measure needs at least 60% of 290 votes. How many votes is that, rounded up?<|eot|> <|assistant|> ```python import math voters = 290 needed = math.ceil(voters * 60 / 100) # 174 print(needed) ``` # console output: 174 At least 174 votes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A measure needs at least 60% of 290 votes. How many votes is that, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 290\nneeded = math.ceil(voters * 60 / 100) # 174\nprint(needed)\n```\n# console output: 174\n\nAt least 174 votes....
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "174", "printed": "174", "notation": null}
nlprog_det-setting-0075495
<|start|><|system|> Available functions (JSON Schema): {"name": "convert_units", "description": "Convert a quantity between units.", "parameters": {"type": "object", "properties": {"value": {"type": "number"}, "from_unit": {"type": "string"}, "to_unit": {"type": "string"}}, "required": ["value", "from_unit", "to_unit"]...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"}, \"to_unit\": {\"type\": ...
nlprog_det
setting
original
null
deterministic
[]
[]
434
{"gold": "3000.00", "printed": "3000.00", "notation": null}
nlprog_det-setting-0075497
<|start|><|system|> Keep explanations short.<|eot|> <|user|> After an initial $6,000, the remainder of a $30,000 grant is paid in 6 equal parts. What is each part?<|eot|> <|assistant|> grant = 30000 up_front = 6000 installments = 6 each = (grant - up_front) / installments # 4000.0 print(f"{each:.2f...
chat
[ { "role": "system", "content": "Keep explanations short." }, { "role": "user", "content": "After an initial $6,000, the remainder of a $30,000 grant is paid in 6 equal parts. What is each part?" }, { "role": "assistant", "content": " grant = 30000\n up_front = 6000\n install...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "4000.00", "printed": "4000.00", "notation": null}
nlprog_det-setting-0075498
Equal monthly payments repay $2,400 plus 10% simple yearly interest over 12 months. How large is a payment? Computation in Python: ```python principal = 2400 annual_rate = 10 / 100 # 0.1 months = 12 interest = principal * annual_rate * months / 12 # 240.0 payment = (principal + interest) / months # 220.0 print(f"{p...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "220.00", "printed": "220.00", "notation": null}
nlprog_det-setting-0075499
What is the total rent on a 24-month lease at $2,875 a month? ```python monthly_rent = 2875 months = 24 total = monthly_rent * months print(total) ``` Run result — 69000 In total, $69,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "69000", "printed": "69000", "notation": null}
nlprog_det-setting-0075500
<|start|><|user|> Printing costs 15 cents a page. What does it cost to print 175 copies of a 35-page handout?<|eot|> <|assistant|> ```python pages = 35 copies = 175 cost_per_page = 0.15 cost = pages * copies * cost_per_page print(f"{cost:.2f}") ``` Output = 918.75 The job costs $918.75.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 15 cents a page. What does it cost to print 175 copies of a 35-page handout?" }, { "role": "assistant", "content": "```python\npages = 35\ncopies = 175\ncost_per_page = 0.15\ncost = pages * copies * cost_per_page\nprint(f\"{cost:.2f}\")\n```\nOutput =...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "918.75", "printed": "918.75", "notation": null}
nlprog_det-setting-0075501
Fines run at $100 per day up to a maximum of $1,000. How much after 55 days? Translated to Python: ```python per_day = 100 days = 55 cap = 1000 fine = min(per_day * days, cap) # 1000 print(fine) ``` Result: 1000 $1,000 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0075502
<|start|><|system|> You can call tools. Available tools: [{"name": "math_engine", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}, {"name": "fetch_filing"...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"math_engine\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}...
nlprog_det
setting
original
null
deterministic
[]
[]
298
{"gold": "1636", "printed": "1636", "notation": null}
nlprog_det-setting-0075503
<|start|><|user|> The bridge was finished in 2003. How many years had passed by 2031?<|eot|> <|assistant|> ```python start_year = 2003 end_year = 2031 print(end_year - start_year) ``` (Console output: 28) That is 28 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The bridge was finished in 2003. How many years had passed by 2031?" }, { "role": "assistant", "content": "```python\nstart_year = 2003\nend_year = 2031\nprint(end_year - start_year)\n```\n(Console output: 28)\n\nThat is 28 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "28", "printed": "28", "notation": null}
nlprog_det-setting-0075504
Counting the first and last day, how many days are there from September 13, 2020 through September 24, 2020? A few lines of Python do it: ```python from datetime import date first = date(2020, 9, 13) # datetime.date(2020, 9, 13) last = date(2020, 9, 24) # datetime.date(2020, 9, 24) days = (last - first).days + 1 # ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0075505
<|start|><|system|> You have access to these functions: [{"name": "code_runner", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Divide 103 items among...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"code_runner\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\":...
nlprog_det
setting
original
null
deterministic
[]
[]
238
{"gold": "20 each, 3 left over", "printed": "20 each, 3 left over", "notation": null}
nlprog_det-setting-0075507
Counting only Monday through Friday, how many business days are there after November 27, 2028 through January 1, 2029? Python code: ```python from datetime import date, timedelta start = date(2028, 11, 27) end = date(2029, 1, 1) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(days=k)).we...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
160
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0075508
<|start|><|user|> The firm was founded in 1996. How many years had passed by 2003?<|eot|> <|assistant|> ```python start_year = 1996 end_year = 2003 print(end_year - start_year) ``` Python prints 7. 7 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The firm was founded in 1996. How many years had passed by 2003?" }, { "role": "assistant", "content": "```python\nstart_year = 1996\nend_year = 2003\nprint(end_year - start_year)\n```\nPython prints 7.\n\n7 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
72
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0075509
Papers were served by mail on March 3, 2028. A response is due 21 days after service, plus 3 extra days for mailing. What is the due date? We can compute it in Python. from datetime import date, timedelta served = date(2028, 3, 3) # datetime.date(2028, 3, 3) response_days = 21 mail_days = 3 due = ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
176
{"gold": "2028-03-27", "printed": "2028-03-27", "notation": null}
nlprog_det-setting-0075510
A jacket costs $300. It is 15% off. What is the sale price? Set it up in Python: ```python price = 300 discount = 15 / 100 # 0.15 sale_price = price * (1 - discount) # 255.0 print(f"{sale_price:.2f}") ``` (Output: 255.00) It costs $255.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "255.00", "printed": "255.00", "notation": null}
nlprog_det-setting-0075511
<|start|><|user|> What average speed covers 588 miles in 2 hours?<|eot|> <|assistant|> ```python distance = 588 hours = 2 speed = distance / hours # 294.0 print(round(speed)) ``` stdout — 294 The average speed is 294 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 588 miles in 2 hours?" }, { "role": "assistant", "content": "```python\ndistance = 588\nhours = 2\nspeed = distance / hours # 294.0\nprint(round(speed))\n```\nstdout — 294\n\nThe average speed is 294 mph." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "294", "printed": "294", "notation": null}
nlprog_det-setting-0075512
A $800 security deposit has deductions of $75 and $120. How much is refunded? Here is a short program for it. ```python deposit = 800 deductions = [75, 120] refund = deposit - sum(deductions) # 605 print(refund) ``` # stdout: 605 The refund is $605.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "605", "printed": "605", "notation": null}
nlprog_det-setting-0075513
<|start|><|user|> A bicycle helmet costs $45. It is 20% off. What is the sale price?<|eot|> <|assistant|> ```python price = 45 discount = 20 / 100 # 0.2 sale_price = price * (1 - discount) # 36.0 print(f"{sale_price:.2f}") ``` Run result: 36.00 It costs $36.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A bicycle helmet costs $45. It is 20% off. What is the sale price?" }, { "role": "assistant", "content": "```python\nprice = 45\ndiscount = 20 / 100 # 0.2\nsale_price = price * (1 - discount) # 36.0\nprint(f\"{sale_price:.2f}\")\n```\nRun result: 36.00\n\nIt costs...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "36.00", "printed": "36.00", "notation": null}
nlprog_det-setting-0075514
<|start|><|user|> A $150 dinner bill gets a 18% tip, and 6 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 150 tip_rate = 18 / 100 # 0.18 people = 6 each = bill * (1 + tip_rate) / people # 29.5 print(f"{each:.2f}") ``` (Output: 29.50) Each person pays $29.50.<|eot|> ...
chat
[ { "role": "user", "content": "A $150 dinner bill gets a 18% tip, and 6 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 150\ntip_rate = 18 / 100 # 0.18\npeople = 6\neach = bill * (1 + tip_rate) / people # 29.5\nprint(f\"{each:...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "29.50", "printed": "29.50", "notation": null}
nlprog_det-setting-0075515
From a $2,500 retainer, 9 hours at $275/hour have been drawn. What remains? Python code: ```python retainer = 2500 hours = 9 rate = 275 left = retainer - hours * rate # 25 print(left) ``` On running, it outputs 25. The remaining balance is $25.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0075516
<|start|><|system|> Write short, precise answers.<|eot|> <|user|> An unpaid balance of $12,000 accrues 2% simple interest per month. How much interest accrues in 4 months?<|eot|> <|assistant|> ```python balance = 12000 monthly_rate = 2 / 100 # 0.02 months = 4 interest = balance * monthly_rate * months # 960.0 print(f...
chat
[ { "role": "system", "content": "Write short, precise answers." }, { "role": "user", "content": "An unpaid balance of $12,000 accrues 2% simple interest per month. How much interest accrues in 4 months?" }, { "role": "assistant", "content": "```python\nbalance = 12000\nmonthly_rate = ...
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "960.00", "printed": "960.00", "notation": null}
nlprog_det-setting-0075518
<|start|><|user|> A recipe for 4 people uses 450 grams of sugar. How many grams are needed for 12 people?<|eot|> <|assistant|> 1350 grams of sugar are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 4 people uses 450 grams of sugar. How many grams are needed for 12 people?" }, { "role": "assistant", "content": "1350 grams of sugar are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "1350", "printed": "1350", "notation": null}
nlprog_det-setting-0075519
<|start|><|user|> A client paid a $10,000 retainer. The firm has billed 8 hours at $250 per hour. How much of the retainer is left?<|eot|> <|assistant|> retainer = 10000 hours = 8 rate = 250 left = retainer - hours * rate # 8000 print(left) The interpreter prints 8000. The remaining balance is $8,...
chat
[ { "role": "user", "content": "A client paid a $10,000 retainer. The firm has billed 8 hours at $250 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": " retainer = 10000\n hours = 8\n rate = 250\n left = retainer - hours * rate # 8000\n print(left)\...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "8000", "printed": "8000", "notation": null}
nlprog_det-setting-0075520
A recipe for 2 people uses 200 grams of sugar. How many grams are needed for 10 people? The computation: ```python grams = 200 serves = 2 needed_for = 10 scaled = grams * needed_for // serves # 1000 print(scaled) ``` Python prints 1000. 1000 grams of sugar are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0075521
A garage charges $3 an hour, never more than $24 a day. How much for 6 hours? Programmatically: ```python rate = 3 hours = 6 daily_max = 24 cost = min(rate * hours, daily_max) # 18 print(cost) ``` This prints 18, as expected. The charge is $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0075522
<|start|><|user|> A 3% increase is applied to $1,250 monthly rent. What is the new amount?<|eot|> <|assistant|> ```python rent = 1250 increase = 3 / 100 # 0.03 new_rent = rent * (1 + increase) # 1287.5 print(f"{new_rent:.2f}") ``` Executed, it shows 1287.50. The new rent is $1,287.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 3% increase is applied to $1,250 monthly rent. What is the new amount?" }, { "role": "assistant", "content": "```python\nrent = 1250\nincrease = 3 / 100 # 0.03\nnew_rent = rent * (1 + increase) # 1287.5\nprint(f\"{new_rent:.2f}\")\n```\nExecuted, it shows 1287.5...
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "1287.50", "printed": "1287.50", "notation": null}
nlprog_det-setting-0075523
<|start|><|user|> A pack of 20 batteries sells for $140. What does each cost?<|eot|> <|assistant|> ```python total = 140 count = 20 per_item = total // count # 7 print(per_item) ``` This prints: 7 Each one costs $7.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A pack of 20 batteries sells for $140. What does each cost?" }, { "role": "assistant", "content": "```python\ntotal = 140\ncount = 20\nper_item = total // count # 7\nprint(per_item)\n```\nThis prints: 7\n\nEach one costs $7." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0075524
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> Find the mean of these test scores: 54, 93, 66, 87 and 70.<|eot|> <|assistant|> The average score is 74.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "Find the mean of these test scores: 54, 93, 66, 87 and 70." }, { "role": "assistant", "content": "The average score is 74." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "74", "printed": "74", "notation": null}
nlprog_det-setting-0075525
<|start|><|user|> A 246-page report must be reviewed in 6 days. How many pages a day is that, evenly?<|eot|> <|assistant|> ```python pages = 246 days = 6 per_day = pages // days # 41 print(per_day) ``` Interpreter output — 41 41 pages a day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 246-page report must be reviewed in 6 days. How many pages a day is that, evenly?" }, { "role": "assistant", "content": "```python\npages = 246\ndays = 6\nper_day = pages // days # 41\nprint(per_day)\n```\nInterpreter output — 41\n\n41 pages a day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0075526
15 paper reams cost $2 apiece. With 7% tax added, what is the total? Here is a short program for it. ```python quantity = 15 unit_price = 2 subtotal = quantity * unit_price # 30 total = subtotal * (1 + 7 / 100) # 32.1 print(f"{total:.2f}") ``` Running this gives 32.10. The total with tax is $32.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "32.10", "printed": "32.10", "notation": null}
nlprog_det-setting-0075527
<|start|><|user|> A recipe for 8 people uses 200 grams of pasta. How many grams are needed for 12 people?<|eot|> <|assistant|> ```python grams = 200 serves = 8 needed_for = 12 scaled = grams * needed_for // serves print(scaled) ``` This prints 300, as expected. 300 grams of pasta are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 8 people uses 200 grams of pasta. How many grams are needed for 12 people?" }, { "role": "assistant", "content": "```python\ngrams = 200\nserves = 8\nneeded_for = 12\nscaled = grams * needed_for // serves\nprint(scaled)\n```\nThis prints 300, as expecte...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0075528
What simple interest does $1,000 earn at 4% a year over 4 years? Python code: ```python principal = 1000 rate = 4 / 100 # 0.04 years = 4 interest = principal * rate * years # 160.0 print(f"{interest:.2f}") ``` Out = 160.00 The interest is $160.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "160.00", "printed": "160.00", "notation": null}
nlprog_det-setting-0075529
Parking is $2 per hour with a daily maximum of $20. What do 2 hours cost? One way, in code: ```python rate = 2 hours = 2 daily_max = 20 cost = min(rate * hours, daily_max) print(cost) ``` Execution result — 4 Parking costs $4.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0075530
Fixed costs are $9,000. Each unit sells for $30 and costs $20 to make. How many units must be sold to break even? Translated to Python: ```python import math fixed = 9000 price = 30 variable = 20 units = math.ceil(fixed / (price - variable)) # 900 print(units) ``` It prints: 900 900 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0075531
<|start|><|user|> Kaito buys 8 boxes of 25 binders each and gives away 14 binders. How many binders are left?<|eot|> <|assistant|> ```python boxes = 8 per_box = 25 given_away = 14 left = boxes * per_box - given_away # 186 print(left) ``` It prints: 186 That leaves 186 binders.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Kaito buys 8 boxes of 25 binders each and gives away 14 binders. How many binders are left?" }, { "role": "assistant", "content": "```python\nboxes = 8\nper_box = 25\ngiven_away = 14\nleft = boxes * per_box - given_away # 186\nprint(left)\n```\nIt prints: 186\n\nTh...
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "186", "printed": "186", "notation": null}
nlprog_det-setting-0075532
Carmen earns a 4% commission on $67,136 of sales. What is the commission? Here is a short program for it. ```python sales = 67136 rate = 4 / 100 # 0.04 commission = sales * rate # 2685.44 print(f"{commission:.2f}") ``` # result: 2685.44 Carmen earns $2,685.44.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "2685.44", "printed": "2685.44", "notation": null}
nlprog_det-setting-0075533
A garage charges $3 an hour, never more than $24 a day. How much for 10 hours? Python does the arithmetic: ```python rate = 3 hours = 10 daily_max = 24 cost = min(rate * hours, daily_max) # 24 print(cost) ``` Output of the run: 24 The charge is $24.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0075534
<|start|><|user|> Sales went from 2,500 to 3,750. What is the percent change?<|eot|> <|assistant|> old = 2500 new = 3750 change = (new - old) / old * 100 # 50.0 print(round(change)) Result: 50 The change is 50%.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sales went from 2,500 to 3,750. What is the percent change?" }, { "role": "assistant", "content": " old = 2500\n new = 3750\n change = (new - old) / old * 100 # 50.0\n print(round(change))\nResult: 50\n\nThe change is 50%." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0075535
After an initial $6,000, the remainder of a $48,000 grant is paid in 3 equal parts. What is each part? Code: ```python grant = 48000 up_front = 6000 installments = 3 each = (grant - up_front) / installments print(f"{each:.2f}") ``` Executing it gives 14000.00. $14,000.00 per installment.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "14000.00", "printed": "14000.00", "notation": null}
nlprog_det-setting-0075536
A 165-mile drive at a steady 30 mph takes how many minutes? In Python: ```python distance = 165 speed = 30 minutes = distance / speed * 60 # 330.0 print(round(minutes)) ``` It prints 330, as expected. The trip takes 330 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "330", "printed": "330", "notation": null}
nlprog_det-setting-0075537
With 40% off, what does a $80 backpack cost? Programmatically: ```python price = 80 discount = 40 / 100 # 0.4 sale_price = price * (1 - discount) # 48.0 print(f"{sale_price:.2f}") ``` It outputs 48.00. The sale price is $48.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "48.00", "printed": "48.00", "notation": null}
nlprog_det-setting-0075538
<|start|><|user|> Sara lends $12,000 at 5% simple interest per year for 2 years. How much interest is earned?<|eot|> <|assistant|> It earns $1,200.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sara lends $12,000 at 5% simple interest per year for 2 years. How much interest is earned?" }, { "role": "assistant", "content": "It earns $1,200.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0075539
3 runs at 250 calories each burn how many calories in total? Let's compute it with Python. per_session = 250 sessions = 3 total = per_session * sessions # 750 print(total) Execution result: 750 That burns 750 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0075541
<|start|><|user|> 5 friends split a $84 bill plus a 15% tip evenly. How much does each pay?<|eot|> <|assistant|> ```python bill = 84 tip_rate = 15 / 100 # 0.15 people = 5 each = bill * (1 + tip_rate) / people # 19.32 print(f"{each:.2f}") ``` Run result: 19.32 Each person pays $19.32.<|eot|> <|end|>
chat
[ { "role": "user", "content": "5 friends split a $84 bill plus a 15% tip evenly. How much does each pay?" }, { "role": "assistant", "content": "```python\nbill = 84\ntip_rate = 15 / 100 # 0.15\npeople = 5\neach = bill * (1 + tip_rate) / people # 19.32\nprint(f\"{each:.2f}\")\n```\nRun result: 1...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "19.32", "printed": "19.32", "notation": null}
nlprog_det-setting-0075542
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "interpreter", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"interpreter\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python...
nlprog_det
setting
original
null
deterministic
[]
[]
238
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0075543
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> A lawyer's fee is 40% of a $25,000 recovery. How large is the fee?<|eot|> <|assistant|> recovery = 25000 rate = 40 / 100 # 0.4 fee = recovery * rate # 10000.0 print(f"{fee:.2f}") Execution result: 10000.00 The fee is $10,0...
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "A lawyer's fee is 40% of a $25,000 recovery. How large is the fee?" }, { "role": "assistant", "content": " recovery = 25000\n rate = 40 / 100 # 0.4\n fee = recovery ...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "10000.00", "printed": "10000.00", "notation": null}
nlprog_det-setting-0075544
<|start|><|user|> A recipe for 6 people uses 100 grams of rice. How many grams are needed for 12 people?<|eot|> <|assistant|> ```python grams = 100 serves = 6 needed_for = 12 scaled = grams * needed_for // serves # 200 print(scaled) ``` Running this gives: 200 200 grams of rice are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 6 people uses 100 grams of rice. How many grams are needed for 12 people?" }, { "role": "assistant", "content": "```python\ngrams = 100\nserves = 6\nneeded_for = 12\nscaled = grams * needed_for // serves # 200\nprint(scaled)\n```\nRunning this gives: 2...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "200", "printed": "200", "notation": null}
nlprog_det-setting-0075545
Amir earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 46-hour week? Python, step by step: ```python rate = 25.0 hours = 46 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 225.0 pay = regular + overtime # 1225.0 print(f"{pay:.2f}") ``` Output of the run — 1225.00 ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "1225.00", "printed": "1225.00", "notation": null}
nlprog_det-setting-0075546
A lawyer's fee is 40% of a $40,000 recovery. How large is the fee? Python: ```python recovery = 40000 rate = 40 / 100 # 0.4 fee = recovery * rate # 16000.0 print(f"{fee:.2f}") ``` Run result = 16000.00 The fee is $16,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "16000.00", "printed": "16000.00", "notation": null}
nlprog_det-setting-0075547
<|start|><|user|> A customer buys 5 folders at $3 each, 4 pens at $18 each, 1 binders at $27 each and pays with $150. How much change is due?<|eot|> <|assistant|> ```python items = [(5, 3), (4, 18), (1, 27)] total = sum(q * p for q, p in items) # 114 paid = 150 change = paid - total # 36 print(change) ``` Output: 36 ...
chat
[ { "role": "user", "content": "A customer buys 5 folders at $3 each, 4 pens at $18 each, 1 binders at $27 each and pays with $150. How much change is due?" }, { "role": "assistant", "content": "```python\nitems = [(5, 3), (4, 18), (1, 27)]\ntotal = sum(q * p for q, p in items) # 114\npaid = 150\...
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0075548
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> Counting only Monday through Friday, how many business days are there after April 9, 2022 through April 22, 2022?<|eot|> <|assistant|> from datetime import date, timedelta start = date(2022, 4, 9) end = date(2022, 4, 22) count = ...
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after April 9, 2022 through April 22, 2022?" }, { "role": "assistant", "content": " from datetime import d...
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0075549
A 322-page report must be reviewed in 7 days. How many pages a day is that, evenly? That is 46 pages per day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "46", "printed": "46", "notation": null}
nlprog_det-setting-0075550
A client paid a $10,000 retainer. The firm has billed 11 hours at $150 per hour. How much of the retainer is left? Program: ```python retainer = 10000 hours = 11 rate = 150 left = retainer - hours * rate # 8350 print(left) ``` Console output — 8350 $8,350 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "8350", "printed": "8350", "notation": null}
nlprog_det-setting-0075551
After a 40% fee is taken from a $60,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share? A short script: ```python award = 60000 fee = award * 40 / 100 # 24000.0 remaining = award - fee # 36000.0 per_client = remaining / 2 # 18000.0 print(f"{per_client:.2f}") ``` Output of the run...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "18000.00", "printed": "18000.00", "notation": null}
nlprog_det-setting-0075552
<|start|><|user|> At an exchange rate of 0.74 USD per EUR, how many USD is 5,005 EUR?<|eot|> <|assistant|> That is 3,703.70 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 0.74 USD per EUR, how many USD is 5,005 EUR?" }, { "role": "assistant", "content": "That is 3,703.70 USD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "3703.70", "printed": "3703.70", "notation": null}
nlprog_det-setting-0075553
Scale 240 g of sugar from 8 servings to 10 servings. Use 300 g of sugar.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
23
{"gold": "300", "printed": "300", "notation": null}
nlprog_det-setting-0075554
At $27.31 an hour, what does 36 hours of work pay? Set it up in Python: ```python rate = 27.31 hours = 36 earnings = rate * hours # 983.16 print(f"{earnings:.2f}") ``` Output: 983.16 The pay is $983.16.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "983.16", "printed": "983.16", "notation": null}
nlprog_det-setting-0075555
Counting the first and last day, how many days are there from February 15, 2018 through February 28, 2018? In code: ```python from datetime import date first = date(2018, 2, 15) # datetime.date(2018, 2, 15) last = date(2018, 2, 28) # datetime.date(2018, 2, 28) days = (last - first).days + 1 # 14 print(days) ``` Whe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0075556
Zoe drove 163 miles for work. Mileage is reimbursed at 62 cents a mile. How much is the reimbursement? ```python miles = 163 rate = 0.62 reimbursement = miles * rate # 101.06 print(f"{reimbursement:.2f}") ``` Executing it gives 101.06, as expected. Zoe is owed $101.06.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "101.06", "printed": "101.06", "notation": null}
nlprog_det-setting-0075557
Attendance was 14 out of 25. Express it as a percent. Set it up in Python: ```python present = 14 total = 25 percent = present / total * 100 # 56.00000000000001 print(round(percent, 1)) ``` The run gives 56.0. 56.0% attended.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "56.0", "printed": "56.0", "notation": null}
nlprog_det-setting-0075559
<|start|><|system|> You are a math tutor.<|eot|> <|user|> A trial runs from February 16, 2026 to February 27, 2026, counting both days. How many calendar days is that?<|eot|> <|assistant|> from datetime import date first = date(2026, 2, 16) # datetime.date(2026, 2, 16) last = date(2026, 2, 27) # datetime....
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "A trial runs from February 16, 2026 to February 27, 2026, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": " from datetime import date\n first = date...
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0075560
<|start|><|system|> You are a math tutor.<|eot|> <|user|> Fixed costs are $4,000. Each unit sells for $25 and costs $21 to make. How many units must be sold to break even?<|eot|> <|assistant|> import math fixed = 4000 price = 25 variable = 21 units = math.ceil(fixed / (price - variable)) # 1000 ...
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "Fixed costs are $4,000. Each unit sells for $25 and costs $21 to make. How many units must be sold to break even?" }, { "role": "assistant", "content": " import math\n fixed = 4000\n pric...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0075561
575 files go into boxes of 25. How many boxes does that take? We can compute it in Python. ```python import math files = 575 per_box = 25 boxes = math.ceil(files / per_box) # 23 print(boxes) ``` The program outputs: 23 23 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0075562
Find the mean of these test scores: 87, 98, 98 and 89. Python: ```python scores = [87, 98, 98, 89] average = sum(scores) // len(scores) # 93 print(average) ``` Run it and it prints: 93 The mean is 93.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "93", "printed": "93", "notation": null}
nlprog_det-setting-0075563
A party has 28 days to respond to a motion served on October 6, 2025, with 3 days added because service was by mail. When is the response due? Code: ```python from datetime import date, timedelta served = date(2025, 10, 6) # datetime.date(2025, 10, 6) response_days = 28 mail_days = 3 due = served + timedelta(days=res...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
176
{"gold": "2025-11-06", "printed": "2025-11-06", "notation": null}
nlprog_det-setting-0075564
After a 30% fee is taken from a $48,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share? ```python award = 48000 fee = award * 30 / 100 # 14400.0 remaining = award - fee # 33600.0 per_client = remaining / 3 # 11200.0 print(f"{per_client:.2f}") ``` It outputs: 11200.00 Each share ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "11200.00", "printed": "11200.00", "notation": null}
nlprog_det-setting-0075565
After a 30% fee is taken from a $48,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share? Python, step by step: award = 48000 fee = award * 30 / 100 # 14400.0 remaining = award - fee # 33600.0 per_client = remaining / 2 # 16800.0 print(f"{per_client:.2f}") Outpu...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "16800.00", "printed": "16800.00", "notation": null}
nlprog_det-setting-0075567
What is the total rent on a 36-month lease at $3,250 a month? Program: ```python monthly_rent = 3250 months = 36 total = monthly_rent * months # 117000 print(total) ``` It prints: 117000 The rent over the term is $117,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "117000", "printed": "117000", "notation": null}
nlprog_det-setting-0075568
<|start|><|user|> At $30.70 an hour, what does 30 hours of work pay?<|eot|> <|assistant|> ```python rate = 30.7 hours = 30 earnings = rate * hours # 921.0 print(f"{earnings:.2f}") ``` It prints 921.00, as expected. The pay is $921.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $30.70 an hour, what does 30 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 30.7\nhours = 30\nearnings = rate * hours # 921.0\nprint(f\"{earnings:.2f}\")\n```\nIt prints 921.00, as expected.\n\nThe pay is $921.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "921.00", "printed": "921.00", "notation": null}
nlprog_det-setting-0075569
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> Walls total 336 sq ft and each can covers 350 sq ft. How many cans should be bought?<|eot|> <|assistant|> ```python import math area = 336 coverage = 350 cans = math.ceil(area / coverage) # 1 print(cans) ``` On running, it outputs: 1 Buy 1 cans.<|eot|> <|end|...
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "Walls total 336 sq ft and each can covers 350 sq ft. How many cans should be bought?" }, { "role": "assistant", "content": "```python\nimport math\narea = 336\ncoverage = 350\ncans = math.ceil(ar...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "1", "printed": "1", "notation": null}
nlprog_det-setting-0075570
Pay is $18.50/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 46 hours? Kofi earns $906.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
46
{"gold": "906.50", "printed": "906.50", "notation": null}
nlprog_det-setting-0075571
<|start|><|system|> Give the answer first.<|eot|> <|user|> How long, in days, is it from March 24, 2020 until October 11, 2020?<|eot|> <|assistant|> ```python from datetime import date first = date(2020, 3, 24) # datetime.date(2020, 3, 24) second = date(2020, 10, 11) # datetime.date(2020, 10, 11) print((second - firs...
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "How long, in days, is it from March 24, 2020 until October 11, 2020?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2020, 3, 24) # datetime.date(2020, ...
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "201", "printed": "201", "notation": null}
nlprog_det-setting-0075572
Paula earns a 10% commission on $20,186 of sales. What is the commission? A short script: ```python sales = 20186 rate = 10 / 100 # 0.1 commission = sales * rate # 2018.6000000000001 print(f"{commission:.2f}") ``` The program outputs 2018.60. The commission is $2,018.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "2018.60", "printed": "2018.60", "notation": null}
nlprog_det-setting-0075573
<|start|><|user|> What percentage of $2,000 is $800?<|eot|> <|assistant|> 40.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $2,000 is $800?" }, { "role": "assistant", "content": "40.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "40.0", "printed": "40.0", "notation": null}
nlprog_det-setting-0075574
How many meters are in 27.4 kilometers? Translated to Python: ```python km = 27.4 meters = km * 1000 # 27400.0 print(round(meters)) ``` # printed: 27400 That is 27,400 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "27400", "printed": "27400", "notation": null}
nlprog_det-setting-0075575
Carmen has 15 documents to file, and each filing costs $150. How much are the filing fees in total? Programmatically: ```python fee = 150 filings = 15 total = fee * filings # 2250 print(total) ``` This prints 2250, as expected. $2,250 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "2250", "printed": "2250", "notation": null}
nlprog_det-setting-0075576
Each of Farah's bike rides burns 350 calories. How many calories over 6 bike rides? As a program: ```python per_session = 350 sessions = 6 total = per_session * sessions # 2100 print(total) ``` Output of the run: 2100 2100 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "2100", "printed": "2100", "notation": null}
nlprog_det-setting-0075577
<|start|><|system|> Tools (call with JSON): [{"name": "lookup_statute", "description": "Look up the text of a U.S. Code section.", "parameters": {"type": "object", "properties": {"title": {"type": "integer"}, "section": {"type": "string"}}, "required": ["title", "section"]}}, {"name": "py_exec", "description": "Evaluat...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"lookup_statute\", \"description\": \"Look up the text of a U.S. Code section.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"integer\"}, \"section\": {\"type\": \"string\"}}, \"required\": [\"title\", ...
nlprog_det
setting
original
null
deterministic
[]
[]
315
{"gold": "6653.60", "printed": "6653.60", "notation": null}
nlprog_det-setting-0075579
With 21 rows of 17 chairs and 26 empty chairs, how many chairs are taken? We write it as a program: ```python rows = 21 per_row = 17 empty = 26 seated = rows * per_row - empty print(seated) ``` The code prints: 331 331 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "331", "printed": "331", "notation": null}
nlprog_det-setting-0075580
Attendance was 38 out of 50. Express it as a percent. One way, in code: ```python present = 38 total = 50 percent = present / total * 100 # 76.0 print(round(percent, 1)) ``` Console output: 76.0 Attendance was 76.0%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "76.0", "printed": "76.0", "notation": null}
nlprog_det-setting-0075581
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> A 24-month warranty starts on June 19, 2028. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2028, 6, 19) months = 24 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.yea...
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "A 24-month warranty starts on June 19, 2028. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2028, 6, 19)\nmon...
nlprog_det
setting
original
null
deterministic
[]
[]
162
{"gold": "2030-06-19", "printed": "2030-06-19", "notation": null}
nlprog_det-setting-0075582
A meal costs $187.12. How much is a 20% tip? Python version: ```python bill = 187.12 tip_rate = 20 / 100 # 0.2 tip = bill * tip_rate # 37.424 print(f"{tip:.2f}") ``` The program outputs: 37.42 The tip is $37.42.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "37.42", "printed": "37.42", "notation": null}
nlprog_det-setting-0075583
Flooring at $12/sq ft for a 15 ft × 8 ft room costs how much? The flooring costs $1,440.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "1440", "printed": "1440", "notation": null}
nlprog_det-setting-0075584
How many whole days and leftover hours are in 208 hours? Python code: ```python hours = 208 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Output of the run: 8 days and 16 hours That is 8 days and 16 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "8 days and 16 hours", "printed": "8 days and 16 hours", "notation": null}
nlprog_det-setting-0075585
Buying 1 staplers at $16 each, 2 file boxes at $23 each, someone hands over $100. What change comes back? Script: ```python items = [(1, 16), (2, 23)] total = sum(q * p for q, p in items) # 62 paid = 100 change = paid - total # 38 print(change) ``` Interpreter output: 38 The change is $38.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "38", "printed": "38", "notation": null}
nlprog_det-setting-0075586
Scale 240 g of rice from 4 servings to 3 servings. We write it as a program: ```python grams = 240 serves = 4 needed_for = 3 scaled = grams * needed_for // serves # 180 print(scaled) ``` The program prints: 180 Use 180 g of rice.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0075587
Paula drove 592 miles for work. Mileage is reimbursed at 58 cents a mile. How much is the reimbursement? We write it as a program: ```python miles = 592 rate = 0.58 reimbursement = miles * rate # 343.35999999999996 print(f"{reimbursement:.2f}") ``` Executing it gives: 343.36 Paula is owed $343.36.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "343.36", "printed": "343.36", "notation": null}
nlprog_det-setting-0075588
A party has 28 days to respond to a motion served on December 21, 2027, with 3 days added because service was by mail. When is the response due? Here's the code. ```python from datetime import date, timedelta served = date(2027, 12, 21) # datetime.date(2027, 12, 21) response_days = 28 mail_days = 3 due = served + tim...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
179
{"gold": "2028-01-21", "printed": "2028-01-21", "notation": null}
nlprog_det-setting-0075589
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "python_exec", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}} {"name": "fetch_f...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"python_exec\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source c...
nlprog_det
setting
original
null
deterministic
[]
[]
305
{"gold": "22526", "printed": "22526", "notation": null}
nlprog_det-setting-0075590
At an exchange rate of 1.27 EUR per USD, how many EUR is 6,002 USD? Translated to Python: amount = 6002 rate = 1.27 converted = amount * rate print(f"{converted:.2f}") Out = 7622.54 That is 7,622.54 EUR.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "7622.54", "printed": "7622.54", "notation": null}
nlprog_det-setting-0075591
What simple interest does $8,000 earn at 3% a year over 6 years? It earns $1,440.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "1440.00", "printed": "1440.00", "notation": null}
nlprog_det-setting-0075592
An office budget of $20,000 has expenses of $2,083, $1,930, $2,173, $2,473. How much of the budget is left? Written as code: ```python budget = 20000 expenses = [2083, 1930, 2173, 2473] left = budget - sum(expenses) # 11341 print(left) ``` # printed: 11341 The remaining budget is $11,341.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "11341", "printed": "11341", "notation": null}
nlprog_det-setting-0075593
Convert 5,568 GBP to USD at 1 GBP = 1.08 USD. Code: ```python amount = 5568 rate = 1.08 converted = amount * rate # 6013.4400000000005 print(f"{converted:.2f}") ``` Output of the run: 6013.44 It converts to 6,013.44 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "6013.44", "printed": "6013.44", "notation": null}
nlprog_det-setting-0075594
A 8% increase is applied to $1,250 monthly rent. What is the new amount? The new rent is $1,350.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
33
{"gold": "1350.00", "printed": "1350.00", "notation": null}
nlprog_det-setting-0075595
<|start|><|user|> A party has 30 days to respond to a motion served on January 18, 2024, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> from datetime import date, timedelta served = date(2024, 1, 18) # datetime.date(2024, 1, 18) response_days = 30 mail_day...
chat
[ { "role": "user", "content": "A party has 30 days to respond to a motion served on January 18, 2024, with 3 days added because service was by mail. When is the response due?" }, { "role": "assistant", "content": " from datetime import date, timedelta\n served = date(2024, 1, 18) # datetim...
nlprog_det
setting
original
null
deterministic
[]
[]
163
{"gold": "2024-02-20", "printed": "2024-02-20", "notation": null}
nlprog_det-setting-0075596
A measure needs at least 67% of 226 votes. How many votes is that, rounded up? ```python import math voters = 226 needed = math.ceil(voters * 67 / 100) # 152 print(needed) ``` It prints: 152 At least 152 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "152", "printed": "152", "notation": null}