mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
2.7 KiB
JSON
8 lines
No EOL
2.7 KiB
JSON
{
|
|
"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 {event,school trip}. He has applied for help from the {organization,school}, which has decided to cover {fraction,half} of the cost of the {event,trip}. His friends have also chipped in and will cover {fraction2,half} of the {event,school trip}. How much money is {name,John} missing if he has {cur,$}{current,50} and the {event,trip} costs {cur,$}{total,300}?\n\n#init:\n- name = sample(names_male)\n- event = sample([\"field trip\", \"sports tournament\", \"conference\", \"workshop\", \"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- $fraction2 = sample(fractions)\n- $current = range(10, 200, 5)\n- $total = range(200, 1000, 10)\n\n#conditions:\n- total > current\n- is_int(total * Fraction(fraction))\n- is_int(total * Fraction(fraction2))\n- fraction + fraction2 < 1\n- total - (total * Fraction(fraction) + total * Fraction(fraction2) + current) > 5\n\n#answer: total - (total * Fraction(fraction) + total * Fraction(fraction2) + current)",
|
|
"answer_annotated": "{name}'s {organization} has decided to pay {total} * {fraction} = <<{total}*{Fraction(fraction)}={total*Fraction(fraction)}>>{total*Fraction(fraction)} for his {event}.\n{name}'s friends also gave him {total} * {fraction2} = <<{total}*{Fraction(fraction2)}={total*Fraction(fraction2)}>>{total*Fraction(fraction2)}.\nIn total {name} has covered {total*Fraction(fraction)} + {total*Fraction(fraction2)} + {current} = <<{total*Fraction(fraction)}+{total*Fraction(fraction2)}+{current}={total*(Fraction(fraction)+Fraction(fraction2))+current}>>{total*(Fraction(fraction)+Fraction(fraction2))+current} for his {event}.\nTherefore, {name} needs {total} - {total*(Fraction(fraction)+Fraction(fraction2))+current} = <<{total}-{total*(Fraction(fraction)+Fraction(fraction2))+current} ={total-(total*Fraction(fraction)+total*Fraction(fraction2)+current)}>>{total-(total*Fraction(fraction)+total*Fraction(fraction2)+current)} more for the {event}.\n#### {total - (total * Fraction(fraction) + total * Fraction(fraction2) + current)}"
|
|
} |