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

8 lines
No EOL
1.7 KiB
JSON

{
"question": "A loaf of bread has 24 slices. If Abby can eat 2 slices a day while Josh can eat twice as much, how many days will the loaf of bread last?",
"answer": "Josh can eat 2 x 2 = <<2*2=4>>4 slices a day.\nTogether, Abby and Josh can eat 2 + 4 = <<2+4=6>>6 slices a day.\nSo, a loaf of bread will last for 24/6 = <<24/6=4>>4 days.\n#### 4",
"id_orig": 921,
"id_shuffled": 37,
"question_annotated": "A giant {item,loaf of bread} has {n,24} {unit,slices}. {name1,Abby} can eat {x,2} {unit,slices} a day while {name2,Josh} can eat {mult,twice} as much and {name3,James} can eat {mult2,twice} as much as {name2,Josh}. How many days will the {item,loaf of bread} last?\n\n#init:\n- item = sample([\"pizza\", \"cake\", \"pie\", \"lasagna\"])\n- unit = sample([\"pieces\", \"portions\", \"servings\"])\n- name1, name2, name3 = sample(names, 3)\n- $n = range(12, 130)\n- $x = range(2, 7)\n- $mult = sample(multiple_ice+multi_times)\n- $mult2 = sample(multiple_ice+multi_times)\n\n#conditions:\n- divides(n, x + x*mult + x * mult * mult2)\n- n // (x + x*mult + x * mult * mult2) > 2\n\n#answer: n // (x + x*mult + x * mult * mult2)",
"answer_annotated": "{name2} can eat {x} x {mult} = <<{x}*{mult}={x*mult}>>{x*mult} {unit} a day.\n{name3} can eat {x*mult} x {mult2} = <<{x*mult}*{mult2}={x*mult*mult2}>>{x*mult*mult2} {unit} a day.\nTogether, {name1}, {name2}, and {name3} can eat {x} + {x*mult} + {x*mult*mult2} = <<{x}+{x*mult}+{x*mult*mult2}={x+x*mult+x*mult*mult2}>>{x+x*mult+x*mult*mult2} {unit} a day.\nSo, a {item} will last for {n}/{x+x*mult+x*mult*mult2} = <<{n}/{x+x*mult+x*mult*mult2}={n//(x+x*mult+x*mult*mult2)}>>{n//(x+x*mult+x*mult*mult2)} days.\n#### {n//(x+x*mult+x*mult*mult2)}"
}