mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
8 lines
No EOL
2.3 KiB
JSON
8 lines
No EOL
2.3 KiB
JSON
{
|
|
"question": "There are 96 fourth-graders at Small Tree School. 43 of them are girls. On Friday, 5 fourth-grade girls and 4 fourth-grade boys were absent. How many fourth grade boys were at Small Tree School on Friday?",
|
|
"answer": "Of the 96 fourth graders, 43 are girls, so 96 students - 43 girls = <<96-43=53>>53 boys.\nOn Friday there were 53 boys - 4 absent = <<53-4=49>>49 boys.\n#### 49",
|
|
"id_orig": 364,
|
|
"id_shuffled": 74,
|
|
"question_annotated": "There are {total,96} {grade,fourth}-graders at {school_name,Small Tree} School. {num_girls,43} of them are girls. On {day,Friday}, {absent_girls,5} {grade,fourth}-grade girls and {absent_boys,4} {grade,fourth}-grade boys were absent. On {day,Friday}, what percentage of the present {grade,fourth} grade students were boys?\n\n#init:\n- school_name = sample([\"Maple Grove\", \"Sunny Hill\", \"Oak Ridge\", \"Pine Valley\"])\n- grade = sample([\"first\", \"second\", \"third\", \"fourth\", \"fifth\"])\n- day = sample([\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\"])\n- $total = range(50, 200)\n- $num_girls = range(20, 100)\n- $absent_girls = range(1, 10)\n- $absent_boys = range(1, 10)\n\n#conditions:\n- num_girls < total\n- absent_girls < num_girls\n- absent_boys < (total - num_girls)\n- total - absent_boys - absent_girls != 100\n- is_int((total - num_girls - absent_boys)/(total-absent_boys-absent_girls) * 100)\n\n#answer: int((total - num_girls - absent_boys)/total * 100)",
|
|
"answer_annotated": "Of the {total} {grade} graders, {num_girls} are girls, so {total} students - {num_girls} girls = <<{total}-{num_girls}={total-num_girls}>>{total-num_girls} boys.\nOn {day} there were {total-num_girls} boys - {absent_boys} absent = <<{total-num_girls}-{absent_boys}={total-num_girls-absent_boys}>>{total-num_girls-absent_boys} boys present.\nOn {day} there were {total} boy or girl students - {absent_boys} absent boys - {absent_girls} absent girls = {total} - {absent_boys+absent_girls} = {total - absent_boys - absent_girls} students present.\nNow we calculate the percentage of present boys to total present {grade}-grade students on {day}. {total-num_girls-absent_boys} / {total-absent_girls-absent_boys} * 100% = {int((total-num_girls-absent_boys)/(total-absent_girls-absent_boys)*100)}%.\n#### {int((total-num_girls-absent_boys)/(total-absent_girls-absent_boys)*100)}"
|
|
} |