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

8 lines
No EOL
2.5 KiB
JSON

{
"question": "Pat has a flower bed that is 111 feet long. Pat wants to fill her flower bed with plants. Pat's flowers grow 12 inches wide so she needs to leave 1.5 feet between every plant. Pat already owns 17 flowers. Each flowering plant costs $6 at the store, how much money will Pat spend at the store to fill up her flower bed?",
"answer": "Pat's flower bed is 111 feet / 1.5 feet per plant = <<111/1.5=74>>74 plants needed.\nPat needs to buy 74 plants - 17 plants = <<74-17=57>>57 plants needed to purchase.\nPat will spend 57 plants * $6 = $<<57*6=342>>342.\n#### 342",
"id_orig": 984,
"id_shuffled": 45,
"question_annotated": "{name,Pat} has a flower bed that is {length,111} {unit_length,feet} long. {name,Pat} wants to fill her flower bed with plants. {name,Pat}'s flowers grow {plant_width,2}{unit_length,feet} wide so she needs to leave {space,1.5} {unit_length,feet} between every plant (including the plants width). {name,Pat} already owns {owned,17} flowers. Each flowering plant costs {cur,$}{cost,6} at the store. However, if she buys more than 2 plants, she'll receive a {cur,$}{disc,5} discount on the entire purchase. How much money will {name,Pat} spend at the store to fill up her flower bed?\n\n#init:\n- name = sample(names_female)\n- unit_length = sample(['feet', 'meters'])\n- cur = sample(currencies_sym)\n- $length = range(80, 151)\n- $plant_width = range(2, 8)\n- $space = range(12, 20)\n- $owned = range(5, 20)\n- $cost = range(3, 15)\n- $disc = range(5, 11)\n\n#conditions:\n- plant_width * 3 < length\n- plant_width < space\n- is_int(length / space)\n- length / space > owned\n- int((length / space - owned)) > 2\n- int((length / space - owned) * cost) - disc > 0\n\n#answer: int((length / space - owned) * cost) - disc",
"answer_annotated": "{name}'s flower bed is {length} {unit_length} / {space} {unit_length} per plant = <<{length}/{space}={int(length/space)}>>{int(length/space)} plants needed.\n{name} needs to buy {int(length/space)} plants - {owned} plants = <<{int(length/space)}-{owned}={int(length/space)-owned}>>{int(length/space)-owned} plants needed to purchase.\n{name} will spend {int(length/space)-owned} plants * {cur}{cost} = {cur}<<{int(length/space)-owned}*{cost}={int((length/space - owned) * cost)}>>{int((length/space - owned) * cost)}. \nFinally, we should reduce {disc} as she has bought more than 2 plants: {int((length / space - owned) * cost)} - {disc} = {int((length / space - owned) * cost) - disc}\n#### {int((length / space - owned) * cost) - disc}"
}