mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
1.6 KiB
JSON
8 lines
No EOL
1.6 KiB
JSON
{
|
|
"question": "A loaf of bread at the bakery costs $2. Bagels cost $1 each. How much more do 3 loaves of bread cost than 2 bagels?",
|
|
"answer": "3 loaves of bread cost 3 * $2 = $<<3*2=6>>6.\n2 bagels cost 2 * $1 = $<<2*1=2>>2.\nThe loaves of bread cost $6 - $2 = $<<6-2=4>>4 more than the bagels.\n#### 4",
|
|
"id_orig": 799,
|
|
"id_shuffled": 38,
|
|
"question_annotated": "A loaf of {item1,bread} at the {shop,bakery} costs {currency,$}{price1,2}. The cost of a {item2,Bagel} is {frac,half} of a loaf of {item1,bread}. How much more do {n1,3} loaves of {item1,bread} cost than {n2,2} {item2,bagel}s?\n\n#init:\n- item1 = sample([\"bread\", \"sourdough\"])\n- item2 = sample([\"bagel\", \"muffin\", \"croissant\", \"biscuit\"])\n- shop = sample([\"bakery\", \"cafe\", \"store\", \"market\"])\n- currency = sample(currencies_sym)\n- $price1 = range(2, 20)\n- $price2 = np.arange(2.25, 8.51, 0.25)\n- $frac = sample(fraction_alnum)\n- $n1 = range(2, 10)\n- $n2 = range(2, 10)\n\n#conditions:\n- price2 == frac * price1\n- is_int(price2 * 10) == False\n- n1 * price1 > n2 * price2\n- is_int(n1 * price1 - n2 * price2)\n\n#answer: n1 * price1 - n2 * price2",
|
|
"answer_annotated": "{n1} loaves of {item1} cost {n1} * {currency}{price1} = {currency}<<{n1}*{price1}={n1*price1}>>{n1*price1}.\n{n2} {item2}s cost {n2} * {currency}{price2} = {currency}<<{n2}*{price2}={n2*price2}>>{n2*price2}.\nThe loaves of {item1} cost {currency}{n1*price1} - {currency}{n2*price2} = {currency}<<{n1*price1}-{n2*price2}={n1*price1-n2*price2}>>{n1*price1-n2*price2} more than the {item2}s.\n#### {int(n1*price1-n2*price2)}"
|
|
} |