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": "Mr. Tan sold his house for $400 000. He paid the transfer fees that amount to 3% of the selling price and also paid a brokerage fee that is 5% of the selling price. If he also paid $250 000 for the remaining loan amount of the house, how much is Mr. Tan's net proceeds from selling the house?",
"answer": "Mr. Tan paid $400 000 x 3/100 = $12 000 for the transfer fees.\nHe paid $400 000 x 5/100 = $20 000 for the brokerage fee.\nSo, Mr. Tan paid a total of $12 000 + $20 000 + $250 000 = $282 000 for the transfer, brokerage, and loan fees.\nHence, Mr. Tan's net proceeds is $400 000 - $282 000 = $118 000.\n#### 118000",
"id_orig": 266,
"id_shuffled": 34,
"question_annotated": "{title,Mr.} {name,Tan} sold his {property,house} for ${price,400000}. He paid the {fee1_name,transfer} fees that amount to {fee1_percent,3}% of the selling price and also paid a {fee2_name,brokerage} fee that is {fee2_percent,5}% of the selling price. If he also paid ${loan,250000} for the remaining loan amount of the {property,house}, how much is {title,Mr.} {name,Tan}'s net proceeds from selling the {property,house}?\n\n#init:\n- title = sample(['Mr.', 'Prof.', 'Dr.'])\n- name = sample(['Smith', 'Johnson', 'Williams', 'Brown', 'Jones', 'Garcia', 'Miller', 'Davis', 'Rodriguez', 'Martinez'])\n- property = sample(['house', 'apartment', 'condo', 'villa', 'cottage'])\n- fee1_name = sample(['transfer', 'registration', 'legal'])\n- fee2_name = sample(['brokerage', 'agent', 'realtor'])\n- $price = range(200000, 1000000, 10000)\n- $fee1_percent = range(1, 5)\n- $fee2_percent = range(2, 7)\n- $loan = range(100000, 700000, 10000)\n\n#conditions:\n- price > loan\n- price - (price * (fee1_percent + fee2_percent) / 100 + loan) > 1\n\n#answer: price - (price * (fee1_percent + fee2_percent) / 100 + loan)",
"answer_annotated": "{title} {name} paid ${price} x {fee1_percent}/100 = ${price * fee1_percent // 100} for the {fee1_name} fees.\nHe paid ${price} x {fee2_percent}/100 = ${price * fee2_percent // 100} for the {fee2_name} fee.\nSo, {title} {name} paid a total of ${price * fee1_percent // 100} + ${price * fee2_percent // 100} + ${loan} = ${price * (fee1_percent + fee2_percent) // 100 + loan} for the {fee1_name}, {fee2_name}, and loan fees.\nHence, {title} {name}'s net proceeds is ${price} - ${price * (fee1_percent + fee2_percent) // 100 + loan} = ${price - (price * (fee1_percent + fee2_percent) // 100 + loan)}.\n#### {price - (price * (fee1_percent + fee2_percent) // 100 + loan)}"
}