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

8 lines
No EOL
2.7 KiB
JSON

{
"question": "Prince Thaddeus slew 100 dragons with his mighty sword, while Prince Arthur, using a spear, slew three quarters as many dragons as Prince Thaddeus. Using a rusty iron axe, Prince Walter slew twice as many dragons as Prince Arthur. But Prince Bruce, having forgot his sword at home, slew one-fifth as many dragons as Prince Walter using a nail file. How many Dragons has Prince Bruce slain?",
"answer": "Prince Arthur slew three-quarters as many dragons as Prince Thaddeus, or 100*(3/4)=<<100*(3/4)=75>>75 dragons.\nPrince Walter slew twice as many dragons as Prince Arthur, or 2*75=<<2*75=150>>150 dragons.\nPrince Bruce slew one-fifth as many dragons as Prince Walter, or 150/5=<<150/5=30>>30 dragons.\n#### 30",
"id_orig": 432,
"id_shuffled": 92,
"question_annotated": "{name1,Prince Thaddeus} slew {n1,100} {creature,dragons} with his mighty {weapon1,sword}, while {name2,Prince Arthur}, using a {weapon2,spear}, slew {frac1,three quarters} as many {creature,dragons} as {name1,Prince Thaddeus}. Using a {weapon3,rusty iron axe}, {name3,Prince Walter} slew {mult1,twice} as many {creature,dragons} as {name2,Prince Arthur}. But {name4,Prince Bruce}, having forgotten his {weapon4,sword} at home, slew {frac2,one-fifth} as many {creature,dragons} as {name3,Prince Walter} using a {weapon5,nail file}. How many {creature,Dragons} has {name4,Prince Bruce} slain?\n\n#init:\n- name1, name2, name3, name4 = sample(names_male, 4)\n- creature = sample([\"ogres\", \"trolls\", \"goblins\", \"orcs\", \"giants\"])\n- weapon1 = sample([\"sword\", \"mace\", \"battle axe\", \"war hammer\"])\n- weapon2 = sample([\"spear\", \"lance\", \"javelin\", \"halberd\"])\n- weapon3 = sample([\"rusty iron axe\", \"wooden club\", \"stone hammer\", \"bone dagger\"])\n- weapon4 = sample([\"sword\", \"axe\", \"mace\", \"hammer\"])\n- weapon5 = sample([\"nail file\", \"butter knife\", \"wooden spoon\", \"feather\"])\n- $n1 = range(50, 501, 50)\n- $frac1 = sample(fraction_alnum)\n- $mult1 = sample(multi_times)\n- $frac2 = sample(fraction_alnum)\n\n#conditions:\n- is_int(n1 * frac1)\n- is_int(n1 * frac1 * mult1)\n- is_int(n1 * frac1 * mult1 * frac2)\n\n#answer: int(n1 * frac1 * mult1 * frac2)",
"answer_annotated": "{name2} slew {frac1} as many {creature} as {name1}, or {n1}*{frac1}=<<{n1}*{frac1}={int(n1*frac1)}>>{int(n1*frac1)} {creature}.\n{name3} slew {mult1} as many {creature} as {name2}, or {mult1}*{int(n1*frac1)}=<<{mult1}*{int(n1*frac1)}={int(n1*frac1*mult1)}>>{int(n1*frac1*mult1)} {creature}.\n{name4} slew {frac2} as many {creature} as {name3}, or {int(n1*frac1*mult1)}*{frac2}=<<{int(n1*frac1*mult1)}*{frac2}={int(n1*frac1*mult1*frac2)}>>{int(n1*frac1*mult1*frac2)} {creature}.\n#### {int(n1*frac1*mult1*frac2)}"
}