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": "According to its nutritional info, a bag of chips has 250 calories per serving. If a 300g bag has 5 servings, how many grams can you eat if your daily calorie target is 2000 and you have already consumed 1800 calories?",
"answer": "If the total calorie target is 2000 and I have consumed 1800 calories then I have 2000-1800 = <<2000-1800=200>>200 calories left to eat\nIf each serving of chips has 250 calories and I only have 200 calories left to eat, then I can only eat 200/250 of a serving = 4/5 of a serving\nWe also know that a 300g bag of chips has 5 servings, hence each serving has 300g/5 = <<300/5=60>>60 grams\nIf I can only eat 4/5 of a serving, then I can eat only 60g * 4/5 = 240g/5 = 48 grams\n#### 48",
"id_orig": 43,
"id_shuffled": 24,
"question_annotated": "According to its nutritional info, a bag of {food,chips} has {cal,250} calories per serving. A {size,300} {unit,gram} bag has {n,5} servings. The healthy daily calorie target is 15 calories per pound of body weight. {name1,Joe} weighs {w1,180} lbs, and he has already consumed {spent1, 1800} calories and burned {burned1,90} calories through exercise. {name2,Sara} weighs {w2,130} lbs, and she has already consumed {spent2, 1800} in food and {extra2,100} calories in ice cream. How many more {unit,gram} of {food,chips} does {name1,Joe} need to consume than {name2,Sara}?\n\n\n#init:\n- name1 = sample(names_male)\n- name2 = sample(names_female)\n- food = sample([\"popcorn\", \"breads\", \"cookies\"])\n- unit = sample([\"grams\", \"ounces\", \"oz\"])\n- $cal = range(150, 501, 25)\n- $size = range(100, 401, 25)\n- $n = range(4, 8)\n- $w1= range(190, 251, 10)\n- $spent1= range(900, 1251, 50)\n- $burned1 = range(50, 251, 50)\n- $w2= range(130, 181, 10)\n- $spent2= range(800, 1101, 100)\n- $extra2= range(150, 251, 25)\n\n\n#conditions:\n- divides(size, n)\n- w1*15 - spent1 + burned1 > 0\n- divides(w1*15 - spent1 + burned1, cal)\n- w2*15 - spent2 - extra2 > 0\n- divides(w2*15 - spent2 - extra2, cal)\n- ((w1*15 - spent1 + burned1) // cal) > ((w2*15-spent2 - extra2) // cal)\n\n#answer: ((w1*15 - spent1 + burned1)//cal - (w2*15-spent2 - extra2) // cal) * size // n",
"answer_annotated": "{name1}'s calorie target is {w1} * 15 = {w1 * 15} calories. {name1} needs {(w1*15)} - {spent1} + {burned1} = {(w1*15) - spent1 + burned1} calories more. That would be {(w1*15) - spent1 + burned1} / {cal} = {((w1*15) - spent1 + burned1)//cal} servings.\n{name2}'s calorie target is {w2} * 15 = {w2 * 15} calories. {name2} needs {(w2*15)} - {spent2} - {extra2} = {(w2*15)-spent2 - extra2} calories more. That would be {(w2*15)-spent2 - extra2} / {cal} = {((w2*15)-spent2 - extra2) // cal} servings.\n{name1} needs {((w1*15) - spent1 + burned1)//cal} - {((w2*15)-spent2 - extra2) // cal} = {((w1*15) - spent1 + burned1)//cal- ((w2*15)-spent2 - extra2) // cal} more servings than {name2}. Each serving is {size} / {n} = {size//n} {unit}s.\nSo {name1} needs {((w1*15) - spent1 + burned1)//cal- ((w2*15)-spent2 - extra2) // cal} servings * {size//n} units/serving = {(((w1*15) - spent1 + burned1)//cal - ((w2*15)-spent2 - extra2) // cal) * size // n} {unit}s more than {name2}.\n\n#### {(((w1*15) - spent1 + burned1)//cal - ((w2*15)-spent2 - extra2) // cal) * size // n}"
}