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": "John is raising money for a school trip. He has applied for help from the school, which has decided to cover half the cost of the trip. How much money is John missing if he has $50 and the trip costs $300?",
"answer": "John's school has decided to pay 300 / 2 = $<<300/2=150>>150 for his trip.\nIn total John has covered 150 + 50 = $<<150+50=200>>200 for his trip\nTherefore, John needs 300 - 200 = $<<300-200=100>>100 more for the trip.\n#### 100",
"id_orig": 788,
"id_shuffled": 35,
"question_annotated": "{name} is raising money for a {event}. He has applied for help from the {organization}, which has decided to cover {fraction} of the cost of the {event}. How much money is {name} missing if he has {cur}{current} and the {event} costs {cur}{total}?\n\n#init:\n- name = sample(names_male)\n- event = sample([\"field trip\", \"sports tournament\", \"conference\", \"music festival\", \"science fair\"])\n- cur = sample(currencies_sym)\n- organization = sample([\"school\", \"community center\", \"local charity\", \"youth club\", \"parent association\"])\n- $fraction = sample(fractions)\n- $current = range(10, 200, 5)\n- $total = range(200, 1000, 10)\n\n#conditions:\n- total > current\n- is_int(total * Fraction(fraction))\n- is_int(total - (total * Fraction(fraction) + current))\n\n#answer: total - (total * Fraction(fraction) + current)",
"answer_annotated": "{name}'s {organization} has decided to pay {total} * {fraction} = {cur}<<{total}*{Fraction(fraction)}={total*Fraction(fraction)}>>{total*Fraction(fraction)} for his {event}.\nIn total {name} has covered {total*Fraction(fraction)} + {current} = {cur}<<{total*Fraction(fraction)}+{current}={total*Fraction(fraction)+current}>>{total*Fraction(fraction)+current} for his {event}\nTherefore, {name} needs {total} - {total*Fraction(fraction)+current} = {cur}<<{total}-{total*Fraction(fraction)+current}={total-(total*Fraction(fraction)+current)}>>{total-(total*Fraction(fraction)+current)} more for the {event}.\n#### {total-(total*Fraction(fraction)+current)}"
}