mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-29 17:35:16 +00:00
Still experimenting
This commit is contained in:
parent
b0e70008ea
commit
b203353751
357 changed files with 2888 additions and 0 deletions
8
reasoning_gym/data/gsm_data/p2/0045.json
Normal file
8
reasoning_gym/data/gsm_data/p2/0045.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"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}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue