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
b0e70008ea
commit
b203353751
357 changed files with 2888 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"question": "I have 10 liters of orange drink that are two-thirds water and I wish to add it to 15 liters of pineapple drink that is three-fifths water. But as I pour it, I spill one liter of the orange drink. How much water is in the remaining 24 liters?",
|
||||
"answer": "There are 15 x 3/5 = <<15*3/5=9>>9 liters of water from the 15 liters pineapple drink.\nAfter 1 liter of orange drink was spilled, there were 10 - 1 = <<10-1=9>>9 liters of orange drink left.\nOut of the 9 liters, 9 x 2/3 = <<9*2/3=6>>6 liters are water.\nThus, there are a total of 9 + 6 = <<9+6=15>>15 liters of water out of the 24 liters.\n#### 15",
|
||||
"id_orig": 20,
|
||||
"id_shuffled": 59,
|
||||
"question_annotated": "I have {n1} liters of {fruit1} drink that are {frac1} water and I wish to add it to {n2} liters of {fruit2} drink that is {frac2} water. But as I pour it, I spill {spill} liters of the {fruit1} drink. How much water is in the remaining {total} liters?\n\n#init:\n- fruit1, fruit2 = sample([\"apple\", \"grape\", \"mango\", \"peach\", \"lemon\"], 2)\n- $n1 = range(9, 21)\n- $n2 = range(12, 31)\n- $frac1 = sample(fraction_alnum)\n- $frac2 = sample(fraction_alnum)\n- $spill = range(3, 7)\n- $total = range(20, 51)\n\n#conditions:\n- spill < n1\n- n1 + n2 - spill == total\n- is_int(n2 * frac2)\n- is_int((n1 - spill) * frac1)\n- is_int(n2 * frac2 + (n1 - spill) * frac1)\n\n#answer: int(n2 * frac2 + (n1 - spill) * frac1)",
|
||||
"answer_annotated": "There are {n2} x {frac2} = <<{n2}*{frac2}={n2*frac2}>>{n2*frac2} liters of water from the {n2} liters {fruit2} drink.\nAfter {spill} liter of {fruit1} drink was spilled, there were {n1} - {spill} = <<{n1}-{spill}={n1-spill}>>{n1-spill} liters of {fruit1} drink left.\nOut of the {n1-spill} liters, {n1-spill} x {frac1} = <<{n1-spill}*{frac1}={(n1-spill)*frac1}>>{(n1-spill)*frac1} liters are water.\nThus, there are a total of {n2*frac2} + {(n1-spill)*frac1} = <<{n2*frac2}+{(n1-spill)*frac1}={n2*frac2 + (n1-spill)*frac1}>>{n2*frac2 + (n1-spill)*frac1} liters of water out of the {total} liters.\n#### {int(n2 * frac2 + (n1 - spill) * frac1)}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue