Still experimenting

This commit is contained in:
abdulhakeem 2025-01-30 23:44:12 -06:00
parent a3378bd95f
commit ff13dc6825
357 changed files with 2888 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{
"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. How much more is the total price of the {property_type, house} 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- $budget = range(300000, 500000, 10000)\n- $price = range(250000, 450000, 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- price < budget\n- price * (1 + brokerage_fee/100 + transfer_fee/100) > budget + 1\n- is_int(price * brokerage_fee / 100)\n- is_int(price * transfer_fee / 100)\n\n#answer: int(price * (1 + brokerage_fee/100 + transfer_fee/100) - budget)",
"answer_annotated": "The brokerage fee is ${price} x {brokerage_fee}/100 = $<<{price}*{brokerage_fee}/100={int(price*brokerage_fee/100)}>>{int(price*brokerage_fee/100)}.\nThe transfer fee is ${price} x {transfer_fee}/100 = $<<{price}*{transfer_fee}/100={int(price*transfer_fee/100)}>>{int(price*transfer_fee/100)}.\nThe total price of the {property_type} is ${price} + ${int(price*brokerage_fee/100)} + ${int(price*transfer_fee/100)} = ${int(price * (1 + brokerage_fee/100 + transfer_fee/100))}.\nSo, it is ${int(price * (1 + brokerage_fee/100 + transfer_fee/100))} - ${budget} = $<<{int(price * (1 + brokerage_fee/100 + transfer_fee/100))}-{budget}={int(price * (1 + brokerage_fee/100 + transfer_fee/100) - budget)}>>{int(price * (1 + brokerage_fee/100 + transfer_fee/100) - budget)} more than {name}'s budget.\n#### {int(price * (1 + brokerage_fee/100 + transfer_fee/100) - budget)}"
}