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/p1/0018.json
Normal file
8
reasoning_gym/data/gsm_data/p1/0018.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"question": "Raphael went to buy some school supplies. He bought 4 pens which cost $1.5 each, 2 notebooks which cost $4 each, and a rim of bond paper which cost $20. How much did Raphael spend on everything?",
|
||||
"answer": "Raphael spent 4 x $1.5 = $<<4*1.5=6>>6 for the pens.\nHe also spent 2 x $4 = $<<2*4=8>>8 for the notebooks.\nTherefore, Raphael spent a total of $6 + $8 + $20 = $<<6+8+20=34>>34 for the school supplies.\n#### 34",
|
||||
"id_orig": 158,
|
||||
"id_shuffled": 18,
|
||||
"question_annotated": "{name,Raphael} went to buy some school supplies. He bought {n1,4} {obj1,pens} which cost {cur,$}{c1,1.5} each, {n2,2} {obj2,notebooks} which cost {cur,$}{c2,4} each, and a rim of bond paper which cost {cur,$}{c3,20}. He also bought {n4,5} {obj3,folders} which cost {cur,$}{c4,10} each. How much did {name,Raphael} spend on everything if he receives {disc,10}% discount on all purchases?\n\n#init:\n- name = sample(names_male)\n- obj1, obj2, obj3 = sample([\"notebooks\", \"pencils\", \"erasers\", \"crayons\", \"colored pencils\", \"markers\", \"rulers\", \"folders\", \"folders\"], 3)\n- cur = sample(currencies_sym)\n- $n1 = range(6, 21, 2)\n- $c1 = frange(2.25, 11.5, 0.25)\n- $n2 = range(4, 15, 2)\n- $c2 = frange(8.25, 17.5, 0.25)\n- $c3 = range(10, 22)\n- $n4 = range(3, 7)\n- $c4 = range(8, 12)\n- $disc = sample([5, 10, 20, 25])\n\n#conditions:\n- is_int(n1 * c1)\n- is_int(n2 * c2)\n- is_int((n1*c1 + n2*c2 + c3+n4*c4)*(1-disc/100))\n#answer: int((n1*c1 + n2*c2 + c3+n4*c4)*(1-disc/100))",
|
||||
"answer_annotated": "{name} spent {n1} x {cur}{c1} = {cur}<<{n1}*{c1}={int(n1*c1)}>>{int(n1*c1)} for the {obj1}.\nHe also spent {n2} x {cur}{c2} = {cur}<<{n2}*{c2}={int(n2*c2)}>>{int(n2*c2)} for the {obj2}.\nTherefore, {name} spent a total of {cur}{int(n1*c1)} + {cur}{int(n2*c2)} + {cur}{c3} = {cur}<<{int(n1*c1)}+{int(n2*c2)}+{c3}={int(n1*c1+n2*c2+c3)}>>{int(n1*c1+n2*c2+c3)} for the {obj1}, {obj2}, and {obj3}.\nFinally we should add the cost of {obj3}: {n4} * {c4} = {n4 * c4}. \nSo, the total will be be {cur}{int(n1*c1+n2*c2+c3)} + {cur}{n4 * c4} = {cur}{int(n1*c1+n2*c2+c3)+n4*c4} for all the supplies.\nAfter applying {disc}% discount, the result will be {int(n1*c1+n2*c2+c3)+n4*c4}*{100-disc}%={int((n1*c1 + n2*c2 + c3+n4*c4)*(1-disc/100))}.\n#### {int((n1*c1 + n2*c2 + c3+n4*c4)*(1-disc/100))}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue