mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
2.2 KiB
JSON
8 lines
No EOL
2.2 KiB
JSON
{
|
|
"question": "Ben has 4 tubes of blue paint and 3 tubes of yellow paint. Jasper has half as many tubes of blue paint as Ben, and three times as many tubes of yellow paint as Ben. How many tubes of paint does Jasper have?",
|
|
"answer": "Jasper has 4/2= <<4/2=2>>2 tubes of blue paint\nJasper has 3*3=<<3*3=9>>9 tubes of yellow paint\nJasper has a total of 2+9 =<<2+9=11>>11 tubes of paint\n#### 11",
|
|
"id_orig": 480,
|
|
"id_shuffled": 57,
|
|
"question_annotated": "{name1,Ben} has {n1,4} tubes of {color1,blue} paint and {n2,3} tubes of {color2,yellow} paint. {name2,Jasper} has {frac1,half} as many tubes of {color1,blue} paint as {name1,Ben}, and {mult1,three times} as many tubes of {color2,yellow} paint as {name1,Ben}. {name3,Jack} has {mult3,twice} as many tubes of {color3,orange} paint as the combined number of {color1,blue} tubes that {name1,Ben} and {name2,Jasper} have, and {n4,20} fewer tubes of {color4,teal} paint than the combined number of {color2,yellow} tubes that {name1,Ben} and {name2,Jasper} have. How many tubes of paint does {name3,Jack} have?\n\n#init:\n- name1, name2, name3 = sample(names_male, 3)\n- color1, color2, color3, color4 = sample(colors, 4)\n- $n1 = range(2, 20)\n- $n2 = range(2, 20)\n- $n4 = range(2, 20)\n- $frac1 = sample(fraction_alnum)\n- $mult1 = sample(multiple_ice+multi_times)\n- $mult3 = sample(multiple_ice+multi_times)\n\n#conditions:\n- n2 * (1+mult1) - n4 > 0\n- is_int(n1 * frac1)\n- is_int(n2 * mult1)\n\n#answer: (mult3 * (n1+int(n1*frac1))) + n2*(1+mult1) - n4",
|
|
"answer_annotated": "{name2} has {n1}*{frac1}= <<{n1}*{frac1}={int(n1*frac1)}>>{int(n1*frac1)} tubes of {color1} paint\n{name2} has {n2}*{mult1}=<<{n2}*{mult1}={n2*mult1}>>{n2*mult1} tubes of {color2} paint\n{name1} and {name2} have {n1} + {int(n1*frac1)} = {n1 + int(n1*frac1)} tubes of {color1} paint. So {name3} has {mult3} * ({n1} + {int(n1*frac1)}) = {mult3 * (n1+int(n1*frac1))} tubes of {color1}.\n{name1} and {name2} have {n2} + {n2*mult1} = {n2 + n2*mult1} tubes of {color2} paint. So {name3} has {n2*(1+mult1)} - {n4} = {n2*(1+mult1) - n4} tubes of {color2}. \nIn total {name3} has {mult3 * (n1+int(n1*frac1))} + {n2*(1+mult1) - n4} = {(mult3 * (n1+int(n1*frac1))) + n2*(1+mult1) - n4} tubes of paint.\n#### {(mult3 * (n1+int(n1*frac1))) + n2*(1+mult1) - n4}"
|
|
} |