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-0078816
A count moves from 800 to 1,120. By what percent did it change (use a minus sign for a drop)? A Python solution: ```python old = 800 new = 1120 change = (new - old) / old * 100 # 40.0 print(round(change)) ``` # stdout: 40 It changed by 40%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "40", "printed": "40", "notation": null}
nlprog_det-setting-0078817
<|start|><|system|> Use a tool when a calculation is needed. Tools: {"name": "math_engine", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}<|eot|> <|user|> J...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n{\"name\": \"math_engine\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source co...
nlprog_det
setting
original
null
deterministic
[]
[]
255
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0078818
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> 4 clients win $30,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 30000 fee = award * 30 / 100 # 9000.0 remaining = award - fee # 21000.0 per_client = remainin...
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "4 clients win $30,000. The lawyer takes 30%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 30000\nfee...
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "5250.00", "printed": "5250.00", "notation": null}
nlprog_det-setting-0078819
A hall has 28 rows of 18 seats, and 12 seats are empty. How many people are seated? Computation in Python: ```python rows = 28 per_row = 18 empty = 12 seated = rows * per_row - empty # 492 print(seated) ``` The run gives: 492 492 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "492", "printed": "492", "notation": null}
nlprog_det-setting-0078820
A 247-page report must be reviewed in 19 days. How many pages a day is that, evenly? As a program: ```python pages = 247 days = 19 per_day = pages // days # 13 print(per_day) ``` (Execution result: 13) 13 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0078821
<|start|><|user|> A filing cabinet costs $90. It is 10% off. What is the sale price?<|eot|> <|assistant|> price = 90 discount = 10 / 100 # 0.1 sale_price = price * (1 - discount) # 81.0 print(f"{sale_price:.2f}") Python prints 81.00, as expected. It costs $81.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A filing cabinet costs $90. It is 10% off. What is the sale price?" }, { "role": "assistant", "content": " price = 90\n discount = 10 / 100 # 0.1\n sale_price = price * (1 - discount) # 81.0\n print(f\"{sale_price:.2f}\")\nPython prints 81.00, as expec...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "81.00", "printed": "81.00", "notation": null}
nlprog_det-setting-0078822
From 1991 to 2024, how many years is that? Python makes this quick: ```python start_year = 1991 end_year = 2024 print(end_year - start_year) ``` Executed, it shows 33. That is 33 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "33", "printed": "33", "notation": null}
nlprog_det-setting-0078823
Prorate $2,400 of monthly rent for 25 days of a 30-day month. ```python rent = 2400 days_in_month = 30 days_occupied = 25 prorated = rent * days_occupied / days_in_month # 2000.0 print(f"{prorated:.2f}") ``` Printed: 2000.00 The tenant owes $2,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "2000.00", "printed": "2000.00", "notation": null}
nlprog_det-setting-0078824
How long, in days, is it from November 24, 2019 until March 10, 2020? from datetime import date first = date(2019, 11, 24) # datetime.date(2019, 11, 24) second = date(2020, 3, 10) # datetime.date(2020, 3, 10) print((second - first).days) # console output: 107 There are 107 days between the two dates...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "107", "printed": "107", "notation": null}
nlprog_det-setting-0078825
<|start|><|user|> At $21.06 an hour, what does 36 hours of work pay?<|eot|> <|assistant|> That earns $758.16.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $21.06 an hour, what does 36 hours of work pay?" }, { "role": "assistant", "content": "That earns $758.16." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "758.16", "printed": "758.16", "notation": null}
nlprog_det-setting-0078826
A garage charges $3 an hour, never more than $18 a day. How much for 11 hours? As a program: ```python rate = 3 hours = 11 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) ``` # printed result: 18 The charge is $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0078827
Monthly: $29. Annual: $336. What is saved per year by paying annually? A Python solution: ```python monthly = 29 yearly = 336 savings = monthly * 12 - yearly print(savings) ``` Execution prints: 12 $12 is saved.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0078828
<|start|><|user|> How many of 68 votes make 60% (round up)?<|eot|> <|assistant|> import math voters = 68 needed = math.ceil(voters * 60 / 100) print(needed) The interpreter prints 41. 41 votes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many of 68 votes make 60% (round up)?" }, { "role": "assistant", "content": " import math\n voters = 68\n needed = math.ceil(voters * 60 / 100)\n print(needed)\nThe interpreter prints 41.\n\n41 votes are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0078829
<|start|><|user|> The rules require 1/3 of 12 members (round up) to be present. How many is that?<|eot|> <|assistant|> 4 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The rules require 1/3 of 12 members (round up) to be present. How many is that?" }, { "role": "assistant", "content": "4 members are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0078830
<|start|><|user|> Counting the first and last day, how many days are there from October 18, 2022 through October 29, 2022?<|eot|> <|assistant|> 12 calendar days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting the first and last day, how many days are there from October 18, 2022 through October 29, 2022?" }, { "role": "assistant", "content": "12 calendar days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0078831
<|start|><|system|> Tool definitions: [{"name": "interpreter", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Convert 15 °C to Fa...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"interpreter\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
201
{"gold": "59", "printed": "59", "notation": null}
nlprog_det-setting-0078832
<|start|><|system|> You have access to these functions: {"name": "python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> What commission doe...
chat
[ { "role": "system", "content": "You have access to these functions:\n{\"name\": \"python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required...
nlprog_det
setting
original
null
deterministic
[]
[]
212
{"gold": "4464.20", "printed": "4464.20", "notation": null}
nlprog_det-setting-0078833
A water bill is $18 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 13 thousand gallons? The Python version: ```python base = 18 rate = 5.1 used = 13 free = 2 bill = base + rate * max(0, used - free) # 74.1 print(f"{bill:.2f}") ``` When run, it prints 74.10. $74.10 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "74.10", "printed": "74.10", "notation": null}
nlprog_det-setting-0078834
5 claimants share a $7,350 settlement equally. What is each share? Computing it: ```python settlement = 7350 parties = 5 share = settlement // parties # 1470 print(share) ``` (Program output: 1470) Each share is $1,470.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "1470", "printed": "1470", "notation": null}
nlprog_det-setting-0078835
<|start|><|user|> What is the total rent on a 6-month lease at $3,250 a month?<|eot|> <|assistant|> ```python monthly_rent = 3250 months = 6 total = monthly_rent * months print(total) ``` Run output: 19500 The rent over the term is $19,500.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is the total rent on a 6-month lease at $3,250 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 3250\nmonths = 6\ntotal = monthly_rent * months\nprint(total)\n```\nRun output: 19500\n\nThe rent over the term is $19,500." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "19500", "printed": "19500", "notation": null}
nlprog_det-setting-0078836
A settlement of $1,200 is split equally among 8 parties. How much does each party receive? Code: ```python settlement = 1200 parties = 8 share = settlement // parties # 150 print(share) ``` It outputs 150. Each party receives $150.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
78
{"gold": "150", "printed": "150", "notation": null}
nlprog_det-setting-0078837
Under a 40% contingency agreement, what fee is owed on a $60,000 award? Python, step by step: ```python recovery = 60000 rate = 40 / 100 # 0.4 fee = recovery * rate # 24000.0 print(f"{fee:.2f}") ``` (Printed: 24000.00) The lawyer's fee comes to $24,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "24000.00", "printed": "24000.00", "notation": null}
nlprog_det-setting-0078838
A 12 × 12 foot patio is tiled with 2 ft × 2 ft tiles. How many tiles, rounded up? ```python import math length = 12 width = 12 tile = 2 tiles = math.ceil(length * width / (tile * tile)) # 36 print(tiles) ``` Interpreter output — 36 It takes 36 tiles.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0078839
<|start|><|user|> Fixed costs are $4,000. Each unit sells for $20 and costs $12 to make. How many units must be sold to break even?<|eot|> <|assistant|> ```python import math fixed = 4000 price = 20 variable = 12 units = math.ceil(fixed / (price - variable)) # 500 print(units) ``` The run gives: 500 Break-even is 500...
chat
[ { "role": "user", "content": "Fixed costs are $4,000. Each unit sells for $20 and costs $12 to make. How many units must be sold to break even?" }, { "role": "assistant", "content": "```python\nimport math\nfixed = 4000\nprice = 20\nvariable = 12\nunits = math.ceil(fixed / (price - variable)) #...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "500", "printed": "500", "notation": null}
nlprog_det-setting-0078840
<|start|><|user|> After an initial $3,000, the remainder of a $60,000 grant is paid in 4 equal parts. What is each part?<|eot|> <|assistant|> Each installment is $14,250.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "After an initial $3,000, the remainder of a $60,000 grant is paid in 4 equal parts. What is each part?" }, { "role": "assistant", "content": "Each installment is $14,250.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "14250.00", "printed": "14250.00", "notation": null}
nlprog_det-setting-0078841
Sales went from 2,000 to 2,500. What is the percent change? Python, step by step: ```python old = 2000 new = 2500 change = (new - old) / old * 100 # 25.0 print(round(change)) ``` Execution result: 25 It changed by 25%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0078842
Starting from $12,000, the team spends $1,377, $1,720, $436. What remains? ```python budget = 12000 expenses = [1377, 1720, 436] left = budget - sum(expenses) # 8467 print(left) ``` The interpreter prints 8467. $8,467 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "8467", "printed": "8467", "notation": null}
nlprog_det-setting-0078843
<|start|><|user|> On which weekday does September 10, 2000 fall?<|eot|> <|assistant|> ```python from datetime import date hearing = date(2000, 9, 10) # datetime.date(2000, 9, 10) print(hearing.strftime("%A")) ``` Execution prints: Sunday It is a Sunday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "On which weekday does September 10, 2000 fall?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(2000, 9, 10) # datetime.date(2000, 9, 10)\nprint(hearing.strftime(\"%A\"))\n```\nExecution prints: Sunday\n\nIt is a Sunday." ...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "Sunday", "printed": "Sunday", "notation": null}
nlprog_det-setting-0078844
From 2009 to 2019, how many years is that? Written as code: start_year = 2009 end_year = 2019 print(end_year - start_year) The program prints: 10 That is 10 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
58
{"gold": "10", "printed": "10", "notation": null}
nlprog_det-setting-0078845
707 files go into boxes of 25. How many boxes does that take? Programmatically: ```python import math files = 707 per_box = 25 boxes = math.ceil(files / per_box) print(boxes) ``` It prints: 29 29 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0078846
What average speed covers 266 miles in 2 hours? Here is the program. ```python distance = 266 hours = 2 speed = distance / hours # 133.0 print(round(speed)) ``` What it prints — 133 It averages 133 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "133", "printed": "133", "notation": null}
nlprog_det-setting-0078847
<|start|><|user|> 142 copies of a 32-page packet are printed at $0.08 per page. What is the cost?<|eot|> <|assistant|> Printing costs $363.52.<|eot|> <|end|>
chat
[ { "role": "user", "content": "142 copies of a 32-page packet are printed at $0.08 per page. What is the cost?" }, { "role": "assistant", "content": "Printing costs $363.52." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
43
{"gold": "363.52", "printed": "363.52", "notation": null}
nlprog_det-setting-0078848
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> Convert 32.6 km to meters.<|eot|> <|assistant|> ```python km = 32.6 meters = km * 1000 # 32600.0 print(round(meters)) ``` The script prints: 32600 That is 32,600 meters.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "Convert 32.6 km to meters." }, { "role": "assistant", "content": "```python\nkm = 32.6\nmeters = km * 1000 # 32600.0\nprint(round(meters))\n```\nThe script prints: 32600\n\nThat is 32,600 mete...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "32600", "printed": "32600", "notation": null}
nlprog_det-setting-0078849
<|start|><|user|> Counting only Monday through Friday, how many business days are there after January 11, 2023 through February 17, 2023?<|eot|> <|assistant|> There are 27 business days.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after January 11, 2023 through February 17, 2023?" }, { "role": "assistant", "content": "There are 27 business days." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0078850
<|start|><|user|> Prorate $1,500 of monthly rent for 9 days of a 30-day month.<|eot|> <|assistant|> ```python rent = 1500 days_in_month = 30 days_occupied = 9 prorated = rent * days_occupied / days_in_month # 450.0 print(f"{prorated:.2f}") ``` (Console output: 450.00) The prorated rent is $450.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Prorate $1,500 of monthly rent for 9 days of a 30-day month." }, { "role": "assistant", "content": "```python\nrent = 1500\ndays_in_month = 30\ndays_occupied = 9\nprorated = rent * days_occupied / days_in_month # 450.0\nprint(f\"{prorated:.2f}\")\n```\n(Console out...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "450.00", "printed": "450.00", "notation": null}
nlprog_det-setting-0078852
Tariq drove 559 miles for work. Mileage is reimbursed at 67 cents a mile. How much is the reimbursement? Program: ```python miles = 559 rate = 0.67 reimbursement = miles * rate # 374.53000000000003 print(f"{reimbursement:.2f}") ``` (Output: 374.53) The reimbursement is $374.53.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "374.53", "printed": "374.53", "notation": null}
nlprog_det-setting-0078853
<|start|><|user|> What day of the week is August 28, 1990?<|eot|> <|assistant|> ```python from datetime import date hearing = date(1990, 8, 28) # datetime.date(1990, 8, 28) print(hearing.strftime("%A")) ``` Printed = Tuesday August 28, 1990 is a Tuesday.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What day of the week is August 28, 1990?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(1990, 8, 28) # datetime.date(1990, 8, 28)\nprint(hearing.strftime(\"%A\"))\n```\nPrinted = Tuesday\n\nAugust 28, 1990 is a Tuesday."...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "Tuesday", "printed": "Tuesday", "notation": null}
nlprog_det-setting-0078854
<|start|><|user|> A recipe for 6 people uses 200 grams of rice. How many grams are needed for 12 people?<|eot|> <|assistant|> ```python grams = 200 serves = 6 needed_for = 12 scaled = grams * needed_for // serves # 400 print(scaled) ``` Run result: 400 Use 400 g of rice.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 6 people uses 200 grams of rice. How many grams are needed for 12 people?" }, { "role": "assistant", "content": "```python\ngrams = 200\nserves = 6\nneeded_for = 12\nscaled = grams * needed_for // serves # 400\nprint(scaled)\n```\nRun result: 400\n\nUs...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0078856
<|start|><|user|> How many of 109 votes make 60% (round up)?<|eot|> <|assistant|> ```python import math voters = 109 needed = math.ceil(voters * 60 / 100) # 66 print(needed) ``` Interpreter output: 66 At least 66 votes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many of 109 votes make 60% (round up)?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 109\nneeded = math.ceil(voters * 60 / 100) # 66\nprint(needed)\n```\nInterpreter output: 66\n\nAt least 66 votes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "66", "printed": "66", "notation": null}
nlprog_det-setting-0078857
<|start|><|user|> A shift runs from 8:38 AM to 11:05 AM. How long is it in minutes?<|eot|> <|assistant|> ```python start = 8 * 60 + 38 # 518 end = 11 * 60 + 5 # 665 print(end - start) ``` Result — 147 It is 147 minutes long.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A shift runs from 8:38 AM to 11:05 AM. How long is it in minutes?" }, { "role": "assistant", "content": "```python\nstart = 8 * 60 + 38 # 518\nend = 11 * 60 + 5 # 665\nprint(end - start)\n```\nResult — 147\n\nIt is 147 minutes long." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "147", "printed": "147", "notation": null}
nlprog_det-setting-0078858
<|start|><|user|> Rafael earns a 5% commission on $93,797 of sales. What is the commission?<|eot|> <|assistant|> sales = 93797 rate = 5 / 100 # 0.05 commission = sales * rate # 4689.85 print(f"{commission:.2f}") Run result = 4689.85 The commission is $4,689.85.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rafael earns a 5% commission on $93,797 of sales. What is the commission?" }, { "role": "assistant", "content": " sales = 93797\n rate = 5 / 100 # 0.05\n commission = sales * rate # 4689.85\n print(f\"{commission:.2f}\")\nRun result = 4689.85\n\nThe co...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "4689.85", "printed": "4689.85", "notation": null}
nlprog_det-setting-0078860
An unpaid balance of $4,000 accrues 1.5% simple interest per month. How much interest accrues in 3 months? The program: ```python balance = 4000 monthly_rate = 1.5 / 100 # 0.015 months = 3 interest = balance * monthly_rate * months # 180.0 print(f"{interest:.2f}") ``` The script prints 180.00, as expected. $180.00 ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "180.00", "printed": "180.00", "notation": null}
nlprog_det-setting-0078861
Divide 26 items among 9 groups as evenly as possible with equal groups. How many per group, and how many remain? Python makes this quick: ```python total = 26 groups = 9 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` # program output: 2 each, 8 left over The answer:...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "2 each, 8 left over", "printed": "2 each, 8 left over", "notation": null}
nlprog_det-setting-0078862
<|start|><|system|> You are a data assistant.<|eot|> <|user|> At 65 miles per hour, how many minutes does a 130-mile trip take?<|eot|> <|assistant|> ```python distance = 130 speed = 65 minutes = distance / speed * 60 # 120.0 print(round(minutes)) ``` Run result = 120 The trip takes 120 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "At 65 miles per hour, how many minutes does a 130-mile trip take?" }, { "role": "assistant", "content": "```python\ndistance = 130\nspeed = 65\nminutes = distance / speed * 60 # 120.0\nprint(...
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0078863
A garage charges $5 an hour, never more than $20 a day. How much for 4 hours? The charge is $20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0078864
<|start|><|system|> You are a data assistant.<|eot|> <|user|> Someone works 30 hours at $19.08 per hour. What are the earnings?<|eot|> <|assistant|> rate = 19.08 hours = 30 earnings = rate * hours print(f"{earnings:.2f}") Executed, it shows 572.40. That earns $572.40.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "Someone works 30 hours at $19.08 per hour. What are the earnings?" }, { "role": "assistant", "content": " rate = 19.08\n hours = 30\n earnings = rate * hours\n print(f\"{earnings:....
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "572.40", "printed": "572.40", "notation": null}
nlprog_det-setting-0078865
<|start|><|user|> Split $5,474 between Ulla and Bruna in the ratio 2 to 5. What is Ulla's share?<|eot|> <|assistant|> ```python total = 5474 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) print(share_a) ``` The program outputs: 1564 Ulla gets $1,564.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $5,474 between Ulla and Bruna in the ratio 2 to 5. What is Ulla's share?" }, { "role": "assistant", "content": "```python\ntotal = 5474\nparts_a = 2\nparts_b = 5\nshare_a = total * parts_a // (parts_a + parts_b)\nprint(share_a)\n```\nThe program outputs: 1564\...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "1564", "printed": "1564", "notation": null}
nlprog_det-setting-0078867
<|start|><|user|> 3 books come back 5 days late, at $0.50 a day each. What is the fine?<|eot|> <|assistant|> ```python per_day = 0.5 days_late = 5 books = 3 fine = per_day * days_late * books # 7.5 print(f"{fine:.2f}") ``` stdout = 7.50 The fine is $7.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 books come back 5 days late, at $0.50 a day each. What is the fine?" }, { "role": "assistant", "content": "```python\nper_day = 0.5\ndays_late = 5\nbooks = 3\nfine = per_day * days_late * books # 7.5\nprint(f\"{fine:.2f}\")\n```\nstdout = 7.50\n\nThe fine is $7.5...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "7.50", "printed": "7.50", "notation": null}
nlprog_det-setting-0078868
Kofi was born on January 23, 2005. How old is Kofi on November 21, 2025? Set it up in Python: ```python from datetime import date born = date(2005, 1, 23) # datetime.date(2005, 1, 23) on = date(2025, 11, 21) # datetime.date(2025, 11, 21) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) # 20...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
158
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0078869
<|start|><|user|> A garage charges $4 an hour, never more than $20 a day. How much for 12 hours?<|eot|> <|assistant|> ```python rate = 4 hours = 12 daily_max = 20 cost = min(rate * hours, daily_max) # 20 print(cost) ``` Console output: 20 The charge is $20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A garage charges $4 an hour, never more than $20 a day. How much for 12 hours?" }, { "role": "assistant", "content": "```python\nrate = 4\nhours = 12\ndaily_max = 20\ncost = min(rate * hours, daily_max) # 20\nprint(cost)\n```\nConsole output: 20\n\nThe charge is $2...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0078870
<|start|><|user|> A 14 lb package ships at $8 base plus $2.50/lb. What is the charge?<|eot|> <|assistant|> ```python base = 8 per_pound = 2.5 weight = 14 cost = base + per_pound * weight # 43.0 print(f"{cost:.2f}") ``` Executed, it shows: 43.00 Shipping costs $43.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 14 lb package ships at $8 base plus $2.50/lb. What is the charge?" }, { "role": "assistant", "content": "```python\nbase = 8\nper_pound = 2.5\nweight = 14\ncost = base + per_pound * weight # 43.0\nprint(f\"{cost:.2f}\")\n```\nExecuted, it shows: 43.00\n\nShipping...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "43.00", "printed": "43.00", "notation": null}
nlprog_det-setting-0078871
<|start|><|system|> You are a data assistant.<|eot|> <|user|> What is a 15% tip on a $98.14 bill?<|eot|> <|assistant|> ```python bill = 98.14 tip_rate = 15 / 100 # 0.15 tip = bill * tip_rate # 14.721 print(f"{tip:.2f}") ``` Output = 14.72 The tip is $14.72.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "What is a 15% tip on a $98.14 bill?" }, { "role": "assistant", "content": "```python\nbill = 98.14\ntip_rate = 15 / 100 # 0.15\ntip = bill * tip_rate # 14.721\nprint(f\"{tip:.2f}\")\n```\nOu...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "14.72", "printed": "14.72", "notation": null}
nlprog_det-setting-0078872
A 574-page report must be reviewed in 14 days. How many pages a day is that, evenly? As a program: ```python pages = 574 days = 14 per_day = pages // days # 41 print(per_day) ``` The script prints 41, as expected. 41 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0078873
<|start|><|user|> Rania's scores were 65, 85, 69, 100 and 56. What is the average score?<|eot|> <|assistant|> ```python scores = [65, 85, 69, 100, 56] average = sum(scores) // len(scores) # 75 print(average) ``` Running it prints 75, as expected. The average score is 75.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rania's scores were 65, 85, 69, 100 and 56. What is the average score?" }, { "role": "assistant", "content": "```python\nscores = [65, 85, 69, 100, 56]\naverage = sum(scores) // len(scores) # 75\nprint(average)\n```\nRunning it prints 75, as expected.\n\nThe averag...
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "75", "printed": "75", "notation": null}
nlprog_det-setting-0078874
<|start|><|user|> Signe earns $20.00 an hour and time and a half for hours over 40. What is the pay for a 45-hour week?<|eot|> <|assistant|> ```python rate = 20.0 hours = 45 regular = 40 * rate # 800.0 overtime = (hours - 40) * rate * 1.5 # 150.0 pay = regular + overtime # 950.0 print(f"{pay:.2f}") ``` Printed: 950....
chat
[ { "role": "user", "content": "Signe earns $20.00 an hour and time and a half for hours over 40. What is the pay for a 45-hour week?" }, { "role": "assistant", "content": "```python\nrate = 20.0\nhours = 45\nregular = 40 * rate # 800.0\novertime = (hours - 40) * rate * 1.5 # 150.0\npay = regula...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "950.00", "printed": "950.00", "notation": null}
nlprog_det-setting-0078875
<|start|><|user|> A 832-page report must be reviewed in 16 days. How many pages a day is that, evenly?<|eot|> <|assistant|> That is 52 pages per day.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 832-page report must be reviewed in 16 days. How many pages a day is that, evenly?" }, { "role": "assistant", "content": "That is 52 pages per day." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "52", "printed": "52", "notation": null}
nlprog_det-setting-0078876
<|start|><|user|> 122 volunteers are split into 8 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> ```python total = 122 groups = 8 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Running it prints 15 each, 2 left over. 15 each,...
chat
[ { "role": "user", "content": "122 volunteers are split into 8 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "```python\ntotal = 122\ngroups = 8\nper_group, remainder = divmod(total, groups)\nprint(f\"{per_group} each, {remainder} left o...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "15 each, 2 left over", "printed": "15 each, 2 left over", "notation": null}
nlprog_det-setting-0078877
From 2006 to 2029, how many years is that? Program: ```python start_year = 2006 end_year = 2029 print(end_year - start_year) ``` (Console output: 23) That is 23 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
70
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0078878
<|start|><|user|> Someone works 40 hours at $23.57 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 23.57 hours = 40 earnings = rate * hours # 942.8 print(f"{earnings:.2f}") ``` That prints 942.80. The pay is $942.80.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 40 hours at $23.57 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 23.57\nhours = 40\nearnings = rate * hours # 942.8\nprint(f\"{earnings:.2f}\")\n```\nThat prints 942.80.\n\nThe pay is $942.80." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "942.80", "printed": "942.80", "notation": null}
nlprog_det-setting-0078879
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> An office budget of $12,000 has expenses of $3,190, $3,823, $2,291. How much of the budget is left?<|eot|> <|assistant|> budget = 12000 expenses = [3190, 3823, 2291] left = budget - sum(expenses) # 2696 print(left) Print...
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "An office budget of $12,000 has expenses of $3,190, $3,823, $2,291. How much of the budget is left?" }, { "role": "assistant", "content": " budget = 12000\n expenses...
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "2696", "printed": "2696", "notation": null}
nlprog_det-setting-0078880
<|start|><|system|> You can call tools. Available tools: [{"name": "compute", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|use...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"compute\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python sour...
nlprog_det
setting
original
null
deterministic
[]
[]
210
{"gold": "260", "printed": "260", "notation": null}
nlprog_det-setting-0078881
<|start|><|user|> 6 claimants share a $522 settlement equally. What is each share?<|eot|> <|assistant|> settlement = 522 parties = 6 share = settlement // parties # 87 print(share) The script prints 87, as expected. Each share is $87.<|eot|> <|end|>
chat
[ { "role": "user", "content": "6 claimants share a $522 settlement equally. What is each share?" }, { "role": "assistant", "content": " settlement = 522\n parties = 6\n share = settlement // parties # 87\n print(share)\nThe script prints 87, as expected.\n\nEach share is $87." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
68
{"gold": "87", "printed": "87", "notation": null}
nlprog_det-setting-0078882
A party has 14 days to respond to a motion served on August 24, 2026, with 3 days added because service was by mail. When is the response due? A Python solution: ```python from datetime import date, timedelta served = date(2026, 8, 24) # datetime.date(2026, 8, 24) response_days = 14 mail_days = 3 due = served + timed...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
182
{"gold": "2026-09-10", "printed": "2026-09-10", "notation": null}
nlprog_det-setting-0078883
A court charges $10 per request plus $0.10 per page after the first 10 pages. What does a 50-page copy cost? Code: ```python pages = 50 base = 10 per_page = 0.1 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 14.0 print(f"{cost:.2f}") ``` (Printed: 14.00) The total is $14.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "14.00", "printed": "14.00", "notation": null}
nlprog_det-setting-0078884
How many of 37 members form a majority (more than half)? The Python version: ```python members = 37 majority = members // 2 + 1 # 19 print(majority) ``` It prints: 19 19 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "19", "printed": "19", "notation": null}
nlprog_det-setting-0078885
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> A hall has 6 rows of 14 seats, and 25 seats are empty. How many people are seated?<|eot|> <|assistant|> ```python rows = 6 per_row = 14 empty = 25 seated = rows * per_row - empty # 59 print(seated) ``` Program output: 59 59 seats are taken.<|e...
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "A hall has 6 rows of 14 seats, and 25 seats are empty. How many people are seated?" }, { "role": "assistant", "content": "```python\nrows = 6\nper_row = 14\nempty = 25\nseated = r...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "59", "printed": "59", "notation": null}
nlprog_det-setting-0078886
10 boxes hold 24 paper reams each. After 2 are handed out, how many are left? Code: ```python boxes = 10 per_box = 24 given_away = 2 left = boxes * per_box - given_away # 238 print(left) ``` stdout — 238 238 paper reams are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "238", "printed": "238", "notation": null}
nlprog_det-setting-0078887
<|start|><|user|> Equal monthly payments repay $3,600 plus 10% simple yearly interest over 24 months. How large is a payment?<|eot|> <|assistant|> ```python principal = 3600 annual_rate = 10 / 100 # 0.1 months = 24 interest = principal * annual_rate * months / 12 # 720.0 payment = (principal + interest) / months # 1...
chat
[ { "role": "user", "content": "Equal monthly payments repay $3,600 plus 10% simple yearly interest over 24 months. How large is a payment?" }, { "role": "assistant", "content": "```python\nprincipal = 3600\nannual_rate = 10 / 100 # 0.1\nmonths = 24\ninterest = principal * annual_rate * months / ...
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "180.00", "printed": "180.00", "notation": null}
nlprog_det-setting-0078888
<|start|><|user|> Delia buys 12 boxes of 8 rulers each and gives away 11 rulers. How many rulers are left?<|eot|> <|assistant|> 85 rulers are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Delia buys 12 boxes of 8 rulers each and gives away 11 rulers. How many rulers are left?" }, { "role": "assistant", "content": "85 rulers are left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
38
{"gold": "85", "printed": "85", "notation": null}
nlprog_det-setting-0078889
Sofia was born on February 22, 1958. How old is Sofia on August 28, 2028? The age is 70 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "70", "printed": "70", "notation": null}
nlprog_det-setting-0078890
<|start|><|user|> From 1996 to 2027, how many years is that?<|eot|> <|assistant|> ```python start_year = 1996 end_year = 2027 print(end_year - start_year) ``` The interpreter prints 31. 31 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "From 1996 to 2027, how many years is that?" }, { "role": "assistant", "content": "```python\nstart_year = 1996\nend_year = 2027\nprint(end_year - start_year)\n```\nThe interpreter prints 31.\n\n31 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "31", "printed": "31", "notation": null}
nlprog_det-setting-0078891
<|start|><|user|> How many of 259 votes make 67% (round up)?<|eot|> <|assistant|> ```python import math voters = 259 needed = math.ceil(voters * 67 / 100) # 174 print(needed) ``` The program prints: 174 At least 174 votes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many of 259 votes make 67% (round up)?" }, { "role": "assistant", "content": "```python\nimport math\nvoters = 259\nneeded = math.ceil(voters * 67 / 100) # 174\nprint(needed)\n```\nThe program prints: 174\n\nAt least 174 votes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "174", "printed": "174", "notation": null}
nlprog_det-setting-0078892
The paralegal logged 10.5 hours at a rate of $410. How much is billed? The bill is $4,305.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "4305.00", "printed": "4305.00", "notation": null}
nlprog_det-setting-0078893
At $0.70 per mile, what is the reimbursement for 362 miles? We write it as a program: ```python miles = 362 rate = 0.7 reimbursement = miles * rate # 253.39999999999998 print(f"{reimbursement:.2f}") ``` # output: 253.40 The reimbursement is $253.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "253.40", "printed": "253.40", "notation": null}
nlprog_det-setting-0078894
<|start|><|user|> Of a $8,000 budget, $7,600 has been spent. What percent is that?<|eot|> <|assistant|> ```python budget = 8000 spent = 7600 percent = spent / budget * 100 # 95.0 print(round(percent, 1)) ``` Run it and it prints 95.0. That is 95.0% of the budget.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Of a $8,000 budget, $7,600 has been spent. What percent is that?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nspent = 7600\npercent = spent / budget * 100 # 95.0\nprint(round(percent, 1))\n```\nRun it and it prints 95.0.\n\nThat is 95.0% of the ...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "95.0", "printed": "95.0", "notation": null}
nlprog_det-setting-0078895
<|start|><|user|> 6 claimants share a $1,200 settlement equally. What is each share?<|eot|> <|assistant|> settlement = 1200 parties = 6 share = settlement // parties # 200 print(share) # program output: 200 Each party receives $200.<|eot|> <|end|>
chat
[ { "role": "user", "content": "6 claimants share a $1,200 settlement equally. What is each share?" }, { "role": "assistant", "content": " settlement = 1200\n parties = 6\n share = settlement // parties # 200\n print(share)\n# program output: 200\n\nEach party receives $200." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
65
{"gold": "200", "printed": "200", "notation": null}
nlprog_det-setting-0078896
At $0.65 per mile, what is the reimbursement for 610 miles? Python makes this quick: ```python miles = 610 rate = 0.65 reimbursement = miles * rate # 396.5 print(f"{reimbursement:.2f}") ``` Out — 396.50 The reimbursement is $396.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "396.50", "printed": "396.50", "notation": null}
nlprog_det-setting-0078897
<|start|><|user|> Split $2,900 between Tobias and Bilal in the ratio 2 to 3. What is Tobias's share?<|eot|> <|assistant|> ```python total = 2900 parts_a = 2 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 1160 print(share_a) ``` Run it and it prints: 1160 Tobias's share is $1,160.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Split $2,900 between Tobias and Bilal in the ratio 2 to 3. What is Tobias's share?" }, { "role": "assistant", "content": "```python\ntotal = 2900\nparts_a = 2\nparts_b = 3\nshare_a = total * parts_a // (parts_a + parts_b) # 1160\nprint(share_a)\n```\nRun it and it ...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "1160", "printed": "1160", "notation": null}
nlprog_det-setting-0078898
<|start|><|user|> At $25.72 an hour, what does 20 hours of work pay?<|eot|> <|assistant|> ```python rate = 25.72 hours = 20 earnings = rate * hours # 514.4 print(f"{earnings:.2f}") ``` Console output: 514.40 The pay is $514.40.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $25.72 an hour, what does 20 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 25.72\nhours = 20\nearnings = rate * hours # 514.4\nprint(f\"{earnings:.2f}\")\n```\nConsole output: 514.40\n\nThe pay is $514.40." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "514.40", "printed": "514.40", "notation": null}
nlprog_det-setting-0078899
A pack of 20 hard drives sells for $960. What does each cost? Python: ```python total = 960 count = 20 per_item = total // count # 48 print(per_item) ``` (Output: 48) Each one costs $48.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0078900
From a $7,500 retainer, 3 hours at $275/hour have been drawn. What remains? Script: ```python retainer = 7500 hours = 3 rate = 275 left = retainer - hours * rate # 6675 print(left) ``` Output: 6675 $6,675 of the retainer is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "6675", "printed": "6675", "notation": null}
nlprog_det-setting-0078901
Convert 1,924 GBP to USD at 1 GBP = 1.12 USD. As a program: ```python amount = 1924 rate = 1.12 converted = amount * rate # 2154.88 print(f"{converted:.2f}") ``` Result: 2154.88 It converts to 2,154.88 USD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "2154.88", "printed": "2154.88", "notation": null}
nlprog_det-setting-0078902
Sara lends $20,000 at 2% simple interest per year for 5 years. How much interest is earned? Let the code do the arithmetic: ```python principal = 20000 rate = 2 / 100 # 0.02 years = 5 interest = principal * rate * years # 2000.0 print(f"{interest:.2f}") ``` Output: 2000.00 It earns $2,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "2000.00", "printed": "2000.00", "notation": null}
nlprog_det-setting-0078903
<|start|><|user|> A service costs $29 a month or $312 a year. How much does the yearly plan save over 12 monthly payments?<|eot|> <|assistant|> $36 is saved.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A service costs $29 a month or $312 a year. How much does the yearly plan save over 12 monthly payments?" }, { "role": "assistant", "content": "$36 is saved." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0078904
Find the mean of these test scores: 81, 53, 68, 95, 96 and 51. Python makes this quick: ```python scores = [81, 53, 68, 95, 96, 51] average = sum(scores) // len(scores) # 74 print(average) ``` # execution result: 74 The mean is 74.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "74", "printed": "74", "notation": null}
nlprog_det-setting-0078905
What percentage of $10,000 is $900? In code: budget = 10000 spent = 900 percent = spent / budget * 100 print(round(percent, 1)) The printout reads: 9.0 That is 9.0% of the budget.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "9.0", "printed": "9.0", "notation": null}
nlprog_det-setting-0078906
<|start|><|system|> You are a careful assistant.<|eot|> <|user|> What day of the week is November 25, 2026?<|eot|> <|assistant|> ```python from datetime import date hearing = date(2026, 11, 25) # datetime.date(2026, 11, 25) print(hearing.strftime("%A")) ``` Executing it gives: Wednesday November 25, 2026 is a Wednesd...
chat
[ { "role": "system", "content": "You are a careful assistant." }, { "role": "user", "content": "What day of the week is November 25, 2026?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nhearing = date(2026, 11, 25) # datetime.date(2026, 11, 25)\nprint(he...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0078907
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> Starting with 1850 envelopes and using 33 per day, how many remain after 4 days?<|eot|> <|assistant|> ```python stock = 1850 per_day = 33 days = 4 left = stock - per_day * days # 1718 print(left) ``` Run it and it prints 1718. 1718 envelopes are left.<|eot|> ...
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "Starting with 1850 envelopes and using 33 per day, how many remain after 4 days?" }, { "role": "assistant", "content": "```python\nstock = 1850\nper_day = 33\ndays = 4\nleft = stock - per_day * d...
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1718", "printed": "1718", "notation": null}
nlprog_det-setting-0078908
Scale 200 g of sugar from 2 servings to 8 servings. We write it as a program: ```python grams = 200 serves = 2 needed_for = 8 scaled = grams * needed_for // serves # 800 print(scaled) ``` (Result: 800) 800 grams of sugar are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "800", "printed": "800", "notation": null}
nlprog_det-setting-0078910
What commission does Beatriz make on $45,764 in sales at 4%? Let's compute it with Python. ```python sales = 45764 rate = 4 / 100 # 0.04 commission = sales * rate # 1830.56 print(f"{commission:.2f}") ``` (Console output: 1830.56) Beatriz earns $1,830.56.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "1830.56", "printed": "1830.56", "notation": null}
nlprog_det-setting-0078911
<|start|><|user|> Starting from $5,000, the team spends $3,745, $1,456, $2,156. What remains?<|eot|> <|assistant|> ```python budget = 5000 expenses = [3745, 1456, 2156] left = budget - sum(expenses) print(left) ``` Output = -2357 -$2,357 is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting from $5,000, the team spends $3,745, $1,456, $2,156. What remains?" }, { "role": "assistant", "content": "```python\nbudget = 5000\nexpenses = [3745, 1456, 2156]\nleft = budget - sum(expenses)\nprint(left)\n```\nOutput = -2357\n\n-$2,357 is left." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "-2357", "printed": "-2357", "notation": null}
nlprog_det-setting-0078912
Wen was born on November 8, 1970. How old is Wen on April 2, 2026? Wen is 55.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "55", "printed": "55", "notation": null}
nlprog_det-setting-0078914
<|start|><|user|> What percentage of $10,000 is $2,000?<|eot|> <|assistant|> ```python budget = 10000 spent = 2000 percent = spent / budget * 100 # 20.0 print(round(percent, 1)) ``` Printed result: 20.0 20.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $10,000 is $2,000?" }, { "role": "assistant", "content": "```python\nbudget = 10000\nspent = 2000\npercent = spent / budget * 100 # 20.0\nprint(round(percent, 1))\n```\nPrinted result: 20.0\n\n20.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "20.0", "printed": "20.0", "notation": null}
nlprog_det-setting-0078916
<|start|><|system|> Respond clearly and to the point.<|eot|> <|user|> Papers were served by mail on April 3, 2026. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> ```python from datetime import date, timedelta served = date(2026, 4, 3) # datetime.date(...
chat
[ { "role": "system", "content": "Respond clearly and to the point." }, { "role": "user", "content": "Papers were served by mail on April 3, 2026. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "```pyt...
nlprog_det
setting
original
null
deterministic
[]
[]
194
{"gold": "2026-05-04", "printed": "2026-05-04", "notation": null}
nlprog_det-setting-0078918
A client paid a $7,500 retainer. The firm has billed 6 hours at $250 per hour. How much of the retainer is left? Set it up in Python: ```python retainer = 7500 hours = 6 rate = 250 left = retainer - hours * rate print(left) ``` (Result: 6000) The remaining balance is $6,000.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "6000", "printed": "6000", "notation": null}
nlprog_det-setting-0078919
10 boxes hold 25 notebooks each. After 7 are handed out, how many are left? Python code: ```python boxes = 10 per_box = 25 given_away = 7 left = boxes * per_box - given_away # 243 print(left) ``` stdout — 243 243 notebooks are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "243", "printed": "243", "notation": null}
nlprog_det-setting-0078920
A court charges $15 per request plus $0.25 per page after the first 0 pages. What does a 58-page copy cost? A few lines of Python do it: ```python pages = 58 base = 15 per_page = 0.25 free_pages = 0 cost = base + max(0, pages - free_pages) * per_page # 29.5 print(f"{cost:.2f}") ``` Run result: 29.50 The copy costs $...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
137
{"gold": "29.50", "printed": "29.50", "notation": null}
nlprog_det-setting-0078921
Convert 4 h 37 min (the length of a hearing) to minutes. Here's the code. ```python hours = 4 minutes = 37 total_minutes = hours * 60 + minutes # 277 print(total_minutes) ``` Execution prints: 277 That is 277 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "277", "printed": "277", "notation": null}
nlprog_det-setting-0078923
<|start|><|user|> Straight-line depreciation: cost $12,000, salvage $6,000, 5 years. How much per year?<|eot|> <|assistant|> ```python cost = 12000 salvage = 6000 years = 5 per_year = (cost - salvage) / years # 1200.0 print(f"{per_year:.2f}") ``` Result — 1200.00 Depreciation is $1,200.00 per year.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Straight-line depreciation: cost $12,000, salvage $6,000, 5 years. How much per year?" }, { "role": "assistant", "content": "```python\ncost = 12000\nsalvage = 6000\nyears = 5\nper_year = (cost - salvage) / years # 1200.0\nprint(f\"{per_year:.2f}\")\n```\nResult — ...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0078924
<|start|><|system|> You are a data assistant.<|eot|> <|user|> 4 books come back 7 days late, at $0.20 a day each. What is the fine?<|eot|> <|assistant|> $5.60 is owed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "4 books come back 7 days late, at $0.20 a day each. What is the fine?" }, { "role": "assistant", "content": "$5.60 is owed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "5.60", "printed": "5.60", "notation": null}