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-0080550
Convert 5 h 7 min (the length of a deposition) to minutes. That is 307 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "307", "printed": "307", "notation": null}
nlprog_det-setting-0080551
<|start|><|user|> A party has 14 days to respond to a motion served on May 25, 2025, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2025, 5, 25) # datetime.date(2025, 5, 25) response_days = 14 mail_days = 3 due ...
chat
[ { "role": "user", "content": "A party has 14 days to respond to a motion served on May 25, 2025, with 3 days added because service was by mail. When is the response due?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nserved = date(2025, 5, 25) # datetime...
nlprog_det
setting
original
null
deterministic
[]
[]
179
{"gold": "2025-06-11", "printed": "2025-06-11", "notation": null}
nlprog_det-setting-0080552
What simple interest does $8,000 earn at 8% a year over 6 years? Translated to Python: ```python principal = 8000 rate = 8 / 100 # 0.08 years = 6 interest = principal * rate * years # 3840.0 print(f"{interest:.2f}") ``` The script prints: 3840.00 It earns $3,840.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "3840.00", "printed": "3840.00", "notation": null}
nlprog_det-setting-0080555
Goods bought on November 20, 2027 carry a 18-month warranty. When does it expire? Computing it: ```python from datetime import date start = date(2027, 11, 20) months = 18 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` The ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "2029-05-20", "printed": "2029-05-20", "notation": null}
nlprog_det-setting-0080556
<|start|><|system|> Tools (call with JSON): [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "code_runner", "description": "Evaluates Pytho...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\": [\"start\", \"end\"]...
nlprog_det
setting
original
null
deterministic
[]
[]
435
{"gold": "10404.00", "printed": "10404.00", "notation": null}
nlprog_det-setting-0080557
Shipping costs $8 plus $0.75 per pound. What does a 25-pound parcel cost to ship? A few lines of Python do it: ```python base = 8 per_pound = 0.75 weight = 25 cost = base + per_pound * weight # 26.75 print(f"{cost:.2f}") ``` (Console output: 26.75) The charge is $26.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "26.75", "printed": "26.75", "notation": null}
nlprog_det-setting-0080558
<|start|><|user|> With 10% off, what does a $300 filing cabinet cost?<|eot|> <|assistant|> ```python price = 300 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 270.0 print(f"{sale_price:.2f}") ``` Execution prints: 270.00 The sale price is $270.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 10% off, what does a $300 filing cabinet cost?" }, { "role": "assistant", "content": "```python\nprice = 300\ndiscount = 10 / 100 # 0.1\nsale_price = price * (1 - discount) # 270.0\nprint(f\"{sale_price:.2f}\")\n```\nExecution prints: 270.00\n\nThe sale price...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "270.00", "printed": "270.00", "notation": null}
nlprog_det-setting-0080559
<|start|><|user|> Which is cheaper per unit: 6 for $4.49 (A) or 15 for $17.11 (B)?<|eot|> <|assistant|> Pack A is cheaper per item.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Which is cheaper per unit: 6 for $4.49 (A) or 15 for $17.11 (B)?" }, { "role": "assistant", "content": "Pack A is cheaper per item." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0080560
<|start|><|user|> 3 clients win $48,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 48000 fee = award * 40 / 100 # 19200.0 remaining = award - fee # 28800.0 per_client = remaining / 3 # 9600.0 print(f"{per_client:.2f}") ``` # console out...
chat
[ { "role": "user", "content": "3 clients win $48,000. The lawyer takes 40%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 48000\nfee = award * 40 / 100 # 19200.0\nremaining = award - fee # 28800.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
136
{"gold": "9600.00", "printed": "9600.00", "notation": null}
nlprog_det-setting-0080561
A count moves from 500 to 250. By what percent did it change (use a minus sign for a drop)? The change is -50%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "-50", "printed": "-50", "notation": null}
nlprog_det-setting-0080562
A lease runs for 36 months at $3,250 per month. How much rent is paid over the whole term? We write it as a program: ```python monthly_rent = 3250 months = 36 total = monthly_rent * months # 117000 print(total) ``` stdout — 117000 The rent over the term is $117,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "117000", "printed": "117000", "notation": null}
nlprog_det-setting-0080563
Express 35 hours in days and hours. ```python hours = 35 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Running this gives: 1 days and 11 hours That is 1 days and 11 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "1 days and 11 hours", "printed": "1 days and 11 hours", "notation": null}
nlprog_det-setting-0080564
Fixed costs are $4,000. Each unit sells for $25 and costs $15 to make. How many units must be sold to break even? In Python: import math fixed = 4000 price = 25 variable = 15 units = math.ceil(fixed / (price - variable)) # 400 print(units) Out = 400 400 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0080565
Sofia earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 46-hour week? Program: ```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}") ``` # execution result: 1225.00 The weekly ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "1225.00", "printed": "1225.00", "notation": null}
nlprog_det-setting-0080566
How many minutes pass from 8:36 AM to 9:50 AM on the same day? start = 8 * 60 + 36 # 516 end = 9 * 60 + 50 # 590 print(end - start) It outputs: 74 74 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
61
{"gold": "74", "printed": "74", "notation": null}
nlprog_det-setting-0080567
<|start|><|system|> Respond clearly and to the point.<|eot|> <|user|> Malik's scores were 85, 59, 94, 81, 92, 64 and 85. What is the average score?<|eot|> <|assistant|> The average score is 80.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Respond clearly and to the point." }, { "role": "user", "content": "Malik's scores were 85, 59, 94, 81, 92, 64 and 85. What is the average score?" }, { "role": "assistant", "content": "The average score is 80." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
52
{"gold": "80", "printed": "80", "notation": null}
nlprog_det-setting-0080568
With 15% off, what does a $180 filing cabinet cost? Computing it: ```python price = 180 discount = 15 / 100 sale_price = price * (1 - discount) print(f"{sale_price:.2f}") ``` Execution prints 153.00. The sale price is $153.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "153.00", "printed": "153.00", "notation": null}
nlprog_det-setting-0080569
How many units at $30 each (variable cost $24) cover $4,000 of fixed costs? Set it up in Python: ```python import math fixed = 4000 price = 30 variable = 24 units = math.ceil(fixed / (price - variable)) # 667 print(units) ``` Printed: 667 667 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "667", "printed": "667", "notation": null}
nlprog_det-setting-0080570
A 130-mile drive at a steady 65 mph takes how many minutes? The trip takes 120 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0080571
<|start|><|user|> How many meters are in 21 kilometers?<|eot|> <|assistant|> ```python km = 21 meters = km * 1000 print(round(meters)) ``` Running it prints 21000. 21,000 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 21 kilometers?" }, { "role": "assistant", "content": "```python\nkm = 21\nmeters = km * 1000\nprint(round(meters))\n```\nRunning it prints 21000.\n\n21,000 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
70
{"gold": "21000", "printed": "21000", "notation": null}
nlprog_det-setting-0080572
<|start|><|user|> An unpaid balance of $7,500 accrues 1% simple interest per month. How much interest accrues in 4 months?<|eot|> <|assistant|> ```python balance = 7500 monthly_rate = 1 / 100 # 0.01 months = 4 interest = balance * monthly_rate * months # 300.0 print(f"{interest:.2f}") ``` (Run result: 300.00) $300.0...
chat
[ { "role": "user", "content": "An unpaid balance of $7,500 accrues 1% simple interest per month. How much interest accrues in 4 months?" }, { "role": "assistant", "content": "```python\nbalance = 7500\nmonthly_rate = 1 / 100 # 0.01\nmonths = 4\ninterest = balance * monthly_rate * months # 300.0...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "300.00", "printed": "300.00", "notation": null}
nlprog_det-setting-0080573
A 220-mile drive at a steady 60 mph takes how many minutes? 220 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
23
{"gold": "220", "printed": "220", "notation": null}
nlprog_det-setting-0080574
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}, {"name": "interpreter", "description": "A Python interpreter. Returns...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}, {\"name\": \"inter...
nlprog_det
setting
original
null
deterministic
[]
[]
298
{"gold": "28.6", "printed": "28.6", "notation": null}
nlprog_det-setting-0080575
A 5% increase is applied to $1,100 monthly rent. What is the new amount? Here's the code. ```python rent = 1100 increase = 5 / 100 # 0.05 new_rent = rent * (1 + increase) # 1155.0 print(f"{new_rent:.2f}") ``` When run, it prints: 1155.00 It rises to $1,155.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "1155.00", "printed": "1155.00", "notation": null}
nlprog_det-setting-0080576
Ivan earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 52-hour week? A Python solution: rate = 16.0 hours = 52 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 288.0 pay = regular + overtime # 928.0 print(f"{pay:.2f}") Python prints 928.00, a...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "928.00", "printed": "928.00", "notation": null}
nlprog_det-setting-0080577
<|start|><|user|> Farah's scores were 97, 59, 60, 70, 70 and 76. What is the average score?<|eot|> <|assistant|> ```python scores = [97, 59, 60, 70, 70, 76] average = sum(scores) // len(scores) # 72 print(average) ``` (Out: 72) The mean is 72.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Farah's scores were 97, 59, 60, 70, 70 and 76. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [97, 59, 60, 70, 70, 76]\naverage = sum(scores) // len(scores) # 72\nprint(average)\n```\n(Out: 72)\n\nThe mean is 72." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "72", "printed": "72", "notation": null}
nlprog_det-setting-0080578
A settlement of $960 is split equally among 3 parties. How much does each party receive? We can compute it in Python. ```python settlement = 960 parties = 3 share = settlement // parties # 320 print(share) ``` Result: 320 Each share is $320.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "320", "printed": "320", "notation": null}
nlprog_det-setting-0080579
<|start|><|user|> Xavier's scores were 85, 59, 93, 87 and 51. What is the average score?<|eot|> <|assistant|> ```python scores = [85, 59, 93, 87, 51] average = sum(scores) // len(scores) # 75 print(average) ``` (Printed result: 75) The mean is 75.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Xavier's scores were 85, 59, 93, 87 and 51. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [85, 59, 93, 87, 51]\naverage = sum(scores) // len(scores) # 75\nprint(average)\n```\n(Printed result: 75)\n\nThe mean is 75." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "75", "printed": "75", "notation": null}
nlprog_det-setting-0080580
Mei and Mateo share $4,375 in the ratio 2:5. How much does Mei get? Here is a short program for it. ```python total = 4375 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) print(share_a) ``` Output of the run — 1250 Mei gets $1,250.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "1250", "printed": "1250", "notation": null}
nlprog_det-setting-0080581
<|start|><|system|> Be concise.<|eot|> <|user|> Convert 3,745 EUR to USD at 1 EUR = 1.27 USD.<|eot|> <|assistant|> It converts to 4,756.15 USD.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be concise." }, { "role": "user", "content": "Convert 3,745 EUR to USD at 1 EUR = 1.27 USD." }, { "role": "assistant", "content": "It converts to 4,756.15 USD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
50
{"gold": "4756.15", "printed": "4756.15", "notation": null}
nlprog_det-setting-0080582
How many units at $20 each (variable cost $12) cover $2,500 of fixed costs? Python: ```python import math fixed = 2500 price = 20 variable = 12 units = math.ceil(fixed / (price - variable)) # 313 print(units) ``` Python prints 313, as expected. 313 units are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "313", "printed": "313", "notation": null}
nlprog_det-setting-0080583
<|start|><|system|> Tool definitions: [{"name": "compute", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> A $120 dinner bill gets a 2...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"compute\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\...
nlprog_det
setting
original
null
deterministic
[]
[]
228
{"gold": "48.00", "printed": "48.00", "notation": null}
nlprog_det-setting-0080584
Attendance was 178 out of 200. Express it as a percent. The Python version: ```python present = 178 total = 200 percent = present / total * 100 # 89.0 print(round(percent, 1)) ``` # program output: 89.0 89.0% attended.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "89.0", "printed": "89.0", "notation": null}
nlprog_det-setting-0080586
<|start|><|user|> A party has 28 days to respond to a motion served on January 28, 2026, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> It is due February 28, 2026.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A party has 28 days to respond to a motion served on January 28, 2026, with 3 days added because service was by mail. When is the response due?" }, { "role": "assistant", "content": "It is due February 28, 2026." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
50
{"gold": "2026-02-28", "printed": "2026-02-28", "notation": null}
nlprog_det-setting-0080587
<|start|><|system|> Available functions (JSON Schema): [{"name": "python_exec", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> A court...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"python_exec\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}},...
nlprog_det
setting
original
null
deterministic
[]
[]
261
{"gold": "20.50", "printed": "20.50", "notation": null}
nlprog_det-setting-0080588
A court charges $15 per request plus $0.50 per page after the first 10 pages. What does a 88-page copy cost? In Python: ```python pages = 88 base = 15 per_page = 0.5 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 54.0 print(f"{cost:.2f}") ``` Python prints 54.00. The copy costs $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0080589
At a 9% tax rate, what is the tax on $512.37? Written as code: ```python price = 512.37 tax_rate = 9 / 100 # 0.09 tax = price * tax_rate # 46.113299999999995 print(f"{tax:.2f}") ``` (Program output: 46.11) $46.11 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "46.11", "printed": "46.11", "notation": null}
nlprog_det-setting-0080590
<|start|><|user|> At an exchange rate of 1.31 USD per CHF, how many USD is 4,670 CHF?<|eot|> <|assistant|> ```python amount = 4670 rate = 1.31 converted = amount * rate # 6117.7 print(f"{converted:.2f}") ``` Execution result — 6117.70 That is 6,117.70 USD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At an exchange rate of 1.31 USD per CHF, how many USD is 4,670 CHF?" }, { "role": "assistant", "content": "```python\namount = 4670\nrate = 1.31\nconverted = amount * rate # 6117.7\nprint(f\"{converted:.2f}\")\n```\nExecution result — 6117.70\n\nThat is 6,117.70 US...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "6117.70", "printed": "6117.70", "notation": null}
nlprog_det-setting-0080591
<|start|><|user|> Each of Emeka's bike rides burns 250 calories. How many calories over 3 bike rides?<|eot|> <|assistant|> ```python per_session = 250 sessions = 3 total = per_session * sessions # 750 print(total) ``` The code prints 750. 750 calories in total.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each of Emeka's bike rides burns 250 calories. How many calories over 3 bike rides?" }, { "role": "assistant", "content": "```python\nper_session = 250\nsessions = 3\ntotal = per_session * sessions # 750\nprint(total)\n```\nThe code prints 750.\n\n750 calories in t...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0080592
A 12 × 10 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? Python version: import math length = 12 width = 10 tile = 1 tiles = math.ceil(length * width / (tile * tile)) print(tiles) The script prints: 120 120 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0080593
Straight-line depreciation: cost $45,000, salvage $2,000, 8 years. How much per year? A short script: ```python cost = 45000 salvage = 2000 years = 8 per_year = (cost - salvage) / years # 5375.0 print(f"{per_year:.2f}") ``` The program prints 5375.00. Depreciation is $5,375.00 per year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "5375.00", "printed": "5375.00", "notation": null}
nlprog_det-setting-0080594
<|start|><|user|> How many meters are in 40.9 kilometers?<|eot|> <|assistant|> 40,900 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 40.9 kilometers?" }, { "role": "assistant", "content": "40,900 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "40900", "printed": "40900", "notation": null}
nlprog_det-setting-0080595
Someone works 16 hours at $19.84 per hour. What are the earnings? That earns $317.44.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "317.44", "printed": "317.44", "notation": null}
nlprog_det-setting-0080596
Buying 3 envelopes at $11 each, 1 binders at $2 each, someone hands over $50. What change comes back? The change is $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0080597
Someone works 36 hours at $22.40 per hour. What are the earnings? A short script: rate = 22.4 hours = 36 earnings = rate * hours # 806.4 print(f"{earnings:.2f}") The interpreter prints 806.40. The pay is $806.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "806.40", "printed": "806.40", "notation": null}
nlprog_det-setting-0080599
How many units at $20 each (variable cost $10) cover $9,000 of fixed costs? Program: ```python import math fixed = 9000 price = 20 variable = 10 units = math.ceil(fixed / (price - variable)) print(units) ``` Running it prints 900, as expected. Break-even is 900 units.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0080600
At 1.5% a month (simple), what interest builds on $4,000 over 6 months? We write it as a program: ```python balance = 4000 monthly_rate = 1.5 / 100 # 0.015 months = 6 interest = balance * monthly_rate * months # 360.0 print(f"{interest:.2f}") ``` Output of the run: 360.00 The interest is $360.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "360.00", "printed": "360.00", "notation": null}
nlprog_det-setting-0080601
Convert 530 CHF to USD at 1 CHF = 0.74 USD. amount = 530 rate = 0.74 converted = amount * rate # 392.2 print(f"{converted:.2f}") Executed, it shows: 392.20 It converts to 392.20 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "392.20", "printed": "392.20", "notation": null}
nlprog_det-setting-0080602
<|start|><|system|> The following tools are available. Call one when it helps. {"name": "math_engine", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}<|eot|> <|user|> 5...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n{\"name\": \"math_engine\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source c...
nlprog_det
setting
original
null
deterministic
[]
[]
237
{"gold": "426.30", "printed": "426.30", "notation": null}
nlprog_det-setting-0080603
An unpaid balance of $4,000 accrues 1% simple interest per month. How much interest accrues in 5 months? Programmatically: ```python balance = 4000 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 200.0 print(f"{interest:.2f}") ``` Console: 200.00 $200.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "200.00", "printed": "200.00", "notation": null}
nlprog_det-setting-0080604
A pack of 12 binders sells for $672. What does each cost? Each one costs $56.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "56", "printed": "56", "notation": null}
nlprog_det-setting-0080605
A garage charges $2 an hour, never more than $15 a day. How much for 11 hours? One way, in code: ```python rate = 2 hours = 11 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) ``` Python prints 15. The charge is $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0080607
Idris buys 6 boxes of 6 staplers each and gives away 18 staplers. How many staplers are left? ```python boxes = 6 per_box = 6 given_away = 18 left = boxes * per_box - given_away # 18 print(left) ``` The script prints 18, as expected. 18 staplers are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0080608
Zoe was born on June 7, 1992. How old is Zoe on April 22, 2020? A short script: ```python from datetime import date born = date(1992, 6, 7) # datetime.date(1992, 6, 7) on = date(2020, 4, 22) # datetime.date(2020, 4, 22) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) # 27 print(age) ``` Th...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0080609
<|start|><|user|> A storeroom has 695 file boxes. The office uses 28 a day. How many are left after 19 days?<|eot|> <|assistant|> ```python stock = 695 per_day = 28 days = 19 left = stock - per_day * days # 163 print(left) ``` The printout reads 163. 163 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A storeroom has 695 file boxes. The office uses 28 a day. How many are left after 19 days?" }, { "role": "assistant", "content": "```python\nstock = 695\nper_day = 28\ndays = 19\nleft = stock - per_day * days # 163\nprint(left)\n```\nThe printout reads 163.\n\n163 ...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "163", "printed": "163", "notation": null}
nlprog_det-setting-0080610
<|start|><|user|> 24 of 25 members attended. What percent attended?<|eot|> <|assistant|> ```python present = 24 total = 25 percent = present / total * 100 # 96.0 print(round(percent, 1)) ``` Program output — 96.0 96.0% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "24 of 25 members attended. What percent attended?" }, { "role": "assistant", "content": "```python\npresent = 24\ntotal = 25\npercent = present / total * 100 # 96.0\nprint(round(percent, 1))\n```\nProgram output — 96.0\n\n96.0% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "96.0", "printed": "96.0", "notation": null}
nlprog_det-setting-0080611
1 books come back 18 days late, at $0.15 a day each. What is the fine? ```python per_day = 0.15 days_late = 18 books = 1 fine = per_day * days_late * books # 2.6999999999999997 print(f"{fine:.2f}") ``` Out = 2.70 The fine is $2.70.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "2.70", "printed": "2.70", "notation": null}
nlprog_det-setting-0080612
At a 6% tax rate, what is the tax on $682.86? Written as code: price = 682.86 tax_rate = 6 / 100 # 0.06 tax = price * tax_rate # 40.9716 print(f"{tax:.2f}") # console output: 40.97 $40.97 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "40.97", "printed": "40.97", "notation": null}
nlprog_det-setting-0080613
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> A customer buys 5 envelopes at $7 each, 2 water bottles at $19 each and pays with $100. How much change is due?<|eot|> <|assistant|> ```python items = [(5, 7), (2, 19)] total = sum(q * p for q, p in items) # 73 paid = 100 change = paid - total # 27 print(ch...
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "A customer buys 5 envelopes at $7 each, 2 water bottles at $19 each and pays with $100. How much change is due?" }, { "role": "assistant", "content": "```python\nitems = [(5, 7), (2, 19)]\ntota...
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0080614
<|start|><|system|> You can call tools. Available tools: {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}} {"name": "sandbox_python", "description": "Evaluates Python and returns the printed output.",...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}\n{\"name\": \"sandbox_python\", \"descript...
nlprog_det
setting
original
null
deterministic
[]
[]
316
{"gold": "31.20", "printed": "31.20", "notation": null}
nlprog_det-setting-0080616
<|start|><|user|> A kettle costs $90. It is 30% off. What is the sale price?<|eot|> <|assistant|> ```python price = 90 discount = 30 / 100 # 0.3 sale_price = price * (1 - discount) # 62.99999999999999 print(f"{sale_price:.2f}") ``` (Console output: 63.00) It costs $63.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A kettle costs $90. It is 30% off. What is the sale price?" }, { "role": "assistant", "content": "```python\nprice = 90\ndiscount = 30 / 100 # 0.3\nsale_price = price * (1 - discount) # 62.99999999999999\nprint(f\"{sale_price:.2f}\")\n```\n(Console output: 63.00)\...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "63.00", "printed": "63.00", "notation": null}
nlprog_det-setting-0080617
<|start|><|user|> Convert 7,468 USD to CAD at 1 USD = 0.92 CAD.<|eot|> <|assistant|> amount = 7468 rate = 0.92 converted = amount * rate # 6870.56 print(f"{converted:.2f}") Program output: 6870.56 That is 6,870.56 CAD.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 7,468 USD to CAD at 1 USD = 0.92 CAD." }, { "role": "assistant", "content": " amount = 7468\n rate = 0.92\n converted = amount * rate # 6870.56\n print(f\"{converted:.2f}\")\nProgram output: 6870.56\n\nThat is 6,870.56 CAD." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "6870.56", "printed": "6870.56", "notation": null}
nlprog_det-setting-0080618
<|start|><|system|> Available functions (JSON Schema): [{"name": "interpreter", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> Under a 30% contingen...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"interpreter\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\":...
nlprog_det
setting
original
null
deterministic
[]
[]
217
{"gold": "18000.00", "printed": "18000.00", "notation": null}
nlprog_det-setting-0080619
How much sales tax is charged on a $252.77 purchase at 7%? $17.69 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
27
{"gold": "17.69", "printed": "17.69", "notation": null}
nlprog_det-setting-0080620
Water costs $15 a month plus $4.20 for each 1,000 gallons over 2,000. What is owed for 17,000 gallons? Code: ```python base = 15 rate = 4.2 used = 17 free = 2 bill = base + rate * max(0, used - free) # 78.0 print(f"{bill:.2f}") ``` Executed, it shows 78.00. The bill is $78.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "78.00", "printed": "78.00", "notation": null}
nlprog_det-setting-0080623
A pack of 24 tape rolls sells for $288. What does each cost? The program: ```python total = 288 count = 24 per_item = total // count # 12 print(per_item) ``` Shell output — 12 The unit price is $12.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0080624
After an initial $6,000, the remainder of a $60,000 grant is paid in 4 equal parts. What is each part? Each installment is $13,500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "13500.00", "printed": "13500.00", "notation": null}
nlprog_det-setting-0080625
Which is cheaper per unit: 8 for $5.01 (A) or 15 for $6.88 (B)? We write it as a program: pack_a = 5.01 / 8 # 0.62625 pack_b = 6.88 / 15 # 0.45866666666666667 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) The code prints B. B has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0080626
Starting from $25,000, the team spends $1,753, $717, $3,620. What remains? One way, in code: ```python budget = 25000 expenses = [1753, 717, 3620] left = budget - sum(expenses) # 18910 print(left) ``` Output = 18910 $18,910 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "18910", "printed": "18910", "notation": null}
nlprog_det-setting-0080627
<|start|><|system|> You have access to these functions: [{"name": "python_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|> <|user|> What ...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"python_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code...
nlprog_det
setting
original
null
deterministic
[]
[]
212
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0080628
<|start|><|user|> 6.5 hours of work at $410 an hour: what is the total charge?<|eot|> <|assistant|> ```python hours = 6.5 rate = 410 bill = hours * rate # 2665.0 print(f"{bill:.2f}") ``` The program outputs: 2665.00 The bill is $2,665.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "6.5 hours of work at $410 an hour: what is the total charge?" }, { "role": "assistant", "content": "```python\nhours = 6.5\nrate = 410\nbill = hours * rate # 2665.0\nprint(f\"{bill:.2f}\")\n```\nThe program outputs: 2665.00\n\nThe bill is $2,665.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "2665.00", "printed": "2665.00", "notation": null}
nlprog_det-setting-0080629
<|start|><|user|> Convert -10 °C to Fahrenheit.<|eot|> <|assistant|> ```python celsius = -10 fahrenheit = celsius * 9 / 5 + 32 # 14.0 print(round(fahrenheit)) ``` When run, it prints: 14 It equals 14 degrees Fahrenheit.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert -10 °C to Fahrenheit." }, { "role": "assistant", "content": "```python\ncelsius = -10\nfahrenheit = celsius * 9 / 5 + 32 # 14.0\nprint(round(fahrenheit))\n```\nWhen run, it prints: 14\n\nIt equals 14 degrees Fahrenheit." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0080630
A library charges $0.25 per book per day late. What is the fine for 2 books that are 2 days late? ```python per_day = 0.25 days_late = 2 books = 2 fine = per_day * days_late * books # 1.0 print(f"{fine:.2f}") ``` Console: 1.00 $1.00 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1.00", "printed": "1.00", "notation": null}
nlprog_det-setting-0080631
Monthly rent is $1,800. A tenant moves in with 10 days left in a 30-day month. What is the prorated rent? Python makes this quick: ```python rent = 1800 days_in_month = 30 days_occupied = 10 prorated = rent * days_occupied / days_in_month # 600.0 print(f"{prorated:.2f}") ``` When run, it prints: 600.00 The prorated ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0080632
<|start|><|user|> A library charges $0.50 per book per day late. What is the fine for 2 books that are 16 days late?<|eot|> <|assistant|> ```python per_day = 0.5 days_late = 16 books = 2 fine = per_day * days_late * books # 16.0 print(f"{fine:.2f}") ``` (stdout: 16.00) $16.00 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A library charges $0.50 per book per day late. What is the fine for 2 books that are 16 days late?" }, { "role": "assistant", "content": "```python\nper_day = 0.5\ndays_late = 16\nbooks = 2\nfine = per_day * days_late * books # 16.0\nprint(f\"{fine:.2f}\")\n```\n(s...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "16.00", "printed": "16.00", "notation": null}
nlprog_det-setting-0080633
What is the total rent on a 24-month lease at $3,250 a month? Translated to Python: ```python monthly_rent = 3250 months = 24 total = monthly_rent * months # 78000 print(total) ``` The program outputs: 78000 In total, $78,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "78000", "printed": "78000", "notation": null}
nlprog_det-setting-0080634
An invoice lists 30 binders at $15 each, plus 10% sales tax. What is the invoice total? Python does the arithmetic: ```python quantity = 30 unit_price = 15 subtotal = quantity * unit_price total = subtotal * (1 + 10 / 100) print(f"{total:.2f}") ``` (Printed: 495.00) The total with tax is $495.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "495.00", "printed": "495.00", "notation": null}
nlprog_det-setting-0080635
132 of 200 members attended. What percent attended? Program: present = 132 total = 200 percent = present / total * 100 # 66.0 print(round(percent, 1)) Executing it gives 66.0. 66.0% attended.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "66.0", "printed": "66.0", "notation": null}
nlprog_det-setting-0080636
A 7-day trip pays $79 a day for meals and $175 a night for lodging (6 nights). What is the total allowance? Computation in Python: ```python days = 7 meal_rate = 79 lodging_rate = 175 nights = days - 1 # 6 total = days * meal_rate + nights * lodging_rate # 1603 print(total) ``` Result: 1603 The allowance is $1,603.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "1603", "printed": "1603", "notation": null}
nlprog_det-setting-0080637
What is a 25% tip on a $165.11 bill? We can compute it in Python. ```python bill = 165.11 tip_rate = 25 / 100 # 0.25 tip = bill * tip_rate # 41.2775 print(f"{tip:.2f}") ``` # result: 41.28 The tip is $41.28.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "41.28", "printed": "41.28", "notation": null}
nlprog_det-setting-0080638
<|start|><|user|> Pack A has 6 items for $12.23. Pack B has 20 items for $14.93. Which has the lower price per item?<|eot|> <|assistant|> ```python pack_a = 12.23 / 6 # 2.0383333333333336 pack_b = 14.93 / 20 # 0.7464999999999999 cheaper = "A" if pack_a < pack_b else "B" # 'B' print(cheaper) ``` (Result: B) Pack B i...
chat
[ { "role": "user", "content": "Pack A has 6 items for $12.23. Pack B has 20 items for $14.93. Which has the lower price per item?" }, { "role": "assistant", "content": "```python\npack_a = 12.23 / 6 # 2.0383333333333336\npack_b = 14.93 / 20 # 0.7464999999999999\ncheaper = \"A\" if pack_a < pack...
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "B", "printed": "B", "notation": null}
nlprog_det-setting-0080639
<|start|><|system|> You can call tools. Available tools: [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "convert_units", "description": "C...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\",...
nlprog_det
setting
original
null
deterministic
[]
[]
427
{"gold": "945.00", "printed": "945.00", "notation": null}
nlprog_det-setting-0080640
A client paid a $10,000 retainer. The firm has billed 6 hours at $275 per hour. How much of the retainer is left? A Python solution: ```python retainer = 10000 hours = 6 rate = 275 left = retainer - hours * rate # 8350 print(left) ``` stdout: 8350 The remaining balance is $8,350.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "8350", "printed": "8350", "notation": null}
nlprog_det-setting-0080641
What does $1,000 grow to in 2 years at 5% annual compounding? Here is a short program for it. ```python principal = 1000 rate = 5 / 100 # 0.05 years = 2 value = principal * (1 + rate) ** years # 1102.5 print(f"{value:.2f}") ``` The program prints 1102.50. It is worth $1,102.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "1102.50", "printed": "1102.50", "notation": null}
nlprog_det-setting-0080642
A 3-day trip pays $69 a day for meals and $175 a night for lodging (2 nights). What is the total allowance? A Python solution: ```python days = 3 meal_rate = 69 lodging_rate = 175 nights = days - 1 # 2 total = days * meal_rate + nights * lodging_rate # 557 print(total) ``` Program output: 557 That comes to $557.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "557", "printed": "557", "notation": null}
nlprog_det-setting-0080643
Each of Jonas's runs burns 350 calories. How many calories over 7 runs? We write it as a program: ```python per_session = 350 sessions = 7 total = per_session * sessions # 2450 print(total) ``` Execution prints: 2450 That burns 2450 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "2450", "printed": "2450", "notation": null}
nlprog_det-setting-0080644
A measure needs at least 75% of 130 votes. How many votes is that, rounded up? Python code: ```python import math voters = 130 needed = math.ceil(voters * 75 / 100) # 98 print(needed) ``` The script prints 98, as expected. At least 98 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "98", "printed": "98", "notation": null}
nlprog_det-setting-0080645
<|start|><|user|> A clerk's office charges $35 for each filing. Dara submits 5 filings. What is the total fee?<|eot|> <|assistant|> ```python fee = 35 filings = 5 total = fee * filings # 175 print(total) ``` What it prints — 175 The filings cost $175 in all.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A clerk's office charges $35 for each filing. Dara submits 5 filings. What is the total fee?" }, { "role": "assistant", "content": "```python\nfee = 35\nfilings = 5\ntotal = fee * filings # 175\nprint(total)\n```\nWhat it prints — 175\n\nThe filings cost $175 in al...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "175", "printed": "175", "notation": null}
nlprog_det-setting-0080646
<|start|><|user|> A quorum is 1/3 of the 29 members, rounded up. How many members make a quorum?<|eot|> <|assistant|> 10 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A quorum is 1/3 of the 29 members, rounded up. How many members make a quorum?" }, { "role": "assistant", "content": "10 members are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0080647
A hearing is set for December 10, 2017. What day of the week is that? Set it up in Python: ```python from datetime import date hearing = date(2017, 12, 10) print(hearing.strftime("%A")) ``` Running this gives: Sunday December 10, 2017 is a Sunday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "Sunday", "printed": "Sunday", "notation": null}
nlprog_det-setting-0080648
<|start|><|user|> A recipe for 4 people uses 100 grams of pasta. How many grams are needed for 10 people?<|eot|> <|assistant|> Use 250 g of pasta.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 4 people uses 100 grams of pasta. How many grams are needed for 10 people?" }, { "role": "assistant", "content": "Use 250 g of pasta." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "250", "printed": "250", "notation": null}
nlprog_det-setting-0080649
4 friends split a $120 bill plus a 15% tip evenly. How much does each pay? Python: ```python bill = 120 tip_rate = 15 / 100 # 0.15 people = 4 each = bill * (1 + tip_rate) / people # 34.5 print(f"{each:.2f}") ``` The program prints 34.50. Each person pays $34.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "34.50", "printed": "34.50", "notation": null}
nlprog_det-setting-0080650
An attorney bills 2.5 hours at $410 per hour. What is the bill? Code: ```python hours = 2.5 rate = 410 bill = hours * rate # 1025.0 print(f"{bill:.2f}") ``` Execution prints 1025.00. That comes to $1,025.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "1025.00", "printed": "1025.00", "notation": null}
nlprog_det-setting-0080651
Equipment costs $30,000, has a salvage value of $6,000, and a useful life of 3 years. What is the straight-line depreciation per year? As Python: ```python cost = 30000 salvage = 6000 years = 3 per_year = (cost - salvage) / years # 8000.0 print(f"{per_year:.2f}") ``` # execution result: 8000.00 Depreciation is $8,00...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "8000.00", "printed": "8000.00", "notation": null}
nlprog_det-setting-0080652
Of a $10,000 budget, $1,200 has been spent. What percent is that? Let the code do the arithmetic: ```python budget = 10000 spent = 1200 percent = spent / budget * 100 # 12.0 print(round(percent, 1)) ``` When run, it prints 12.0, as expected. 12.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "12.0", "printed": "12.0", "notation": null}
nlprog_det-setting-0080654
<|start|><|user|> Of a $5,000 budget, $100 has been spent. What percent is that?<|eot|> <|assistant|> That is 2.0% of the budget.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Of a $5,000 budget, $100 has been spent. What percent is that?" }, { "role": "assistant", "content": "That is 2.0% of the budget." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "2.0", "printed": "2.0", "notation": null}
nlprog_det-setting-0080655
Wen earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 43-hour week? Python code: ```python rate = 25.0 hours = 43 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 112.5 pay = regular + overtime # 1112.5 print(f"{pay:.2f}") ``` Result: 1112.50 Wen earns $1,112.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "1112.50", "printed": "1112.50", "notation": null}
nlprog_det-setting-0080656
How many of 59 members form a majority (more than half)? Python makes this quick: ```python members = 59 majority = members // 2 + 1 # 30 print(majority) ``` It prints: 30 30 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0080657
<|start|><|user|> How many meters are in 92 kilometers?<|eot|> <|assistant|> ```python km = 92 meters = km * 1000 # 92000 print(round(meters)) ``` When run, it prints: 92000 92,000 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many meters are in 92 kilometers?" }, { "role": "assistant", "content": "```python\nkm = 92\nmeters = km * 1000 # 92000\nprint(round(meters))\n```\nWhen run, it prints: 92000\n\n92,000 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "92000", "printed": "92000", "notation": null}
nlprog_det-setting-0080658
<|start|><|system|> Answer in plain English.<|eot|> <|user|> A 6-day trip pays $59 a day for meals and $110 a night for lodging (5 nights). What is the total allowance?<|eot|> <|assistant|> ```python days = 6 meal_rate = 59 lodging_rate = 110 nights = days - 1 # 5 total = days * meal_rate + nights * lodging_rate # 90...
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "A 6-day trip pays $59 a day for meals and $110 a night for lodging (5 nights). What is the total allowance?" }, { "role": "assistant", "content": "```python\ndays = 6\nmeal_rate = 59\nlodging_r...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "904", "printed": "904", "notation": null}