mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
1.8 KiB
JSON
8 lines
No EOL
1.8 KiB
JSON
{
|
|
"question": "Jennifer's dog has 8 puppies, 3 of which have spots. Brandon's dog has 12 puppies, 4 of which have spots. What percentage of all the puppies have spots?",
|
|
"answer": "First find the total number of puppies: 8 puppies + 12 puppies = <<8+12=20>>20 puppies\nThen find the total number of puppies with spots: 3 puppies + 4 puppies = <<3+4=7>>7 puppies\nThen divide the number of spotted puppies by the total number of puppies and multiply by 100% to find the percentage of puppies with spots: 7 puppies / 20 puppies * 100% = 35%\n#### 35",
|
|
"id_orig": 458,
|
|
"id_shuffled": 15,
|
|
"question_annotated": "{name1, Jennifer}'s dog has {n1, 8} puppies, {k1,3} of which have spots. {name2, Brandon}'s dog has {n2,12} puppies, {k2,4} of which have spots. {name3, Gordon} has {n3, 10} dogs, each having {k3,4} puppies with spots. What percentage of all the puppies have spots?\n\n#init:\n- name1, name2, name3 = sample(names, 3)\n- $n1 = range(95, 150)\n- $n2 = range(40, 65)\n- $n3 = range(50, 70)\n- $k1 = range(17, 29)\n- $k2 = range(12, 17)\n- $k3 = range(9, 17)\n\n#conditions:\n- is_int(100 * (k1+k2+n3*k3) / (n1+n2+n3*k3))\n\n#answer: int(100 * (k1+k2+n3*k3) / (n1+n2+n3*k3))",
|
|
"answer_annotated": "First find the total number of puppies: {n1} puppies + {n2} puppies + {n3}*{k3} puppies = <<{n1}+{n2}+{n3}*{k3}={n1+n2+n3*k3}>>{n1+n2+n3*k3} puppies\nThen find the total number of puppies with spots: {k1} puppies + {k2} puppies + {n3*k3}= <<{k1}+{k2}+{n3*k3}={k1+k2+n3*k3}>>{k1+k2+n3*k3} puppies\nThen divide the number of spotted puppies by the total number of puppies and multiply by 100% to find the percentage of puppies with spots: {k1+k2+n3*k3} puppies / {n1+n2+n3*k3} puppies * 100% = {int(100 * (k1+k2+n3*k3) / (n1+n2+n3*k3))}%\n#### {int(100 * (k1+k2+n3*k3) / (n1+n2+n3*k3))}"
|
|
} |