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/0020.json
Normal file
8
reasoning_gym/data/gsm_data/p2/0020.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"question": "John picks 4 bananas on Wednesday. Then he picks 6 bananas on Thursday. On Friday, he picks triple the number of bananas he did on Wednesday. How many bananas does John have?",
|
||||
"answer": "Combining Wednesday and Thursday, John has 4 bananas + 6 bananas = <<4+6=10>>10 bananas.\nOn Friday, he picks 3 * 4 bananas = <<3*4=12>>12 bananas.\nAltogether, John has 10 bananas + 12 bananas = <<10+12=22>>22 bananas.\n#### 22",
|
||||
"id_orig": 1020,
|
||||
"id_shuffled": 20,
|
||||
"question_annotated": "{name,John} picks {n1,4} {fruit,banana}s on {d1,Wednesday}. Then he picks {n2,6} {fruit,banana}s on {d2,Thursday}. On {d3,Friday}, he picks {mult,triple} the number of {fruit,banana}s he did on {d1,Wednesday}. On {d4, Saturday}, he picks half the amount of what he picked in the past 3 days combined. On {d5,Sunday}, {name,John} is going to sell {fruit,banana}s in boxes of {div,50} {fruit,banana}s each. He is going to sell each box for ${price,10}. How much is {name,John} going to make?\n\n#init:\n- name = sample(names_male)\n- d1, d2, d3, d4, d5 = sample_sequential(weekdays, 5)\n- fruit = sample(fruits)\n- $n1 = range(30, 200)\n- $n2 = range(50, 200)\n- $mult = sample(multiple)\n- $price = range(8, 15)\n- $div = range(15, 31)\n\n#conditions:\n- divides(n1 + n2 + mult * n1, 2)\n- divides(int((n1 + n2 + mult * n1)*1.5), div)\n\n#answer: int((n1 + n2 + mult * n1)*1.5) // div * price",
|
||||
"answer_annotated": "Combining {d1} and {d2}, {name} has {n1} {fruit}s + {n2} {fruit}s = <<{n1}+{n2}={n1+n2}>>{n1+n2} {fruit}s.\nOn {d3}, he picks {mult} * {n1} {fruit}s = <<{mult}*{n1}={mult*n1}>>{mult*n1} {fruit}s.\nAltogether, {name} has {n1+n2} {fruit}s + {mult*n1} {fruit}s = <<{n1+n2}+{n1*mult}={n1 + n2 + mult * n1}>>{n1 + n2 + mult * n1} {fruit}s.\nFinally he collected {n1 + n2 + mult * n1} / 2 = {(n1 + n2 + mult * n1)//2} on {d4}. The total is {n1 + n2 + mult * n1} + {(n1 + n2 + mult * n1)//2} = {int((n1 + n2 + mult * n1)*1.5)}.\nEach box is going to have {div} {fruit}s. So {name} needs {int((n1 + n2 + mult * n1)*1.5)} / {div} = {int((n1 + n2 + mult * n1)*1.5)//div} boxes. \nHe is going to sell each box for ${price}, so he is going to earn ${int((n1 + n2 + mult * n1)*1.5)//div} * {price} = ${int((n1 + n2 + mult * n1)*1.5)//div*price}\n#### {int((n1 + n2 + mult * n1)*1.5)//div*price}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue