Still experimenting

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

View file

@ -0,0 +1,8 @@
{
"question": "At Allan's house, there is twice as much corn as cannolis. He has a total of 40 cannolis in his house. Allan bought 60 more cannolis at the store and 40 fewer corns than the number of cannolis. Find the combined total of the number of corns and cannolis Allan has in the house?",
"answer": "Before buying any corn and cannoli, Allan had twice as much corn as cannoli, which is 40 cannoli * 2 corn/cannoli = <<40*2=80>>80 corns\nThe total number of corns and cannolis that Allan had before is 80 corn + 40 corn = <<80+40=120>>120 corn\nWhen he bought 40 fewer corns than cannolis, he bought 60 corn - 40 corn = <<60-40=20>>20 corns\nIn total, he bought 20 corns + 60 cannolis = <<20+60=80>>80 items\nAfter the purchases, Allan has 120 items + 80 items = <<120+80=200>>200 total corns and cannolis combined.\n#### 200",
"id_orig": 406,
"id_shuffled": 91,
"question_annotated": "At {name,Allan}'s house, there are {mult,twice} as many {food1,corn}s as {food2,cannolis}s. He has a total of {n,40} {food2,cannolis}s in his house. {name,Allan} bought {m,60} more {food2,cannolis}s at the store and {k,40} fewer {food1,corn}s than the number of {food2,cannolis}s. Find the combined total of the number of {food1,corn}s and {food2,cannolis}s {name,Allan} has in the house?\n\n#init:\n- name = sample(names_male)\n- food1, food2 = sample([\"corn\", \"apple\", \"banana\", \"orange\", \"pear\", \"grape\", \"fig\", \"persimmon\", \"plum\", \"kiwi\"], 2)\n- $mult = sample(multi_times)\n- $n = range(20, 100)\n- $m = range(30, 100)\n- $k = range(10, 50)\n\n#conditions:\n- m > k\n\n#answer: mult*n + n + m + (m-k)",
"answer_annotated": "Before buying any {food1} and {food2}, {name} had {mult} times as many {food1}s as {food2}s, which is {n} {food2}s * {mult} {food1}/{food2} = <<{n}*{mult}={n*mult}>>{n*mult} {food1}s\nThe total number of {food1}s and {food2}s that {name} had before is {n*mult} {food1}s + {n} {food2}s = <<{n*mult}+{n}={n*mult+n}>>{n*mult+n} items\nWhen he bought {k} fewer {food1}s than {food2}s, he bought {m} {food1}s - {k} {food1}s = <<{m}-{k}={m-k}>>{m-k} {food1}s\nIn total, he bought {m-k} {food1}s + {m} {food2}s = <<{m-k}+{m}={2*m-k}>>{2*m-k} items\nAfter the purchases, {name} has {n*mult+n} items + {2*m-k} items = <<{n*mult+n}+{2*m-k}={n*mult+n+2*m-k}>>{n*mult+n+2*m-k} total {food1}s and {food2}s combined.\n#### {n*mult+n+2*m-k}"
}