{
  "version": "au-comparison-monthly-2026-11-10.1",
  "checked": "2026-11-10",
  "currency": "AUD",
  "scope": "Fictional engineering scenarios, independently reproduced using 50-digit Python Decimal arithmetic. No real customer outcomes, professional review, lender certification or government endorsement is claimed.",
  "sources": [
    "https://moneysmart.gov.au/home-loans/choosing-a-home-loan",
    "https://moneysmart.gov.au/home-loans/mortgage-offset-accounts",
    "https://moneysmart.gov.au/home-loans/switching-home-loans",
    "https://moneysmart.gov.au/home-loans/mortgage-switching-calculator"
  ],
  "assumptions": [
    "Monthly principal-and-interest model with 12 equal months. Actual lenders may accrue interest daily.",
    "A constant eligible 100% offset reduces the interest base; offset cash is retained separately, never used to discharge debt.",
    "Cash-paid fees remain outside the loan. Financed fees increase starting principal and are counted once in borrowing cost.",
    "Annual and monthly recurring fees are allocated cumulatively across months and stop at payoff; actual billing and refunds differ.",
    "After an explicitly entered introductory or fixed-rate period, the payment is recalculated on actual remaining debt and remaining term.",
    "The horizon may outlast payoff. Cost equals interest plus cash-paid, financed and ongoing fees. Cash outlay excludes financed fees paid separately, because they are already in repayments.",
    "At every horizon: cash outlay plus outstanding debt minus original borrowing equals borrowing cost. Principal repayment is not a cost saving.",
    "Cost crossings include month zero. A sustained crossing remains no worse through the chosen horizon only, not necessarily beyond it.",
    "The offset threshold is the smallest integer-cent constant balance making the offset offer no more costly at the chosen horizon; no assumed savings interest or tax benefit is counted."
  ],
  "cases": [
    {
      "id": "AUC-O01",
      "kind": "offset",
      "title": "Does an offset cover the higher rate and package fee?",
      "purpose": "Compare net borrowing cost at five years, with offset funds retained separately.",
      "inputs": {
        "loan": "600000",
        "years": "30",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6.15",
        "b_monthly_fee": "0",
        "b_annual_fee": "395",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "50000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 17416442,
        "a_fees_cents": 0,
        "a_cost_cents": 17416442,
        "a_outlay_cents": 21583800,
        "a_balance_cents": 55832642,
        "a_principal_cents": 4167358,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21583800,
        "a_payment_cents": 359730,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 360,
        "a_lifetime_cost_cents": 69503135,
        "a_first_interest_cents": 300000,
        "a_first_balance_cents": 59940270,
        "a_last_payment_cents": 360065,
        "a_starting_balance_cents": 60000000,
        "b_interest_cents": 16072567,
        "b_fees_cents": 197500,
        "b_cost_cents": 16270067,
        "b_outlay_cents": 22129720,
        "b_balance_cents": 54140347,
        "b_principal_cents": 5859653,
        "b_ongoing_fees_cents": 197500,
        "b_repayments_cents": 21932220,
        "b_payment_cents": 365537,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 303,
        "b_lifetime_cost_cents": 51440454,
        "b_first_interest_cents": 281875,
        "b_first_balance_cents": 59916338,
        "b_last_payment_cents": 50905,
        "b_starting_balance_cents": 60000000,
        "cost_saving_cents": 1146375,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": 1806331
      }
    },
    {
      "id": "AUC-O02",
      "kind": "offset",
      "title": "A small offset does not justify the package cost",
      "purpose": "Same offers as O01 but much less money stays in offset.",
      "inputs": {
        "loan": "600000",
        "years": "30",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6.15",
        "b_monthly_fee": "0",
        "b_annual_fee": "395",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "5000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 17416442,
        "a_fees_cents": 0,
        "a_cost_cents": 17416442,
        "a_outlay_cents": 21583800,
        "a_balance_cents": 55832642,
        "a_principal_cents": 4167358,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21583800,
        "a_payment_cents": 359730,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 360,
        "a_lifetime_cost_cents": 69503135,
        "a_first_interest_cents": 300000,
        "a_first_balance_cents": 59940270,
        "a_last_payment_cents": 360065,
        "a_starting_balance_cents": 60000000,
        "b_interest_cents": 17687858,
        "b_fees_cents": 197500,
        "b_cost_cents": 17885358,
        "b_outlay_cents": 22129720,
        "b_balance_cents": 55755638,
        "b_principal_cents": 4244362,
        "b_ongoing_fees_cents": 197500,
        "b_repayments_cents": 21932220,
        "b_payment_cents": 365537,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 353,
        "b_lifetime_cost_cents": 70165929,
        "b_first_interest_cents": 304938,
        "b_first_balance_cents": 59939401,
        "b_last_payment_cents": 334947,
        "b_starting_balance_cents": 60000000,
        "cost_saving_cents": -468916,
        "first_break_even_month": 0,
        "sustained_break_even_month": null,
        "offset_threshold_cents": 1806331
      }
    },
    {
      "id": "AUC-O03",
      "kind": "offset",
      "title": "No offset can recover a fee when both interest rates are zero",
      "purpose": "No-threshold boundary: an offset cannot save interest that is already zero.",
      "inputs": {
        "loan": "120000",
        "years": "10",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "0",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "0",
        "b_monthly_fee": "0",
        "b_annual_fee": "395",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "120000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 0,
        "a_fees_cents": 0,
        "a_cost_cents": 0,
        "a_outlay_cents": 6000000,
        "a_balance_cents": 6000000,
        "a_principal_cents": 6000000,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 6000000,
        "a_payment_cents": 100000,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 120,
        "a_lifetime_cost_cents": 0,
        "a_first_interest_cents": 0,
        "a_first_balance_cents": 11900000,
        "a_last_payment_cents": 100000,
        "a_starting_balance_cents": 12000000,
        "b_interest_cents": 0,
        "b_fees_cents": 197500,
        "b_cost_cents": 197500,
        "b_outlay_cents": 6197500,
        "b_balance_cents": 6000000,
        "b_principal_cents": 6000000,
        "b_ongoing_fees_cents": 197500,
        "b_repayments_cents": 6000000,
        "b_payment_cents": 100000,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 120,
        "b_lifetime_cost_cents": 395000,
        "b_first_interest_cents": 0,
        "b_first_balance_cents": 11900000,
        "b_last_payment_cents": 100000,
        "b_starting_balance_cents": 12000000,
        "cost_saving_cents": -197500,
        "first_break_even_month": 0,
        "sustained_break_even_month": null,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-O04",
      "kind": "offset",
      "title": "Identical zero-cost loans already tie with no offset",
      "purpose": "Zero threshold and month-zero tie must be shown without invented savings.",
      "inputs": {
        "loan": "120000",
        "years": "10",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "0",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "0",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 0,
        "a_fees_cents": 0,
        "a_cost_cents": 0,
        "a_outlay_cents": 6000000,
        "a_balance_cents": 6000000,
        "a_principal_cents": 6000000,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 6000000,
        "a_payment_cents": 100000,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 120,
        "a_lifetime_cost_cents": 0,
        "a_first_interest_cents": 0,
        "a_first_balance_cents": 11900000,
        "a_last_payment_cents": 100000,
        "a_starting_balance_cents": 12000000,
        "b_interest_cents": 0,
        "b_fees_cents": 0,
        "b_cost_cents": 0,
        "b_outlay_cents": 6000000,
        "b_balance_cents": 6000000,
        "b_principal_cents": 6000000,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 6000000,
        "b_payment_cents": 100000,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 120,
        "b_lifetime_cost_cents": 0,
        "b_first_interest_cents": 0,
        "b_first_balance_cents": 11900000,
        "b_last_payment_cents": 100000,
        "b_starting_balance_cents": 12000000,
        "cost_saving_cents": 0,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": 0
      }
    },
    {
      "id": "AUC-O05",
      "kind": "offset",
      "title": "Cash-paid and financed fees are counted differently",
      "purpose": "The financed fee increases starting debt and accrues interest; it is counted once in borrowing cost.",
      "inputs": {
        "loan": "600000",
        "years": "30",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "600",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "0",
        "b_financed_fee": "600",
        "b_offset": "20000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 17416442,
        "a_fees_cents": 60000,
        "a_cost_cents": 17476442,
        "a_outlay_cents": 21643800,
        "a_balance_cents": 55832642,
        "a_principal_cents": 4167358,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21583800,
        "a_payment_cents": 359730,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 360,
        "a_lifetime_cost_cents": 69563135,
        "a_first_interest_cents": 300000,
        "a_first_balance_cents": 59940270,
        "a_last_payment_cents": 360065,
        "a_starting_balance_cents": 60000000,
        "b_interest_cents": 16736153,
        "b_fees_cents": 60000,
        "b_cost_cents": 16796153,
        "b_outlay_cents": 21605400,
        "b_balance_cents": 55190753,
        "b_principal_cents": 4869247,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 21605400,
        "b_payment_cents": 360090,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 335,
        "b_lifetime_cost_cents": 60466905,
        "b_first_interest_cents": 290300,
        "b_first_balance_cents": 59990210,
        "b_last_payment_cents": 196845,
        "b_starting_balance_cents": 60060000,
        "cost_saving_cents": 680289,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": 49896
      }
    },
    {
      "id": "AUC-O06",
      "kind": "offset",
      "title": "The comparison period continues after both loans are repaid",
      "purpose": "Five-year horizon with a one-year loan: no payments or ongoing fees are invented after payoff.",
      "inputs": {
        "loan": "12000",
        "years": "1",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "5",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6.1",
        "b_monthly_fee": "0",
        "b_annual_fee": "60",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "3000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 39358,
        "a_fees_cents": 6000,
        "a_cost_cents": 45358,
        "a_outlay_cents": 1245358,
        "a_balance_cents": 0,
        "a_principal_cents": 1200000,
        "a_ongoing_fees_cents": 6000,
        "a_repayments_cents": 1239358,
        "a_payment_cents": 103280,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 12,
        "a_lifetime_cost_cents": 45358,
        "a_first_interest_cents": 6000,
        "a_first_balance_cents": 1102720,
        "a_last_payment_cents": 103278,
        "a_starting_balance_cents": 1200000,
        "b_interest_cents": 22886,
        "b_fees_cents": 6000,
        "b_cost_cents": 28886,
        "b_outlay_cents": 1228886,
        "b_balance_cents": 0,
        "b_principal_cents": 1200000,
        "b_ongoing_fees_cents": 6000,
        "b_repayments_cents": 1222886,
        "b_payment_cents": 103335,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 12,
        "b_lifetime_cost_cents": 28886,
        "b_first_interest_cents": 4575,
        "b_first_balance_cents": 1101240,
        "b_last_payment_cents": 86201,
        "b_starting_balance_cents": 1200000,
        "cost_saving_cents": 16472,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": 10508
      }
    },
    {
      "id": "AUC-O07",
      "kind": "offset",
      "title": "An introductory offset rate later changes",
      "purpose": "Month 25 recalculates the payment using actual remaining principal and term.",
      "inputs": {
        "loan": "600000",
        "years": "30",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "4.5",
        "b_monthly_fee": "0",
        "b_annual_fee": "395",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "10000",
        "b_change_after": "24",
        "b_revert_rate": "8"
      },
      "expected": {
        "a_interest_cents": 17416442,
        "a_fees_cents": 0,
        "a_cost_cents": 17416442,
        "a_outlay_cents": 21583800,
        "a_balance_cents": 55832642,
        "a_principal_cents": 4167358,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21583800,
        "a_payment_cents": 359730,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 360,
        "a_lifetime_cost_cents": 69503135,
        "a_first_interest_cents": 300000,
        "a_first_balance_cents": 59940270,
        "a_last_payment_cents": 360065,
        "a_starting_balance_cents": 60000000,
        "b_interest_cents": 18643445,
        "b_fees_cents": 197500,
        "b_cost_cents": 18840945,
        "b_outlay_cents": 23066104,
        "b_balance_cents": 55774841,
        "b_principal_cents": 4225159,
        "b_ongoing_fees_cents": 197500,
        "b_repayments_cents": 22868604,
        "b_payment_cents": 304011,
        "b_after_rate_payment_cents": 432565,
        "b_payoff_months": 343,
        "b_lifetime_cost_cents": 86026572,
        "b_first_interest_cents": 221250,
        "b_first_balance_cents": 59917239,
        "b_last_payment_cents": 45596,
        "b_starting_balance_cents": 60000000,
        "cost_saving_cents": -1424503,
        "first_break_even_month": 0,
        "sustained_break_even_month": null,
        "offset_threshold_cents": 4686185
      }
    },
    {
      "id": "AUC-O08",
      "kind": "offset",
      "title": "An offset above the loan cannot create negative interest",
      "purpose": "A full offset eliminates interest without automatically paying off or spending the offset balance.",
      "inputs": {
        "loan": "12000",
        "years": "2",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "15000",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 76437,
        "a_fees_cents": 0,
        "a_cost_cents": 76437,
        "a_outlay_cents": 1276437,
        "a_balance_cents": 0,
        "a_principal_cents": 1200000,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 1276437,
        "a_payment_cents": 53185,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 24,
        "a_lifetime_cost_cents": 76437,
        "a_first_interest_cents": 6000,
        "a_first_balance_cents": 1152815,
        "a_last_payment_cents": 53182,
        "a_starting_balance_cents": 1200000,
        "b_interest_cents": 0,
        "b_fees_cents": 0,
        "b_cost_cents": 0,
        "b_outlay_cents": 1200000,
        "b_balance_cents": 0,
        "b_principal_cents": 1200000,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 1200000,
        "b_payment_cents": 53185,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 23,
        "b_lifetime_cost_cents": 0,
        "b_first_interest_cents": 0,
        "b_first_balance_cents": 1146815,
        "b_last_payment_cents": 29930,
        "b_starting_balance_cents": 1200000,
        "cost_saving_cents": 76437,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": 0
      }
    },
    {
      "id": "AUC-R01",
      "kind": "refinance",
      "title": "Compare refinancing without silently resetting the term",
      "purpose": "Compare keeping 24 years 7 months with a distinct 30-year extension.",
      "inputs": {
        "loan": "500000",
        "years": "24",
        "months": "7",
        "horizon": "60",
        "extend": "yes",
        "extended_years": "30",
        "extended_months": "0",
        "a_rate": "7",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "1800",
        "b_financed_fee": "1200",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 16758711,
        "a_fees_cents": 0,
        "a_cost_cents": 16758711,
        "a_outlay_cents": 21336600,
        "a_balance_cents": 45422111,
        "a_principal_cents": 4577889,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21336600,
        "a_payment_cents": 355610,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 295,
        "a_lifetime_cost_cents": 54905182,
        "a_first_interest_cents": 291667,
        "a_first_balance_cents": 49936057,
        "a_last_payment_cents": 355842,
        "a_starting_balance_cents": 50000000,
        "b_interest_cents": 14306240,
        "b_fees_cents": 300000,
        "b_cost_cents": 14606240,
        "b_outlay_cents": 19697640,
        "b_balance_cents": 44908600,
        "b_principal_cents": 5211400,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 19517640,
        "b_payment_cents": 325294,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 295,
        "b_lifetime_cost_cents": 46142066,
        "b_first_interest_cents": 250600,
        "b_first_balance_cents": 50045306,
        "b_last_payment_cents": 325630,
        "b_starting_balance_cents": 50120000,
        "cost_saving_cents": 2152471,
        "first_break_even_month": 8,
        "sustained_break_even_month": 8,
        "offset_threshold_cents": null,
        "extended_interest_cents": 14548524,
        "extended_fees_cents": 300000,
        "extended_cost_cents": 14848524,
        "extended_outlay_cents": 18209700,
        "extended_balance_cents": 46638824,
        "extended_principal_cents": 3481176,
        "extended_ongoing_fees_cents": 0,
        "extended_repayments_cents": 18029700,
        "extended_payment_cents": 300495,
        "extended_payoff_months": 360,
        "extended_lifetime_cost_cents": 58357937,
        "extended_cost_saving_cents": 1910187,
        "extended_first_break_even_month": 8,
        "extended_sustained_break_even_month": 8
      }
    },
    {
      "id": "AUC-R02",
      "kind": "refinance",
      "title": "A refinance at the same rate adds costs",
      "purpose": "Fees prevent cost recovery within the chosen horizon.",
      "inputs": {
        "loan": "600000",
        "years": "30",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "6",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "1500",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 17416442,
        "a_fees_cents": 0,
        "a_cost_cents": 17416442,
        "a_outlay_cents": 21583800,
        "a_balance_cents": 55832642,
        "a_principal_cents": 4167358,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 21583800,
        "a_payment_cents": 359730,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 360,
        "a_lifetime_cost_cents": 69503135,
        "a_first_interest_cents": 300000,
        "a_first_balance_cents": 59940270,
        "a_last_payment_cents": 360065,
        "a_starting_balance_cents": 60000000,
        "b_interest_cents": 17416442,
        "b_fees_cents": 150000,
        "b_cost_cents": 17566442,
        "b_outlay_cents": 21733800,
        "b_balance_cents": 55832642,
        "b_principal_cents": 4167358,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 21583800,
        "b_payment_cents": 359730,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 360,
        "b_lifetime_cost_cents": 69653135,
        "b_first_interest_cents": 300000,
        "b_first_balance_cents": 59940270,
        "b_last_payment_cents": 360065,
        "b_starting_balance_cents": 60000000,
        "cost_saving_cents": -150000,
        "first_break_even_month": null,
        "sustained_break_even_month": null,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R03",
      "kind": "refinance",
      "title": "A lower rate recovers documented switching costs",
      "purpose": "Cost break-even includes fees and residual debt, not just the monthly payment difference.",
      "inputs": {
        "loan": "400000",
        "years": "20",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "7",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "5.8",
        "b_monthly_fee": "0",
        "b_annual_fee": "200",
        "b_cash_fee": "2000",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 13109817,
        "a_fees_cents": 0,
        "a_cost_cents": 13109817,
        "a_outlay_cents": 18607200,
        "a_balance_cents": 34502617,
        "a_principal_cents": 5497383,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 18607200,
        "a_payment_cents": 310120,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 240,
        "a_lifetime_cost_cents": 34428577,
        "a_first_interest_cents": 233333,
        "a_first_balance_cents": 39923213,
        "a_last_payment_cents": 309897,
        "a_starting_balance_cents": 40000000,
        "b_interest_cents": 10765638,
        "b_fees_cents": 300000,
        "b_cost_cents": 11065638,
        "b_outlay_cents": 17218560,
        "b_balance_cents": 33847078,
        "b_principal_cents": 6152922,
        "b_ongoing_fees_cents": 100000,
        "b_repayments_cents": 16918560,
        "b_payment_cents": 281976,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 240,
        "b_lifetime_cost_cents": 28274410,
        "b_first_interest_cents": 193333,
        "b_first_balance_cents": 39911357,
        "b_last_payment_cents": 282146,
        "b_starting_balance_cents": 40000000,
        "cost_saving_cents": 2044179,
        "first_break_even_month": 6,
        "sustained_break_even_month": 6,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R04",
      "kind": "refinance",
      "title": "The current fixed rate expires in one year",
      "purpose": "Current loan payment changes in month 13; compare its entire modelled path.",
      "inputs": {
        "loan": "450000",
        "years": "25",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "4",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "12",
        "a_revert_rate": "7.5",
        "b_rate": "6",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "1500",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 14533948,
        "a_fees_cents": 0,
        "a_cost_cents": 14533948,
        "a_outlay_cents": 18656868,
        "a_balance_cents": 40877080,
        "a_principal_cents": 4122920,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 18656868,
        "a_payment_cents": 237527,
        "a_after_rate_payment_cents": 329303,
        "a_payoff_months": 300,
        "a_lifetime_cost_cents": 52689589,
        "a_first_interest_cents": 150000,
        "a_first_balance_cents": 44912473,
        "a_last_payment_cents": 329304,
        "a_starting_balance_cents": 45000000,
        "b_interest_cents": 12865573,
        "b_fees_cents": 150000,
        "b_cost_cents": 13015573,
        "b_outlay_cents": 17546160,
        "b_balance_cents": 40469413,
        "b_principal_cents": 4530587,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 17396160,
        "b_payment_cents": 289936,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 300,
        "b_lifetime_cost_cents": 42130550,
        "b_first_interest_cents": 225000,
        "b_first_balance_cents": 44935064,
        "b_last_payment_cents": 289686,
        "b_starting_balance_cents": 45000000,
        "cost_saving_cents": 1518375,
        "first_break_even_month": 32,
        "sustained_break_even_month": 32,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R05",
      "kind": "refinance",
      "title": "An initial saving reverses after a new introductory rate ends",
      "purpose": "First cost crossing is not a guarantee that the benefit survives to the chosen horizon.",
      "inputs": {
        "loan": "400000",
        "years": "25",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "3",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "500",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "12",
        "b_revert_rate": "9"
      },
      "expected": {
        "a_interest_cents": 11436060,
        "a_fees_cents": 0,
        "a_cost_cents": 11436060,
        "a_outlay_cents": 15463260,
        "a_balance_cents": 35972800,
        "a_principal_cents": 4027200,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 15463260,
        "a_payment_cents": 257721,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 300,
        "a_lifetime_cost_cents": 37315982,
        "a_first_interest_cents": 200000,
        "a_first_balance_cents": 39942279,
        "a_last_payment_cents": 257403,
        "a_starting_balance_cents": 40000000,
        "b_interest_cents": 14826770,
        "b_fees_cents": 50000,
        "b_cost_cents": 14876770,
        "b_outlay_cents": 18176108,
        "b_balance_cents": 36700662,
        "b_principal_cents": 3299338,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 18126108,
        "b_payment_cents": 189685,
        "b_after_rate_payment_cents": 330206,
        "b_payoff_months": 300,
        "b_lifetime_cost_cents": 57425136,
        "b_first_interest_cents": 100000,
        "b_first_balance_cents": 39910315,
        "b_last_payment_cents": 329794,
        "b_starting_balance_cents": 40000000,
        "cost_saving_cents": -3440710,
        "first_break_even_month": 1,
        "sustained_break_even_month": null,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R06",
      "kind": "refinance",
      "title": "A lower rate cannot recover a large fee on a short remaining loan",
      "purpose": "After-payoff horizon preserves full costs and no ongoing debt.",
      "inputs": {
        "loan": "12000",
        "years": "1",
        "months": "0",
        "horizon": "60",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "5",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "500",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 39358,
        "a_fees_cents": 0,
        "a_cost_cents": 39358,
        "a_outlay_cents": 1239358,
        "a_balance_cents": 0,
        "a_principal_cents": 1200000,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 1239358,
        "a_payment_cents": 103280,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 12,
        "a_lifetime_cost_cents": 39358,
        "a_first_interest_cents": 6000,
        "a_first_balance_cents": 1102720,
        "a_last_payment_cents": 103278,
        "a_starting_balance_cents": 1200000,
        "b_interest_cents": 32747,
        "b_fees_cents": 50000,
        "b_cost_cents": 82747,
        "b_outlay_cents": 1282747,
        "b_balance_cents": 0,
        "b_principal_cents": 1200000,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 1232747,
        "b_payment_cents": 102729,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 12,
        "b_lifetime_cost_cents": 82747,
        "b_first_interest_cents": 5000,
        "b_first_balance_cents": 1102271,
        "b_last_payment_cents": 102728,
        "b_starting_balance_cents": 1200000,
        "cost_saving_cents": -43389,
        "first_break_even_month": null,
        "sustained_break_even_month": null,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R07",
      "kind": "refinance",
      "title": "An exact half-cent interest charge rounds up",
      "purpose": "The first current-loan interest charge is 501.5 cents, which rounds to 502 cents.",
      "inputs": {
        "loan": "1003",
        "years": "1",
        "months": "0",
        "horizon": "12",
        "extend": "no",
        "extended_years": "0",
        "extended_months": "0",
        "a_rate": "6",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "5.99",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 3292,
        "a_fees_cents": 0,
        "a_cost_cents": 3292,
        "a_outlay_cents": 103592,
        "a_balance_cents": 0,
        "a_principal_cents": 100300,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 103592,
        "a_payment_cents": 8632,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 12,
        "a_lifetime_cost_cents": 3292,
        "a_first_interest_cents": 502,
        "a_first_balance_cents": 92170,
        "a_last_payment_cents": 8640,
        "a_starting_balance_cents": 100300,
        "b_interest_cents": 3284,
        "b_fees_cents": 0,
        "b_cost_cents": 3284,
        "b_outlay_cents": 103584,
        "b_balance_cents": 0,
        "b_principal_cents": 100300,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 103584,
        "b_payment_cents": 8632,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 12,
        "b_lifetime_cost_cents": 3284,
        "b_first_interest_cents": 501,
        "b_first_balance_cents": 92169,
        "b_last_payment_cents": 8632,
        "b_starting_balance_cents": 100300,
        "cost_saving_cents": 8,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": null
      }
    },
    {
      "id": "AUC-R08",
      "kind": "refinance",
      "title": "A longer zero-interest term lowers payments without reducing costs",
      "purpose": "The extended option has lower payments and more debt remaining, with no borrowing-cost saving.",
      "inputs": {
        "loan": "120000",
        "years": "10",
        "months": "0",
        "horizon": "60",
        "extend": "yes",
        "extended_years": "20",
        "extended_months": "0",
        "a_rate": "0",
        "a_monthly_fee": "0",
        "a_annual_fee": "0",
        "a_cash_fee": "0",
        "a_financed_fee": "0",
        "a_offset": "0",
        "a_change_after": "0",
        "a_revert_rate": "0",
        "b_rate": "0",
        "b_monthly_fee": "0",
        "b_annual_fee": "0",
        "b_cash_fee": "0",
        "b_financed_fee": "0",
        "b_offset": "0",
        "b_change_after": "0",
        "b_revert_rate": "0"
      },
      "expected": {
        "a_interest_cents": 0,
        "a_fees_cents": 0,
        "a_cost_cents": 0,
        "a_outlay_cents": 6000000,
        "a_balance_cents": 6000000,
        "a_principal_cents": 6000000,
        "a_ongoing_fees_cents": 0,
        "a_repayments_cents": 6000000,
        "a_payment_cents": 100000,
        "a_after_rate_payment_cents": null,
        "a_payoff_months": 120,
        "a_lifetime_cost_cents": 0,
        "a_first_interest_cents": 0,
        "a_first_balance_cents": 11900000,
        "a_last_payment_cents": 100000,
        "a_starting_balance_cents": 12000000,
        "b_interest_cents": 0,
        "b_fees_cents": 0,
        "b_cost_cents": 0,
        "b_outlay_cents": 6000000,
        "b_balance_cents": 6000000,
        "b_principal_cents": 6000000,
        "b_ongoing_fees_cents": 0,
        "b_repayments_cents": 6000000,
        "b_payment_cents": 100000,
        "b_after_rate_payment_cents": null,
        "b_payoff_months": 120,
        "b_lifetime_cost_cents": 0,
        "b_first_interest_cents": 0,
        "b_first_balance_cents": 11900000,
        "b_last_payment_cents": 100000,
        "b_starting_balance_cents": 12000000,
        "cost_saving_cents": 0,
        "first_break_even_month": 0,
        "sustained_break_even_month": 0,
        "offset_threshold_cents": null,
        "extended_interest_cents": 0,
        "extended_fees_cents": 0,
        "extended_cost_cents": 0,
        "extended_outlay_cents": 3000000,
        "extended_balance_cents": 9000000,
        "extended_principal_cents": 3000000,
        "extended_ongoing_fees_cents": 0,
        "extended_repayments_cents": 3000000,
        "extended_payment_cents": 50000,
        "extended_payoff_months": 240,
        "extended_lifetime_cost_cents": 0,
        "extended_cost_saving_cents": 0,
        "extended_first_break_even_month": 0,
        "extended_sustained_break_even_month": 0
      }
    }
  ]
}
