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

8 lines
No EOL
3.4 KiB
JSON

{
"question": "A hospital has a capacity of 1000 beds with 1/5 occupied. Due to the coronavirus outbreak, 50 patients are admitted into the hospital each day. Calculate the total number of unoccupied beds in the hospital after 2 weeks.",
"answer": "If 1/5 of the total capacity of the hospital beds is occupied, it means 1/5 * 1000 = <<1000*1/5=200>>200 beds have patients using them.\nThe total number of beds in the hospital without new admissions is 1000 beds - 200 beds = <<1000-200=800>>800 beds.\nIf 50 people are admitted each day, the total number of patients in the hospital after one week is 50 patients/day * 7 days/week = 350 patients.\nAfter two weeks, the total number of patients admitted into the hospital is 350 patients/week * 2 weeks = <<350*2=700>>700 patients, who each use one bed.\nIf there were 800 unoccupied beds in the hospital before the new admissions, the total number is reduced to 800 beds - 700 beds = <<800-700=100>>100 unoccupied beds.\n#### 100",
"id_orig": 955,
"id_shuffled": 28,
"question_annotated": "A {facility,hospital} has a capacity of {total,1000} {item,bed}s with {frac,1/5} occupied and {frac_2,1/10} of all the {item,bed}s being out of service. Due to the {event,coronavirus outbreak}, {daily,50} patients are admitted into the {facility,hospital} each day. Calculate the total number of unoccupied {item,bed}s in the {facility,hospital} after {period,2} weeks.\n\n#init:\n- facility = sample([\"hospital\", \"clinic\", \"medical center\", \"care facility\"])\n- item = sample([\"bed\", \"room\"])\n- event = sample([\"flu season\", \"natural disaster\", \"major accident\", \"pandemic\"])\n- $total = range(500, 2000, 100)\n- $frac = sample(fraction_nums)\n- $frac_2 = sample(fraction_alph)\n- $daily = range(20, 100, 5)\n- $period = range(2, 4)\n\n#conditions:\n- is_int(total*frac)\n- is_int(total*frac_2)\n- is_int(total * (frac + frac_2))\n- total * (frac+frac_2) + daily * period * 7 < total\n\n#answer: total - (total * (frac+frac_2) + daily * period * 7)",
"answer_annotated": "If {frac} of the total capacity of the {facility} {item}s is occupied, it means {frac} * {total} = <<{total}*{frac}={int(total*frac)}>>{int(total*frac)} {item}s have patients using them.\nAlso {frac_2} of the beds are out of service. So {frac_2} * {total} = <<{frac_2} * {total} = {int(frac_2 * total)}>>{int(frac_2 * total)} are not available.\nThe total number of {item}s in the {facility} without new admissions is {total} {item}s - {int(total*frac)} {item}s - {int(frac_2 * total)} {item}s= <<{total}-{int(total*frac)}-{int(frac_2 * total)}={total-int(total*(frac+frac_2))}>>{total-int(total*(frac+frac_2))} {item}s.\nIf {daily} people are admitted each day, the total number of patients in the {facility} after one week is {daily} patients/day * 7 days/week = {daily*7} patients.\nAfter {period} weeks, the total number of patients admitted into the {facility} is {daily*7} patients/week * {period} weeks = <<{daily*7}*{period}={daily*period*7}>>{daily*period*7} patients, who each use one {item}.\nIf there were {total-int(total*(frac+frac_2))} unoccupied {item}s in the {facility} before the new admissions, the total number is reduced to {total-int(total*(frac+frac_2))} {item}s - {daily*period*7} {item}s = <<{total-int(total*(frac+frac_2))}-{daily*period*7}={total - (total * (frac+frac_2) + daily * period * 7)}>>{total - (total * (frac+frac_2) + daily * period * 7)} unoccupied {item}s.\n#### {total - (total * (frac+frac_2) + daily * period * 7)}"
}