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-0074965
A water bill is $15 plus $5.10 per thousand gallons beyond the first 2 thousand. What is the bill for 7 thousand gallons? The program: ```python base = 15 rate = 5.1 used = 7 free = 2 bill = base + rate * max(0, used - free) # 40.5 print(f"{bill:.2f}") ``` Execution result — 40.50 The bill is $40.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "40.50", "printed": "40.50", "notation": null}
nlprog_det-setting-0074966
<|start|><|user|> A penalty of $250 a day accrues, capped at $2,500. What is owed after 27 days?<|eot|> <|assistant|> The fine is $2,500.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $250 a day accrues, capped at $2,500. What is owed after 27 days?" }, { "role": "assistant", "content": "The fine is $2,500." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "2500", "printed": "2500", "notation": null}
nlprog_det-setting-0074967
<|start|><|system|> Be brief and correct.<|eot|> <|user|> A water bill is $20 plus $3.50 per thousand gallons beyond the first 3 thousand. What is the bill for 19 thousand gallons?<|eot|> <|assistant|> The bill is $76.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be brief and correct." }, { "role": "user", "content": "A water bill is $20 plus $3.50 per thousand gallons beyond the first 3 thousand. What is the bill for 19 thousand gallons?" }, { "role": "assistant", "content": "The bill is $76.00." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
56
{"gold": "76.00", "printed": "76.00", "notation": null}
nlprog_det-setting-0074968
A 90-day notice period begins on July 20, 2022. On what date does it end? As Python: from datetime import date, timedelta start = date(2022, 7, 20) # datetime.date(2022, 7, 20) end = start + timedelta(days=90) # datetime.date(2022, 10, 18) print(end.isoformat()) The program outputs 2022-10-18. The p...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "2022-10-18", "printed": "2022-10-18", "notation": null}
nlprog_det-setting-0074969
Pack A has 10 items for $4.71. Pack B has 18 items for $16.55. Which has the lower price per item? Python does the arithmetic: ```python pack_a = 4.71 / 10 # 0.471 pack_b = 16.55 / 18 # 0.9194444444444445 cheaper = "A" if pack_a < pack_b else "B" # 'A' print(cheaper) ``` Result = A A has the lower unit price.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
140
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0074970
Ada's scores were 55, 100, 55, 95, 52 and 99. What is the average score? Computation in Python: ```python scores = [55, 100, 55, 95, 52, 99] average = sum(scores) // len(scores) # 76 print(average) ``` Execution prints 76. The mean is 76.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "76", "printed": "76", "notation": null}
nlprog_det-setting-0074971
From 2009 to 2026, how many years is that? We write it as a program: ```python start_year = 2009 end_year = 2026 print(end_year - start_year) ``` Run it and it prints 17. 17 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
69
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0074972
<|start|><|system|> You are a math tutor.<|eot|> <|user|> With 29 rows of 20 chairs and 21 empty chairs, how many chairs are taken?<|eot|> <|assistant|> ```python rows = 29 per_row = 20 empty = 21 seated = rows * per_row - empty # 559 print(seated) ``` Run result = 559 559 seats are taken.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "With 29 rows of 20 chairs and 21 empty chairs, how many chairs are taken?" }, { "role": "assistant", "content": "```python\nrows = 29\nper_row = 20\nempty = 21\nseated = rows * per_row - empty # ...
nlprog_det
setting
original
null
deterministic
[]
[]
106
{"gold": "559", "printed": "559", "notation": null}
nlprog_det-setting-0074973
<|start|><|system|> You can call tools. Available tools: {"name": "python", "description": "Executes Python code and returns stdout.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}<|eot|> <|user|> Equal monthly payments rep...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n{\"name\": \"python\", \"description\": \"Executes Python code and returns stdout.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"...
nlprog_det
setting
original
null
deterministic
[]
[]
257
{"gold": "168.00", "printed": "168.00", "notation": null}
nlprog_det-setting-0074974
What does $5,000 grow to in 2 years at 2% annual compounding? Coded up: ```python principal = 5000 rate = 2 / 100 # 0.02 years = 2 value = principal * (1 + rate) ** years # 5202.0 print(f"{value:.2f}") ``` # run result: 5202.00 The balance is $5,202.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "5202.00", "printed": "5202.00", "notation": null}
nlprog_det-setting-0074975
1 books come back 9 days late, at $0.10 a day each. What is the fine? Computation in Python: ```python per_day = 0.1 days_late = 9 books = 1 fine = per_day * days_late * books # 0.9 print(f"{fine:.2f}") ``` Running this gives: 0.90 $0.90 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "0.90", "printed": "0.90", "notation": null}
nlprog_det-setting-0074976
<|start|><|user|> Farah earns a 3% commission on $119,633 of sales. What is the commission?<|eot|> <|assistant|> ```python sales = 119633 rate = 3 / 100 # 0.03 commission = sales * rate # 3588.99 print(f"{commission:.2f}") ``` # run result: 3588.99 Farah earns $3,588.99.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Farah earns a 3% commission on $119,633 of sales. What is the commission?" }, { "role": "assistant", "content": "```python\nsales = 119633\nrate = 3 / 100 # 0.03\ncommission = sales * rate # 3588.99\nprint(f\"{commission:.2f}\")\n```\n# run result: 3588.99\n\nFara...
nlprog_det
setting
original
null
deterministic
[]
[]
111
{"gold": "3588.99", "printed": "3588.99", "notation": null}
nlprog_det-setting-0074977
<|start|><|user|> A customer buys 5 sticky pads at $28 each, 1 headsets at $6 each, 5 water bottles at $18 each and pays with $250. How much change is due?<|eot|> <|assistant|> ```python items = [(5, 28), (1, 6), (5, 18)] total = sum(q * p for q, p in items) # 236 paid = 250 change = paid - total # 14 print(change) `...
chat
[ { "role": "user", "content": "A customer buys 5 sticky pads at $28 each, 1 headsets at $6 each, 5 water bottles at $18 each and pays with $250. How much change is due?" }, { "role": "assistant", "content": "```python\nitems = [(5, 28), (1, 6), (5, 18)]\ntotal = sum(q * p for q, p in items) # 23...
nlprog_det
setting
original
null
deterministic
[]
[]
135
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0074978
<|start|><|user|> A penalty of $25 a day accrues, capped at $1,000. What is owed after 37 days?<|eot|> <|assistant|> $925 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A penalty of $25 a day accrues, capped at $1,000. What is owed after 37 days?" }, { "role": "assistant", "content": "$925 is owed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
42
{"gold": "925", "printed": "925", "notation": null}
nlprog_det-setting-0074979
How many of 200 votes make 60% (round up)? We write it as a program: ```python import math voters = 200 needed = math.ceil(voters * 60 / 100) # 120 print(needed) ``` The program outputs 120. At least 120 votes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
85
{"gold": "120", "printed": "120", "notation": null}
nlprog_det-setting-0074981
Ulla drove 162 miles for work. Mileage is reimbursed at 70 cents a mile. How much is the reimbursement? Here's the code. ```python miles = 162 rate = 0.7 reimbursement = miles * rate # 113.39999999999999 print(f"{reimbursement:.2f}") ``` Run output — 113.40 Ulla is owed $113.40.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
123
{"gold": "113.40", "printed": "113.40", "notation": null}
nlprog_det-setting-0074982
What is 40 degrees Celsius in Fahrenheit? Here's the code. ```python celsius = 40 fahrenheit = celsius * 9 / 5 + 32 # 104.0 print(round(fahrenheit)) ``` Running this gives: 104 That is 104 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
91
{"gold": "104", "printed": "104", "notation": null}
nlprog_det-setting-0074983
<|start|><|system|> Available functions (JSON Schema): [{"name": "eval_python", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <|user|> ...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n[{\"name\": \"eval_python\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source co...
nlprog_det
setting
original
null
deterministic
[]
[]
265
{"gold": "830.00", "printed": "830.00", "notation": null}
nlprog_det-setting-0074984
<|start|><|user|> Find the mean of these test scores: 59, 95 and 77.<|eot|> <|assistant|> ```python scores = [59, 95, 77] average = sum(scores) // len(scores) # 77 print(average) ``` The run gives 77, as expected. The average score is 77.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Find the mean of these test scores: 59, 95 and 77." }, { "role": "assistant", "content": "```python\nscores = [59, 95, 77]\naverage = sum(scores) // len(scores) # 77\nprint(average)\n```\nThe run gives 77, as expected.\n\nThe average score is 77." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "77", "printed": "77", "notation": null}
nlprog_det-setting-0074985
<|start|><|user|> Starting from $12,000, the team spends $1,144, $3,024, $1,786. What remains?<|eot|> <|assistant|> ```python budget = 12000 expenses = [1144, 3024, 1786] left = budget - sum(expenses) # 6046 print(left) ``` Printed: 6046 $6,046 is left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Starting from $12,000, the team spends $1,144, $3,024, $1,786. What remains?" }, { "role": "assistant", "content": "```python\nbudget = 12000\nexpenses = [1144, 3024, 1786]\nleft = budget - sum(expenses) # 6046\nprint(left)\n```\nPrinted:\n6046\n\n$6,046 is left." ...
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "6046", "printed": "6046", "notation": null}
nlprog_det-setting-0074986
A 195-mile drive at a steady 65 mph takes how many minutes? The program: ```python distance = 195 speed = 65 minutes = distance / speed * 60 # 180.0 print(round(minutes)) ``` Output — 180 The trip takes 180 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "180", "printed": "180", "notation": null}
nlprog_det-setting-0074987
788 files go into boxes of 50. How many boxes does that take? 16 boxes are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
26
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0074988
What is -10 degrees Celsius in Fahrenheit? Python makes this quick: ```python celsius = -10 fahrenheit = celsius * 9 / 5 + 32 # 14.0 print(round(fahrenheit)) ``` The code prints 14. That is 14 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "14", "printed": "14", "notation": null}
nlprog_det-setting-0074989
With 23 rows of 19 chairs and 18 empty chairs, how many chairs are taken? 419 people are seated.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "419", "printed": "419", "notation": null}
nlprog_det-setting-0074990
<|start|><|user|> Printing costs 5 cents a page. What does it cost to print 76 copies of a 46-page handout?<|eot|> <|assistant|> ```python pages = 46 copies = 76 cost_per_page = 0.05 cost = pages * copies * cost_per_page # 174.8 print(f"{cost:.2f}") ``` # program output: 174.80 Printing costs $174.80.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Printing costs 5 cents a page. What does it cost to print 76 copies of a 46-page handout?" }, { "role": "assistant", "content": "```python\npages = 46\ncopies = 76\ncost_per_page = 0.05\ncost = pages * copies * cost_per_page # 174.8\nprint(f\"{cost:.2f}\")\n```\n# ...
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "174.80", "printed": "174.80", "notation": null}
nlprog_det-setting-0074991
Walls total 1170 sq ft and each can covers 250 sq ft. How many cans should be bought? Python does the arithmetic: ```python import math area = 1170 coverage = 250 cans = math.ceil(area / coverage) # 5 print(cans) ``` Output of the run — 5 5 cans are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
102
{"gold": "5", "printed": "5", "notation": null}
nlprog_det-setting-0074992
A 325-mile drive at a steady 50 mph takes how many minutes? Code: ```python distance = 325 speed = 50 minutes = distance / speed * 60 # 390.0 print(round(minutes)) ``` The program prints 390. The trip takes 390 minutes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "390", "printed": "390", "notation": null}
nlprog_det-setting-0074993
Arjun earns a 3% commission on $15,100 of sales. What is the commission? Here's the code. ```python sales = 15100 rate = 3 / 100 # 0.03 commission = sales * rate # 453.0 print(f"{commission:.2f}") ``` Printed result: 453.00 Arjun earns $453.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
110
{"gold": "453.00", "printed": "453.00", "notation": null}
nlprog_det-setting-0074994
Equipment costs $18,000, has a salvage value of $6,000, and a useful life of 10 years. What is the straight-line depreciation per year? In code: ```python cost = 18000 salvage = 6000 years = 10 per_year = (cost - salvage) / years # 1200.0 print(f"{per_year:.2f}") ``` That prints: 1200.00 $1,200.00 a year.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
127
{"gold": "1200.00", "printed": "1200.00", "notation": null}
nlprog_det-setting-0074995
<|start|><|user|> 3 boxes hold 8 ink cartridges each. After 11 are handed out, how many are left?<|eot|> <|assistant|> ```python boxes = 3 per_box = 8 given_away = 11 left = boxes * per_box - given_away print(left) ``` # printed: 13 13 ink cartridges are left.<|eot|> <|end|>
chat
[ { "role": "user", "content": "3 boxes hold 8 ink cartridges each. After 11 are handed out, how many are left?" }, { "role": "assistant", "content": "```python\nboxes = 3\nper_box = 8\ngiven_away = 11\nleft = boxes * per_box - given_away\nprint(left)\n```\n# printed: 13\n\n13 ink cartridges are l...
nlprog_det
setting
original
null
deterministic
[]
[]
95
{"gold": "13", "printed": "13", "notation": null}
nlprog_det-setting-0074996
<|start|><|user|> The rules require 2/3 of 26 members (round up) to be present. How many is that?<|eot|> <|assistant|> ```python import math members = 26 quorum = math.ceil(members * 2 / 3) # 18 print(quorum) ``` (Console output: 18) 18 members are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "The rules require 2/3 of 26 members (round up) to be present. How many is that?" }, { "role": "assistant", "content": "```python\nimport math\nmembers = 26\nquorum = math.ceil(members * 2 / 3) # 18\nprint(quorum)\n```\n(Console output: 18)\n\n18 members are needed....
nlprog_det
setting
original
null
deterministic
[]
[]
93
{"gold": "18", "printed": "18", "notation": null}
nlprog_det-setting-0074997
What commission does Cyrus make on $54,563 in sales at 4%? We write it as a program: ```python sales = 54563 rate = 4 / 100 # 0.04 commission = sales * rate # 2182.52 print(f"{commission:.2f}") ``` # result: 2182.52 The commission is $2,182.52.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
108
{"gold": "2182.52", "printed": "2182.52", "notation": null}
nlprog_det-setting-0074998
A 18-month warranty starts on November 12, 2018. On what date does it end? It expires on May 12, 2020.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "2020-05-12", "printed": "2020-05-12", "notation": null}
nlprog_det-setting-0074999
A shift runs from 9:49 AM to 1:42 PM. How long is it in minutes? Code: ```python start = 9 * 60 + 49 # 589 end = 13 * 60 + 42 # 822 print(end - start) ``` Python prints: 233 It is 233 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
87
{"gold": "233", "printed": "233", "notation": null}
nlprog_det-setting-0075000
<|start|><|system|> Give the answer first.<|eot|> <|user|> What is 5 degrees Celsius in Fahrenheit?<|eot|> <|assistant|> ```python celsius = 5 fahrenheit = celsius * 9 / 5 + 32 # 41.0 print(round(fahrenheit)) ``` Printed result — 41 That is 41 °F.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "What is 5 degrees Celsius in Fahrenheit?" }, { "role": "assistant", "content": "```python\ncelsius = 5\nfahrenheit = celsius * 9 / 5 + 32 # 41.0\nprint(round(fahrenheit))\n```\nPrinted result — ...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "41", "printed": "41", "notation": null}
nlprog_det-setting-0075001
Convert 26 km to meters. As Python: ```python km = 26 meters = km * 1000 # 26000 print(round(meters)) ``` Out = 26000 That is 26,000 meters.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
74
{"gold": "26000", "printed": "26000", "notation": null}
nlprog_det-setting-0075002
A garage charges $4 an hour, never more than $18 a day. How much for 1 hours? Translated to Python: rate = 4 hours = 1 daily_max = 18 cost = min(rate * hours, daily_max) # 4 print(cost) Execution result: 4 Parking costs $4.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
88
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0075003
<|start|><|system|> Answer accurately and briefly.<|eot|> <|user|> At $16.60 an hour, what does 40 hours of work pay?<|eot|> <|assistant|> ```python rate = 16.6 hours = 40 earnings = rate * hours # 664.0 print(f"{earnings:.2f}") ``` # program output: 664.00 The pay is $664.00.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Answer accurately and briefly." }, { "role": "user", "content": "At $16.60 an hour, what does 40 hours of work pay?" }, { "role": "assistant", "content": "```python\nrate = 16.6\nhours = 40\nearnings = rate * hours # 664.0\nprint(f\"{earnings:.2f}\")\...
nlprog_det
setting
original
null
deterministic
[]
[]
104
{"gold": "664.00", "printed": "664.00", "notation": null}
nlprog_det-setting-0075004
An unpaid balance of $12,000 accrues 1% simple interest per month. How much interest accrues in 3 months? Here's the code. ```python balance = 12000 monthly_rate = 1 / 100 # 0.01 months = 3 interest = balance * monthly_rate * months # 360.0 print(f"{interest:.2f}") ``` On running, it outputs 360.00. $360.00 accrues...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "360.00", "printed": "360.00", "notation": null}
nlprog_det-setting-0075005
A garage charges $4 an hour, never more than $20 a day. How much for 1 hours? A Python solution: ```python rate = 4 hours = 1 daily_max = 20 cost = min(rate * hours, daily_max) # 4 print(cost) ``` This prints 4, as expected. Parking costs $4.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0075006
A claim accrued on April 7, 2018. The limitations period is 6 years. On what date does it expire? It runs out on April 7, 2024.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "2024-04-07", "printed": "2024-04-07", "notation": null}
nlprog_det-setting-0075007
<|start|><|user|> Which is cheaper per unit: 8 for $4.56 (A) or 20 for $13.46 (B)?<|eot|> <|assistant|> Pack A is cheaper per item.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Which is cheaper per unit: 8 for $4.56 (A) or 20 for $13.46 (B)?" }, { "role": "assistant", "content": "Pack A is cheaper per item." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
45
{"gold": "A", "printed": "A", "notation": null}
nlprog_det-setting-0075008
What simple interest does $8,000 earn at 3% a year over 2 years? Written as code: ```python principal = 8000 rate = 3 / 100 years = 2 interest = principal * rate * years print(f"{interest:.2f}") ``` (Execution result: 480.00) The interest is $480.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
101
{"gold": "480.00", "printed": "480.00", "notation": null}
nlprog_det-setting-0075009
How many whole days and leftover hours are in 362 hours? ```python hours = 362 days, rest = divmod(hours, 24) print(f"{days} days and {rest} hours") ``` On running, it outputs 15 days and 2 hours. That is 15 days and 2 hours.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "15 days and 2 hours", "printed": "15 days and 2 hours", "notation": null}
nlprog_det-setting-0075010
At $0.67 per mile, what is the reimbursement for 214 miles? Script: ```python miles = 214 rate = 0.67 reimbursement = miles * rate # 143.38 print(f"{reimbursement:.2f}") ``` The run gives: 143.38 The reimbursement is $143.38.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "143.38", "printed": "143.38", "notation": null}
nlprog_det-setting-0075011
<|start|><|user|> Fines run at $50 per day up to a maximum of $1,000. How much after 57 days?<|eot|> <|assistant|> per_day = 50 days = 57 cap = 1000 fine = min(per_day * days, cap) # 1000 print(fine) When run, it prints 1000. $1,000 is owed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Fines run at $50 per day up to a maximum of $1,000. How much after 57 days?" }, { "role": "assistant", "content": " per_day = 50\n days = 57\n cap = 1000\n fine = min(per_day * days, cap) # 1000\n print(fine)\nWhen run, it prints 1000.\n\n$1,000 is o...
nlprog_det
setting
original
null
deterministic
[]
[]
89
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0075012
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> Wanjiru and Kemal share $2,169 in the ratio 1:2. How much does Wanjiru get?<|eot|> <|assistant|> Wanjiru gets $723.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "Wanjiru and Kemal share $2,169 in the ratio 1:2. How much does Wanjiru get?" }, { "role": "assistant", "content": "Wanjiru gets $723." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
64
{"gold": "723", "printed": "723", "notation": null}
nlprog_det-setting-0075013
Shipping costs $10 plus $0.75 per pound. What does a 5-pound parcel cost to ship? Programmatically: ```python base = 10 per_pound = 0.75 weight = 5 cost = base + per_pound * weight print(f"{cost:.2f}") ``` Running it prints 13.75. The charge is $13.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
107
{"gold": "13.75", "printed": "13.75", "notation": null}
nlprog_det-setting-0075014
Beatriz earns $20.00 an hour and time and a half for hours over 40. What is the pay for a 55-hour week? Computing it: ```python rate = 20.0 hours = 55 regular = 40 * rate # 800.0 overtime = (hours - 40) * rate * 1.5 # 450.0 pay = regular + overtime # 1250.0 print(f"{pay:.2f}") ``` It prints: 1250.00 Beatriz earns ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
142
{"gold": "1250.00", "printed": "1250.00", "notation": null}
nlprog_det-setting-0075015
<|start|><|user|> Hana lends $12,000 at 5% simple interest per year for 4 years. How much interest is earned?<|eot|> <|assistant|> ```python principal = 12000 rate = 5 / 100 # 0.05 years = 4 interest = principal * rate * years # 2400.0 print(f"{interest:.2f}") ``` stdout = 2400.00 The interest is $2,400.00.<|eot|> <...
chat
[ { "role": "user", "content": "Hana lends $12,000 at 5% simple interest per year for 4 years. How much interest is earned?" }, { "role": "assistant", "content": "```python\nprincipal = 12000\nrate = 5 / 100 # 0.05\nyears = 4\ninterest = principal * rate * years # 2400.0\nprint(f\"{interest:.2f}...
nlprog_det
setting
original
null
deterministic
[]
[]
116
{"gold": "2400.00", "printed": "2400.00", "notation": null}
nlprog_det-setting-0075016
<|start|><|user|> Equipment costs $12,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year?<|eot|> <|assistant|> ```python cost = 12000 salvage = 2000 years = 5 per_year = (cost - salvage) / years # 2000.0 print(f"{per_year:.2f}") ``` The interpreter prints:...
chat
[ { "role": "user", "content": "Equipment costs $12,000, has a salvage value of $2,000, and a useful life of 5 years. What is the straight-line depreciation per year?" }, { "role": "assistant", "content": "```python\ncost = 12000\nsalvage = 2000\nyears = 5\nper_year = (cost - salvage) / years # 2...
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "2000.00", "printed": "2000.00", "notation": null}
nlprog_det-setting-0075017
A claim accrued on May 6, 2017. The limitations period is 2 years. On what date does it expire? Python: ```python from datetime import date accrued = date(2017, 5, 6) # datetime.date(2017, 5, 6) years = 2 expires = accrued.replace(year=accrued.year + years) # datetime.date(2019, 5, 6) print(expires.isoformat()) ``` ...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
148
{"gold": "2019-05-06", "printed": "2019-05-06", "notation": null}
nlprog_det-setting-0075018
Pay is $25.00/hour, with overtime at 1.5 times that rate beyond 40 hours. How much for 47 hours? We can compute it in Python. ```python rate = 25.0 hours = 47 regular = 40 * rate # 1000.0 overtime = (hours - 40) * rate * 1.5 # 262.5 pay = regular + overtime # 1262.5 print(f"{pay:.2f}") ``` Console: 1262.50 The wee...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
151
{"gold": "1262.50", "printed": "1262.50", "notation": null}
nlprog_det-setting-0075019
Monthly rent is $900. A tenant moves in with 22 days left in a 31-day month. What is the prorated rent? Program: rent = 900 days_in_month = 31 days_occupied = 22 prorated = rent * days_occupied / days_in_month # 638.7096774193549 print(f"{prorated:.2f}") Execution result: 638.71 The prorated rent...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
129
{"gold": "638.71", "printed": "638.71", "notation": null}
nlprog_det-setting-0075020
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> A pack of 20 flash drives sells for $960. What does each cost?<|eot|> <|assistant|> ```python total = 960 count = 20 per_item = total // count # 48 print(per_item) ``` Executed, it shows: 48 The unit price is $48.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "A pack of 20 flash drives sells for $960. What does each cost?" }, { "role": "assistant", "content": "```python\ntotal = 960\ncount = 20\nper_item = total // count # 48\nprin...
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "48", "printed": "48", "notation": null}
nlprog_det-setting-0075021
A car travels 196 miles in 2 hours. What is its average speed in miles per hour? Code: ```python distance = 196 hours = 2 speed = distance / hours # 98.0 print(round(speed)) ``` Printed: 98 It averages 98 miles per hour.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "98", "printed": "98", "notation": null}
nlprog_det-setting-0075022
Find the mean of these test scores: 92, 64 and 96. Python version: ```python scores = [92, 64, 96] average = sum(scores) // len(scores) # 84 print(average) ``` stdout — 84 The mean is 84.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
84
{"gold": "84", "printed": "84", "notation": null}
nlprog_det-setting-0075023
Count the days between April 8, 2024 and April 16, 2025. ```python from datetime import date first = date(2024, 4, 8) # datetime.date(2024, 4, 8) second = date(2025, 4, 16) # datetime.date(2025, 4, 16) print((second - first).days) ``` # result: 373 It is 373 days.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "373", "printed": "373", "notation": null}
nlprog_det-setting-0075024
<|start|><|system|> Answer in plain English.<|eot|> <|user|> A appointment starts at 12:30 PM and lasts 75 minutes. When does it end?<|eot|> <|assistant|> ```python start = 12 * 60 + 30 end = start + 75 hour, minute = divmod(end, 60) print(f"{(hour - 1) % 12 + 1}:{minute:02d} {'AM' if hour < 12 else 'PM'}") ``` (Consol...
chat
[ { "role": "system", "content": "Answer in plain English." }, { "role": "user", "content": "A appointment starts at 12:30 PM and lasts 75 minutes. When does it end?" }, { "role": "assistant", "content": "```python\nstart = 12 * 60 + 30\nend = start + 75\nhour, minute = divmod(end, 60)...
nlprog_det
setting
original
null
deterministic
[]
[]
141
{"gold": "1:45 PM", "printed": "1:45 PM", "notation": null}
nlprog_det-setting-0075025
<|start|><|system|> You are a patient tutor.<|eot|> <|user|> The rules require 1/3 of 46 members (round up) to be present. How many is that?<|eot|> <|assistant|> 16 members are needed.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a patient tutor." }, { "role": "user", "content": "The rules require 1/3 of 46 members (round up) to be present. How many is that?" }, { "role": "assistant", "content": "16 members are needed." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
47
{"gold": "16", "printed": "16", "notation": null}
nlprog_det-setting-0075026
Copies cost $15 plus $0.25 for each page beyond 10. How much for 77 pages? In Python: pages = 77 base = 15 per_page = 0.25 free_pages = 10 cost = base + max(0, pages - free_pages) * per_page # 31.75 print(f"{cost:.2f}") Console output: 31.75 The copy costs $31.75.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
114
{"gold": "31.75", "printed": "31.75", "notation": null}
nlprog_det-setting-0075027
1.5 hours of work at $410 an hour: what is the total charge? Let the code do the arithmetic: ```python hours = 1.5 rate = 410 bill = hours * rate # 615.0 print(f"{bill:.2f}") ``` # program output: 615.00 The bill is $615.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
99
{"gold": "615.00", "printed": "615.00", "notation": null}
nlprog_det-setting-0075028
Reza buys 10 boxes of 6 envelopes each and gives away 9 envelopes. How many envelopes are left? ```python boxes = 10 per_box = 6 given_away = 9 left = boxes * per_box - given_away # 51 print(left) ``` # printed result: 51 51 envelopes are left.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
98
{"gold": "51", "printed": "51", "notation": null}
nlprog_det-setting-0075029
Convert 31.2 km to meters. 31,200 m.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
19
{"gold": "31200", "printed": "31200", "notation": null}
nlprog_det-setting-0075030
<|start|><|user|> How many minutes pass from 7:49 AM to 9:06 AM on the same day?<|eot|> <|assistant|> 77 minutes pass.<|eot|> <|end|>
chat
[ { "role": "user", "content": "How many minutes pass from 7:49 AM to 9:06 AM on the same day?" }, { "role": "assistant", "content": "77 minutes pass." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
31
{"gold": "77", "printed": "77", "notation": null}
nlprog_det-setting-0075031
<|start|><|system|> Tools (call with JSON): [{"name": "interpreter", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> 85 volunteers...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"interpreter\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"re...
nlprog_det
setting
original
null
deterministic
[]
[]
235
{"gold": "17 each, 0 left over", "printed": "17 each, 0 left over", "notation": null}
nlprog_det-setting-0075032
<|start|><|user|> Each storage box holds 24 files. How many boxes are needed for 276 files?<|eot|> <|assistant|> import math files = 276 per_box = 24 boxes = math.ceil(files / per_box) # 12 print(boxes) stdout: 12 12 boxes are needed.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Each storage box holds 24 files. How many boxes are needed for 276 files?" }, { "role": "assistant", "content": " import math\n files = 276\n per_box = 24\n boxes = math.ceil(files / per_box) # 12\n print(boxes)\nstdout: 12\n\n12 boxes are needed." ...
nlprog_det
setting
original
null
deterministic
[]
[]
80
{"gold": "12", "printed": "12", "notation": null}
nlprog_det-setting-0075033
48 files go into boxes of 12. How many boxes does that take? Programmatically: ```python import math files = 48 per_box = 12 boxes = math.ceil(files / per_box) print(boxes) ``` Out = 4 It takes 4 boxes.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "4", "printed": "4", "notation": null}
nlprog_det-setting-0075034
<|start|><|user|> A hall has 29 rows of 11 seats, and 31 seats are empty. How many people are seated?<|eot|> <|assistant|> rows = 29 per_row = 11 empty = 31 seated = rows * per_row - empty # 288 print(seated) The program outputs 288. 288 people are seated.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A hall has 29 rows of 11 seats, and 31 seats are empty. How many people are seated?" }, { "role": "assistant", "content": " rows = 29\n per_row = 11\n empty = 31\n seated = rows * per_row - empty # 288\n print(seated)\nThe program outputs 288.\n\n288...
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "288", "printed": "288", "notation": null}
nlprog_det-setting-0075035
A penalty of $50 a day accrues, capped at $2,500. What is owed after 11 days? Written as code: ```python per_day = 50 days = 11 cap = 2500 fine = min(per_day * days, cap) # 550 print(fine) ``` Output: 550 The fine is $550.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
103
{"gold": "550", "printed": "550", "notation": null}
nlprog_det-setting-0075037
<|start|><|user|> How many weekdays (Monday to Friday) fall after February 18, 2026 up to and including March 13, 2026?<|eot|> <|assistant|> ```python from datetime import date, timedelta start = date(2026, 2, 18) end = date(2026, 3, 13) 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 18, 2026 up to and including March 13, 2026?" }, { "role": "assistant", "content": "```python\nfrom datetime import date, timedelta\nstart = date(2026, 2, 18)\nend = date(2026, 3, 13)\ncount = 0\nfor k in rang...
nlprog_det
setting
original
null
deterministic
[]
[]
156
{"gold": "17", "printed": "17", "notation": null}
nlprog_det-setting-0075038
4 books come back 14 days late, at $0.15 a day each. What is the fine? As Python: per_day = 0.15 days_late = 14 books = 4 fine = per_day * days_late * books # 8.4 print(f"{fine:.2f}") # output: 8.40 $8.40 is owed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
96
{"gold": "8.40", "printed": "8.40", "notation": null}
nlprog_det-setting-0075039
Goods bought on May 23, 2027 carry a 24-month warranty. When does it expire? Python: ```python from datetime import date start = date(2027, 5, 23) months = 24 years, month_index = divmod(start.month - 1 + months, 12) end = date(start.year + years, month_index + 1, start.day) print(end.isoformat()) ``` Output — 2029-05...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
149
{"gold": "2029-05-23", "printed": "2029-05-23", "notation": null}
nlprog_det-setting-0075040
<|start|><|user|> 6 claimants share a $960 settlement equally. What is each share?<|eot|> <|assistant|> ```python settlement = 960 parties = 6 share = settlement // parties # 160 print(share) ``` Printed — 160 Each party receives $160.<|eot|> <|end|>
chat
[ { "role": "user", "content": "6 claimants share a $960 settlement equally. What is each share?" }, { "role": "assistant", "content": "```python\nsettlement = 960\nparties = 6\nshare = settlement // parties # 160\nprint(share)\n```\nPrinted — 160\n\nEach party receives $160." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
79
{"gold": "160", "printed": "160", "notation": null}
nlprog_det-setting-0075041
Notice was given on August 26, 2019. The notice period is 21 days. When does it run out? Here is the program. from datetime import date, timedelta start = date(2019, 8, 26) # datetime.date(2019, 8, 26) end = start + timedelta(days=21) # datetime.date(2019, 9, 16) print(end.isoformat()) stdout — 2019-...
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
131
{"gold": "2019-09-16", "printed": "2019-09-16", "notation": null}
nlprog_det-setting-0075042
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "math_engine", "description": "A Python interpreter. Returns standard output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"math_engine\", \"description\": \"A Python interpreter. Returns standard output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python s...
nlprog_det
setting
original
null
deterministic
[]
[]
234
{"gold": "25", "printed": "25", "notation": null}
nlprog_det-setting-0075043
Under a 33% contingency agreement, what fee is owed on a $60,000 award? Written as code: recovery = 60000 rate = 33 / 100 # 0.33 fee = recovery * rate # 19800.0 print(f"{fee:.2f}") Output: 19800.00 The lawyer's fee comes to $19,800.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
97
{"gold": "19800.00", "printed": "19800.00", "notation": null}
nlprog_det-setting-0075044
A pack of 5 scissors sells for $150. What does each cost? A short script: ```python total = 150 count = 5 per_item = total // count # 30 print(per_item) ``` Output: 30 Each one costs $30.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
81
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0075045
Convert 10 °C to Fahrenheit. The Python version: ```python celsius = 10 fahrenheit = celsius * 9 / 5 + 32 # 50.0 print(round(fahrenheit)) ``` Result — 50 That is 50 °F.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "50", "printed": "50", "notation": null}
nlprog_det-setting-0075046
<|start|><|user|> 21 of 40 members attended. What percent attended?<|eot|> <|assistant|> present = 21 total = 40 percent = present / total * 100 # 52.5 print(round(percent, 1)) Program output — 52.5 52.5% attended.<|eot|> <|end|>
chat
[ { "role": "user", "content": "21 of 40 members attended. What percent attended?" }, { "role": "assistant", "content": " present = 21\n total = 40\n percent = present / total * 100 # 52.5\n print(round(percent, 1))\nProgram output — 52.5\n\n52.5% attended." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
68
{"gold": "52.5", "printed": "52.5", "notation": null}
nlprog_det-setting-0075047
Shipping costs $12 plus $1.50 per pound. What does a 35-pound parcel cost to ship? Python does the arithmetic: ```python base = 12 per_pound = 1.5 weight = 35 cost = base + per_pound * weight # 64.5 print(f"{cost:.2f}") ``` This prints 64.50. Shipping costs $64.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
112
{"gold": "64.50", "printed": "64.50", "notation": null}
nlprog_det-setting-0075048
Split $3,544 between Uma and Viktor in the ratio 1 to 3. What is Uma's share? Uma's share is $886.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
44
{"gold": "886", "printed": "886", "notation": null}
nlprog_det-setting-0075049
Fines run at $50 per day up to a maximum of $5,000. How much after 37 days? The fine is $1,850.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "1850", "printed": "1850", "notation": null}
nlprog_det-setting-0075051
A lease runs for 12 months at $3,250 per month. How much rent is paid over the whole term? Here is the program. monthly_rent = 3250 months = 12 total = monthly_rent * months # 39000 print(total) # stdout: 39000 In total, $39,000 is paid.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
83
{"gold": "39000", "printed": "39000", "notation": null}
nlprog_det-setting-0075052
<|start|><|user|> Equal monthly payments repay $3,600 plus 8% simple yearly interest over 36 months. How large is a payment?<|eot|> <|assistant|> ```python principal = 3600 annual_rate = 8 / 100 months = 36 interest = principal * annual_rate * months / 12 payment = (principal + interest) / months print(f"{payment:.2f}"...
chat
[ { "role": "user", "content": "Equal monthly payments repay $3,600 plus 8% simple yearly interest over 36 months. How large is a payment?" }, { "role": "assistant", "content": "```python\nprincipal = 3600\nannual_rate = 8 / 100\nmonths = 36\ninterest = principal * annual_rate * months / 12\npayme...
nlprog_det
setting
original
null
deterministic
[]
[]
126
{"gold": "124.00", "printed": "124.00", "notation": null}
nlprog_det-setting-0075053
A 6% increase is applied to $1,800 monthly rent. What is the new amount? Written as code: ```python rent = 1800 increase = 6 / 100 # 0.06 new_rent = rent * (1 + increase) # 1908.0 print(f"{new_rent:.2f}") ``` Execution prints 1908.00, as expected. It rises to $1,908.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "1908.00", "printed": "1908.00", "notation": null}
nlprog_det-setting-0075054
151 copies of a 30-page packet are printed at $0.15 per page. What is the cost? Written as code: pages = 30 copies = 151 cost_per_page = 0.15 cost = pages * copies * cost_per_page # 679.5 print(f"{cost:.2f}") # printed: 679.50 Printing costs $679.50.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
105
{"gold": "679.50", "printed": "679.50", "notation": null}
nlprog_det-setting-0075056
<|start|><|user|> A 12 × 14 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?<|eot|> <|assistant|> ```python import math length = 12 width = 14 tile = 1 tiles = math.ceil(length * width / (tile * tile)) # 168 print(tiles) ``` The printout reads 168. It takes 168 tiles.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A 12 × 14 foot patio is tiled with 1 ft × 1 ft tiles. How many tiles, rounded up?" }, { "role": "assistant", "content": "```python\nimport math\nlength = 12\nwidth = 14\ntile = 1\ntiles = math.ceil(length * width / (tile * tile)) # 168\nprint(tiles)\n```\nThe print...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "168", "printed": "168", "notation": null}
nlprog_det-setting-0075057
A quorum is 3/5 of the 35 members, rounded up. How many members make a quorum? 21 members are needed.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
30
{"gold": "21", "printed": "21", "notation": null}
nlprog_det-setting-0075058
An unpaid balance of $12,000 accrues 1% simple interest per month. How much interest accrues in 5 months? ```python balance = 12000 monthly_rate = 1 / 100 # 0.01 months = 5 interest = balance * monthly_rate * months # 600.0 print(f"{interest:.2f}") ``` Output — 600.00 The interest is $600.00.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
115
{"gold": "600.00", "printed": "600.00", "notation": null}
nlprog_det-setting-0075059
<|start|><|user|> 4 friends split a $210 bill plus a 20% tip evenly. How much does each pay?<|eot|> <|assistant|> ```python bill = 210 tip_rate = 20 / 100 # 0.2 people = 4 each = bill * (1 + tip_rate) / people # 63.0 print(f"{each:.2f}") ``` Python prints 63.00. Each person pays $63.00.<|eot|> <|end|>
chat
[ { "role": "user", "content": "4 friends split a $210 bill plus a 20% tip evenly. How much does each pay?" }, { "role": "assistant", "content": "```python\nbill = 210\ntip_rate = 20 / 100 # 0.2\npeople = 4\neach = bill * (1 + tip_rate) / people # 63.0\nprint(f\"{each:.2f}\")\n```\nPython prints...
nlprog_det
setting
original
null
deterministic
[]
[]
119
{"gold": "63.00", "printed": "63.00", "notation": null}
nlprog_det-setting-0075060
<|start|><|system|> Available functions (JSON Schema): {"name": "convert_units", "description": "Convert a quantity between units.", "parameters": {"type": "object", "properties": {"value": {"type": "number"}, "from_unit": {"type": "string"}, "to_unit": {"type": "string"}}, "required": ["value", "from_unit", "to_unit"]...
chat
[ { "role": "system", "content": "Available functions (JSON Schema):\n{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"}, \"to_unit\": {\"type\": ...
nlprog_det
setting
original
null
deterministic
[]
[]
310
{"gold": "24", "printed": "24", "notation": null}
nlprog_det-setting-0075061
<|start|><|user|> Someone works 36 hours at $21.36 per hour. What are the earnings?<|eot|> <|assistant|> ```python rate = 21.36 hours = 36 earnings = rate * hours # 768.96 print(f"{earnings:.2f}") ``` Running it prints 768.96, as expected. The pay is $768.96.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Someone works 36 hours at $21.36 per hour. What are the earnings?" }, { "role": "assistant", "content": "```python\nrate = 21.36\nhours = 36\nearnings = rate * hours # 768.96\nprint(f\"{earnings:.2f}\")\n```\nRunning it prints 768.96, as expected.\n\nThe pay is $76...
nlprog_det
setting
original
null
deterministic
[]
[]
100
{"gold": "768.96", "printed": "768.96", "notation": null}
nlprog_det-setting-0075062
<|start|><|user|> A board has 57 members. A majority is more than half. How many votes make a majority?<|eot|> <|assistant|> That is 29 members.<|eot|> <|end|>
chat
[ { "role": "user", "content": "A board has 57 members. A majority is more than half. How many votes make a majority?" }, { "role": "assistant", "content": "That is 29 members." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
35
{"gold": "29", "printed": "29", "notation": null}
nlprog_det-setting-0075063
<|start|><|system|> Tools (call with JSON): [{"name": "calculator", "description": "Use for arithmetic and date math; returns stdout of the code.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}, {"name": "get_weather", "descr...
chat
[ { "role": "system", "content": "Tools (call with JSON):\n[{\"name\": \"calculator\", \"description\": \"Use for arithmetic and date math; returns stdout of the code.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"req...
nlprog_det
setting
original
null
deterministic
[]
[]
289
{"gold": "1000", "printed": "1000", "notation": null}
nlprog_det-setting-0075064
How many minutes pass from 10:24 AM to 2:16 PM on the same day? In Python: ```python start = 10 * 60 + 24 # 624 end = 14 * 60 + 16 # 856 print(end - start) ``` This prints: 232 It is 232 minutes long.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
86
{"gold": "232", "printed": "232", "notation": null}
nlprog_det-setting-0075065
The bridge was finished in 1997. How many years had passed by 2027? Here is a short program for it. ```python start_year = 1997 end_year = 2027 print(end_year - start_year) ``` (Printed result: 30) 30 years.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
76
{"gold": "30", "printed": "30", "notation": null}
nlprog_det-setting-0075066
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "business_days", "description": "Count business days between two dates.", "parameters": {"type": "object", "properties": {"start": {"type": "string"}, "end": {"type": "string"}}, "required": ["start", "end"]}}, {"name": "run_python...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"business_days\", \"description\": \"Count business days between two dates.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"start\": {\"type\": \"string\"}, \"end\": {\"type\": \"string\"}},...
nlprog_det
setting
original
null
deterministic
[]
[]
406
{"gold": "14250.00", "printed": "14250.00", "notation": null}
nlprog_det-setting-0075067
A library charges $0.20 per book per day late. What is the fine for 3 books that are 28 days late? Computation in Python: ```python per_day = 0.2 days_late = 28 books = 3 fine = per_day * days_late * books # 16.8 print(f"{fine:.2f}") ``` Executed, it shows: 16.80 The fine is $16.80.
plain
null
nlprog_det
setting
original
null
deterministic
[]
[]
120
{"gold": "16.80", "printed": "16.80", "notation": null}
nlprog_det-setting-0075068
<|start|><|user|> What average speed covers 434 miles in 1 hours?<|eot|> <|assistant|> ```python distance = 434 hours = 1 speed = distance / hours # 434.0 print(round(speed)) ``` (Result: 434) The average speed is 434 mph.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What average speed covers 434 miles in 1 hours?" }, { "role": "assistant", "content": "```python\ndistance = 434\nhours = 1\nspeed = distance / hours # 434.0\nprint(round(speed))\n```\n(Result: 434)\n\nThe average speed is 434 mph." } ]
nlprog_det
setting
original
null
deterministic
[]
[]
82
{"gold": "434", "printed": "434", "notation": null}