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

8 lines
No EOL
1.9 KiB
JSON

{
"question": "Comet Halley orbits the sun every 75 years. Bill's dad saw the Comet when he was 30 years old. Bill saw the comet a second time when he was three times the age his father was when he saw the Comet. How old was Bill when he saw the Comet for the first time?",
"answer": "Bill saw the Comet for the second time when he was 30 years * 3= <<30*3=90>>90 years old.\nComet Halley can be seen every 75 years, so Bill saw the comet for the first time when he was 90 years - 75 years = <<90-75=15>>15 years old.\n#### 15",
"id_orig": 991,
"id_shuffled": 73,
"question_annotated": "Comet {comet_name} orbits the sun every {orbit_period} years. {name}'s {relative} saw the Comet when he was {relative_age} years old. {name} saw the comet a second time when he was {multiple} the age his {relative} was when he saw the Comet. How old was {name} when he saw the Comet for the first time?\n\n#init:\n- comet_name = sample(['Halley', 'Hale-Bopp', 'Hyakutake', 'Encke'])\n- name = sample(names_male)\n- relative = sample(['dad', 'father', 'uncle', 'grandfather'])\n- $orbit_period = range(50, 101, 5)\n- $relative_age = range(20, 51)\n- $multiple = sample(multi_times)\n\n#conditions:\n- multiple * relative_age < 100\n- multiple * relative_age > orbit_period\n- is_int(multiple * relative_age - orbit_period)\n\n#answer: multiple * relative_age - orbit_period",
"answer_annotated": "{name} saw the Comet for the second time when he was {relative_age} years * {multiple}= <<{relative_age}*{multiple}={relative_age*multiple}>>{relative_age*multiple} years old.\nComet {comet_name} can be seen every {orbit_period} years, so {name} saw the comet for the first time when he was {relative_age*multiple} years - {orbit_period} years = <<{relative_age*multiple}-{orbit_period}={relative_age*multiple-orbit_period}>>{relative_age*multiple-orbit_period} years old.\n#### {relative_age*multiple-orbit_period}"
}