Still experimenting

This commit is contained in:
abdulhakeem 2025-01-30 23:44:12 -06:00
parent b0e70008ea
commit b203353751
357 changed files with 2888 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{
"question": "John has 10 hectares of a pineapple field. There are 100 pineapples per hectare. John can harvest his pineapples every 3 months. How many pineapples can John harvest within a year?",
"answer": "John has 100 x 10= <<100*10=1000>>1000 pineapples on his field.\nJohn can harvest his Pineapple 12 ÷ 3 = <<12/3=4>>4 times per year\nTherefore John can harvest 1000 x 4 = <<1000*4=4000>>4000 pineapples per year.\n#### 4000",
"id_orig": 145,
"id_shuffled": 6,
"question_annotated": "{name,John} has {x,10} {area,hectare}s of {fruit,pineapple} field. There are {k,100} {fruit,pineapple}s per {frac,half} of a {area,hectare}. {name, John} can harvest his {fruit,pineapple}s every {n,3} months. In addition, {name,John} owns a {x2,5}-{area,hectare} {fruit2,kiwi} field that produces {k2, 10} {fruit2,kiwi}s per {area,hectare}. The {fruit2,kiwi}s can be harvested every 4 months. In the span of two years, how many more {fruit,pineapple}s does {name,John} harvest than {fruit2,kiwi}s?\n\n#init:\n- name = sample(names_male)\n- fruit, fruit2 = sample(fruits, 2)\n- area = sample(['hectare', 'square yard', 'square meter'])\n- $x = range(5, 100, 5)\n- $k = range(12, 37)\n- $n = sample([1, 2, 3, 4, 6, 12])\n- $frac = sample(fraction_alnum)\n- $x2 = range(8, 15)\n- $k2 = range(12, 19)\n\n#conditions:\n- x * k * (12//n) * 1.0/frac + k2*x2*3 < 5000\n- int((k*x*1/frac*12//n)) > (x2*k2*3)\n\n#answer: 2*(int((k*x*1/frac*12//n)) - (x2*k2*3))",
"answer_annotated": "{name} has {k} x {x}= <<{k}*{x}={k*x}>>{k*x} {fruit}s on {frac} of his field.\nIn total {name} can get, {1}÷{frac} = {1/frac} times more, meaning {k*x}*{1/frac}={int(k*x*1/frac)}.\n{name} can harvest his {fruit} 12 ÷ {n} = <<{12}/{n}={12//n}>>{12//n} times per year\nTherefore {name} can harvest {int(k*x*1/frac)} x {12//n} = <<{int(k*x*1/frac)}*{12//n}={int((k*x*1/frac*12//n))}>>{int(k*x*1/frac*12//n)} {fruit}s per year.\nThere are {k2} {fruit2}s per {area} of the second field. In total, there are {x2}*{k2} = {x2*k2} {fruit2}s. Since {name} can harvest his {fruit2}s 12 ÷ 4 = 3 times a year, he can harvest {x2*k2} * 3 = {x2 * k2 * 3} {fruit2}s in a year.\nEach year, {name} harvests {int(k*x*1/frac*12//n)} {fruit}s - {x2 * k2 * 3} {fruit2}s = {int(k*x*1/frac*12//n) - x2*k2*3} more {fruit}s. \nSo in two years, {name} will produce 2 * {int(k*x*1/frac*12//n) - x2*k2*3} = {2*(int(k*x*1/frac*12//n) - x2*k2*3)} more. \n#### {2*(int(k*x*1/frac*12//n) - x2*k2*3)}"
}