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

8 lines
No EOL
2.1 KiB
JSON

{
"question": "100 people apply for a job at Google. Of the people that apply, only 30% receive interviews. Of those who receive interviews, 20% receive a job offer. Of those who receive a job offer, a third of the people accept the position. How many people accept the position?",
"answer": "The number of people that receive interviews is 100 * 0.30 = <<100*0.30=30>>30 people\nThe number of people that receive a job offer is 30 * 0.20 = <<30*0.20=6>>6 people\nThe number of people that accept the position is 6 / 3 = <<6/3=2>>2 people\n#### 2",
"id_orig": 718,
"id_shuffled": 94,
"question_annotated": "{n,100} people apply for a job at {company,Google}. Of the people that apply, only {p1,30}% receive interviews. Of those who receive interviews, {p2,20}% receive a job offer. Of those who receive a job offer, {frac,a third} of the people accept the position. Of those who accept the position, {frac2, a quarter} of the people will relocate. How many people relocate?\n\n#init:\n- company = sample([\"Microsoft\", \"Apple\", \"Amazon\", \"Facebook\", \"Netflix\", \"Tesla\", \"Microsoft\"])\n- $n = range(101, 550)\n- $p1 = range(10, 51, 5)\n- $p2 = range(10, 51, 5)\n- $frac = sample(fraction_alph)\n- $frac2 = sample(fraction_alph)\n\n#conditions:\n- is_int(n * (p1/100))\n- is_int(n * (p1/100) * (p2/100))\n- is_int(n * (p1/100) * (p2/100) * frac)\n- is_int(n * (p1/100) * (p2/100) * frac * frac2)\n\n#answer: int(n * (p1/100) * (p2/100) * frac * frac2)",
"answer_annotated": "The number of people that receive interviews is {n} * {p1/100} = <<{n}*{p1/100}={int(n*(p1/100))}>>{int(n*(p1/100))} people.\nThe number of people that receive a job offer is {int(n*(p1/100))} * {p2/100} = <<{int(n*(p1/100))}*{p2/100}={int(n*(p1/100)*(p2/100))}>>{int(n*(p1/100)*(p2/100))} people.\nThe number of people that accept the position is {int(n*(p1/100)*(p2/100))} * {frac} = <<{int(n*(p1/100)*(p2/100))}*{frac}={int(n*(p1/100)*(p2/100)*frac)}>>{int(n*(p1/100)*(p2/100)*frac)} people.\nThe number of people that relocate is {int(n*(p1/100)*(p2/100)*frac)} * {frac2} = {int(n*(p1/100)*(p2/100)*frac * frac2)}.\n\n#### {int(n*(p1/100)*(p2/100)*frac * frac2)}"
}