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

8 lines
No EOL
2.2 KiB
JSON

{
"question": "The area of Billie's rectangular bedroom is 360 square feet. If the length of his room is 3 yards, what is the perimeter of the room in feet?",
"answer": "The length of the room is 3 yards * (3 feet / 1 yard) = <<3*(3/1)=9>>9 feet.\nThe width of the room is 360 square feet / 9 feet = <<360/9=40>>40 feet.\nThe room's perimeter is 2(40+9) = 98\n#### 98",
"id_orig": 440,
"id_shuffled": 50,
"question_annotated": "The area of {name,Billie}'s rectangular {room_type,bedroom} is {area,360} square {unit1,feet}. If the length of his room is {length,3} {unit2,yards}, what is the perimeter of the room in {unit1,feet}?\n\n#init:\n- name = sample(names_male)\n- room_type = sample([\"living room\", \"study\", \"office\", \"kitchen\"])\n- unit1 = sample([\"feet\", \"meters\"])\n- unit2 = sample([\"yards\", \"meters\"])\n- $area = range(200, 1200)\n- $length = range(5, 44)\n\n#conditions:\n- is_int(area / (length * 3))\n- area / (length * 3) > length * 3\n\n#answer: 2 * (area // (length * 3) + length * 3) if unit1 == \"feet\" and unit2 == \"yards\" else 2 * (area // length + length)",
"answer_annotated": "The length of the room is {length} {unit2} * ({3 if unit1 == 'feet' and unit2 == 'yards' else 1} {unit1} / 1 {unit2}) = <<{length}*({3 if unit1 == 'feet' and unit2 == 'yards' else 1}/{1})={length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)}>>{length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)} {unit1}.\nThe width of the room is {area} square {unit1} / {length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)} {unit1} = <<{area}/{length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)}={area // (length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1))}>>{area // (length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1))} {unit1}.\nThe room's perimeter is 2({area // (length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1))}+{length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)}) = {2 * (area // (length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)) + length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1))}\n#### {2 * (area // (length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1)) + length * (3 if unit1 == 'feet' and unit2 == 'yards' else 1))}"
}