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

8 lines
No EOL
1.4 KiB
JSON

{
"question": "Brett is 14 years old. In four years his sister Angela will be three times as old as he is now. How old is Angela right now?",
"answer": "Four years from now Angela will be 14*3=<<14*3=42>>42.\nRight now Angela is 42-4=<<42-4=38>>38 years old.\n#### 38",
"id_orig": 496,
"id_shuffled": 29,
"question_annotated": "{name1,Brett} is {age1,14} years old. In {years,four} years his {relation_type,sister} {name2,Angela} will be {mult,three} times as old as {name1,Brett} is now. What is the average of {name1,Brett} and {name2,Angela} in {future,7} years?\n\n#init:\n- name1 = sample(names_male)\n- name2 = sample(names_female)\n- relation_type = sample(['sister', 'cousin'])\n- $age1 = range(8, 25)\n- $years = range(2, 10)\n- $mult = range(2, 5)\n- $future = range(2, 7)\n\n#conditions:\n- future != years\n- age1 * mult - years > 0\n- divides(((age1 * mult - years) + age1),2)\n\n#answer: ((age1 * mult - years) + age1)//2 + future",
"answer_annotated": "{years} years from now {name2} will be {age1}*{mult}=<<{age1}*{mult}={age1*mult}>>{age1*mult}.\nRight now {name2} is {age1*mult}-{years}=<<{age1*mult}-{years}={age1*mult-years}>>{age1*mult-years} years old.\nTheir average is ({age1} + {age1*mult-years}) / 2 = {((age1 * mult - years) + age1)//2} right now. In five years it will be {((age1 * mult - years) + age1)//2} + {future} = {future+((age1 * mult - years) + age1)//2}\n#### {future+((age1 * mult - years) + age1)//2}"
}