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

8 lines
No EOL
1.8 KiB
JSON

{
"question": "A builder works for 4 weeks every month and for 6 days every week. If he gets paid $50 every day, how much does he earn if he works for a year?",
"answer": "The builder works for 6 days every week and works for 4 weeks every month so he works for 6 days/week * 4 weeks/month = <<6*4=24>>24 days/month\nIf he earns $50 every day he then earns $50/day * 24 days/month = $<<50*24=1200>>1200/month\nA year is equal to 12 months so every year he earns $1200/month * 12 months/year = $<<1200*12=14400>>14400\n#### 14400",
"id_orig": 401,
"id_shuffled": 70,
"question_annotated": "A {occupation,builder} works for {w,4} weeks every month and {d,6} days every week. He gets paid {cur,$}{p,50} every day. How much does he earn in a year after paying {k,20}% in taxes?\n\n#init:\n- occupation = sample([\"plumber\", \"painter\", \"carpenter\", \"landscaper\"])\n- cur = sample(currencies_sym)\n- $w = range(2, 5)\n- $d = range(2, 7)\n- $p = range(5, 55)\n- $k = range(5, 26, 5)\n\n#conditions:\n- is_int((w * d * p * 12) * (1-k/100))\n- int((w * d * p * 12) * (1-k/100)) < 2000\n\n#answer: int((w * d * p * 12) * (1-k/100))",
"answer_annotated": "The {occupation} works for {d} days every week and works for {w} weeks every month so he works for {d} days/week * {w} weeks/month = <<{d}*{w}={d*w}>>{d*w} days/month\nIf he earns {cur}{p} every day he then earns {cur}{p}/day * {d*w} days/month = {cur}<<{p}*{d*w}={p*d*w}>>{p*d*w}/month\nA year is equal to 12 months so every year he earns {cur}{p*d*w}/month * 12 months/year = {cur}<<{p*d*w}*12={p*d*w*12}>>{p*d*w*12}. \nTo calculate the taxes, we calculate {k}% * {p*d*w*12} = {p*d*w*12 * k//100}. \nThen we reduce the tax amount: {p*d*w*12} - {p*d*w*12 * k//100} = {int((w * d * p * 12) * (1-k/100))}\n#### {int((w * d * p * 12) * (1-k/100))}"
}