mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
2.5 KiB
JSON
8 lines
No EOL
2.5 KiB
JSON
{
|
|
"question": "Nate is feeding his livestock hay. Each goat needs 5 pounds, and each sheep needs 3 pounds less than twice the amount each goat needs. If there are 15 goats and 12 sheep, how many pounds of hay does Nate need?",
|
|
"answer": "First figure out how much hay each sheep needs: 5 pounds * 2 - 3 = <<5*2-3=7>>7 pounds/sheep\nNow figure out how much hay total the sheep need: 7 pounds/sheep * 12 sheep = <<7*12=84>>84 pounds\nNow figure out how much hay total the goats need: 5 pounds/goat * 15 goats = <<5*15=75>>75 pounds\nNow add the two amounts of hay to find the total: 84 pounds + 75 pounds = <<84+75=159>>159 pounds\n#### 159",
|
|
"id_orig": 937,
|
|
"id_shuffled": 71,
|
|
"question_annotated": "{name,Nate} is feeding his livestock {food,hay}. Each {animal1,goat} needs {n1,5} {unit,pounds}, and each {animal2,sheep} needs {n2,3} {unit,pounds} less than twice the amount each {animal1,goat} needs. Each {animal3,llama} eats as much as a {animal1,goat} and {animal2,sheep} eat combined. If there are {k1,15} {animal1,goat}s, {k2,12} {animal2,sheep}s, and {k3,5} {animal3,llama}s, how many {unit,pounds} of {food,hay} does {name,Nate} need?\n\n#init:\n- name = sample(names_male)\n- food = sample([\"hay\", \"grain\", \"feed\", \"silage\"])\n- animal1, animal2, animal3 = sample([\"goat\", \"cow\", \"horse\", \"llama\", \"alpaca\"], 3)\n- unit = sample([\"pounds\", \"kilograms\", \"kg\"])\n- $n1 = range(3, 15)\n- $n2 = range(2, 10)\n- $k1 = range(5, 25)\n- $k2 = range(5, 25)\n- $k3 = range(5, 25)\n\n#conditions:\n- 2*n1 - n2 > 0\n\n#answer: k1*n1 + k2*(2*n1 - n2) + k3 * (2*n1 - n2 + n1)",
|
|
"answer_annotated": "First figure out how much {food} each {animal2} needs: {n1} {unit} * 2 - {n2} = <<{n1}*2-{n2}={2*n1-n2}>>{2*n1-n2} {unit}/{animal2}.\nNow figure out how much {food} total the {animal2}s need: {2*n1-n2} {unit}/{animal2} * {k2} {animal2} = <<{2*n1-n2}*{k2}={k2*(2*n1-n2)}>>{k2*(2*n1-n2)} {unit}.\nNow we find out how much {food} each {animal3} needs: {2*n1-n2} + {n1} = {3*n1-n2}. Since there are {k3} of {animal3}s, we have {k3} * {3*n1-n2} = {k3*(3*n1-n2)}\nNow figure out how much {food} total the {animal1}s need: {n1} {unit}/{animal1} * {k1} {animal1}s = <<{n1}*{k1}={k1*n1}>>{k1*n1} {unit}\nNow add the two amounts of {food} to find the total: {k2*(2*n1-n2)} {unit} + {k1*n1} {unit} + {k3*(3*n1-n2)} {unit} = <<{k2*(2*n1-n2)}+{k1*n1}+ {k3*(3*n1-n2)}={k1*n1 + k2*(2*n1 - n2)+k3*(3*n1-n2)}>>{k1*n1 + k2*(2*n1 - n2)+k3*(3*n1-n2)} {unit}.\n#### {k1*n1 + k2*(2*n1 - n2) + k3 * (2*n1 - n2 + n1)}"
|
|
} |