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

8 lines
No EOL
3.6 KiB
JSON

{
"question": "Mrs. Cruz is looking for a house that will not go beyond her $400 000 budget. She saw a property that has a selling price of $350 000. On top of that, the buyer has to pay a brokerage fee which is 5% of the selling price, and also the transfer fee that is 12% of the selling price. How much more is the total price of the house than Mrs. Cruz's budget?",
"answer": "The brokerage fee is $350 000 x 5/100 = $<<350000*5/100=17500>>17500.\nThe transfer fee is $350 000 x 12/100 = $<<350000*12/100=42000>>42000.\nThe total price of the house is $350 000 + $17500 + $42000 = $409 500.\nSo, it is $409 500 - $400 000 = $<<409500-400000=9500>>9500 more than Mrs. Cruz's budget.\n#### 9500",
"id_orig": 265,
"id_shuffled": 32,
"question_annotated": "{name, Mrs. Cruz} is looking for a {property_type, house} that will not go beyond her ${budget, 400000} budget. She saw a property that has a selling price of ${price, 350000}. On top of that, the buyer has to pay a brokerage fee which is {brokerage_fee, 5}% of the selling price, and also the transfer fee that is {transfer_fee, 12}% of the selling price. If {name, Mrs. Cruz} can get {discount,10}% discount on the selling price, how much more is the total cost will be than {name, Mrs. Cruz}'s budget?\n\n#init:\n- name = sample(['Mrs. Smith', 'Ms. Johnson', 'Dr. Patel', 'Mrs. Lee'])\n- property_type = sample(['house', 'apartment', 'condo', 'townhouse'])\n- $discount = range(5, 26, 5)\n- $budget = range(300000, 500000, 10000)\n- $price = range(350000, 750000, 10000)\n- $brokerage_fee = range(3, 8)\n- $transfer_fee = range(10, 15)\n\n#conditions:\n- brokerage_fee < 100\n- transfer_fee < 100\n- is_int(price * (100-discount) / 100)\n- price * (100-discount) / 100 % 1000 == 0\n- price * (100-discount)/100 * (1 + brokerage_fee/100 + transfer_fee/100) % 100 == 0\n- price * (100-discount)/100 * (1 + brokerage_fee/100 + transfer_fee/100) > budget + 1\n- is_int(price * (100-discount)/100 * brokerage_fee / 100)\n- is_int(price * (100-discount)/100 * transfer_fee / 100)\n- int(price * (100-discount)/100 * (1 + brokerage_fee/100 + transfer_fee/100) - budget) < 150000\n\n#answer: int(price * (100-discount)/100 * (1 + brokerage_fee/100 + transfer_fee/100) - budget)",
"answer_annotated": "Because of discount, the ${price} will be be {price} * {100-discount}% = {int(price * (100-discount)/100)}.\nThe brokerage fee is ${int(price * (100-discount)/100)} x {brokerage_fee}/100 = $<<{int(price * (100-discount)/100)}*{brokerage_fee}/100={int(int(price * (100-discount)/100)*brokerage_fee/100)}>>{int(int(price * (100-discount)/100)*brokerage_fee/100)}.\nThe transfer fee is ${int(price * (100-discount)/100)} x {transfer_fee}/100 = $<<{int(price * (100-discount)/100)}*{transfer_fee}/100={int(int(price * (100-discount)/100)*transfer_fee/100)}>>{int(int(price * (100-discount)/100)*transfer_fee/100)}.\nThe total price of the {property_type} is ${int(price * (100-discount)/100)} + ${int(int(price * (100-discount)/100)*brokerage_fee/100)} + ${int(int(price * (100-discount)/100)*transfer_fee/100)} = ${int(int(price * (100-discount)/100) * (1 + brokerage_fee/100 + transfer_fee/100))}.\nSo, it is ${int(int(price * (100-discount)/100) * (1 + brokerage_fee/100 + transfer_fee/100))} - ${budget} = $<<{int(int(price * (100-discount)/100) * (1 + brokerage_fee/100 + transfer_fee/100))}-{budget}={int(int(price * (100-discount)/100) * (1 + brokerage_fee/100 + transfer_fee/100) - budget)}>>{int(int(price * (100-discount)/100) * (1 + brokerage_fee/100 + transfer_fee/100) - budget)} more than {name}'s budget.\n#### {int(price * (100-discount)/100 * (1 + brokerage_fee/100 + transfer_fee/100) - budget)}"
}