mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-29 17:35:16 +00:00
Still experimenting
This commit is contained in:
parent
a3378bd95f
commit
ff13dc6825
357 changed files with 2888 additions and 0 deletions
8
reasoning_gym/data/gsm_data/p2/0035.json
Normal file
8
reasoning_gym/data/gsm_data/p2/0035.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"question": "John is raising money for a school trip. He has applied for help from the school, which has decided to cover half the cost of the trip. How much money is John missing if he has $50 and the trip costs $300?",
|
||||
"answer": "John's school has decided to pay 300 / 2 = $<<300/2=150>>150 for his trip.\nIn total John has covered 150 + 50 = $<<150+50=200>>200 for his trip\nTherefore, John needs 300 - 200 = $<<300-200=100>>100 more for the trip.\n#### 100",
|
||||
"id_orig": 788,
|
||||
"id_shuffled": 35,
|
||||
"question_annotated": "{name,John} is raising money for a {days,2}-day {event, school trip}. Each day costs {cur,$}{hotel,300} for hotel, {cur,$}{food,60} for food, and {cur,$}{transport,30} for transportation. {name,John} only has {cur,$}{current,130}. His friends have chipped in and will cover the cost of all the food for the {event,school trip}. {name,John} has also applied for help from the {organization,school}, which has decided to cover {fraction,1/4} of the remaining cost of the {event,school trip}. How much money is {name,John} still missing?\n\n#init:\n- name = sample(names_male)\n- event = sample([\"field trip\", \"sports tournament\", \"conference\", \"workshop\", \"seminar\", \"music festival\", \"science fair\"])\n- cur = sample(currencies_sym)\n- organization = sample([\"school\", \"community center\", \"local charity\", \"youth club\", \"parent association\"])\n- $fraction = sample(fractions)\n- $current = range(10, 200, 5)\n- $hotel = range(50, 251, 50)\n- $food = range(20, 41, 10)\n- $transport = range(10, 31, 10)\n- $days = range(2, 4)\n\n#conditions:\n- is_int(days * (hotel + transport) * (1-fraction))\n- days * (hotel + transport) * (1-fraction) > current + 100\n\n#answer: int(days * (hotel + transport) * (1-fraction)) - current",
|
||||
"answer_annotated": "Total cost of {event} for one day: {cur}{hotel} + {cur}{transport} + {cur}{food} = {cur}{hotel + transport + food}.\nFor {days} days, the cost will be {days} * {cur}{hotel + transport + food} = {cur}{(hotel + transport + food) * days}.\n{name}'s friends will cover the cost of food which will be {days} * {cur}{food} = {cur}{days*food}. So the remaining cost is {(hotel + transport + food) * days} - {days*food} = {cur}{(hotel + transport) * days}.\n{organization} is going to pay {fraction} of the remaining cost which will be {fraction} * {cur}{(hotel + transport) * days} = {cur}{int((hotel + transport) * days * fraction)}. So he still needs {cur}{(hotel + transport) * days}-{cur}{int((hotel + transport) * days * fraction)} = {cur}{int((hotel + transport) * days * (1-fraction))}.\n{name} also has {cur}{current} so he needs {cur}{int((hotel + transport) * days * (1-fraction))} - {cur}{current} = {cur}{int(days * (hotel + transport) * (1-fraction) - current)}.\n#### {days * (hotel + transport) * (1-fraction) - current}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue