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
a3378bd95f
commit
ff13dc6825
357 changed files with 2888 additions and 0 deletions
8
reasoning_gym/data/gsm_data/symbolic/0024.json
Normal file
8
reasoning_gym/data/gsm_data/symbolic/0024.json
Normal 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. If a {size,300} {unit,gram} bag has {n,5} servings, how many {unit,gram} can you eat if your daily calorie target is {total,2000} and you have already consumed {spent,1800} calories?\n\n#init:\n- food = sample([\"popcorn\", \"breads\", \"cookies\"])\n- unit = sample([\"grams\", \"ounces\", \"oz\"])\n- $cal = range(150, 500, 25)\n- $size = range(100, 400, 25)\n- $n = range(4, 8)\n- $total = range(1900, 2500, 5)\n- $spent = range(600, 1800, 25)\n\n#conditions:\n- spent < total\n- is_int( 5 * (total - spent) / cal)\n- divides(size, n)\n- divides(size//n, Fraction(total-spent, cal))\n\n#answer: size//n * Fraction(total-spent, cal)",
|
||||
"answer_annotated": "If the total calorie target is {total} and I have consumed {spent} calories then I have {total}-{spent} = <<{total}-{spent}={total-spent}>>{total-spent} calories left to eat\nIf each serving of {food} has {cal} calories and I only have {total-spent} calories left to eat, then I can only eat {total-spent}/{cal} of a serving = {Fraction(total-spent, cal)} of a serving\nWe also know that a {size} {unit} bag of {food} has {n} servings, hence each serving has {size} {unit}/{n} = <<{size}/{n}={size//n}>>{size//n} {unit}\nIf I can only eat {Fraction(total-spent, cal)} of a serving, then I can eat only {size//n} * {Fraction(total-spent, cal)} = {size//n}*{Fraction(total-spent, cal)} = {size//n * Fraction(total-spent, cal)} {unit}\n#### {size//n * Fraction(total-spent, cal)} "
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue