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": "A class of 50 students has various hobbies. 10 like to bake, 5 like to play basketball, and the rest like to either play video games or play music. How many like to play video games if the number that like to play music is twice the number that prefer playing basketball?",
"answer": "The number of students that like to play music is twice as many as the number who like basketball, so 2 * 5 = <<2*5=10>>10\nThe number that like to play video games is 50 total students - 10 baking - 5 basketball - 10 music = <<50-10-5-10=25>>25\n#### 25",
"id_orig": 740,
"id_shuffled": 3,
"question_annotated": "A {g,class} of {n, 50} students has various hobbies. {n_1, 10} like to {h_1, bake}, {n_2,5} like to play {h_2,basketball}, and the rest like to either {h_3,play video games} or {h_4,play music}. How many like to {h_3,play video games} if the number that like to {h_4,play music} is twice the number that prefer playing {h_2, basketball}?\n\n#init:\n- g = sample([\"group\", \"class\"])\n- h_2 = sample(sports)\n- h_1, h_3, h_4 = sample(['read', 'paint', 'hike', 'dance', 'bake', 'play video games', 'play music'], 3)\n- $n = range(5, 200)\n- $n_1 = range(2, 200)\n- $n_2 = range(2, 200)\n\n#conditions:\n- n_1 < n\n- n_2 < n\n- n - (n_1 + n_2) - (2 * n_2) > 0\n\n#answer: int(n - (n_1 + n_2) - (2 * n_2))",
"answer_annotated": "The number of students that like to {h_4} is twice as many as the number who like {h_2}, so 2 * {n_2} = <<2*{n_2}={2*n_2}>>{2*n_2}\nThe number that like to {h_3} is {n} total students - {n_1} {h_1} - {n_2} {h_2} - {2*n_2} {h_4} = <<{n}-{n_1}-{n_2}-{2*n_2}={n-n_1-n_2-2*n_2}>>{n-n_1-n_2-2*n_2}\n#### {n-n_1-n_2-2*n_2}"
}