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

8 lines
No EOL
3.1 KiB
JSON

{
"question": "Alison qualified for a spot on the running team, so she went shopping for some athletic gear. She bought a tank top for $10, a pair of running shorts for $5 more than the top cost, and a pair of tennis shoes that were originally $48 but were on sale for half price. She had a coupon for $2 off the package of $8 athletic socks that she also bought. How much did she spend on athletic gear?",
"answer": "The shorts were $5 more than the tank top, so they cost $5 + $10 = $<<5+10=15>>15.\nHer tennis shoes were half the original $68 price, so they cost $48 / 2 = $24.\nWith her coupon, the socks were $8 - $2 = $<<8-2=6>>6.\nThe shirt, shorts, shoes, and socks together cost $10 + $15 + $24 + $6 = $<<10+15+24+6=55>>55.\n#### 55",
"id_orig": 1053,
"id_shuffled": 86,
"question_annotated": "{name,Alison} qualified for a spot on the {sport,running} team, so she went shopping for some athletic gear. She bought a {item1,tank top} for {cur,$}{p1,10}, a pair of {sport, running} {item2,shorts} for {cur,$}{p2,5} more than the {item1, tamk top} cost, and a pair of {item3,tennis shoes} that were originally {cur,$}{p3,48} but were on sale for {frac,half} price. She had a coupon for {cur,$}{d,2} off the package of {cur,$}{p4,8} athletic {item4,socks} that she also bought. Finally, she got a duffle bag for {cur,$}{p5,10} but with a 50% discount, and a water bottle for {cur,$}{p6,15}. How much did she spend on athletic gear?\n\n#init:\n- name = sample(names_female)\n- sport = sample([\"swimming\", \"cycling\", \"basketball\", \"soccer\", \"volleyball\"])\n- item1 = sample([\"t-shirt\", \"jersey\", \"sports bra\"])\n- item2 = sample([\"shorts\", \"leggings\", \"sweatpants\"])\n- item3 = sample([\"sneakers\", \"cleats\", \"athletic shoes\"])\n- item4 = sample([\"socks\", \"headbands\", \"wristbands\"])\n- cur = sample(currencies_sym)\n- $frac = sample(fraction_alnum)\n- $p1 = range(8, 25)\n- $p2 = range(3, 15)\n- $p3 = range(30, 41, 2)\n- $p4 = range(5, 15)\n- $d = range(1, 5)\n- $p5 = range(36, 43, 2)\n- $p6 = range(3, 6)\n\n#conditions:\n- is_int(p3*frac)\n- divides(p5, 2)\n- p3 % 2 == 0\n- p4 > d\n\n#answer: p1 + (p1 + p2) + (p3 * frac) + (p4 - d) + p5//2 + p6",
"answer_annotated": "The {item2} were {cur}{p2} more than the {item1}, so they cost {cur}{p2} + {cur}{p1} = {cur}<<{p2}+{p1}={p1+p2}>>{p1+p2}.\nHer {item3} were {frac} the original {cur}{p3} price, so they cost {cur}{p3} * {frac} = {cur}{p3*frac}.\nWith her coupon, the {item4} were {cur}{p4} - {cur}{d} = {cur}<<{p4}-{d}={p4-d}>>{p4-d}.\nWe add the cost of duffle bag which is {p5} but with 50% discount it will be {p5}/2 = {p5//2}.\nThe {item1}, {item2}, {item3}, {item4}, duffle bag, and water bottle together cost {cur}{p1} + {cur}{p1+p2} + {cur}{p3*frac} + {cur}{p4-d} + {cur}{p5//2} + {cur}{p6}= {cur}{p1+p1+p2} + {cur}{int(p3*frac)} + {cur}{p4-d} + {cur}{p5//2} + {cur}{p6} = {cur}{p1+p2+p1+int(p3*frac)} + {cur}{p4-d} + {cur}{p5//2} + {cur}{p6} = {cur}{p1+p2+p1+int(p3*frac)+p4-d} + {cur}{p5//2} + {cur}{p6} = {cur}{p1+p2+p1+int(p3*frac)+p4-d + p5//2} + {cur}{p6} = {cur}{p1 + (p1 + p2) + (p3 * frac) + (p4 - d) + p5//2 + p6}.\n\n#### {p1 + (p1 + p2) + (p3 * frac) + (p4 - d) + p5//2 + p6}"
}