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-0083629
<|start|><|user|> If a 3-year limitations period starts on July 26, 2022, when does it end?<|eot|> <|assistant|> The period expires on July 26, 2025.<|eot|> <|end|>
chat
[ { "role": "user", "content": "If a 3-year limitations period starts on July 26, 2022, when does it end?" }, { "role": "assistant", "content": "The period expires on July 26, 2025." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "2025-07-26", "printed": "2025-07-26", "notation": null}
nlprog_det-setting-0083630
<|start|><|user|> Revenue is $13,000 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)?<|eot|> <|assistant|> Profit is 3.8% of revenue.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Revenue is $13,000 and costs are $12,500. What is the profit margin as a percent of revenue (one decimal)?" }, { "role": "assistant", "content": "Profit is 3.8% of revenue." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "3.8", "printed": "3.8", "notation": null}
nlprog_det-setting-0083631
<|start|><|user|> Printing costs 5 cents a page. What does it cost to print 84 copies of a 30-page handout?<|eot|> <|assistant|> ```python pages = 30 copies = 84 cost_per_page = 0.05 cost = pages * copies * cost_per_page # 126.0 print(f"{cost:.2f}") ``` It prints 126.00. The job costs $126.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 5 cents a page. What does it cost to print 84 copies of a 30-page handout?" }, { "role": "assistant", "content": "```python\npages = 30\ncopies = 84\ncost_per_page = 0.05\ncost = pages * copies * cost_per_page # 126.0\nprint(f\"{cost:.2f}\")\n```\nIt...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "126.00", "printed": "126.00", "notation": null}
nlprog_det-setting-0083632
<|start|><|user|> Starting with 305 staplers and using 27 per day, how many remain after 6 days?<|eot|> <|assistant|> stock = 305 per_day = 27 days = 6 left = stock - per_day * days print(left) On running, it outputs: 143 143 remain.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting with 305 staplers and using 27 per day, how many remain after 6 days?" }, { "role": "assistant", "content": " stock = 305\n per_day = 27\n days = 6\n left = stock - per_day * days\n print(left)\nOn running, it outputs: 143\n\n143 remain." }...
nlprog_det
setting
original
null
deterministic
[]
[]
77
{"gold": "143", "printed": "143", "notation": null}
nlprog_det-setting-0083633
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"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_uni...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"}, \"to_unit\...
nlprog_det
setting
original
null
deterministic
[]
[]
319
{"gold": "116", "printed": "116", "notation": null}
nlprog_det-setting-0083634
<|start|><|user|> A 4-day trip pays $79 a day for meals and $140 a night for lodging (3 nights). What is the total allowance?<|eot|> <|assistant|> ```python days = 4 meal_rate = 79 lodging_rate = 140 nights = days - 1 # 3 total = days * meal_rate + nights * lodging_rate # 736 print(total) ``` Console: 736 The allowa...
chat
[ { "role": "user", "content": "A 4-day trip pays $79 a day for meals and $140 a night for lodging (3 nights). What is the total allowance?" }, { "role": "assistant", "content": "```python\ndays = 4\nmeal_rate = 79\nlodging_rate = 140\nnights = days - 1 # 3\ntotal = days * meal_rate + nights * lo...
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "736", "printed": "736", "notation": null}
nlprog_det-setting-0083635
A recipe for 6 people uses 200 grams of flour. How many grams are needed for 12 people? The program: ```python grams = 200 serves = 6 needed_for = 12 scaled = grams * needed_for // serves print(scaled) ``` Run output — 400 Use 400 g of flour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0083636
A service costs $15 a month or $168 a year. How much does the yearly plan save over 12 monthly payments? The annual plan saves $12.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0083637
The rules require 3/5 of 16 members (round up) to be present. How many is that? 10 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0083638
An invoice lists 17 folders at $24 each, plus 6% sales tax. What is the invoice total? Here is the program. ```python quantity = 17 unit_price = 24 subtotal = quantity * unit_price # 408 total = subtotal * (1 + 6 / 100) # 432.48 print(f"{total:.2f}") ``` Printed: 432.48 The total with tax is $432.48.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "432.48", "printed": "432.48", "notation": null}
nlprog_det-setting-0083639
Rent of $1,500 goes up 6%. What is the new rent? Python code: ```python rent = 1500 increase = 6 / 100 new_rent = rent * (1 + increase) print(f"{new_rent:.2f}") ``` # result: 1590.00 It rises to $1,590.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "1590.00", "printed": "1590.00", "notation": null}
nlprog_det-setting-0083640
<|start|><|user|> Parking is $3 per hour with a daily maximum of $18. What do 5 hours cost?<|eot|> <|assistant|> ```python rate = 3 hours = 5 daily_max = 18 cost = min(rate * hours, daily_max) # 15 print(cost) ``` It outputs 15. Parking costs $15.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Parking is $3 per hour with a daily maximum of $18. What do 5 hours cost?" }, { "role": "assistant", "content": "```python\nrate = 3\nhours = 5\ndaily_max = 18\ncost = min(rate * hours, daily_max) # 15\nprint(cost)\n```\nIt outputs 15.\n\nParking costs $15." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0083641
Sales went from 2,000 to 1,900. What is the percent change? ```python old = 2000 new = 1900 change = (new - old) / old * 100 print(round(change)) ``` Result: -5 The change is -5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "-5", "printed": "-5", "notation": null}
nlprog_det-setting-0083642
<|start|><|system|> Tools you may use: [{"name": "eval_python", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> A filing cabinet costs $80. It...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"eval_python\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"sour...
nlprog_det
setting
original
null
deterministic
[]
[]
225
{"gold": "68.00", "printed": "68.00", "notation": null}
nlprog_det-setting-0083643
<|start|><|user|> A trial runs from May 12, 2023 to May 23, 2023, counting both days. How many calendar days is that?<|eot|> <|assistant|> ```python from datetime import date first = date(2023, 5, 12) # datetime.date(2023, 5, 12) last = date(2023, 5, 23) # datetime.date(2023, 5, 23) days = (last - first).days + 1 # ...
chat
[ { "role": "user", "content": "A trial runs from May 12, 2023 to May 23, 2023, counting both days. How many calendar days is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2023, 5, 12) # datetime.date(2023, 5, 12)\nlast = date(2023, 5, 23) # date...
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0083644
What percentage of $10,000 is $1,800? The program: budget = 10000 spent = 1800 percent = spent / budget * 100 # 18.0 print(round(percent, 1)) It prints 18.0, as expected. That is 18.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "18.0", "printed": "18.0", "notation": null}
nlprog_det-setting-0083645
<|start|><|user|> 5 claimants share a $15,000 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 15000 parties = 5 share = settlement // parties # 3000 print(share) ``` Printed: 3000 Each party receives $3,000.<|eot|> <|end|>
chat
[ { "role": "user", "content": "5 claimants share a $15,000 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 15000\nparties = 5\nshare = settlement // parties # 3000\nprint(share)\n```\nPrinted: 3000\n\nEach party receives $3,000." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "3000", "printed": "3000", "notation": null}
nlprog_det-setting-0083646
<|start|><|user|> Each storage box holds 20 files. How many boxes are needed for 719 files?<|eot|> <|assistant|> It takes 36 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 20 files. How many boxes are needed for 719 files?" }, { "role": "assistant", "content": "It takes 36 boxes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0083647
At $23.88 an hour, what does 36 hours of work pay? Python makes this quick: ```python rate = 23.88 hours = 36 earnings = rate * hours # 859.68 print(f"{earnings:.2f}") ``` Output = 859.68 The pay is $859.68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "859.68", "printed": "859.68", "notation": null}
nlprog_det-setting-0083648
<|start|><|user|> A service costs $9 a month or $78 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> ```python monthly = 9 yearly = 78 savings = monthly * 12 - yearly # 30 print(savings) ``` Printed — 30 $30 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $9 a month or $78 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "```python\nmonthly = 9\nyearly = 78\nsavings = monthly * 12 - yearly # 30\nprint(savings)\n```\nPrinted — 30\n\n$30 is save...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0083649
After an initial $2,000, the remainder of a $48,000 grant is paid in 3 equal parts. What is each part? ```python grant = 48000 up_front = 2000 installments = 3 each = (grant - up_front) / installments # 15333.333333333334 print(f"{each:.2f}") ``` The program prints 15333.33. Each installment is $15,333.33.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "15333.33", "printed": "15333.33", "notation": null}
nlprog_det-setting-0083650
<|start|><|system|> Tools you may use: [{"name": "calculator", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> A 4 × 8 foot patio is tiled wit...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"calculator\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"scrip...
nlprog_det
setting
original
null
deterministic
[]
[]
232
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0083651
With 15% off, what does a $90 filing cabinet cost? Python: ```python price = 90 discount = 15 / 100 # 0.15 sale_price = price * (1 - discount) # 76.5 print(f"{sale_price:.2f}") ``` What it prints: 76.50 It costs $76.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "76.50", "printed": "76.50", "notation": null}
nlprog_det-setting-0083652
Count 60 days forward from June 11, 2020. What date is that? Computing it: ```python from datetime import date, timedelta start = date(2020, 6, 11) end = start + timedelta(days=60) print(end.isoformat()) ``` The code prints: 2020-08-10 The period ends on August 10, 2020.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "2020-08-10", "printed": "2020-08-10", "notation": null}
nlprog_det-setting-0083653
<|start|><|system|> Available functions (JSON Schema): [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "run_python", "description": "Use for arithmetic and date ma...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"run_p...
nlprog_det
setting
original
null
deterministic
[]
[]
334
{"gold": "1299.20", "printed": "1299.20", "notation": null}
nlprog_det-setting-0083654
<|start|><|system|> You help with homework problems.<|eot|> <|user|> A 6-month warranty starts on September 3, 2019. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2019, 9, 3) months = 6 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + ye...
chat
[ { "role": "system", "content": "You help with homework problems." }, { "role": "user", "content": "A 6-month warranty starts on September 3, 2019. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2019, 9, 3)\nmonths =...
nlprog_det
setting
original
null
deterministic
[]
[]
155
{"gold": "2020-03-03", "printed": "2020-03-03", "notation": null}
nlprog_det-setting-0083655
A $9,000 loan carries 8% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment? ```python principal = 9000 annual_rate = 8 / 100 # 0.08 months = 36 interest = principal * annual_rate * months / 12 # 2160.0 payment = (principal + interest) / months #...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "310.00", "printed": "310.00", "notation": null}
nlprog_det-setting-0083656
Each storage box holds 15 files. How many boxes are needed for 430 files? As a program: ```python import math files = 430 per_box = 15 boxes = math.ceil(files / per_box) print(boxes) ``` Running this gives: 29 It takes 29 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0083657
What does $1,000 grow to in 2 years at 3% annual compounding? One way, in code: ```python principal = 1000 rate = 3 / 100 years = 2 value = principal * (1 + rate) ** years print(f"{value:.2f}") ``` # run result: 1060.90 It is worth $1,060.90.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "1060.90", "printed": "1060.90", "notation": null}
nlprog_det-setting-0083658
<|start|><|user|> A training session lasted 1 hours and 41 minutes. How many minutes is that?<|eot|> <|assistant|> ```python hours = 1 minutes = 41 total_minutes = hours * 60 + minutes # 101 print(total_minutes) ``` # printed result: 101 The training session lasted 101 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A training session lasted 1 hours and 41 minutes. How many minutes is that?" }, { "role": "assistant", "content": "```python\nhours = 1\nminutes = 41\ntotal_minutes = hours * 60 + minutes # 101\nprint(total_minutes)\n```\n# printed result: 101\n\nThe training sessi...
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "101", "printed": "101", "notation": null}
nlprog_det-setting-0083659
<|start|><|user|> 43 copies of a 33-page packet are printed at $0.10 per page. What is the cost?<|eot|> <|assistant|> ```python pages = 33 copies = 43 cost_per_page = 0.1 cost = pages * copies * cost_per_page # 141.9 print(f"{cost:.2f}") ``` Execution prints 141.90, as expected. Printing costs $141.90.<|eot|> <|end|>
chat
[ { "role": "user", "content": "43 copies of a 33-page packet are printed at $0.10 per page. What is the cost?" }, { "role": "assistant", "content": "```python\npages = 33\ncopies = 43\ncost_per_page = 0.1\ncost = pages * copies * cost_per_page # 141.9\nprint(f\"{cost:.2f}\")\n```\nExecution prin...
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "141.90", "printed": "141.90", "notation": null}
nlprog_det-setting-0083660
A hall has 16 rows of 18 seats, and 13 seats are empty. How many people are seated? Python: ```python rows = 16 per_row = 18 empty = 13 seated = rows * per_row - empty # 275 print(seated) ``` The code prints: 275 275 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "275", "printed": "275", "notation": null}
nlprog_det-setting-0083661
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> A $3,600 loan carries 8% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?<|eot|> <|assistant|> principal = 3600 annual_rate = 8 / 100 # 0.08 months = 3...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "A $3,600 loan carries 8% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment?" }, { "role": "assistant", ...
nlprog_det
setting
original
null
deterministic
[]
[]
146
{"gold": "124.00", "printed": "124.00", "notation": null}
nlprog_det-setting-0083662
Each of Reza's runs burns 150 calories. How many calories over 3 runs? That burns 450 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "450", "printed": "450", "notation": null}
nlprog_det-setting-0083663
<|start|><|user|> Buying 2 headsets at $17 each, 5 calendars at $22 each, 5 scissors at $17 each, 5 headsets at $9 each, someone hands over $300. What change comes back?<|eot|> <|assistant|> items = [(2, 17), (5, 22), (5, 17), (5, 9)] total = sum(q * p for q, p in items) paid = 300 change = paid - total...
chat
[ { "role": "user", "content": "Buying 2 headsets at $17 each, 5 calendars at $22 each, 5 scissors at $17 each, 5 headsets at $9 each, someone hands over $300. What change comes back?" }, { "role": "assistant", "content": " items = [(2, 17), (5, 22), (5, 17), (5, 9)]\n total = sum(q * p for ...
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "26", "printed": "26", "notation": null}
nlprog_det-setting-0083664
<|start|><|system|> You help paralegals with routine tasks.<|eot|> <|user|> A workshop lasted 1 hours and 12 minutes. How many minutes is that?<|eot|> <|assistant|> The workshop lasted 72 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help paralegals with routine tasks." }, { "role": "user", "content": "A workshop lasted 1 hours and 12 minutes. How many minutes is that?" }, { "role": "assistant", "content": "The workshop lasted 72 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "72", "printed": "72", "notation": null}
nlprog_det-setting-0083665
<|start|><|user|> A meeting starts at 11:45 AM and lasts 50 minutes. When does it end?<|eot|> <|assistant|> ```python start = 11 * 60 + 45 end = start + 50 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` The script prints: 12:35 PM It ends at 12:35 PM.<|eot...
chat
[ { "role": "user", "content": "A meeting starts at 11:45 AM and lasts 50 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 11 * 60 + 45\nend = start + 50\nhour, minute = divmod(end, 60)\nprint(f\"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "12:35 PM", "printed": "12:35 PM", "notation": null}
nlprog_det-setting-0083666
Farah was born on September 9, 1975. How old is Farah on November 18, 2028? In Python: ```python from datetime import date born = date(1975, 9, 9) # datetime.date(1975, 9, 9) on = date(2028, 11, 18) # datetime.date(2028, 11, 18) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) # 53 print(ag...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
155
{"gold": "53", "printed": "53", "notation": null}
nlprog_det-setting-0083667
Emeka buys 4 boxes of 12 hard drives each and gives away 6 hard drives. How many hard drives are left? A Python solution: ```python boxes = 4 per_box = 12 given_away = 6 left = boxes * per_box - given_away # 42 print(left) ``` The program prints 42, as expected. That leaves 42 hard drives.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "42", "printed": "42", "notation": null}
nlprog_det-setting-0083668
<|start|><|user|> At a 8% tax rate, what is the tax on $285.43?<|eot|> <|assistant|> $22.83 in tax.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At a 8% tax rate, what is the tax on $285.43?" }, { "role": "assistant", "content": "$22.83 in tax." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "22.83", "printed": "22.83", "notation": null}
nlprog_det-setting-0083669
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> Each storage box holds 20 files. How many boxes are needed for 314 files?<|eot|> <|assistant|> ```python import math files = 314 per_box = 20 boxes = math.ceil(files / per_box) # 16 print(boxes) ``` Output: 16 16 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "Each storage box holds 20 files. How many boxes are needed for 314 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 314\nper_box = 20\nboxes = math.ceil(files / per...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0083670
<|start|><|system|> Available functions (JSON Schema): [{"name": "python", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}, {"name": "get_weather", "description": "Get ...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"python\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"sc...
nlprog_det
setting
original
null
deterministic
[]
[]
286
{"gold": "34", "printed": "34", "notation": null}
nlprog_det-setting-0083671
Goran drove 613 miles for work. Mileage is reimbursed at 70 cents a mile. How much is the reimbursement? Programmatically: ```python miles = 613 rate = 0.7 reimbursement = miles * rate # 429.09999999999997 print(f"{reimbursement:.2f}") ``` Running this gives: 429.10 Goran is owed $429.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "429.10", "printed": "429.10", "notation": null}
nlprog_det-setting-0083672
29 binders cost $24 apiece. With 8% tax added, what is the total? The Python version: ```python quantity = 29 unit_price = 24 subtotal = quantity * unit_price # 696 total = subtotal * (1 + 8 / 100) # 751.6800000000001 print(f"{total:.2f}") ``` (Result: 751.68) The invoice total is $751.68.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "751.68", "printed": "751.68", "notation": null}
nlprog_det-setting-0083673
One can of paint covers 350 square feet. How many cans are needed for 905 square feet of wall? Programmatically: ```python import math area = 905 coverage = 350 cans = math.ceil(area / coverage) # 3 print(cans) ``` Out: 3 Buy 3 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0083674
Notice was given on March 8, 2022. The notice period is 45 days. When does it run out? That date is April 22, 2022.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "2022-04-22", "printed": "2022-04-22", "notation": null}
nlprog_det-setting-0083675
A client paid a $2,500 retainer. The firm has billed 5 hours at $200 per hour. How much of the retainer is left? The remaining balance is $1,500.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "1500", "printed": "1500", "notation": null}
nlprog_det-setting-0083676
Filing fees are $35 per document. What do 14 filings cost? Program: ```python fee = 35 filings = 14 total = fee * filings # 490 print(total) ``` The program outputs: 490 $490 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "490", "printed": "490", "notation": null}
nlprog_det-setting-0083677
<|start|><|user|> A 36-month warranty starts on April 2, 2028. On what date does it end?<|eot|> <|assistant|> The warranty ends on April 2, 2031.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 36-month warranty starts on April 2, 2028. On what date does it end?" }, { "role": "assistant", "content": "The warranty ends on April 2, 2031." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "2031-04-02", "printed": "2031-04-02", "notation": null}
nlprog_det-setting-0083678
<|start|><|user|> A $180 dinner bill gets a 20% tip, and 4 people share the cost equally. What is each person's share?<|eot|> <|assistant|> ```python bill = 180 tip_rate = 20 / 100 # 0.2 people = 4 each = bill * (1 + tip_rate) / people # 54.0 print(f"{each:.2f}") ``` stdout — 54.00 The share is $54.00 each.<|eot|> <...
chat
[ { "role": "user", "content": "A $180 dinner bill gets a 20% tip, and 4 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "```python\nbill = 180\ntip_rate = 20 / 100 # 0.2\npeople = 4\neach = bill * (1 + tip_rate) / people # 54.0\nprint(f\"{each:....
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0083679
<|start|><|user|> How long, in days, is it from November 28, 2026 until August 4, 2027?<|eot|> <|assistant|> ```python from datetime import date first = date(2026, 11, 28) # datetime.date(2026, 11, 28) second = date(2027, 8, 4) # datetime.date(2027, 8, 4) print((second - first).days) ``` Out — 249 There are 249 days...
chat
[ { "role": "user", "content": "How long, in days, is it from November 28, 2026 until August 4, 2027?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nfirst = date(2026, 11, 28) # datetime.date(2026, 11, 28)\nsecond = date(2027, 8, 4) # datetime.date(2027, 8, 4)\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
128
{"gold": "249", "printed": "249", "notation": null}
nlprog_det-setting-0083680
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> A customer buys 6 file boxes at $14 each, 5 batteries at $10 each and pays with $150. How much change is due?<|eot|> <|assistant|> ```python items = [(6, 14), (5, 10)] total = sum(q * p for q, p in items) # 134 paid = 150 change = paid - total # 16 print(chan...
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "A customer buys 6 file boxes at $14 each, 5 batteries at $10 each and pays with $150. How much change is due?" }, { "role": "assistant", "content": "```python\nitems = [(6, 14), (5, 10)]\ntotal =...
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0083681
<|start|><|user|> A hearing is set for August 17, 1994. What day of the week is that?<|eot|> <|assistant|> ```python from datetime import date hearing = date(1994, 8, 17) # datetime.date(1994, 8, 17) print(hearing.strftime("%A")) ``` The interpreter prints Wednesday. August 17, 1994 is a Wednesday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hearing is set for August 17, 1994. What day of the week is that?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(1994, 8, 17) # datetime.date(1994, 8, 17)\nprint(hearing.strftime(\"%A\"))\n```\nThe interpreter prints W...
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0083682
A count moves from 200 to 210. By what percent did it change (use a minus sign for a drop)? Here is a short program for it. ```python old = 200 new = 210 change = (new - old) / old * 100 # 5.0 print(round(change)) ``` This prints 5. The change is 5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0083683
A shift runs from 9:56 AM to 4:21 PM. How long is it in minutes? Computing it: ```python start = 9 * 60 + 56 # 596 end = 16 * 60 + 21 # 981 print(end - start) ``` # printed result: 385 385 minutes pass.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "385", "printed": "385", "notation": null}
nlprog_det-setting-0083684
<|start|><|user|> Of a $5,000 budget, $2,100 has been spent. What percent is that?<|eot|> <|assistant|> ```python budget = 5000 spent = 2100 percent = spent / budget * 100 # 42.0 print(round(percent, 1)) ``` It outputs: 42.0 That is 42.0% of the budget.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Of a $5,000 budget, $2,100 has been spent. What percent is that?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nspent = 2100\npercent = spent / budget * 100 # 42.0\nprint(round(percent, 1))\n```\nIt outputs: 42.0\n\nThat is 42.0% of the budget." ...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "42.0", "printed": "42.0", "notation": null}
nlprog_det-setting-0083686
Convert 2 h 48 min (the length of a training session) to minutes. Script: ```python hours = 2 minutes = 48 total_minutes = hours * 60 + minutes # 168 print(total_minutes) ``` Run result — 168 The training session lasted 168 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "168", "printed": "168", "notation": null}
nlprog_det-setting-0083687
<|start|><|system|> Be brief and correct.<|eot|> <|user|> The paralegal logged 10.5 hours at a rate of $250. How much is billed?<|eot|> <|assistant|> ```python hours = 10.5 rate = 250 bill = hours * rate # 2625.0 print(f"{bill:.2f}") ``` Run result: 2625.00 The bill is $2,625.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be brief and correct." }, { "role": "user", "content": "The paralegal logged 10.5 hours at a rate of $250. How much is billed?" }, { "role": "assistant", "content": "```python\nhours = 10.5\nrate = 250\nbill = hours * rate # 2625.0\nprint(f\"{bill:.2f...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "2625.00", "printed": "2625.00", "notation": null}
nlprog_det-setting-0083688
<|start|><|system|> You are a math tutor.<|eot|> <|user|> Convert 5 h 53 min (the length of a training session) to minutes.<|eot|> <|assistant|> That is 353 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "Convert 5 h 53 min (the length of a training session) to minutes." }, { "role": "assistant", "content": "That is 353 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "353", "printed": "353", "notation": null}
nlprog_det-setting-0083689
How much sales tax is charged on a $324.84 purchase at 4%? ```python price = 324.84 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 12.993599999999999 print(f"{tax:.2f}") ``` Printed = 12.99 The tax is $12.99.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "12.99", "printed": "12.99", "notation": null}
nlprog_det-setting-0083690
1.5 hours of work at $300 an hour: what is the total charge? That comes to $450.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0083691
Equal monthly payments repay $1,200 plus 5% simple yearly interest over 24 months. How large is a payment? We can compute it in Python. ```python principal = 1200 annual_rate = 5 / 100 # 0.05 months = 24 interest = principal * annual_rate * months / 12 # 120.0 payment = (principal + interest) / months # 55.0 print(...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "55.00", "printed": "55.00", "notation": null}
nlprog_det-setting-0083693
A service costs $15 a month or $150 a year. How much does the yearly plan save over 12 monthly payments? A few lines of Python do it: ```python monthly = 15 yearly = 150 savings = monthly * 12 - yearly # 30 print(savings) ``` Run output: 30 $30 is saved.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0083695
Split $2,219 between Eamon and Rafael in the ratio 3 to 4. What is Eamon's share? ```python total = 2219 parts_a = 3 parts_b = 4 share_a = total * parts_a // (parts_a + parts_b) # 951 print(share_a) ``` This prints: 951 Eamon gets $951.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "951", "printed": "951", "notation": null}
nlprog_det-setting-0083696
<|start|><|user|> A car travels 432 miles in 2 hours. What is its average speed in miles per hour?<|eot|> <|assistant|> ```python distance = 432 hours = 2 speed = distance / hours # 216.0 print(round(speed)) ``` Running this gives 216. The average speed is 216 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A car travels 432 miles in 2 hours. What is its average speed in miles per hour?" }, { "role": "assistant", "content": "```python\ndistance = 432\nhours = 2\nspeed = distance / hours # 216.0\nprint(round(speed))\n```\nRunning this gives 216.\n\nThe average speed is...
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "216", "printed": "216", "notation": null}
nlprog_det-setting-0083697
A $2,400 loan carries 6% simple annual interest over 12 months. Interest and principal are repaid in equal monthly payments. What is each payment? Here is a short program for it. ```python principal = 2400 annual_rate = 6 / 100 # 0.06 months = 12 interest = principal * annual_rate * months / 12 # 144.0 payment = (pr...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
144
{"gold": "212.00", "printed": "212.00", "notation": null}
nlprog_det-setting-0083698
A $1,200 loan carries 6% simple annual interest over 36 months. Interest and principal are repaid in equal monthly payments. What is each payment? principal = 1200 annual_rate = 6 / 100 # 0.06 months = 36 interest = principal * annual_rate * months / 12 # 216.0 payment = (principal + interest) / ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
132
{"gold": "39.33", "printed": "39.33", "notation": null}
nlprog_det-setting-0083699
<|start|><|system|> Tools you may use: {"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}} {"name": "python", "description": "A Python interpreter. Retur...
chat
[ { "role": "system", "content": "Tools you may use:\n{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}}, \"required\": [\"start\", \"end\"]}}\n{\...
nlprog_det
setting
original
null
deterministic
[]
[]
285
{"gold": "32", "printed": "32", "notation": null}
nlprog_det-setting-0083700
Counting only Monday through Friday, how many business days are there after October 18, 2026 through November 8, 2026? A few lines of Python do it: ```python from datetime import date, timedelta start = date(2026, 10, 18) end = date(2026, 11, 8) count = 0 for k in range(1, (end - start).days + 1): if (start + time...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
163
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0083701
After a 30% fee is taken from a $96,000 judgment, 2 plaintiffs share the remainder equally. What is each plaintiff's share? Python makes this quick: ```python award = 96000 fee = award * 30 / 100 # 28800.0 remaining = award - fee # 67200.0 per_client = remaining / 2 # 33600.0 print(f"{per_client:.2f}") ``` Out — 33...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "33600.00", "printed": "33600.00", "notation": null}
nlprog_det-setting-0083702
<|start|><|system|> Tools (call with JSON): [{"name": "calc", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> 52 of 100 members attend...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"calc\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\...
nlprog_det
setting
original
null
deterministic
[]
[]
206
{"gold": "52.0", "printed": "52.0", "notation": null}
nlprog_det-setting-0083703
A hearing lasted 4 hours and 28 minutes. How many minutes is that? That is 268 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "268", "printed": "268", "notation": null}
nlprog_det-setting-0083704
A claim accrued on March 14, 2019. The limitations period is 3 years. On what date does it expire? As Python: ```python from datetime import date accrued = date(2019, 3, 14) # datetime.date(2019, 3, 14) years = 3 expires = accrued.replace(year=accrued.year + years) # datetime.date(2022, 3, 14) print(expires.isoforma...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
150
{"gold": "2022-03-14", "printed": "2022-03-14", "notation": null}
nlprog_det-setting-0083705
<|start|><|user|> An unpaid balance of $2,500 accrues 1.5% simple interest per month. How much interest accrues in 4 months?<|eot|> <|assistant|> ```python balance = 2500 monthly_rate = 1.5 / 100 # 0.015 months = 4 interest = balance * monthly_rate * months # 150.0 print(f"{interest:.2f}") ``` Run result = 150.00 $1...
chat
[ { "role": "user", "content": "An unpaid balance of $2,500 accrues 1.5% simple interest per month. How much interest accrues in 4 months?" }, { "role": "assistant", "content": "```python\nbalance = 2500\nmonthly_rate = 1.5 / 100 # 0.015\nmonths = 4\ninterest = balance * monthly_rate * months # ...
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "150.00", "printed": "150.00", "notation": null}
nlprog_det-setting-0083706
3 friends split a $180 bill plus a 20% tip evenly. How much does each pay? We can compute it in Python. ```python bill = 180 tip_rate = 20 / 100 # 0.2 people = 3 each = bill * (1 + tip_rate) / people # 72.0 print(f"{each:.2f}") ``` Running it prints: 72.00 The share is $72.00 each.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "72.00", "printed": "72.00", "notation": null}
nlprog_det-setting-0083707
Goran and Priya share $2,710 in the ratio 2:3. How much does Goran get? ```python total = 2710 parts_a = 2 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 1084 print(share_a) ``` (stdout: 1084) Goran's share is $1,084.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1084", "printed": "1084", "notation": null}
nlprog_det-setting-0083708
What day of the week is November 21, 1990? Here is a short program for it. ```python from datetime import date hearing = date(1990, 11, 21) # datetime.date(1990, 11, 21) print(hearing.strftime("%A")) ``` Running this gives Wednesday. November 21, 1990 is a Wednesday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0083709
What average speed covers 443 miles in 1 hours? Programmatically: ```python distance = 443 hours = 1 speed = distance / hours # 443.0 print(round(speed)) ``` This prints 443, as expected. The average speed is 443 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "443", "printed": "443", "notation": null}
nlprog_det-setting-0083710
A meeting lasted 2 hours and 5 minutes. How many minutes is that? The program: ```python hours = 2 minutes = 5 total_minutes = hours * 60 + minutes # 125 print(total_minutes) ``` The program prints 125. The meeting lasted 125 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "125", "printed": "125", "notation": null}
nlprog_det-setting-0083712
<|start|><|user|> 55 files go into boxes of 25. How many boxes does that take?<|eot|> <|assistant|> ```python import math files = 55 per_box = 25 boxes = math.ceil(files / per_box) # 3 print(boxes) ``` What it prints: 3 It takes 3 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "55 files go into boxes of 25. How many boxes does that take?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 55\nper_box = 25\nboxes = math.ceil(files / per_box) # 3\nprint(boxes)\n```\nWhat it prints: 3\n\nIt takes 3 boxes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "3", "printed": "3", "notation": null}
nlprog_det-setting-0083713
<|start|><|user|> 41 of 80 members attended. What percent attended?<|eot|> <|assistant|> present = 41 total = 80 percent = present / total * 100 # 51.24999999999999 print(round(percent, 1)) Execution result: 51.2 51.2% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "41 of 80 members attended. What percent attended?" }, { "role": "assistant", "content": " present = 41\n total = 80\n percent = present / total * 100 # 51.24999999999999\n print(round(percent, 1))\nExecution result: 51.2\n\n51.2% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "51.2", "printed": "51.2", "notation": null}
nlprog_det-setting-0083714
<|start|><|user|> Copies cost $5 plus $0.50 for each page beyond 10. How much for 35 pages?<|eot|> <|assistant|> ```python pages = 35 base = 5 per_page = 0.5 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 17.5 print(f"{cost:.2f}") ``` Execution prints: 17.50 The copy costs $17.50.<|eot|> <|end|...
chat
[ { "role": "user", "content": "Copies cost $5 plus $0.50 for each page beyond 10. How much for 35 pages?" }, { "role": "assistant", "content": "```python\npages = 35\nbase = 5\nper_page = 0.5\nfree_pages = 10\ncost = base + max(0, pages - free_pages) * per_page # 17.5\nprint(f\"{cost:.2f}\")\n``...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "17.50", "printed": "17.50", "notation": null}
nlprog_det-setting-0083715
Each of Tobias's runs burns 300 calories. How many calories over 4 runs? A few lines of Python do it: ```python per_session = 300 sessions = 4 total = per_session * sessions # 1200 print(total) ``` (Printed result: 1200) 1200 calories in total.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "1200", "printed": "1200", "notation": null}
nlprog_det-setting-0083716
Hugo lends $5,000 at 4% simple interest per year for 3 years. How much interest is earned? Python: ```python principal = 5000 rate = 4 / 100 # 0.04 years = 3 interest = principal * rate * years # 600.0 print(f"{interest:.2f}") ``` When run, it prints: 600.00 It earns $600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0083717
Under a 25% contingency agreement, what fee is owed on a $60,000 award? As Python: ```python recovery = 60000 rate = 25 / 100 # 0.25 fee = recovery * rate # 15000.0 print(f"{fee:.2f}") ``` The code prints 15000.00. The lawyer's fee comes to $15,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "15000.00", "printed": "15000.00", "notation": null}
nlprog_det-setting-0083718
<|start|><|user|> What commission does Ulla make on $72,369 in sales at 4%?<|eot|> <|assistant|> sales = 72369 rate = 4 / 100 # 0.04 commission = sales * rate # 2894.76 print(f"{commission:.2f}") (Output: 2894.76) Ulla earns $2,894.76.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What commission does Ulla make on $72,369 in sales at 4%?" }, { "role": "assistant", "content": " sales = 72369\n rate = 4 / 100 # 0.04\n commission = sales * rate # 2894.76\n print(f\"{commission:.2f}\")\n(Output: 2894.76)\n\nUlla earns $2,894.76." ...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "2894.76", "printed": "2894.76", "notation": null}
nlprog_det-setting-0083719
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "eval_python", "description": "Use f...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\...
nlprog_det
setting
original
null
deterministic
[]
[]
297
{"gold": "-4", "printed": "-4", "notation": null}
nlprog_det-setting-0083720
<|start|><|user|> 8 claimants share a $7,344 settlement equally. What is each share?<|eot|> <|assistant|> Each share is $918.<|eot|> <|end|>
chat
[ { "role": "user", "content": "8 claimants share a $7,344 settlement equally. What is each share?" }, { "role": "assistant", "content": "Each share is $918." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "918", "printed": "918", "notation": null}
nlprog_det-setting-0083721
<|start|><|user|> At $30.90 an hour, what does 20 hours of work pay?<|eot|> <|assistant|> The pay is $618.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $30.90 an hour, what does 20 hours of work pay?" }, { "role": "assistant", "content": "The pay is $618.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "618.00", "printed": "618.00", "notation": null}
nlprog_det-setting-0083723
71 copies of a 56-page packet are printed at $0.10 per page. What is the cost? ```python pages = 56 copies = 71 cost_per_page = 0.1 cost = pages * copies * cost_per_page # 397.6 print(f"{cost:.2f}") ``` (stdout: 397.60) The job costs $397.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "397.60", "printed": "397.60", "notation": null}
nlprog_det-setting-0083724
<|start|><|system|> You are a study helper for students.<|eot|> <|user|> What average speed covers 322 miles in 2 hours?<|eot|> <|assistant|> ```python distance = 322 hours = 2 speed = distance / hours # 161.0 print(round(speed)) ``` It outputs: 161 The average speed is 161 mph.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a study helper for students." }, { "role": "user", "content": "What average speed covers 322 miles in 2 hours?" }, { "role": "assistant", "content": "```python\ndistance = 322\nhours = 2\nspeed = distance / hours # 161.0\nprint(round(speed))\n...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "161", "printed": "161", "notation": null}
nlprog_det-setting-0083725
At 2% a month (simple), what interest builds on $4,000 over 4 months? The program: ```python balance = 4000 monthly_rate = 2 / 100 # 0.02 months = 4 interest = balance * monthly_rate * months # 320.0 print(f"{interest:.2f}") ``` The program outputs 320.00. The interest is $320.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "320.00", "printed": "320.00", "notation": null}
nlprog_det-setting-0083726
A lease runs for 6 months at $1,475 per month. How much rent is paid over the whole term? We write it as a program: monthly_rent = 1475 months = 6 total = monthly_rent * months # 8850 print(total) Output of the run — 8850 In total, $8,850 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "8850", "printed": "8850", "notation": null}
nlprog_det-setting-0083727
Paula earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 42-hour week? Python code: ```python rate = 16.0 hours = 42 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 48.0 pay = regular + overtime # 688.0 print(f"{pay:.2f}") ``` Execution prints 688.00. The weekly pa...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "688.00", "printed": "688.00", "notation": null}
nlprog_det-setting-0083729
Prorate $1,200 of monthly rent for 9 days of a 30-day month. rent = 1200 days_in_month = 30 days_occupied = 9 prorated = rent * days_occupied / days_in_month # 360.0 print(f"{prorated:.2f}") The program outputs: 360.00 The tenant owes $360.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "360.00", "printed": "360.00", "notation": null}
nlprog_det-setting-0083730
A settlement of $4,500 is split equally among 6 parties. How much does each party receive? Let the code do the arithmetic: settlement = 4500 parties = 6 share = settlement // parties # 750 print(share) Output — 750 Each share is $750.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0083731
A $84 dinner bill gets a 18% tip, and 4 people share the cost equally. What is each person's share? Each person pays $24.78.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "24.78", "printed": "24.78", "notation": null}
nlprog_det-setting-0083732
From a $7,500 retainer, 4 hours at $275/hour have been drawn. What remains? Here's the code. ```python retainer = 7500 hours = 4 rate = 275 left = retainer - hours * rate # 6400 print(left) ``` The script prints: 6400 The remaining balance is $6,400.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "6400", "printed": "6400", "notation": null}
nlprog_det-setting-0083733
A 12 × 9 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up? 108 tiles are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "108", "printed": "108", "notation": null}
nlprog_det-setting-0083734
<|start|><|user|> A party has 28 days to respond to a motion served on July 27, 2022, with 3 days added because service was by mail. When is the response due?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2022, 7, 27) # datetime.date(2022, 7, 27) response_days = 28 mail_days = 3 due...
chat
[ { "role": "user", "content": "A party has 28 days to respond to a motion served on July 27, 2022, 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(2022, 7, 27) # datetim...
nlprog_det
setting
original
null
deterministic
[]
[]
175
{"gold": "2022-08-27", "printed": "2022-08-27", "notation": null}