reasoning-gym/reasoning_gym/data/gsm_data/p1/0082.json
2025-01-30 23:51:31 -06:00

8 lines
No EOL
2.1 KiB
JSON

{
"question": "At the beginning of the party, there were 25 men and 15 women. After an hour, 1/4 of the total number of people left. How many women are left if 22 men stayed at the party?",
"answer": "There were a total of 25 men + 15 women = <<25+15=40>>40 people who attended the party.\nAfter an hour, 40 people / 4 = <<40/4=10>>10 people left the party.\nThis means 40 people - 10 people = <<40-10=30>>30 people stayed.\nOut of the 30 who stayed, 30 people - 22 men = <<30-22=8>>8 were women.\n#### 8",
"id_orig": 320,
"id_shuffled": 82,
"question_annotated": "At the beginning of the {event,party}, there were {total,40} people, of which {m,25} were {group1,men}, and the rest were {group2,women}. After {t,an hour}, {frac,1/4} of the total number of people left. How many {group2,women} have stayed at the {event,party}, if {m_left,22} {group1,men} remained?\n\n#init:\n- event = sample(['party', 'meeting', 'conference', 'gathering', 'celebration'])\n- group1, group2 = sample([ \"teachers\", \"doctors\", \"engineers\", \"nurses\", \"artists\", \"lawyers\",], 2)\n- t = sample(['an hour', 'two hours', 'half an hour', '45 minutes'])\n- $frac = sample(fraction_alnum)\n- $m = range(20, 34)\n- $w = range(10, 55)\n- $total = range(30, 80)\n- $m_left = range(10, 25)\n\n#conditions:\n- total == m + w\n- m_left < m\n- is_int((m + w) * frac)\n- (m + w) * (1-frac) > m_left\n- m + w - (m + w) * frac > m_left\n\n#answer: m + w - int((m + w) * frac) - m_left",
"answer_annotated": "The number of {group2} is {total-m} because {total}-{m}=<<{total}-{m}={total-m}>>{total-m}.\nThere were a total of {m} {group1} + {w} {group2} = <<{m}+{w}={m+w}>>{m+w} people who attended the {event}.\nAfter {t}, {m+w} people * {frac} = <<{m+w}*{frac}={int((m+w)*frac)}>>{int((m+w)*frac)} people left the {event}.\nThis means {m+w} people - {int((m+w)*frac)} people = <<{m+w}-{int((m+w)*frac)}={m+w-int((m+w)*frac)}>>{m+w-int((m+w)*frac)} people stayed.\nOut of the {m+w-int((m+w)*frac)} who stayed, {m+w-int((m+w)*frac)} people - {m_left} {group1} = <<{m+w-int((m+w)*frac)}-{m_left}={m+w-int((m+w)*frac)-m_left}>>{m+w-int((m+w)*frac)-m_left} were {group2}.\n#### {m+w-int((m+w)*frac)-m_left}"
}