reasoning-gym/reasoning_gym/data/gsm_data/p1/0036.json
2025-01-30 23:51:31 -06:00

8 lines
No EOL
2.3 KiB
JSON

{
"question": "Toula went to the bakery and bought various types of pastries. She bought 3 dozen donuts which cost $68 per dozen, 2 dozen mini cupcakes which cost $80 per dozen, and 6 dozen mini cheesecakes for $55 per dozen. How much was the total cost?",
"answer": "The total charge for the doughnuts was 3 x $68 = $<<3*68=204>>204.\nThe total charge for the mini cupcakes was 2 x $80 = $<<2*80=160>>160.\nThe total charge for the mini cheesecakes was 6 x $55 = $<<6*55=330>>330.\nTherefore the total amount Toula paid for the pastries was $204 + $160 + $330 = $<<204+160+330=694>>694.\n#### 694",
"id_orig": 11,
"id_shuffled": 36,
"question_annotated": "{name,Toula} went to the {shop,bakery} and bought various types of {item,pastries}. She bought {n1,3} dozen {item1,donuts} which cost ${p1,68} per dozen, {n2,2} dozen {item2,mini cupcakes} which cost ${p2,80} per dozen, and {n3,6} dozen {item3,mini cheesecakes} for ${p3,55} per dozen. How much was the total cost if she received {disc,10}% discount on all purchases?\n\n#init:\n- name = sample(names_female)\n- shop = sample([\"bakery\", \"patisserie\", \"confectionery\", \"cafe\"])\n- item = sample([\"pastries\", \"baked goods\", \"desserts\", \"treats\"])\n- item1 = sample([\"donuts\", \"croissants\", \"eclairs\", \"danishes\"])\n- item2 = sample([\"mini cupcakes\", \"macarons\", \"cookies\", \"tarts\"])\n- item3 = sample([\"mini cheesecakes\", \"brownies\", \"muffins\", \"scones\"])\n- $n1 = range(1, 10)\n- $n2 = range(4, 10)\n- $n3 = range(2, 10)\n- $p1 = range(11, 21)\n- $p2 = range(73, 90)\n- $p3 = range(112, 120)\n- $disc = range(5, 26, 5)\n\n#conditions:\n- is_int((n1 * p1 + n2 * p2 + n3 * p3) * (disc / 100))\n\n#answer: ((n1 * p1 + n2 * p2 + n3 * p3) * (100-disc)) // 100",
"answer_annotated": "The total charge for the {item1} was {n1} x ${p1} = $<<{n1}*{p1}={n1*p1}>>{n1*p1}.\nThe total charge for the {item2} was {n2} x ${p2} = $<<{n2}*{p2}={n2*p2}>>{n2*p2}.\nThe total charge for the {item3} was {n3} x ${p3} = $<<{n3}*{p3}={n3*p3}>>{n3*p3}.\nTherefore the total amount {name} paid for the {item} was ${n1*p1} + ${n2*p2} + ${n3*p3} = $<<{n1*p1}+{n2*p2}+{n3*p3}={n1*p1+n2*p2+n3*p3}>>{n1*p1+n2*p2+n3*p3}.\nApplying {disc}% discount we have {n1*p1+n2*p2+n3*p3} * {100-disc}% = {(n1*p1+n2*p2+n3*p3)*(100-disc)//100}\n#### {(n1*p1+n2*p2+n3*p3)*(100-disc)//100}"
}