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-0076891
Monthly: $19. Annual: $192. What is saved per year by paying annually? ```python monthly = 19 yearly = 192 savings = monthly * 12 - yearly # 36 print(savings) ``` Execution prints: 36 The annual plan saves $36.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "36", "printed": "36", "notation": null}
nlprog_det-setting-0076892
<|start|><|user|> Delia was born on July 18, 1995. How old is Delia on July 16, 2026?<|eot|> <|assistant|> The age is 30 years.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Delia was born on July 18, 1995. How old is Delia on July 16, 2026?" }, { "role": "assistant", "content": "The age is 30 years." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0076893
<|start|><|user|> 3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?<|eot|> <|assistant|> ```python award = 96000 fee = award * 25 / 100 # 24000.0 remaining = award - fee # 72000.0 per_client = remaining / 3 # 24000.0 print(f"{per_client:.2f}") ``` The script p...
chat
[ { "role": "user", "content": "3 clients win $96,000. The lawyer takes 25%, and the rest is split equally. How much does each client get?" }, { "role": "assistant", "content": "```python\naward = 96000\nfee = award * 25 / 100 # 24000.0\nremaining = award - fee # 72000.0\nper_client = remaining ...
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "24000.00", "printed": "24000.00", "notation": null}
nlprog_det-setting-0076894
The building opened in 2022. How many years had passed by 2051? In Python: start_year = 2022 end_year = 2051 print(end_year - start_year) Output of the run: 29 That is 29 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
65
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0076895
With $36,000 in costs and $41,000 in revenue, what percent of revenue is profit? Round to one decimal. Profit is 12.2% of revenue.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "12.2", "printed": "12.2", "notation": null}
nlprog_det-setting-0076896
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> Omar earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 54-hour week?<|eot|> <|assistant|> ```python rate = 16.0 hours = 54 regular = 40 * rate # 640.0 overtime = (hours - 40) * rate * 1.5 # 336.0 pay = regular +...
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "Omar earns $16.00 an hour and time and a half for hours over 40. What is the pay for a 54-hour week?" }, { "role": "assistant", "content": "```python\nrate = 16.0\nhours = 54\nreg...
nlprog_det
setting
original
null
deterministic
[]
[]
154
{"gold": "976.00", "printed": "976.00", "notation": null}
nlprog_det-setting-0076897
A backpack costs $90. It is 25% off. What is the sale price? A Python solution: ```python price = 90 discount = 25 / 100 # 0.25 sale_price = price * (1 - discount) # 67.5 print(f"{sale_price:.2f}") ``` Output — 67.50 It costs $67.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "67.50", "printed": "67.50", "notation": null}
nlprog_det-setting-0076898
1.5 hours of work at $350 an hour: what is the total charge? Python does the arithmetic: ```python hours = 1.5 rate = 350 bill = hours * rate # 525.0 print(f"{bill:.2f}") ``` Out: 525.00 The bill is $525.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "525.00", "printed": "525.00", "notation": null}
nlprog_det-setting-0076899
Arjun was born on May 13, 1986. How old is Arjun on November 27, 2023? The age is 37 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "37", "printed": "37", "notation": null}
nlprog_det-setting-0076900
<|start|><|user|> Counting only Monday through Friday, how many business days are there after January 10, 2019 through February 11, 2019?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2019, 1, 10) end = date(2019, 2, 11) count = 0 for k in range(1, (end - start).days + 1): if (sta...
chat
[ { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after January 10, 2019 through February 11, 2019?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2019, 1, 10)\nend = date(2019, 2, 11)\ncount ...
nlprog_det
setting
original
null
deterministic
[]
[]
157
{"gold": "22", "printed": "22", "notation": null}
nlprog_det-setting-0076901
<|start|><|system|> Tools you may use: [{"name": "interpreter", "description": "Runs a short Python snippet and returns what it prints.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> What average speed cover...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"interpreter\", \"description\": \"Runs a short Python snippet and returns what it prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [...
nlprog_det
setting
original
null
deterministic
[]
[]
202
{"gold": "606", "printed": "606", "notation": null}
nlprog_det-setting-0076902
A hearing is set for January 4, 2018. What day of the week is that? Python code: ```python from datetime import date hearing = date(2018, 1, 4) # datetime.date(2018, 1, 4) print(hearing.strftime("%A")) ``` # execution result: Thursday January 4, 2018 is a Thursday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "Thursday", "printed": "Thursday", "notation": null}
nlprog_det-setting-0076903
If a 135-minute seminar begins at 12:45 PM, what time does it finish? A few lines of Python do it: ```python start = 12 * 60 + 45 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` # output: 3:00 PM It ends at 3:00 PM.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "3:00 PM", "printed": "3:00 PM", "notation": null}
nlprog_det-setting-0076904
How many whole days and leftover hours are in 348 hours? A short script: ```python hours = 348 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` Python prints: 14 days and 12 hours That is 14 days and 12 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "14 days and 12 hours", "printed": "14 days and 12 hours", "notation": null}
nlprog_det-setting-0076905
One can of paint covers 350 square feet. How many cans are needed for 636 square feet of wall? Python version: import math area = 636 coverage = 350 cans = math.ceil(area / coverage) # 2 print(cans) Running this gives 2. 2 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "2", "printed": "2", "notation": null}
nlprog_det-setting-0076906
<|start|><|user|> Count the days between February 22, 2028 and July 2, 2028.<|eot|> <|assistant|> from datetime import date first = date(2028, 2, 22) # datetime.date(2028, 2, 22) second = date(2028, 7, 2) # datetime.date(2028, 7, 2) print((second - first).days) Out = 131 There are 131 days between th...
chat
[ { "role": "user", "content": "Count the days between February 22, 2028 and July 2, 2028." }, { "role": "assistant", "content": " from datetime import date\n first = date(2028, 2, 22) # datetime.date(2028, 2, 22)\n second = date(2028, 7, 2) # datetime.date(2028, 7, 2)\n print((secon...
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "131", "printed": "131", "notation": null}
nlprog_det-setting-0076907
At 1% a month (simple), what interest builds on $2,500 over 5 months? The Python version: ```python balance = 2500 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 125.0 print(f"{interest:.2f}") ``` (Run result: 125.00) $125.00 accrues.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
118
{"gold": "125.00", "printed": "125.00", "notation": null}
nlprog_det-setting-0076908
A penalty of $100 a day accrues, capped at $2,500. What is owed after 6 days? The fine is $600.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "600", "printed": "600", "notation": null}
nlprog_det-setting-0076909
The landlord deducts $150 and $200 from a $1,000 deposit. What is returned to the tenant? The computation: ```python deposit = 1000 deductions = [150, 200] refund = deposit - sum(deductions) print(refund) ``` (Program output: 650) $650 is returned.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "650", "printed": "650", "notation": null}
nlprog_det-setting-0076910
<|start|><|user|> How many minutes pass from 9:54 AM to 4:39 PM on the same day?<|eot|> <|assistant|> ```python start = 9 * 60 + 54 # 594 end = 16 * 60 + 39 # 999 print(end - start) ``` Result: 405 405 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 9:54 AM to 4:39 PM on the same day?" }, { "role": "assistant", "content": "```python\nstart = 9 * 60 + 54 # 594\nend = 16 * 60 + 39 # 999\nprint(end - start)\n```\nResult: 405\n\n405 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "405", "printed": "405", "notation": null}
nlprog_det-setting-0076911
Jamal drove 81 miles for work. Mileage is reimbursed at 58 cents a mile. How much is the reimbursement? We can compute it in Python. ```python miles = 81 rate = 0.58 reimbursement = miles * rate print(f"{reimbursement:.2f}") ``` The script prints: 46.98 Jamal is owed $46.98.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "46.98", "printed": "46.98", "notation": null}
nlprog_det-setting-0076912
Copies cost $5 plus $0.10 for each page beyond 20. How much for 92 pages? Python version: pages = 92 base = 5 per_page = 0.1 free_pages = 20 cost = base + max(0, pages - free_pages) * per_page # 12.2 print(f"{cost:.2f}") Printed — 12.20 The total is $12.20.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "12.20", "printed": "12.20", "notation": null}
nlprog_det-setting-0076913
<|start|><|user|> Each storage box holds 15 files. How many boxes are needed for 618 files?<|eot|> <|assistant|> ```python import math files = 618 per_box = 15 boxes = math.ceil(files / per_box) # 42 print(boxes) ``` Program output — 42 It takes 42 boxes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 15 files. How many boxes are needed for 618 files?" }, { "role": "assistant", "content": "```python\nimport math\nfiles = 618\nper_box = 15\nboxes = math.ceil(files / per_box) # 42\nprint(boxes)\n```\nProgram output — 42\n\nIt takes 42 boxes....
nlprog_det
setting
original
null
deterministic
[]
[]
92
{"gold": "42", "printed": "42", "notation": null}
nlprog_det-setting-0076914
What day of the week is July 20, 1998? Coded up: from datetime import date hearing = date(1998, 7, 20) # datetime.date(1998, 7, 20) print(hearing.strftime("%A")) # out: Monday July 20, 1998 is a Monday.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "Monday", "printed": "Monday", "notation": null}
nlprog_det-setting-0076915
<|start|><|system|> Functions: [{"name": "python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> Pay is $25.00/hour, with overtime at 1.5 t...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippet\"]}}]" ...
nlprog_det
setting
original
null
deterministic
[]
[]
254
{"gold": "1337.50", "printed": "1337.50", "notation": null}
nlprog_det-setting-0076916
A 22 lb package ships at $10 base plus $1.20/lb. What is the charge? The charge is $36.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "36.40", "printed": "36.40", "notation": null}
nlprog_det-setting-0076917
Equipment costs $12,000, has a salvage value of $6,000, and a useful life of 8 years. What is the straight-line depreciation per year? ```python cost = 12000 salvage = 6000 years = 8 per_year = (cost - salvage) / years print(f"{per_year:.2f}") ``` # result: 750.00 $750.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "750.00", "printed": "750.00", "notation": null}
nlprog_det-setting-0076918
<|start|><|system|> Tool definitions: {"name": "python_exec", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}<|eot|> <|user|> How many meters are in 82 kilome...
chat
[ { "role": "system", "content": "Tool definitions:\n{\"name\": \"python_exec\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippe...
nlprog_det
setting
original
null
deterministic
[]
[]
200
{"gold": "82000", "printed": "82000", "notation": null}
nlprog_det-setting-0076919
A lawyer's fee is 35% of a $25,000 recovery. How large is the fee? As a program: ```python recovery = 25000 rate = 35 / 100 # 0.35 fee = recovery * rate # 8750.0 print(f"{fee:.2f}") ``` # printed: 8750.00 The fee is $8,750.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "8750.00", "printed": "8750.00", "notation": null}
nlprog_det-setting-0076920
From a $10,000 retainer, 5 hours at $275/hour have been drawn. What remains? The remaining balance is $8,625.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
37
{"gold": "8625", "printed": "8625", "notation": null}
nlprog_det-setting-0076921
<|start|><|user|> After a 30% fee is taken from a $30,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> Each share is $7,000.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "After a 30% fee is taken from a $30,000 judgment, 3 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": "Each share is $7,000.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
49
{"gold": "7000.00", "printed": "7000.00", "notation": null}
nlprog_det-setting-0076922
<|start|><|system|> Functions: [{"name": "interpreter", "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": "business_days", "description": "Coun...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"interpreter\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"co...
nlprog_det
setting
original
null
deterministic
[]
[]
290
{"gold": "1402", "printed": "1402", "notation": null}
nlprog_det-setting-0076923
<|start|><|user|> After a 25% fee is taken from a $72,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?<|eot|> <|assistant|> ```python award = 72000 fee = award * 25 / 100 # 18000.0 remaining = award - fee # 54000.0 per_client = remaining / 4 # 13500.0 print(f"{per_client:.2f}")...
chat
[ { "role": "user", "content": "After a 25% fee is taken from a $72,000 judgment, 4 plaintiffs share the remainder equally. What is each plaintiff's share?" }, { "role": "assistant", "content": "```python\naward = 72000\nfee = award * 25 / 100 # 18000.0\nremaining = award - fee # 54000.0\nper_cl...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "13500.00", "printed": "13500.00", "notation": null}
nlprog_det-setting-0076924
6 claimants share a $2,640 settlement equally. What is each share? As Python: ```python settlement = 2640 parties = 6 share = settlement // parties # 440 print(share) ``` Run result: 440 Each share is $440.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "440", "printed": "440", "notation": null}
nlprog_det-setting-0076925
With 20% off, what does a $75 jacket cost? Python code: ```python price = 75 discount = 20 / 100 # 0.2 sale_price = price * (1 - discount) # 60.0 print(f"{sale_price:.2f}") ``` Program output: 60.00 It costs $60.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "60.00", "printed": "60.00", "notation": null}
nlprog_det-setting-0076928
<|start|><|system|> You have access to these functions: [{"name": "code_runner", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}, {"name": "business_days", "d...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"code_runner\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"re...
nlprog_det
setting
original
null
deterministic
[]
[]
315
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0076929
<|start|><|system|> Tools (call with JSON): [{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "python_exec", "description": "Runs a short Python snippet and returns ...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"python_exec\", \...
nlprog_det
setting
original
null
deterministic
[]
[]
315
{"gold": "5.00", "printed": "5.00", "notation": null}
nlprog_det-setting-0076930
A jacket costs $40. It is 40% off. What is the sale price? As Python: ```python price = 40 discount = 40 / 100 # 0.4 sale_price = price * (1 - discount) # 24.0 print(f"{sale_price:.2f}") ``` Output of the run — 24.00 The sale price is $24.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "24.00", "printed": "24.00", "notation": null}
nlprog_det-setting-0076931
1 books come back 5 days late, at $0.20 a day each. What is the fine? We can compute it in Python. ```python per_day = 0.2 days_late = 5 books = 1 fine = per_day * days_late * books # 1.0 print(f"{fine:.2f}") ``` Output of the run: 1.00 The fine is $1.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
117
{"gold": "1.00", "printed": "1.00", "notation": null}
nlprog_det-setting-0076932
If a 5-year limitations period starts on August 15, 2017, when does it end? We write it as a program: ```python from datetime import date accrued = date(2017, 8, 15) # datetime.date(2017, 8, 15) years = 5 expires = accrued.replace(year=accrued.year + years) # datetime.date(2022, 8, 15) print(expires.isoformat()) ```...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
143
{"gold": "2022-08-15", "printed": "2022-08-15", "notation": null}
nlprog_det-setting-0076933
A 2% increase is applied to $1,250 monthly rent. What is the new amount? Computing it: ```python rent = 1250 increase = 2 / 100 # 0.02 new_rent = rent * (1 + increase) # 1275.0 print(f"{new_rent:.2f}") ``` When run, it prints: 1275.00 The new rent is $1,275.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
113
{"gold": "1275.00", "printed": "1275.00", "notation": null}
nlprog_det-setting-0076934
How many minutes pass from 9:52 AM to 10:42 AM on the same day? In code: ```python start = 9 * 60 + 52 # 592 end = 10 * 60 + 42 # 642 print(end - start) ``` Printed: 50 It is 50 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0076935
<|start|><|system|> Tool definitions: [{"name": "run_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> What commission does Eamon make...
chat
[ { "role": "system", "content": "Tool definitions:\n[{\"name\": \"run_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"snippe...
nlprog_det
setting
original
null
deterministic
[]
[]
228
{"gold": "2585.76", "printed": "2585.76", "notation": null}
nlprog_det-setting-0076936
A recipe for 2 people uses 300 grams of rice. How many grams are needed for 12 people? Python: grams = 300 serves = 2 needed_for = 12 scaled = grams * needed_for // serves # 1800 print(scaled) It prints 1800, as expected. 1800 grams of rice are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "1800", "printed": "1800", "notation": null}
nlprog_det-setting-0076937
How much sales tax is charged on a $553.10 purchase at 4%? Let the code do the arithmetic: ```python price = 553.1 tax_rate = 4 / 100 # 0.04 tax = price * tax_rate # 22.124000000000002 print(f"{tax:.2f}") ``` This prints 22.12, as expected. The tax is $22.12.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "22.12", "printed": "22.12", "notation": null}
nlprog_det-setting-0076938
A chair costs $90. It is 40% off. What is the sale price? The sale price is $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
28
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0076939
<|start|><|user|> A quorum is 3/5 of the 13 members, rounded up. How many members make a quorum?<|eot|> <|assistant|> That is 8 members.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A quorum is 3/5 of the 13 members, rounded up. How many members make a quorum?" }, { "role": "assistant", "content": "That is 8 members." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
39
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0076940
<|start|><|user|> A hall has 25 rows of 24 seats, and 40 seats are empty. How many people are seated?<|eot|> <|assistant|> ```python rows = 25 per_row = 24 empty = 40 seated = rows * per_row - empty # 560 print(seated) ``` # out: 560 560 people are seated.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hall has 25 rows of 24 seats, and 40 seats are empty. How many people are seated?" }, { "role": "assistant", "content": "```python\nrows = 25\nper_row = 24\nempty = 40\nseated = rows * per_row - empty # 560\nprint(seated)\n```\n# out: 560\n\n560 people are seated...
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "560", "printed": "560", "notation": null}
nlprog_det-setting-0076941
What average speed covers 536 miles in 2 hours? In Python: ```python distance = 536 hours = 2 speed = distance / hours # 268.0 print(round(speed)) ``` Execution result — 268 It averages 268 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "268", "printed": "268", "notation": null}
nlprog_det-setting-0076942
<|start|><|system|> Available functions (JSON Schema): [{"name": "search_cases", "description": "Search case law by keyword.", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, {"name": "py_exec", "description": "Run Python code in a sandbox; the result is whatever t...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"search_cases\", \"description\": \"Search case law by keyword.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\"}}, \"required\": [\"query\"]}}, {\"name\": \"py_exec\", \"description\"...
nlprog_det
setting
original
null
deterministic
[]
[]
313
{"gold": "0.60", "printed": "0.60", "notation": null}
nlprog_det-setting-0076943
<|start|><|user|> A recipe for 2 people uses 200 grams of rice. How many grams are needed for 12 people?<|eot|> <|assistant|> ```python grams = 200 serves = 2 needed_for = 12 scaled = grams * needed_for // serves print(scaled) ``` The script prints 1200, as expected. Use 1200 g of rice.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A recipe for 2 people uses 200 grams of rice. How many grams are needed for 12 people?" }, { "role": "assistant", "content": "```python\ngrams = 200\nserves = 2\nneeded_for = 12\nscaled = grams * needed_for // serves\nprint(scaled)\n```\nThe script prints 1200, as e...
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "1200", "printed": "1200", "notation": null}
nlprog_det-setting-0076944
Quinn lends $8,000 at 5% simple interest per year for 2 years. How much interest is earned? It earns $800.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
36
{"gold": "800.00", "printed": "800.00", "notation": null}
nlprog_det-setting-0076945
A library charges $0.20 per book per day late. What is the fine for 4 books that are 6 days late? In Python: ```python per_day = 0.2 days_late = 6 books = 4 fine = per_day * days_late * books # 4.800000000000001 print(f"{fine:.2f}") ``` The script prints 4.80, as expected. The fine is $4.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
124
{"gold": "4.80", "printed": "4.80", "notation": null}
nlprog_det-setting-0076947
Fines run at $50 per day up to a maximum of $1,000. How much after 7 days? $350 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "350", "printed": "350", "notation": null}
nlprog_det-setting-0076948
<|start|><|user|> A client paid a $2,500 retainer. The firm has billed 9 hours at $275 per hour. How much of the retainer is left?<|eot|> <|assistant|> ```python retainer = 2500 hours = 9 rate = 275 left = retainer - hours * rate # 25 print(left) ``` # printed result: 25 $25 of the retainer is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A client paid a $2,500 retainer. The firm has billed 9 hours at $275 per hour. How much of the retainer is left?" }, { "role": "assistant", "content": "```python\nretainer = 2500\nhours = 9\nrate = 275\nleft = retainer - hours * rate # 25\nprint(left)\n```\n# print...
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0076949
What does $5,000 grow to in 4 years at 3% annual compounding? In Python: ```python principal = 5000 rate = 3 / 100 years = 4 value = principal * (1 + rate) ** years print(f"{value:.2f}") ``` What it prints — 5627.54 It is worth $5,627.54.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "5627.54", "printed": "5627.54", "notation": null}
nlprog_det-setting-0076950
A lawyer's fee is 30% of a $90,000 recovery. How large is the fee? Written as code: ```python recovery = 90000 rate = 30 / 100 # 0.3 fee = recovery * rate # 27000.0 print(f"{fee:.2f}") ``` # stdout: 27000.00 The fee is $27,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
109
{"gold": "27000.00", "printed": "27000.00", "notation": null}
nlprog_det-setting-0076952
$10,000 is invested at 4% compounded yearly. What is it worth after 3 years? Python code: principal = 10000 rate = 4 / 100 # 0.04 years = 3 value = principal * (1 + rate) ** years # 11248.640000000001 print(f"{value:.2f}") Python prints 11248.64, as expected. The balance is $11,248.64.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "11248.64", "printed": "11248.64", "notation": null}
nlprog_det-setting-0076953
A penalty of $25 a day accrues, capped at $2,500. What is owed after 44 days? Let the code do the arithmetic: ```python per_day = 25 days = 44 cap = 2500 fine = min(per_day * days, cap) print(fine) ``` Program output: 1100 The fine is $1,100.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "1100", "printed": "1100", "notation": null}
nlprog_det-setting-0076954
<|start|><|user|> A library charges $0.15 per book per day late. What is the fine for 4 books that are 17 days late?<|eot|> <|assistant|> per_day = 0.15 days_late = 17 books = 4 fine = per_day * days_late * books # 10.2 print(f"{fine:.2f}") Printed — 10.20 The fine is $10.20.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A library charges $0.15 per book per day late. What is the fine for 4 books that are 17 days late?" }, { "role": "assistant", "content": " per_day = 0.15\n days_late = 17\n books = 4\n fine = per_day * days_late * books # 10.2\n print(f\"{fine:.2f}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "10.20", "printed": "10.20", "notation": null}
nlprog_det-setting-0076955
<|start|><|system|> Answer the user's question directly.<|eot|> <|user|> Counting only Monday through Friday, how many business days are there after February 28, 2018 through March 23, 2018?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2018, 2, 28) end = date(2018, 3, 23) count = 0 f...
chat
[ { "role": "system", "content": "Answer the user's question directly." }, { "role": "user", "content": "Counting only Monday through Friday, how many business days are there after February 28, 2018 through March 23, 2018?" }, { "role": "assistant", "content": "```python\nfrom datetime...
nlprog_det
setting
original
null
deterministic
[]
[]
167
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0076956
<|start|><|user|> Under a 35% contingency agreement, what fee is owed on a $25,000 award?<|eot|> <|assistant|> The lawyer's fee comes to $8,750.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Under a 35% contingency agreement, what fee is owed on a $25,000 award?" }, { "role": "assistant", "content": "The lawyer's fee comes to $8,750.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "8750.00", "printed": "8750.00", "notation": null}
nlprog_det-setting-0076957
<|start|><|system|> You may call the tools below. {"name": "code_runner", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|> <|user|> Counting the ...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"code_runner\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \...
nlprog_det
setting
original
null
deterministic
[]
[]
233
{"gold": "7", "printed": "7", "notation": null}
nlprog_det-setting-0076958
Under a 35% contingency agreement, what fee is owed on a $60,000 award? ```python recovery = 60000 rate = 35 / 100 # 0.35 fee = recovery * rate # 21000.0 print(f"{fee:.2f}") ``` (Out: 21000.00) The fee is $21,000.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "21000.00", "printed": "21000.00", "notation": null}
nlprog_det-setting-0076959
<|start|><|system|> Use a tool when a calculation is needed. Tools: [{"name": "python", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}]<|eot|>...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"python\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Pyt...
nlprog_det
setting
original
null
deterministic
[]
[]
251
{"gold": "6000.00", "printed": "6000.00", "notation": null}
nlprog_det-setting-0076960
At an exchange rate of 1.08 CAD per USD, how many CAD is 5,902 USD? Coded up: ```python amount = 5902 rate = 1.08 converted = amount * rate # 6374.160000000001 print(f"{converted:.2f}") ``` Output — 6374.16 That is 6,374.16 CAD.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "6374.16", "printed": "6374.16", "notation": null}
nlprog_det-setting-0076961
<|start|><|user|> 106 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?<|eot|> <|assistant|> 15 each, 1 left over.<|eot|> <|end|>
chat
[ { "role": "user", "content": "106 volunteers are split into 7 equal teams. How many are on each team, and how many are left over?" }, { "role": "assistant", "content": "15 each, 1 left over." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
40
{"gold": "15 each, 1 left over", "printed": "15 each, 1 left over", "notation": null}
nlprog_det-setting-0076962
How many meters are in 79.9 kilometers? Computation in Python: ```python km = 79.9 meters = km * 1000 # 79900.0 print(round(meters)) ``` # printed: 79900 That is 79,900 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "79900", "printed": "79900", "notation": null}
nlprog_det-setting-0076963
<|start|><|user|> What is -5 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> ```python celsius = -5 fahrenheit = celsius * 9 / 5 + 32 # 23.0 print(round(fahrenheit)) ``` Output of the run — 23 It equals 23 degrees Fahrenheit.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What is -5 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "```python\ncelsius = -5\nfahrenheit = celsius * 9 / 5 + 32 # 23.0\nprint(round(fahrenheit))\n```\nOutput of the run — 23\n\nIt equals 23 degrees Fahrenheit." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0076964
Priya earns $25.00 an hour and time and a half for hours over 40. What is the pay for a 44-hour week? Program: ```python rate = 25.0 hours = 44 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 150.0 pay = regular + overtime # 1150.0 print(f"{pay:.2f}") ``` # out: 1150.00 The weekly pay is $1,150...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
138
{"gold": "1150.00", "printed": "1150.00", "notation": null}
nlprog_det-setting-0076965
<|start|><|user|> At a 8% tax rate, what is the tax on $797.89?<|eot|> <|assistant|> $63.83 in tax.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At a 8% tax rate, what is the tax on $797.89?" }, { "role": "assistant", "content": "$63.83 in tax." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
34
{"gold": "63.83", "printed": "63.83", "notation": null}
nlprog_det-setting-0076966
The building opened in 2011. How many years had passed by 2035? Here's the code. ```python start_year = 2011 end_year = 2035 print(end_year - start_year) ``` # execution result: 24 That is 24 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
75
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0076967
How many days are there from November 21, 2027 to March 18, 2028? Python makes this quick: ```python from datetime import date first = date(2027, 11, 21) # datetime.date(2027, 11, 21) second = date(2028, 3, 18) # datetime.date(2028, 3, 18) print((second - first).days) ``` Running it prints: 118 There are 118 days b...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "118", "printed": "118", "notation": null}
nlprog_det-setting-0076968
<|start|><|user|> A meeting starts at 1:00 PM and lasts 135 minutes. When does it end?<|eot|> <|assistant|> ```python start = 13 * 60 + 0 end = start + 135 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` Run output: 3:15 PM It ends at 3:15 PM.<|eot|> <|end|...
chat
[ { "role": "user", "content": "A meeting starts at 1:00 PM and lasts 135 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 13 * 60 + 0\nend = start + 135\nhour, minute = divmod(end, 60)\nprint(f\"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}\"...
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "3:15 PM", "printed": "3:15 PM", "notation": null}
nlprog_det-setting-0076969
Equipment costs $12,000, has a salvage value of $3,000, and a useful life of 6 years. What is the straight-line depreciation per year? Code: ```python cost = 12000 salvage = 3000 years = 6 per_year = (cost - salvage) / years # 1500.0 print(f"{per_year:.2f}") ``` # program output: 1500.00 Depreciation is $1,500.00 pe...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
130
{"gold": "1500.00", "printed": "1500.00", "notation": null}
nlprog_det-setting-0076970
Filing fees are $45 per document. What do 14 filings cost? The computation: ```python fee = 45 filings = 14 total = fee * filings # 630 print(total) ``` Running it prints: 630 The filings cost $630 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "630", "printed": "630", "notation": null}
nlprog_det-setting-0076971
<|start|><|user|> One can of paint covers 350 square feet. How many cans are needed for 1323 square feet of wall?<|eot|> <|assistant|> ```python import math area = 1323 coverage = 350 cans = math.ceil(area / coverage) # 4 print(cans) ``` The printout reads 4. Buy 4 cans.<|eot|> <|end|>
chat
[ { "role": "user", "content": "One can of paint covers 350 square feet. How many cans are needed for 1323 square feet of wall?" }, { "role": "assistant", "content": "```python\nimport math\narea = 1323\ncoverage = 350\ncans = math.ceil(area / coverage) # 4\nprint(cans)\n```\nThe printout reads 4...
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0076972
How many of 15 members form a majority (more than half)? Python makes this quick: ```python members = 15 majority = members // 2 + 1 # 8 print(majority) ``` Out — 8 8 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "8", "printed": "8", "notation": null}
nlprog_det-setting-0076974
A garage charges $3 an hour, never more than $15 a day. How much for 11 hours? As a program: ```python rate = 3 hours = 11 daily_max = 15 cost = min(rate * hours, daily_max) # 15 print(cost) ``` Output — 15 Parking costs $15.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "15", "printed": "15", "notation": null}
nlprog_det-setting-0076975
If a 4-year limitations period starts on December 15, 2020, when does it end? Computing it: ```python from datetime import date accrued = date(2020, 12, 15) # datetime.date(2020, 12, 15) years = 4 expires = accrued.replace(year=accrued.year + years) # datetime.date(2024, 12, 15) print(expires.isoformat()) ``` Execut...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
145
{"gold": "2024-12-15", "printed": "2024-12-15", "notation": null}
nlprog_det-setting-0076976
At 60 miles per hour, how many minutes does a 225-mile trip take? 225 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
25
{"gold": "225", "printed": "225", "notation": null}
nlprog_det-setting-0076977
<|start|><|user|> Each storage box holds 24 files. How many boxes are needed for 542 files?<|eot|> <|assistant|> import math files = 542 per_box = 24 boxes = math.ceil(files / per_box) # 23 print(boxes) Result = 23 23 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 24 files. How many boxes are needed for 542 files?" }, { "role": "assistant", "content": " import math\n files = 542\n per_box = 24\n boxes = math.ceil(files / per_box) # 23\n print(boxes)\nResult = 23\n\n23 boxes are needed." ...
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0076978
<|start|><|user|> How many weekdays (Monday to Friday) fall after February 21, 2024 up to and including March 31, 2024?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2024, 2, 21) end = date(2024, 3, 31) count = 0 for k in range(1, (end - start).days + 1): if (start + timedelta(day...
chat
[ { "role": "user", "content": "How many weekdays (Monday to Friday) fall after February 21, 2024 up to and including March 31, 2024?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2024, 2, 21)\nend = date(2024, 3, 31)\ncount = 0\nfor k in rang...
nlprog_det
setting
original
null
deterministic
[]
[]
153
{"gold": "27", "printed": "27", "notation": null}
nlprog_det-setting-0076979
Filing fees are $150 per document. What do 18 filings cost? The filings cost $2,700 in all.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
29
{"gold": "2700", "printed": "2700", "notation": null}
nlprog_det-setting-0076980
An invoice lists 21 folders at $5 each, plus 5% sales tax. What is the invoice total? Python, step by step: ```python quantity = 21 unit_price = 5 subtotal = quantity * unit_price # 105 total = subtotal * (1 + 5 / 100) # 110.25 print(f"{total:.2f}") ``` The program prints 110.25, as expected. The total with tax is ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
134
{"gold": "110.25", "printed": "110.25", "notation": null}
nlprog_det-setting-0076982
<|start|><|system|> Tools (call with JSON): {"name": "python_exec", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"program": {"type": "string", "description": "Python source code"}}, "required": ["program"]}}<|eot|> <|user|> A shift runs from 9:27 AM to...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n{\"name\": \"python_exec\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"program\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"pr...
nlprog_det
setting
original
null
deterministic
[]
[]
205
{"gold": "130", "printed": "130", "notation": null}
nlprog_det-setting-0076984
<|start|><|user|> Buying 6 tape rolls at $30 each, 5 mugs at $13 each, 6 desk lamps at $3 each, 1 labels at $17 each, someone hands over $300. What change comes back?<|eot|> <|assistant|> $20 comes back.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Buying 6 tape rolls at $30 each, 5 mugs at $13 each, 6 desk lamps at $3 each, 1 labels at $17 each, someone hands over $300. What change comes back?" }, { "role": "assistant", "content": "$20 comes back." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
63
{"gold": "20", "printed": "20", "notation": null}
nlprog_det-setting-0076985
What is the total rent on a 36-month lease at $1,640 a month? A Python solution: monthly_rent = 1640 months = 36 total = monthly_rent * months # 59040 print(total) The script prints 59040, as expected. The rent over the term is $59,040.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "59040", "printed": "59040", "notation": null}
nlprog_det-setting-0076986
Starting with 1323 flash drives and using 8 per day, how many remain after 13 days? Python makes this quick: ```python stock = 1323 per_day = 8 days = 13 left = stock - per_day * days # 1219 print(left) ``` Run result — 1219 1219 remain.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
94
{"gold": "1219", "printed": "1219", "notation": null}
nlprog_det-setting-0076987
<|start|><|user|> An invoice lists 5 calendars at $24 each, plus 5% sales tax. What is the invoice total?<|eot|> <|assistant|> ```python quantity = 5 unit_price = 24 subtotal = quantity * unit_price total = subtotal * (1 + 5 / 100) print(f"{total:.2f}") ``` The run gives: 126.00 The total with tax is $126.00.<|eot|> <...
chat
[ { "role": "user", "content": "An invoice lists 5 calendars at $24 each, plus 5% sales tax. What is the invoice total?" }, { "role": "assistant", "content": "```python\nquantity = 5\nunit_price = 24\nsubtotal = quantity * unit_price\ntotal = subtotal * (1 + 5 / 100)\nprint(f\"{total:.2f}\")\n```\...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "126.00", "printed": "126.00", "notation": null}
nlprog_det-setting-0076988
<|start|><|user|> At 45 miles per hour, how many minutes does a 255-mile trip take?<|eot|> <|assistant|> distance = 255 speed = 45 minutes = distance / speed * 60 # 340.0 print(round(minutes)) Out = 340 340 minutes.<|eot|> <|end|>
chat
[ { "role": "user", "content": "At 45 miles per hour, how many minutes does a 255-mile trip take?" }, { "role": "assistant", "content": " distance = 255\n speed = 45\n minutes = distance / speed * 60 # 340.0\n print(round(minutes))\nOut = 340\n\n340 minutes." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
71
{"gold": "340", "printed": "340", "notation": null}
nlprog_det-setting-0076989
<|start|><|user|> Monthly rent is $1,500. A tenant moves in with 8 days left in a 30-day month. What is the prorated rent?<|eot|> <|assistant|> The tenant owes $400.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Monthly rent is $1,500. A tenant moves in with 8 days left in a 30-day month. What is the prorated rent?" }, { "role": "assistant", "content": "The tenant owes $400.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
51
{"gold": "400.00", "printed": "400.00", "notation": null}
nlprog_det-setting-0076990
<|start|><|user|> What percentage of $8,000 is $4,000?<|eot|> <|assistant|> ```python budget = 8000 spent = 4000 percent = spent / budget * 100 # 50.0 print(round(percent, 1)) ``` The script prints 50.0, as expected. 50.0% has been spent.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What percentage of $8,000 is $4,000?" }, { "role": "assistant", "content": "```python\nbudget = 8000\nspent = 4000\npercent = spent / budget * 100 # 50.0\nprint(round(percent, 1))\n```\nThe script prints 50.0, as expected.\n\n50.0% has been spent." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "50.0", "printed": "50.0", "notation": null}
nlprog_det-setting-0076991
<|start|><|user|> 4 claimants share a $15,000 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 15000 parties = 4 share = settlement // parties print(share) ``` Console: 3750 Each party receives $3,750.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 claimants share a $15,000 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 15000\nparties = 4\nshare = settlement // parties\nprint(share)\n```\nConsole:\n3750\n\nEach party receives $3,750." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "3750", "printed": "3750", "notation": null}
nlprog_det-setting-0076992
<|start|><|system|> You are a careful reviewer of figures.<|eot|> <|user|> The firm was founded in 2004. How many years had passed by 2016?<|eot|> <|assistant|> start_year = 2004 end_year = 2016 print(end_year - start_year) This prints 12, as expected. 12 years.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a careful reviewer of figures." }, { "role": "user", "content": "The firm was founded in 2004. How many years had passed by 2016?" }, { "role": "assistant", "content": " start_year = 2004\n end_year = 2016\n print(end_year - start_year...
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0076993
A $180 dinner bill gets a 20% tip, and 4 people share the cost equally. What is each person's share? The computation: ```python bill = 180 tip_rate = 20 / 100 # 0.2 people = 4 each = bill * (1 + tip_rate) / people # 54.0 print(f"{each:.2f}") ``` Console output — 54.00 Each person pays $54.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
122
{"gold": "54.00", "printed": "54.00", "notation": null}
nlprog_det-setting-0076995
At 50 miles per hour, how many minutes does a 300-mile trip take? A Python solution: ```python distance = 300 speed = 50 minutes = distance / speed * 60 print(round(minutes)) ``` The run gives: 360 360 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "360", "printed": "360", "notation": null}
nlprog_det-setting-0076996
Split $808 between Ada and Maren in the ratio 1 to 3. What is Ada's share? The Python version: ```python total = 808 parts_a = 1 parts_b = 3 share_a = total * parts_a // (parts_a + parts_b) # 202 print(share_a) ``` Run result: 202 Ada's share is $202.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "202", "printed": "202", "notation": null}
nlprog_det-setting-0076997
A 460-page report must be reviewed in 20 days. How many pages a day is that, evenly? 23 pages a day.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
32
{"gold": "23", "printed": "23", "notation": null}
nlprog_det-setting-0076998
<|start|><|user|> What average speed covers 512 miles in 2 hours?<|eot|> <|assistant|> ```python distance = 512 hours = 2 speed = distance / hours # 256.0 print(round(speed)) ``` The code prints 256. The average speed is 256 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 512 miles in 2 hours?" }, { "role": "assistant", "content": "```python\ndistance = 512\nhours = 2\nspeed = distance / hours # 256.0\nprint(round(speed))\n```\nThe code prints 256.\n\nThe average speed is 256 mph." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "256", "printed": "256", "notation": null}