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-0060759
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> Papers were served by mail on August 6, 2026. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date?<|eot|> <|assistant|> from datetime import date, timedelta served = date(2026, 8, 6) # datetime.d...
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "Papers were served by mail on August 6, 2026. A response is due 28 days after service, plus 3 extra days for mailing. What is the due date?" }, { "role": "assistant", "content": "...
nlprog_det
setting
original
null
deterministic
[]
[]
186
{"gold": "2026-09-06", "printed": "2026-09-06", "notation": null}
nlprog_det-setting-0060760
26 hard drives cost $8 apiece. With 6% tax added, what is the total? Python version: ```python quantity = 26 unit_price = 8 subtotal = quantity * unit_price # 208 total = subtotal * (1 + 6 / 100) # 220.48000000000002 print(f"{total:.2f}") ``` The interpreter prints: 220.48 The invoice total is $220.48.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "220.48", "printed": "220.48", "notation": null}
nlprog_det-setting-0060761
A garage charges $5 an hour, never more than $18 a day. How much for 1 hours? The charge is $5.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0060762
Maren was born on September 10, 1954. How old is Maren on August 9, 2026? ```python from datetime import date born = date(1954, 9, 10) # datetime.date(1954, 9, 10) on = date(2026, 8, 9) # datetime.date(2026, 8, 9) age = on.year - born.year - ((on.month, on.day) < (born.month, born.day)) # 71 print(age) ``` Executio...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "71", "printed": "71", "notation": null}
nlprog_det-setting-0060763
<|start|><|user|> Fixed costs are $4,000. Each unit sells for $15 and costs $5 to make. How many units must be sold to break even?<|eot|> <|assistant|> ```python import math fixed = 4000 price = 15 variable = 5 units = math.ceil(fixed / (price - variable)) # 400 print(units) ``` Interpreter output: 400 400 units are ...
chat
[ { "role": "user", "content": "Fixed costs are $4,000. Each unit sells for $15 and costs $5 to make. How many units must be sold to break even?" }, { "role": "assistant", "content": "```python\nimport math\nfixed = 4000\nprice = 15\nvariable = 5\nunits = math.ceil(fixed / (price - variable)) # 4...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "400", "printed": "400", "notation": null}
nlprog_det-setting-0060764
<|start|><|system|> Functions: {"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}} {"name": "calc", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "p...
chat
[ { "role": "system", "content": "Functions:\n{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}\n{\"name\": \"calc\", \"description\": \"Evaluates Python and return...
nlprog_det
setting
original
null
deterministic
[]
[]
394
{"gold": "46.20", "printed": "46.20", "notation": null}
nlprog_det-setting-0060765
At a 4% tax rate, what is the tax on $75.26? The program: ```python price = 75.26 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 3.0104 print(f"{tax:.2f}") ``` The code prints 3.01. $3.01 in tax.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "3.01", "printed": "3.01", "notation": null}
nlprog_det-setting-0060766
What is a 25% tip on a $56.38 bill? Python: bill = 56.38 tip_rate = 25 / 100 # 0.25 tip = bill * tip_rate # 14.095 print(f"{tip:.2f}") # printed result: 14.10 The tip is $14.10.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "14.10", "printed": "14.10", "notation": null}
nlprog_det-setting-0060767
<|start|><|user|> Convert 22.9 km to meters.<|eot|> <|assistant|> km = 22.9 meters = km * 1000 # 22900.0 print(round(meters)) Running it prints: 22900 22,900 m.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Convert 22.9 km to meters." }, { "role": "assistant", "content": " km = 22.9\n meters = km * 1000 # 22900.0\n print(round(meters))\nRunning it prints: 22900\n\n22,900 m." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
72
{"gold": "22900", "printed": "22900", "notation": null}
nlprog_det-setting-0060768
A lease runs for 12 months at $1,640 per month. How much rent is paid over the whole term? One way, in code: ```python monthly_rent = 1640 months = 12 total = monthly_rent * months # 19680 print(total) ``` It prints: 19680 The rent over the term is $19,680.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "19680", "printed": "19680", "notation": null}
nlprog_det-setting-0060769
<|start|><|user|> 4 friends split a $210 bill plus a 18% tip evenly. How much does each pay?<|eot|> <|assistant|> bill = 210 tip_rate = 18 / 100 # 0.18 people = 4 each = bill * (1 + tip_rate) / people # 61.949999999999996 print(f"{each:.2f}") Python prints 61.95, as expected. The share is $61.95 ...
chat
[ { "role": "user", "content": "4 friends split a $210 bill plus a 18% tip evenly. How much does each pay?" }, { "role": "assistant", "content": " bill = 210\n tip_rate = 18 / 100 # 0.18\n people = 4\n each = bill * (1 + tip_rate) / people # 61.949999999999996\n print(f\"{each:.2f...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "61.95", "printed": "61.95", "notation": null}
nlprog_det-setting-0060770
How much sales tax is charged on a $891.04 purchase at 7%? A Python solution: price = 891.04 tax_rate = 7 / 100 # 0.07 tax = price * tax_rate # 62.372800000000005 print(f"{tax:.2f}") Running this gives: 62.37 The tax is $62.37.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "62.37", "printed": "62.37", "notation": null}
nlprog_det-setting-0060771
One can of paint covers 250 square feet. How many cans are needed for 1020 square feet of wall? Coded up: ```python import math area = 1020 coverage = 250 cans = math.ceil(area / coverage) # 5 print(cans) ``` # run result: 5 5 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0060772
<|start|><|user|> What is a 25% tip on a $227.69 bill?<|eot|> <|assistant|> ```python bill = 227.69 tip_rate = 25 / 100 tip = bill * tip_rate print(f"{tip:.2f}") ``` The printout reads: 56.92 The tip is $56.92.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is a 25% tip on a $227.69 bill?" }, { "role": "assistant", "content": "```python\nbill = 227.69\ntip_rate = 25 / 100\ntip = bill * tip_rate\nprint(f\"{tip:.2f}\")\n```\nThe printout reads: 56.92\n\nThe tip is $56.92." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "56.92", "printed": "56.92", "notation": null}
nlprog_det-setting-0060773
2 hours of work at $250 an hour: what is the total charge? One way, in code: ```python hours = 2 rate = 250 bill = hours * rate print(f"{bill:.2f}") ``` The program outputs: 500.00 The bill is $500.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "500.00", "printed": "500.00", "notation": null}
nlprog_det-setting-0060774
<|start|><|system|> Functions: [{"name": "eval_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}]<|eot|> <|user|> At 60 miles per hour, how many minute...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"eval_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"program\"]}}...
nlprog_det
setting
original
null
deterministic
[]
[]
202
{"gold": "135", "printed": "135", "notation": null}
nlprog_det-setting-0060775
Convert 75.7 km to meters. That is 75,700 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "75700", "printed": "75700", "notation": null}
nlprog_det-setting-0060776
A 3% increase is applied to $1,100 monthly rent. What is the new amount? Computation in Python: ```python rent = 1100 increase = 3 / 100 # 0.03 new_rent = rent * (1 + increase) # 1133.0 print(f"{new_rent:.2f}") ``` Running this gives: 1133.00 It rises to $1,133.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1133.00", "printed": "1133.00", "notation": null}
nlprog_det-setting-0060777
A shift starts at 2:30 PM and lasts 135 minutes. When does it end? Coded up: ```python start = 14 * 60 + 30 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` That prints 4:45 PM. It ends at 4:45 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "4:45 PM", "printed": "4:45 PM", "notation": null}
nlprog_det-setting-0060778
<|start|><|user|> How many minutes pass from 7:49 AM to 1:38 PM on the same day?<|eot|> <|assistant|> start = 7 * 60 + 49 # 469 end = 13 * 60 + 38 # 818 print(end - start) Console output: 349 349 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 7:49 AM to 1:38 PM on the same day?" }, { "role": "assistant", "content": " start = 7 * 60 + 49 # 469\n end = 13 * 60 + 38 # 818\n print(end - start)\nConsole output: 349\n\n349 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
73
{"gold": "349", "printed": "349", "notation": null}
nlprog_det-setting-0060779
<|start|><|user|> 4 clients win $48,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 48000 fee = award * 25 / 100 # 12000.0 remaining = award - fee # 36000.0 per_client = remaining / 4 # 9000.0 print(f"{per_client:.2f}") ``` Execution res...
chat
[ { "role": "user", "content": "4 clients win $48,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 48000\nfee = award * 25 / 100 # 12000.0\nremaining = award - fee # 36000.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "9000.00", "printed": "9000.00", "notation": null}
nlprog_det-setting-0060780
3 clients win $60,000. The lawyer takes 25%, and the rest is split equally. How much does each client get? In code: ```python award = 60000 fee = award * 25 / 100 # 15000.0 remaining = award - fee # 45000.0 per_client = remaining / 3 # 15000.0 print(f"{per_client:.2f}") ``` # printed: 15000.00 Each client gets $15...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "15000.00", "printed": "15000.00", "notation": null}
nlprog_det-setting-0060781
A quorum is 2/3 of the 34 members, rounded up. How many members make a quorum? Computing it: ```python import math members = 34 quorum = math.ceil(members * 2 / 3) # 23 print(quorum) ``` Output: 23 23 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0060783
<|start|><|user|> A car travels 274 miles in 1 hours. What is its average speed in miles per hour?<|eot|> <|assistant|> ```python distance = 274 hours = 1 speed = distance / hours # 274.0 print(round(speed)) ``` Python prints: 274 It averages 274 miles per hour.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A car travels 274 miles in 1 hours. What is its average speed in miles per hour?" }, { "role": "assistant", "content": "```python\ndistance = 274\nhours = 1\nspeed = distance / hours # 274.0\nprint(round(speed))\n```\nPython prints: 274\n\nIt averages 274 miles per...
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "274", "printed": "274", "notation": null}
nlprog_det-setting-0060784
A count moves from 400 to 420. By what percent did it change (use a minus sign for a drop)? Python does the arithmetic: ```python old = 400 new = 420 change = (new - old) / old * 100 print(round(change)) ``` The interpreter prints 5. It changed by 5%.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0060785
A library charges $0.25 per book per day late. What is the fine for 2 books that are 10 days late? Let's compute it with Python. ```python per_day = 0.25 days_late = 10 books = 2 fine = per_day * days_late * books # 5.0 print(f"{fine:.2f}") ``` Run output — 5.00 $5.00 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "5.00", "printed": "5.00", "notation": null}
nlprog_det-setting-0060786
<|start|><|user|> Printing costs 12 cents a page. What does it cost to print 54 copies of a 43-page handout?<|eot|> <|assistant|> ```python pages = 43 copies = 54 cost_per_page = 0.12 cost = pages * copies * cost_per_page # 278.64 print(f"{cost:.2f}") ``` The run gives 278.64, as expected. The job costs $278.64.<|eot...
chat
[ { "role": "user", "content": "Printing costs 12 cents a page. What does it cost to print 54 copies of a 43-page handout?" }, { "role": "assistant", "content": "```python\npages = 43\ncopies = 54\ncost_per_page = 0.12\ncost = pages * copies * cost_per_page # 278.64\nprint(f\"{cost:.2f}\")\n```\n...
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "278.64", "printed": "278.64", "notation": null}
nlprog_det-setting-0060787
<|start|><|user|> An invoice lists 21 mugs at $12 each, plus 10% sales tax. What is the invoice total?<|eot|> <|assistant|> The total with tax is $277.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "An invoice lists 21 mugs at $12 each, plus 10% sales tax. What is the invoice total?" }, { "role": "assistant", "content": "The total with tax is $277.20." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "277.20", "printed": "277.20", "notation": null}
nlprog_det-setting-0060788
<|start|><|user|> Each of Marek's swims burns 300 calories. How many calories over 6 swims?<|eot|> <|assistant|> ```python per_session = 300 sessions = 6 total = per_session * sessions # 1800 print(total) ``` # result: 1800 That burns 1800 calories.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each of Marek's swims burns 300 calories. How many calories over 6 swims?" }, { "role": "assistant", "content": "```python\nper_session = 300\nsessions = 6\ntotal = per_session * sessions # 1800\nprint(total)\n```\n# result: 1800\n\nThat burns 1800 calories." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "1800", "printed": "1800", "notation": null}
nlprog_det-setting-0060789
Someone works 30 hours at $23.72 per hour. What are the earnings? Translated to Python: ```python rate = 23.72 hours = 30 earnings = rate * hours # 711.5999999999999 print(f"{earnings:.2f}") ``` Execution result — 711.60 The pay is $711.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "711.60", "printed": "711.60", "notation": null}
nlprog_det-setting-0060790
Convert 25 °C to Fahrenheit. Python makes this quick: ```python celsius = 25 fahrenheit = celsius * 9 / 5 + 32 # 77.0 print(round(fahrenheit)) ``` Execution result — 77 That is 77 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "77", "printed": "77", "notation": null}
nlprog_det-setting-0060792
<|start|><|system|> You are a data assistant.<|eot|> <|user|> A meeting lasted 1 hours and 34 minutes. How many minutes is that?<|eot|> <|assistant|> hours = 1 minutes = 34 total_minutes = hours * 60 + minutes # 94 print(total_minutes) Console output: 94 That is 94 minutes.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a data assistant." }, { "role": "user", "content": "A meeting lasted 1 hours and 34 minutes. How many minutes is that?" }, { "role": "assistant", "content": " hours = 1\n minutes = 34\n total_minutes = hours * 60 + minutes # 94\n p...
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "94", "printed": "94", "notation": null}
nlprog_det-setting-0060793
A car travels 242 miles in 2 hours. What is its average speed in miles per hour? ```python distance = 242 hours = 2 speed = distance / hours # 121.0 print(round(speed)) ``` It prints 121. The average speed is 121 mph.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "121", "printed": "121", "notation": null}
nlprog_det-setting-0060794
An unpaid balance of $4,000 accrues 1% simple interest per month. How much interest accrues in 5 months? Let the code do the arithmetic: ```python balance = 4000 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 200.0 print(f"{interest:.2f}") ``` Shell output — 200.00 $200.00 acc...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
121
{"gold": "200.00", "printed": "200.00", "notation": null}
nlprog_det-setting-0060795
<|start|><|user|> What is the total rent on a 6-month lease at $2,875 a month?<|eot|> <|assistant|> ```python monthly_rent = 2875 months = 6 total = monthly_rent * months # 17250 print(total) ``` The script prints 17250, as expected. In total, $17,250 is paid.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is the total rent on a 6-month lease at $2,875 a month?" }, { "role": "assistant", "content": "```python\nmonthly_rent = 2875\nmonths = 6\ntotal = monthly_rent * months # 17250\nprint(total)\n```\nThe script prints 17250, as expected.\n\nIn total, $17,250 is p...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "17250", "printed": "17250", "notation": null}
nlprog_det-setting-0060796
From 2005 to 2040, how many years is that? We write it as a program: ```python start_year = 2005 end_year = 2040 print(end_year - start_year) ``` Console output — 35 35 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
67
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0060797
A garage charges $2 an hour, never more than $18 a day. How much for 1 hours? Here is a short program for it. ```python rate = 2 hours = 1 daily_max = 18 cost = min(rate * hours, daily_max) # 2 print(cost) ``` Interpreter output — 2 The charge is $2.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0060798
<|start|><|user|> Rent of $1,800 goes up 2%. What is the new rent?<|eot|> <|assistant|> rent = 1800 increase = 2 / 100 # 0.02 new_rent = rent * (1 + increase) # 1836.0 print(f"{new_rent:.2f}") It prints: 1836.00 It rises to $1,836.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Rent of $1,800 goes up 2%. What is the new rent?" }, { "role": "assistant", "content": " rent = 1800\n increase = 2 / 100 # 0.02\n new_rent = rent * (1 + increase) # 1836.0\n print(f\"{new_rent:.2f}\")\nIt prints: 1836.00\n\nIt rises to $1,836.00." }...
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "1836.00", "printed": "1836.00", "notation": null}
nlprog_det-setting-0060799
<|start|><|user|> A 12-month warranty starts on December 19, 2020. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date start = date(2020, 12, 19) months = 12 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isof...
chat
[ { "role": "user", "content": "A 12-month warranty starts on December 19, 2020. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date\nstart = date(2020, 12, 19)\nmonths = 12\nyears, month_index = divmod(start.month - 1 + months, 12)\nend = date(sta...
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "2021-12-19", "printed": "2021-12-19", "notation": null}
nlprog_det-setting-0060800
Parking is $4 per hour with a daily maximum of $18. What do 8 hours cost? Program: ```python rate = 4 hours = 8 daily_max = 18 cost = min(rate * hours, daily_max) # 18 print(cost) ``` The program prints 18, as expected. Parking costs $18.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0060801
Fines run at $25 per day up to a maximum of $5,000. How much after 45 days? Set it up in Python: ```python per_day = 25 days = 45 cap = 5000 fine = min(per_day * days, cap) # 1125 print(fine) ``` What it prints — 1125 The fine is $1,125.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "1125", "printed": "1125", "notation": null}
nlprog_det-setting-0060802
A court charges $5 per request plus $0.10 per page after the first 20 pages. What does a 87-page copy cost? The copy costs $11.70.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "11.70", "printed": "11.70", "notation": null}
nlprog_det-setting-0060803
<|start|><|user|> 1 books come back 17 days late, at $0.50 a day each. What is the fine?<|eot|> <|assistant|> ```python per_day = 0.5 days_late = 17 books = 1 fine = per_day * days_late * books # 8.5 print(f"{fine:.2f}") ``` # printed result: 8.50 The fine is $8.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "1 books come back 17 days late, at $0.50 a day each. What is the fine?" }, { "role": "assistant", "content": "```python\nper_day = 0.5\ndays_late = 17\nbooks = 1\nfine = per_day * days_late * books # 8.5\nprint(f\"{fine:.2f}\")\n```\n# printed result: 8.50\n\nThe f...
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "8.50", "printed": "8.50", "notation": null}
nlprog_det-setting-0060804
Express 37 hours in days and hours. We can compute it in Python. ```python hours = 37 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` This prints 1 days and 13 hours, as expected. That is 1 days and 13 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "1 days and 13 hours", "printed": "1 days and 13 hours", "notation": null}
nlprog_det-setting-0060805
From a $10,000 retainer, 7 hours at $200/hour have been drawn. What remains? Python code: ```python retainer = 10000 hours = 7 rate = 200 left = retainer - hours * rate # 8600 print(left) ``` Running it prints: 8600 The remaining balance is $8,600.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "8600", "printed": "8600", "notation": null}
nlprog_det-setting-0060806
Copies cost $15 plus $0.50 for each page beyond 20. How much for 65 pages? In Python: ```python pages = 65 base = 15 per_page = 0.5 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 37.5 print(f"{cost:.2f}") ``` Printed: 37.50 The total is $37.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
125
{"gold": "37.50", "printed": "37.50", "notation": null}
nlprog_det-setting-0060807
<|start|><|system|> Answer in plain English.<|eot|> <|user|> A 10-day notice period begins on May 7, 2026. On what date does it end?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 5, 7) # datetime.date(2026, 5, 7) end = start + timedelta(days=10) # datetime.date(2026, 5, 17) pr...
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "A 10-day notice period begins on May 7, 2026. On what date does it end?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 5, 7) # datet...
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "2026-05-17", "printed": "2026-05-17", "notation": null}
nlprog_det-setting-0060808
A hearing starts at 1:45 PM and lasts 90 minutes. When does it end? We can compute it in Python. start = 13 * 60 + 45 end = start + 90 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") What it prints — 3:15 PM It ends at 3:15 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "3:15 PM", "printed": "3:15 PM", "notation": null}
nlprog_det-setting-0060809
<|start|><|user|> A $240 dinner bill gets a 20% tip, and 5 people share the cost equally. What is each person's share?<|eot|> <|assistant|> The share is $57.60 each.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A $240 dinner bill gets a 20% tip, and 5 people share the cost equally. What is each person's share?" }, { "role": "assistant", "content": "The share is $57.60 each." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "57.60", "printed": "57.60", "notation": null}
nlprog_det-setting-0060810
<|start|><|system|> Tool definitions: {"name": "python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> How many 2-foot square t...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
219
{"gold": "38", "printed": "38", "notation": null}
nlprog_det-setting-0060811
A customer buys 1 pens at $14 each, 1 lanyards at $13 each, 3 desk lamps at $26 each and pays with $150. How much change is due? Computation in Python: ```python items = [(1, 14), (1, 13), (3, 26)] total = sum(q * p for q, p in items) # 105 paid = 150 change = paid - total # 45 print(change) ``` (stdout: 45) The ch...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "45", "printed": "45", "notation": null}
nlprog_det-setting-0060812
An attorney bills 2.5 hours at $410 per hour. What is the bill? Here's the code. ```python hours = 2.5 rate = 410 bill = hours * rate # 1025.0 print(f"{bill:.2f}") ``` The run gives 1025.00, as expected. The bill is $1,025.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "1025.00", "printed": "1025.00", "notation": null}
nlprog_det-setting-0060813
What percentage of $5,000 is $2,600? Python does the arithmetic: ```python budget = 5000 spent = 2600 percent = spent / budget * 100 # 52.0 print(round(percent, 1)) ``` What it prints — 52.0 52.0% has been spent.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "52.0", "printed": "52.0", "notation": null}
nlprog_det-setting-0060814
Convert 604 USD to CAD at 1 USD = 0.74 CAD. Python code: ```python amount = 604 rate = 0.74 converted = amount * rate # 446.96 print(f"{converted:.2f}") ``` Execution result: 446.96 It converts to 446.96 CAD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "446.96", "printed": "446.96", "notation": null}
nlprog_det-setting-0060816
What day of the week is August 18, 2006? In Python: from datetime import date hearing = date(2006, 8, 18) # datetime.date(2006, 8, 18) print(hearing.strftime("%A")) Program output — Friday August 18, 2006 is a Friday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "Friday", "printed": "Friday", "notation": null}
nlprog_det-setting-0060817
A meeting starts at 2:20 PM and lasts 50 minutes. When does it end? ```python start = 14 * 60 + 20 end = start + 50 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` # program output: 3:10 PM The meeting finishes at 3:10 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "3:10 PM", "printed": "3:10 PM", "notation": null}
nlprog_det-setting-0060818
<|start|><|user|> A library charges $0.25 per book per day late. What is the fine for 4 books that are 4 days late?<|eot|> <|assistant|> ```python per_day = 0.25 days_late = 4 books = 4 fine = per_day * days_late * books # 4.0 print(f"{fine:.2f}") ``` Execution prints 4.00, as expected. $4.00 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A library charges $0.25 per book per day late. What is the fine for 4 books that are 4 days late?" }, { "role": "assistant", "content": "```python\nper_day = 0.25\ndays_late = 4\nbooks = 4\nfine = per_day * days_late * books # 4.0\nprint(f\"{fine:.2f}\")\n```\nExec...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "4.00", "printed": "4.00", "notation": null}
nlprog_det-setting-0060819
<|start|><|user|> An office budget of $5,000 has expenses of $835, $2,035, $3,458, $2,193. How much of the budget is left?<|eot|> <|assistant|> budget = 5000 expenses = [835, 2035, 3458, 2193] left = budget - sum(expenses) # -3521 print(left) # stdout: -3521 The remaining budget is -$3,521.<|eot|> <|e...
chat
[ { "role": "user", "content": "An office budget of $5,000 has expenses of $835, $2,035, $3,458, $2,193. How much of the budget is left?" }, { "role": "assistant", "content": " budget = 5000\n expenses = [835, 2035, 3458, 2193]\n left = budget - sum(expenses) # -3521\n print(left)\n# ...
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "-3521", "printed": "-3521", "notation": null}
nlprog_det-setting-0060820
<|start|><|user|> With 40% off, what does a $45 chair cost?<|eot|> <|assistant|> The sale price is $27.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "With 40% off, what does a $45 chair cost?" }, { "role": "assistant", "content": "The sale price is $27.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "27.00", "printed": "27.00", "notation": null}
nlprog_det-setting-0060821
<|start|><|system|> You are a logic tutor.<|eot|> <|user|> Equal monthly payments repay $3,600 plus 6% simple yearly interest over 24 months. How large is a payment?<|eot|> <|assistant|> ```python principal = 3600 annual_rate = 6 / 100 # 0.06 months = 24 interest = principal * annual_rate * months / 12 # 432.0 paymen...
chat
[ { "role": "system", "content": "You are a logic tutor." }, { "role": "user", "content": "Equal monthly payments repay $3,600 plus 6% simple yearly interest over 24 months. How large is a payment?" }, { "role": "assistant", "content": "```python\nprincipal = 3600\nannual_rate = 6 / 10...
nlprog_det
setting
original
null
deterministic
[]
[]
152
{"gold": "168.00", "printed": "168.00", "notation": null}
nlprog_det-setting-0060822
Lena earns a 6% commission on $14,781 of sales. What is the commission? Lena earns $886.86.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "886.86", "printed": "886.86", "notation": null}
nlprog_det-setting-0060823
One can of paint covers 250 square feet. How many cans are needed for 1061 square feet of wall? Buy 5 cans.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0060824
<|start|><|user|> What does $10,000 grow to in 2 years at 2% annual compounding?<|eot|> <|assistant|> ```python principal = 10000 rate = 2 / 100 # 0.02 years = 2 value = principal * (1 + rate) ** years # 10404.0 print(f"{value:.2f}") ``` This prints 10404.00. The balance is $10,404.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What does $10,000 grow to in 2 years at 2% annual compounding?" }, { "role": "assistant", "content": "```python\nprincipal = 10000\nrate = 2 / 100 # 0.02\nyears = 2\nvalue = principal * (1 + rate) ** years # 10404.0\nprint(f\"{value:.2f}\")\n```\nThis prints 10404...
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "10404.00", "printed": "10404.00", "notation": null}
nlprog_det-setting-0060825
Leon lends $12,000 at 5% simple interest per year for 3 years. How much interest is earned? In Python: ```python principal = 12000 rate = 5 / 100 # 0.05 years = 3 interest = principal * rate * years # 1800.0 print(f"{interest:.2f}") ``` Executing it gives 1800.00. It earns $1,800.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "1800.00", "printed": "1800.00", "notation": null}
nlprog_det-setting-0060826
3 walks at 250 calories each burn how many calories in total? That burns 750 calories.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "750", "printed": "750", "notation": null}
nlprog_det-setting-0060827
<|start|><|user|> At $31.93 an hour, what does 40 hours of work pay?<|eot|> <|assistant|> ```python rate = 31.93 hours = 40 earnings = rate * hours # 1277.2 print(f"{earnings:.2f}") ``` Run output: 1277.20 The pay is $1,277.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At $31.93 an hour, what does 40 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 31.93\nhours = 40\nearnings = rate * hours # 1277.2\nprint(f\"{earnings:.2f}\")\n```\nRun output: 1277.20\n\nThe pay is $1,277.20." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "1277.20", "printed": "1277.20", "notation": null}
nlprog_det-setting-0060828
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> A library charges $0.20 per book per day late. What is the fine for 1 books that are 25 days late?<|eot|> <|assistant|> per_day = 0.2 days_late = 25 books = 1 fine = per_day * days_late * books # 5.0 print(f"{fine:.2f}") # o...
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "A library charges $0.20 per book per day late. What is the fine for 1 books that are 25 days late?" }, { "role": "assistant", "content": " per_day = 0.2\n days_late = 25\n ...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "5.00", "printed": "5.00", "notation": null}
nlprog_det-setting-0060829
Equipment costs $30,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year? $5,600.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
48
{"gold": "5600.00", "printed": "5600.00", "notation": null}
nlprog_det-setting-0060830
If a 3-year limitations period starts on January 7, 2013, when does it end? The period expires on January 7, 2016.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "2016-01-07", "printed": "2016-01-07", "notation": null}
nlprog_det-setting-0060831
<|start|><|system|> You can call tools. Available tools: [{"name": "python_exec", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}, {"name": "get_weathe...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"python_exec\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source cod...
nlprog_det
setting
original
null
deterministic
[]
[]
288
{"gold": "Wednesday", "printed": "Wednesday", "notation": null}
nlprog_det-setting-0060832
<|start|><|user|> A hall has 26 rows of 17 seats, and 1 seats are empty. How many people are seated?<|eot|> <|assistant|> ```python rows = 26 per_row = 17 empty = 1 seated = rows * per_row - empty # 441 print(seated) ``` Printed: 441 441 seats are taken.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hall has 26 rows of 17 seats, and 1 seats are empty. How many people are seated?" }, { "role": "assistant", "content": "```python\nrows = 26\nper_row = 17\nempty = 1\nseated = rows * per_row - empty # 441\nprint(seated)\n```\nPrinted:\n441\n\n441 seats are taken....
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "441", "printed": "441", "notation": null}
nlprog_det-setting-0060833
From 2010 to 2025, how many years is that? The program: start_year = 2010 end_year = 2025 print(end_year - start_year) # execution result: 15 That is 15 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
56
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0060834
<|start|><|user|> The paralegal logged 2.5 hours at a rate of $150. How much is billed?<|eot|> <|assistant|> The bill is $375.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The paralegal logged 2.5 hours at a rate of $150. How much is billed?" }, { "role": "assistant", "content": "The bill is $375.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "375.00", "printed": "375.00", "notation": null}
nlprog_det-setting-0060835
4 books come back 6 days late, at $0.15 a day each. What is the fine? In Python: ```python per_day = 0.15 days_late = 6 books = 4 fine = per_day * days_late * books # 3.5999999999999996 print(f"{fine:.2f}") ``` The script prints: 3.60 The fine is $3.60.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "3.60", "printed": "3.60", "notation": null}
nlprog_det-setting-0060836
Equal monthly payments repay $2,400 plus 6% simple yearly interest over 12 months. How large is a payment? Each payment is $212.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "212.00", "printed": "212.00", "notation": null}
nlprog_det-setting-0060837
<|start|><|user|> The paralegal logged 2.5 hours at a rate of $225. How much is billed?<|eot|> <|assistant|> The bill is $562.50.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The paralegal logged 2.5 hours at a rate of $225. How much is billed?" }, { "role": "assistant", "content": "The bill is $562.50." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
41
{"gold": "562.50", "printed": "562.50", "notation": null}
nlprog_det-setting-0060839
<|start|><|system|> Functions: [{"name": "eval_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}, {"name": "convert_units", "description": "Convert...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"eval_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"source\...
nlprog_det
setting
original
null
deterministic
[]
[]
411
{"gold": "33.3", "printed": "33.3", "notation": null}
nlprog_det-setting-0060840
How much sales tax is charged on a $330.54 purchase at 4%? Here's the code. ```python price = 330.54 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 13.2216 print(f"{tax:.2f}") ``` Printed: 13.22 The tax is $13.22.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "13.22", "printed": "13.22", "notation": null}
nlprog_det-setting-0060841
<|start|><|system|> You are a teaching assistant.<|eot|> <|user|> Starting with 886 notebooks and using 5 per day, how many remain after 13 days?<|eot|> <|assistant|> ```python stock = 886 per_day = 5 days = 13 left = stock - per_day * days print(left) ``` The program outputs 821. 821 remain.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a teaching assistant." }, { "role": "user", "content": "Starting with 886 notebooks and using 5 per day, how many remain after 13 days?" }, { "role": "assistant", "content": "```python\nstock = 886\nper_day = 5\ndays = 13\nleft = stock - per_da...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "821", "printed": "821", "notation": null}
nlprog_det-setting-0060842
Convert 3 h 35 min (the length of a meeting) to minutes. In Python: ```python hours = 3 minutes = 35 total_minutes = hours * 60 + minutes # 215 print(total_minutes) ``` The interpreter prints 215. The meeting lasted 215 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
90
{"gold": "215", "printed": "215", "notation": null}
nlprog_det-setting-0060843
A court charges $5 per request plus $0.25 per page after the first 0 pages. What does a 23-page copy cost? Python does the arithmetic: ```python pages = 23 base = 5 per_page = 0.25 free_pages = 0 cost = base + max(0, pages - free_pages) * per_page # 10.75 print(f"{cost:.2f}") ``` Out = 10.75 The total is $10.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
133
{"gold": "10.75", "printed": "10.75", "notation": null}
nlprog_det-setting-0060844
<|start|><|user|> A settlement of $36,000 is split equally among 4 parties. How much does each party receive?<|eot|> <|assistant|> ```python settlement = 36000 parties = 4 share = settlement // parties # 9000 print(share) ``` Python prints 9000, as expected. Each party receives $9,000.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A settlement of $36,000 is split equally among 4 parties. How much does each party receive?" }, { "role": "assistant", "content": "```python\nsettlement = 36000\nparties = 4\nshare = settlement // parties # 9000\nprint(share)\n```\nPython prints 9000, as expected.\...
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "9000", "printed": "9000", "notation": null}
nlprog_det-setting-0060845
<|start|><|user|> Counting only Monday through Friday, how many business days are there after April 15, 2018 through May 7, 2018?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2018, 4, 15) end = date(2018, 5, 7) count = 0 for k in range(1, (end - start).days + 1): if (start + time...
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after April 15, 2018 through May 7, 2018?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2018, 4, 15)\nend = date(2018, 5, 7)\ncount = 0\nfor ...
nlprog_det
setting
original
null
deterministic
[]
[]
157
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0060846
Split $4,921 between Joelle and Ulla in the ratio 2 to 5. What is Joelle's share? Programmatically: ```python total = 4921 parts_a = 2 parts_b = 5 share_a = total * parts_a // (parts_a + parts_b) # 1406 print(share_a) ``` Run result = 1406 Joelle gets $1,406.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "1406", "printed": "1406", "notation": null}
nlprog_det-setting-0060847
A recipe for 4 people uses 450 grams of flour. How many grams are needed for 8 people? Use 900 g of flour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "900", "printed": "900", "notation": null}
nlprog_det-setting-0060848
<|start|><|system|> Tools (call with JSON): [{"name": "compute", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Jamal buys 7 boxes of 6 ...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"compute\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
228
{"gold": "35", "printed": "35", "notation": null}
nlprog_det-setting-0060849
A clerk's office charges $125 for each filing. Bilal submits 9 filings. What is the total fee? Let's compute it with Python. ```python fee = 125 filings = 9 total = fee * filings # 1125 print(total) ``` Run it and it prints 1125. $1,125 in filing fees.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "1125", "printed": "1125", "notation": null}
nlprog_det-setting-0060850
An office budget of $25,000 has expenses of $344, $1,614, $3,786. How much of the budget is left? $19,256 is left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "19256", "printed": "19256", "notation": null}
nlprog_det-setting-0060851
Lucia earns $20.00 an hour and time and a half for hours over 40. What is the pay for a 47-hour week? Python makes this quick: ```python rate = 20.0 hours = 47 regular = 40 * rate # 800.0 overtime = (hours - 40) * rate * 1.5 # 210.0 pay = regular + overtime # 1010.0 print(f"{pay:.2f}") ``` Executing it gives 1010.0...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
147
{"gold": "1010.00", "printed": "1010.00", "notation": null}
nlprog_det-setting-0060852
<|start|><|system|> Tools (call with JSON): {"name": "interpreter", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}} {"name": "lookup_statute", "description": ...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n{\"name\": \"interpreter\", \"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
[]
[]
324
{"gold": "9500.00", "printed": "9500.00", "notation": null}
nlprog_det-setting-0060853
<|start|><|system|> Functions: [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "run_python", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object",...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"run_python\", \"description\": \"Executes Python c...
nlprog_det
setting
original
null
deterministic
[]
[]
310
{"gold": "14733", "printed": "14733", "notation": null}
nlprog_det-setting-0060854
Scale 450 g of rice from 4 servings to 12 servings. Computing it: ```python grams = 450 serves = 4 needed_for = 12 scaled = grams * needed_for // serves # 1350 print(scaled) ``` Output of the run: 1350 1350 grams of rice are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "1350", "printed": "1350", "notation": null}
nlprog_det-setting-0060856
<|start|><|system|> Tools you may use: [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "calc", "description": "Python sandbox for calculati...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\", \"target\"]}}, {\...
nlprog_det
setting
original
null
deterministic
[]
[]
398
{"gold": "16800.00", "printed": "16800.00", "notation": null}
nlprog_det-setting-0060857
<|start|><|user|> 109 volunteers are split into 8 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> ```python total = 109 groups = 8 per_group, remainder = divmod(total, groups) print(f"{per_group} each, {remainder} left over") ``` Interpreter output — 13 each, 5 left over 13 eac...
chat
[ { "role": "user", "content": "109 volunteers are split into 8 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "```python\ntotal = 109\ngroups = 8\nper_group, remainder = divmod(total, groups)\nprint(f\"{per_group} each, {remainder} left o...
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "13 each, 5 left over", "printed": "13 each, 5 left over", "notation": null}
nlprog_det-setting-0060858
<|start|><|system|> Tools you may use: [{"name": "compute", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> If a 5-year limitations per...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"compute\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"sn...
nlprog_det
setting
original
null
deterministic
[]
[]
239
{"gold": "2021-01-25", "printed": "2021-01-25", "notation": null}
nlprog_det-setting-0060860
5 boxes hold 25 water bottles each. After 16 are handed out, how many are left? Python version: ```python boxes = 5 per_box = 25 given_away = 16 left = boxes * per_box - given_away # 109 print(left) ``` Running it prints 109, as expected. 109 water bottles are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "109", "printed": "109", "notation": null}
nlprog_det-setting-0060862
<|start|><|user|> Attendance was 189 out of 200. Express it as a percent.<|eot|> <|assistant|> ```python present = 189 total = 200 percent = present / total * 100 # 94.5 print(round(percent, 1)) ``` (Execution result: 94.5) 94.5% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Attendance was 189 out of 200. Express it as a percent." }, { "role": "assistant", "content": "```python\npresent = 189\ntotal = 200\npercent = present / total * 100 # 94.5\nprint(round(percent, 1))\n```\n(Execution result: 94.5)\n\n94.5% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "94.5", "printed": "94.5", "notation": null}
nlprog_det-setting-0060863
An attorney bills 2.5 hours at $250 per hour. What is the bill? In code: ```python hours = 2.5 rate = 250 bill = hours * rate # 625.0 print(f"{bill:.2f}") ``` Python prints 625.00. The bill is $625.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "625.00", "printed": "625.00", "notation": null}
nlprog_det-setting-0060864
Which is cheaper per unit: 10 for $5.47 (A) or 30 for $19.53 (B)? Computation in Python: ```python pack_a = 5.47 / 10 # 0.5469999999999999 pack_b = 19.53 / 30 # 0.651 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) ``` Run it and it prints: A Pack A is cheaper per item.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0060865
What is a 15% tip on a $249.52 bill? Python version: ```python bill = 249.52 tip_rate = 15 / 100 # 0.15 tip = bill * tip_rate # 37.428 print(f"{tip:.2f}") ``` # out: 37.43 Leave $37.43.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "37.43", "printed": "37.43", "notation": null}