Methodology › Known limits

Known limits

Every calculation record in RetireGolden's catalog states where it simplifies and what it leaves out. This page gathers those statements in one list.

950 limit statements across 285 calculation records. Read from the engine's calculation record files at engine commit 2624dbdba9fd, committed 2026-10-11.

Each list is the record's own, worded as the engine publishes it. Under each record title are the catalog pages it appears on, where its formula, its tests and its review are linked. The simplifications the model makes by design are described on the app's How RetireGolden is tested page, and the methodology page counts these statements by group.

Limits, by group

Spending and withdrawals

  • Amortization-based withdrawal, growing annuity-due payment

    Catalog: Spending base annual

    • The chosen expected return is an assumption, not proven by the identity
    • The payment is the ABW policy's base spending before guardrail adjustments, written by annualLifestyleLayers as baseAnnualNominal; under other spending policies baseSpending is not this formula
  • ABW expected real return: fixed, TIPS yield, or CAPE-blended

    Feeds: Spending base annual

    • The CAPE branch treats the cyclically adjusted earnings yield as the equity real return, an ERN/TPAW-style planning convention rather than a forecast
    • Defaults come from ABW_DEFAULTS; an undefined policy resolves to the fixed 3.8% (the VPW global 60/40 rate)
    • The schema bounds CAPE, the equity share and the bond yield before the function runs; the function itself does not validate
    • The worksheet says none yet: no census family carries the expected return. The traced consumer is the ledger, which resolves it once (simulate.ts) and amortizes every year's payment at it (annualLifestyleLayers.ts, abwAnnualPayment), so spending-base-annual is named as the nearest fed family
  • Risk-based guardrail: one year's cut, raise or hold against real-balance thresholds

    Catalog: Spending guardrail factor annual

    Feeds: Monte carlo guardrail action counts, Monte carlo max cut depth percentiles, Display guardrail balance thresholds

    • Thresholds come from the shared-path solver (montecarlo/riskBasedGuardrails.ts); a policy whose thresholds are absent, zero or inverted holds, so the mode never acts on unsolved numbers
    • The dollar thresholds the pages print (display-guardrail-balance-thresholds) are this step's L and U on the first-year anchor, published by montecarlo/riskBasedGuardrails.ts#guardrailThresholdDollars (the record guardrail-threshold-dollars); at a zero starting balance the anchor is the first year the portfolio has a balance, which only a simulation knows
    • Same fixed step and clamp semantics as the withdrawal-rate step; clampRange is module-private and reached through nextBalanceGuardrailMultiplier
    • The Monte Carlo action counts and cut-depth percentiles aggregate this decision's action and multiplier exactly as they do for the withdrawal-rate mode
  • Total spending with tax and penalties

    Catalog: Display total spending annual

    • Gross of incomes: it is what the year paid out, not what the portfolio had to supply (portfolio-need-annual)
    • The association is part of the figure: expenses.total + (tax + penalties) differs in the last binary digit on some inputs (40,477.35, 18,353.95 and 539.21 give 59,370.51 left to right and 59,370.509999999995 grouped the other way)
  • Upside miss: upside spending not funded

    Catalog: Display upside shortfall annual

    • None beyond the layer attribution's own (spending-layer-shortfall-attribution); the page's show-or-blank test for the Layer miss cell reads the three engine figures separately rather than adding the four shortfalls, which renders the same cell in every case
  • Upside spending: intended spending above the target layer

    Catalog: Display upside spending annual

    • Intended, not funded: a guardrail cut or a portfolio shortfall does not reduce it; the unfunded part is display-upside-shortfall-annual
  • Risk-based guardrail thresholds in dollars

    Catalog: Display guardrail balance thresholds

    • The published base equals the ledger's anchor only because the ledger's first year has an inflation factor of exactly 1 and adds the same rows in the same order; an evidence case pins the ledger's first-year action on either side of B (a cut at 100.01 percent, a hold at 99.99).
    • At a zero starting balance the anchor is known only by simulating (and varies by path in Monte Carlo), so no dollars are published.
    • The percents were solved for the balances at the time of the solve; after a balance edit they still act, as percents of the new balance, until the thresholds are solved again.
    • The rounding is floating point: at three of the solver's 1,024 lattice points the product lands just below a half and rounds down (76.62 where the exact 76.625 rounds half up to 76.63), at most 0.01 percent of the balance, about a fortieth of the solver's own step.
  • Annual net portfolio need

    Catalog: Portfolio need annual

    Feeds: Spending shortfall annual

    • Asserted at annualYearResultAssembly, the function that computes the field, with the worksheet's four year-row components, and separately on a real simulatePlan run where the published need equals its own row's published expenses, tax, penalties and incomes
    • The floor case the worksheet names (the same outflows against $120,000 of income) is asserted at the same function, because the published need must be exactly 0 rather than the negative surplus
    • Penalties are a separate term from tax and are not inside it; omitting them is the worksheet's first wrong reading
  • SEPP active in an attained-age year

    Feeds: SEPP distribution annual

    • Age 60 is an explicit annual approximation of 59.5: the annual model carries no half-year ages, so a series statute would end midyear ends at the year boundary here
    • Busting the series is not modeled: the engine assumes the schedule is honored and charges no retroactive penalties
    • The rule decides whether the series runs, not how much it pays; the two method records carry the amounts
  • SEPP amortization-method annual amount

    Catalog: SEPP distribution annual

    • The payment is FIXED at the first year: recomputing it from a later balance would make a supposedly fixed amortization payment vary
    • Single Life is the engine's stated convention among the three tables Notice 2022-6 permits, and it is the shortest at every age, so this sizes the largest payment any permitted table would allow rather than the smallest; no beneficiary-specific table election is claimed
    • The 5% rate is the module default and clears the statutory ceiling; a caller may pass a different permitted rate
  • SEPP RMD-method annual amount

    Catalog: SEPP distribution annual

    • The Uniform Lifetime Table is not an alternative here: the published parameters carry no age-55 entry for it, and the module adopts Single Life for both supported methods
    • The published entry is taken as published; a fractional age is floored to the table's whole age rather than interpolated
    • Unlike the amortization method this payment varies year to year, so a test that holds it constant is asserting the wrong method
  • Solved spending as an initial withdrawal rate

    Catalog: Solved initial withdrawal rate pct

    • The solved amount is base spending under the plan's own phases, taxes and horizon, while the published rules' rates are constant-real spending over the same base, so the row compares a plan-specific answer with rules of thumb, as the page says.
    • The other association, (M · 100) / B, differs in the last binary digit on some inputs (4.1866666666666665 against 4.186666666666667 at $62,800 over $1,500,000); the printed two decimals agree.
  • Sustainable spending rounded down to the hundred

    Catalog: Solved spending rounded to hundred, Sustainable spending result max base annual

    Feeds: Sustainable spending result spending slack dollars, Solved initial withdrawal rate pct, Spending shape delta vs flat

    • Under fixed-target spending the rounded amount is not run on its own. That it passes is the decision's assumption, measured and not proven: every one of the 109 published amounts of the example plans and their shape solves re-simulates feasible, as do 210 fixed-target balance variants (0.70 to 1.30 times) of ten Marketplace-heavy or early-retirement examples, and a scan of every $10 level in the $3,000 below the answer on six Marketplace examples found none that fails. The mechanism it does not exclude is a lower spend dropping the household's income below 100 percent of the poverty line, where the premium tax credit is lost and the full premium is budgeted.
    • When the rounded amount is published, the evidence figures on the spending page and the unpriced premium-credit years describe the run at feasibleBaseAnnual, not a run at the published amount (under guardrails that run also passed, but its own evidence is not published).
    • Under guardrails a check of the rounded amount that the search did not already make is one more simulation after the search, outside maxSimulations, and it is counted in simulationCount.
    • A published amount under the current base by less than $100 can belong to a plan that sustains its own spending (the current base passed and is the answer, rounded down); the spending page judges that on feasibleBaseAnnual, and so should any other reader of the slack.
    • The search resolves to about $500, so answers less than $100 apart can publish the same amount, and a comparison of two plans can tie there.
  • Annual base spending after the guardrail cut

    Catalog: Spending base annual

    Feeds: Spending total annual

    • The same published field is also the output of abw-annuity-due-payment, which computes it under the ABW spending policy; this record is the guardrail-policy composition of the same field, so the family carries two records rather than one
    • The worksheet's two cases are states annualGuardrailFundingPlan produces, and the evidence runs the real phase for a live household: a cutting year holding an incoming 0.75 (its withdrawal rate at its starting rate, so the policy holds, as in any year after a cut), where the phase funds the target layer at the factor and no upside because the upside budget is max(0, multiplier - 1) x the guardrail step basis; and a year with no policy active, where the full target layer and both upside layers fund. The first derivation paired a 0.75 cut with $4,000 of funded ideal and $1,500 of funded excess, which the YearExpenses.baseSpending comment rules out; it was re-derived on 2026-09-22 and re-approved by the reviewer, and the min(1, factor) cap is also asserted at a held multiplier of 1.4
    • The $8,000 one-time goal is passed to annualExpenseSummary beside the phase's funded layers and asserted to be absent from baseSpending while present in expenses.total, which is the worksheet's second wrong reading
  • Whose age the spending phases follow

    Feeds: Spending base annual

    • A convention the household chooses, stated on the Spending page; the presets (spending-shape-preset-compilation, spending-shape-comparison) start at the named person's retirement age
    • A JSON file whose people were reordered by another tool before it was ever loaded at v7 is read by position that one time: its intent was never stored
  • Annual real spending drift compiled to five-year phase rows

    Feeds: Spending base annual, Spending shape delta vs flat, Sustainable spending result max base annual, Sustainable spending result spending slack dollars

    • On the amortization-based-withdrawal path the compiled phases do not reach spending-base-annual: annualLifestyleLayers scales the base by the phase multiplier and then, when ABW is active, replaces it with abwAnnualPayment and zeroes the other lifestyle layers. The feed holds on the ordinary lifestyle path, for spending-shape-delta-vs-flat and for the sustainable-spending solver, which run shapes as plan data.
    • Five-year steps hold the fully compounded multiplier flat between step ages, an editable approximation to annual drift
    • The first row is one step after retirement, never at retirement age itself
    • Retirement age is rounded and clamped into [40, 105] so every row satisfies the phase schema (fromAge 40..110, multiplier 0..3)
    • The rows are plan data: the planner-ui SpendingSection writes them into expenses.phases and the solver page runs the sustainable-spending solver per shape; no engine module calls this function, so the named families are fed through the plan the UI writes
  • Spending shapes compared with constant-real spending

    Catalog: Spending shape delta vs flat

    • Each shape is a separate solve that resolves to about $500, so a difference smaller than that is not meaningful.
    • Shapes use the retirement age of the person the phases follow (65 when unset); a plan with amortized spending is compared as fixed-target versions of itself.
    • Under guardrail spending a row can publish the exact amount that passed rather than the rounded one (see solved-spending-rounding); its difference is still taken between the amounts shown.
  • Named spending shapes compiled to phase rows

    Feeds: Spending shape delta vs flat, Spending base annual

    • On the amortization-based-withdrawal path the compiled phases do not reach spending-base-annual: annualLifestyleLayers scales the base by the phase multiplier and then, when ABW is active, replaces it with abwAnnualPayment and zeroes the other lifestyle layers. The feed holds on the ordinary lifestyle path, for spending-shape-delta-vs-flat and for the sustainable-spending solver, which run shapes as plan data.
    • Presets compile to visible phase rows at creation time and never live-link a saved plan to the research constants; changing SMIRK_ANNUAL_REAL_DELTA_PCT changes only newly compiled plans
    • The smile calibration is a two-step approximation of Blanchett's average path without an explicit late-life step-up
    • frontLoaded passes the retirement age through unrounded (clamped into [40, 100]) while the smirk path rounds it
    • No engine module calls this function; the UI writes the rows into expenses.phases and the solver page evaluates each shape, so the named families are fed through plan data
  • Annual funding shortfall after the HECM backstop

    Catalog: Spending shortfall annual

    • Asserted on a real simulatePlan run that realizes the worksheet's four inputs: a $10,000 cash account, a $12,000 lifestyle need, and a last-resort HECM whose principal limit is exactly $1,500, leaving the worksheet's $500. Plan assumptions beyond the worksheet's inputs: a single 64-year-old filing single in KY with a zero state rate, zero inflation, zero account and property return, a zero pre-65 premium so healthcare charges nothing, a primary residence worth $30,000 carrying the HECM at the schema's minimum 5 percent principal limit with a zero growth rate, and no earlier projection year, so the worksheet's "earlier-year shortfalls 0" holds by construction
    • The worksheet declines to state the depletion tolerance numerically, so the test imports ANNUAL_FUNDING_TOLERANCE_PLAN_DOLLARS from production, confirms the $500 exceeds it, and only then asserts the run's depletionYear
    • The year's pre-HECM gap is asserted separately from the published figure, because publishing the pre-HECM gap is the worksheet's first wrong reading
  • Annual net expense total

    Catalog: Spending total annual

    Feeds: Portfolio need annual, Display total spending annual

    • Asserted at the annualExpenseSummary seam with the worksheet's eight member amounts, because the worksheet states them as published year-row components: a single real plan cannot present a chosen base spending, one-time goal, debt service, property cost, healthcare charge, insurance premium, gross care cost and LTC benefit at those exact values simultaneously
    • Cross-checked on a real simulatePlan run: the published total of that year row equals the same row's own eight published members in the same association
    • The guardrail factor and intended spending are asserted NOT to enter: the test drives the seam with a factor of 0.90 and an intended request of $100,000 and shows neither changes the total
  • Withdrawal-rate guardrail: one year's cut, raise or hold of the discretionary multiplier

    Catalog: Spending guardrail factor annual

    Feeds: Monte carlo guardrail action counts, Monte carlo max cut depth percentiles

    • The signal is gross recurring target spending over the start-of-year portfolio, not the net portfolio draw: a documented simplification that keeps the rule non-circular with the spending it decides
    • The step is a fixed adjustmentPct of the full discretionary layer, not a percentage of the previous multiplier
    • A cut or raise the clamp absorbs is reported as hold, so downstream counts reflect real moves only
    • clampRange is module-private; the evidence reaches it through nextGuardrailMultiplier
    • The Monte Carlo counts each year's action (run.ts) and takes 1 - guardrailFactor as the year's cut depth, so both aggregates are fed by this decision
  • Annual withdrawals partitioned by source-account category

    Catalog: Withdrawals by category annual

    Feeds: Withdrawals total annual

    • Asserted on a real simulatePlan run whose five accounts hold exactly the worksheet's five category amounts and whose spending exceeds their sum, so each account drains and its category equals its own opening balance. Plan assumptions beyond the worksheet's inputs: a single 76-year-old filing single in KY with a zero state rate, zero inflation, zero account return, no taxable yield, cost basis equal to balance, sequential withdrawal order, and a base lifestyle far above the portfolio
    • The worksheet's stated subset split ($8,000 of RMD, $3,000 of SEPP, $2,000 of forced inherited traditional inside $18,000 of traditional, and $1,000 of forced inherited Roth inside $7,000 of Roth) is NOT constructed. Those four amounts are each determined by the engine from age, balance and beneficiary facts, and no plan sets them to chosen values inside a traditional draw that must also equal $18,000. The run's own RMD is asserted instead to be a nonzero subset of the published traditional category, which is the claim the worksheet's first wrong reading denies
    • HSA is a withdrawal category like the other four, not a sixth non-withdrawal bucket
  • Annual withdrawal total

    Catalog: Withdrawals total annual

    • Asserted on a real simulatePlan run whose five accounts hold exactly the worksheet's five category amounts and whose spending exceeds their sum, so sequential ordering drains every one of them and the published categories are the worksheet's. Plan assumptions beyond the worksheet's inputs: a single 76-year-old filing single in KY with a zero state rate, zero inflation, zero account return, no taxable yield, cost basis equal to balance, sequential withdrawal order, and a base lifestyle far above the portfolio, so the year also publishes a shortfall
    • The year's traditional draw includes an RMD, so the test also asserts that the published total is the five categories and not the five categories with the RMD added again
    • Roth dollars are a member like any other; subtracting them as a tax offset is the worksheet's second wrong reading
    • The worksheet's plan carries no inherited account. The identity in a year with a non-qualified inherited Roth distribution (two 100 Roth draws with 140 of taxable earnings beside a 100 traditional draw: traditional 100, roth 200, total 300) is held by a projection test that checks the five categories add to the total in that year (projection/simulate.inheritedRegimeExecution.test.ts), added with decision D-INHERITED-ROTH-SLICE on 2026-09-25, when traditional stopped carrying the Roth earnings

Taxes

  • Capital-loss carryforward netting

    Catalog: Tax loss carryforward remaining annual, Tax loss carryforward used against gains annual, Tax loss carryforward used against ordinary annual

    Feeds: Tax total annual, Display loss carryforward used annual, Display tax free gains room annual

    • Ordinary income is never reduced directly: the deductible loss rides the capital-gain line, so subtracting the offset from ordinary income instead publishes a different AGI cascade
    • One pool, no short-term / long-term split, and the section 1212 preservation of a deduction wasted in a year with no taxable income to absorb it is not modeled; both are stated planning simplifications on the function
  • Cash-flow tax-character amount

    Catalog: Cash flow tax character amount

    Feeds: Tax total annual

    • Asserted at the production reconciler with the worksheet's 100,000 physical taxable-account withdrawal carrying a 30,000 capital-gain character and 20,000 of other physical sources, so the published cash source total stays 120,000. Plan assumptions beyond the worksheet's inputs: the account identity the line ids carry, and a matching set of funded uses so the year's cash identity still balances
    • The worksheet's third wrong reading is asserted as a rule rather than a number: the same reconciliation is run with a negative capital-gain character to show a realized loss is accepted and still contributes nothing to the cash totals
  • Conversion tax funding gcd reduction

    Feeds: Tax total annual

    • No direct census family: internal/counterfactualAnnualLiability.ts consumes the reducer when converting an annual liability into exact-cent evidence. tax-total-annual is the nearest liability family; the reduced pair is not a published tax. Invalid domain or unsafe reduced fields return null.
  • Capital-loss carryforward used in the year

    Catalog: Display loss carryforward used annual

    • When the year also realizes a net loss of its own, the figure exceeds the fall in the carried balance by that loss, which joined the pool before the $3,000 offset
    • The single-pool, $3,000-for-every-filing-status and 1212(b)(2) limits of the carryforward itself are carried by the carryforward records
  • Tax-free gains room: extra long-term gain at no extra federal tax

    Catalog: Display tax free gains room annual

    • Federal income tax only. State income tax on the gain is not included, nor a smaller ACA premium tax credit (the ledger books it as a higher net premium; if the credit was paid in advance, the part lost is paid back as federal tax at filing; the years with a modeled credit are marked), nor a Medicare premium surcharge two years later
    • This year only: gains the carryforward absorbs reduce what carries into later years
    • Everything else in the year is held fixed (withdrawals, the funding solve, state tax); the recomputation starts from the advisory input, whose federal tax can differ from the settled tax of the funding solve
    • Exact when federal tax does not fall as a gain is added, which holds for every input except an itemized charitable deduction bound by a percentage-of-AGI ceiling; there the search returns a gain at which tax has not risen, not necessarily the first point at which it would
    • The engine's carryforward limits apply: a single pool with no short- and long-term split, the $3,000 limit for every filing status, and no 1212(b)(2) preservation of a deduction unused in a zero-income year
    • The opening pool is rebuilt from the published netting; exact in real arithmetic, within a few units in the last binary place otherwise
    • Owner decision R2 (2026-09-25): before this record the page showed the 0% band room plus the remaining carryforward. That overstated the room at no tax whenever the gain would make Social Security taxable, use up the $3,000 loss deduction, shrink the senior deduction, or reach the net investment income tax threshold (the last two are not indexed while the 0% band is). year-result-ltcg-zero-headroom stays published as the 0% band room
  • Tax plus penalties for the year

    Catalog: Display tax plus penalties annual

    • None beyond those of tax and penalties, which their own records carry; the sum is written in the order the pages used, so the displayed figure did not change when it moved into the engine
  • Federal AMT screen

    Catalog: Tax AMT annual

    Feeds: Tax total annual

    • A planning screen, not a full Form 6251 claim: modeled add-backs are the section 63(c) standard deduction or itemized SALT plus the section 151 senior deduction, and the rest of the Form 6251 adjustments are out of scope
    • The pinned rate and exemption helpers are not exported, so the evidence asserts them through computeFederalTax. The worksheet's AMTI of 200,000 and regular tax of 20,000 are not themselves calculator inputs: the test reaches them from real inputs (130,275 of ordinary income, which after the 16,100 standard deduction leaves 114,175 of taxable income and exactly 20,000 of bracket tax, plus 69,725 of advanced amtPreferenceItems, which with the 16,100 standard-deduction add-back makes AMTI 200,000). Any other construction of the same two figures is a different set of inputs.
  • Federal long-term capital gain stacking

    Feeds: Tax total annual

    • No direct census family: the stacked preferential tax is a component of the published annual tax, not a separately published figure
    • The helper is not exported; the evidence asserts the published capitalGainsTax of computeFederalTax, reaching the worksheet's 45,000 of ordinary taxable income and 10,000 of preferential income from real income inputs net of the 2026 single standard deduction
  • Federal ordinary bracket tax

    Feeds: Tax total annual

    • No direct census family: the ordinary bracket tax is a component of the published annual tax, not a separately published figure
    • bracketTax is not exported; the evidence asserts the published ordinaryTax of computeFederalTax, reaching the worksheet's 60,000 of ordinary taxable income from an ordinary income of 60,000 plus the 2026 single standard deduction
  • Federal standard deduction with the age-65 addition

    Feeds: Tax total annual

    • No direct census family: the deduction is a component of the published annual tax, not a separately published figure
    • The OBBBA senior deduction is a separate allowance added to the elected base, so computeFederalTax's published `deduction` equals this composition only where the senior deduction is zero. The evidence asserts standardDeduction directly and then reads the composed figure back out of computeFederalTax at a MAGI past the senior-deduction phase-out, where the published seniorDeduction is 0.
  • Federal taxable Social Security tiers

    Feeds: Tax total annual

    • No direct census family: the taxable share is an input to the published annual tax and to AGI, not a separately published figure
    • The tier thresholds are unindexed by design, so more of a benefit becomes taxable as a nominal plan runs on; the record claims the tiering, not the threshold policy
  • MCP batch cumulative tax objective

    Catalog: MCP batch cumulative tax objective

    • Nominal and undiscounted, as the name cumulative says: a tax dollar paid in the last year counts the same as one paid in the first, so candidates that shift tax in time are ranked on nominal totals, not present values.
    • The mcp-v0.10.0 adapter (3197d359) added each year's tax and then its penalties to the running total; the engine adds each year's tax plus penalties as one term. The two orders can differ in the last binary digit, never by a cent on ledger-sized figures; on the worksheet's ledger they give the same double, which the evidence asserts, and RetireGolden-MCP #81's parity test holds them within a cent on its plans.
    • The engine function is the figure; which objective name selects it is RetireGolden-MCP code, covered by that repository's wiring test, not by this record.
  • Parameter provenance catalog

    Feeds: Tax total annual

    • No direct census family: actions/annualQcdTaxCharacterPostPass.ts reads the rmd-qcd entry as source provenance for QCD tax-character evidence feeding annual tax. This is a metadata dependency, not a numerical tax formula. The worksheet checks ordered IDs, count and uniqueness, not correctness or freshness of the summaries. Per-entry authorities need independent verification on refresh.
  • Projection summary estate heir tax

    Catalog: Estate heir income tax

    Feeds: Projection summary ending after tax estate

    • It sums the already resolved per-account tax rather than recomputing taxable bases or taxing gross balances a second time, and it must not subtract the charity amount again from the resolved total. The charity fraction reduces the taxable pre-tax base before the heir rate applies (240,000 x 0.9 x 0.22 = 47,520.00 on the worksheet's traditional row), and only a charity destination carries a nonzero fraction. The first derivation taxed the whole base (52,800.00) and was re-derived on that rule; the evidence pins both cases, 56,320.00 with the 10% charity bequest and 61,600.00 with no charity destination, and is green.
  • Projection summary lifetime taxes and penalties

    Catalog: Projection summary lifetime taxes and penalties

    Feeds: SWR rule result lifetime taxes and penalties, Scenario comparison cell

    • Penalties are a separate ledger field from tax, so summing taxes only, or adding penalties in the final year alone, understates the published figure. The valid domain is a finite projection-year sequence with finite annual dollar fields.
  • Relocation lifetime state local tax

    Catalog: Relocation lifetime state local tax

    Feeds: Insight state relocation lifetime state tax savings, Scenario comparison cell

    • Scope is income tax only: federal tax, property tax, sales tax and cost of living are outside this quantity, the annual lines are nominal and are never discounted, and dropping the split or baseline year understates the total. The worksheet's per-year lines are supplied by a deterministic state-tax calculator injected at the createStateTaxCalculator seam, so the recording, the row assembly and the sum are the real code path while the per-state tax data itself is not exercised here. The published total is the driver sum over every recorded line, and the per-year series is that recording restricted to the run horizon; the two agree when every recorded line lies inside the horizon, which the test’s scenario satisfies and which no known code path violates.
  • Relocation state tax driver savings

    Catalog: Relocation state tax driver savings

    • Changing one feature at a time makes this an attribution, not an additive decomposition: the four savings are not guaranteed to sum to total tax, and capital-gains savings are explicitly allowed to be negative. Reversing the counterfactual subtraction flips every sign. No result is claimed for unmodeled or flat-override rows, whose drivers are null. The pin is a non-exported function, so the evidence asserts it through the exported compareRelocationCandidates, with the worksheet's actual and neutralized year tables supplied by a calculator injected at the createStateTaxCalculator seam; any probe outside those tables is refused rather than guessed.
  • Scenario lifetime tax and penalties

    Catalog: Scenario lifetime tax, Scenario lifetime penalties

    Feeds: Scenario comparison cell

    • Penalties are excluded from tax by the result-type contract, so folding them into the tax channel changes both totals, and the delta belongs to the separate comparison-cell identity rather than to these side totals. The worksheet's annual tax and penalty rows for both sides are supplied as ProjectionResult literals at the simulate seam; the aggregation and the comparison assembly are the real functions.
  • State income tax figures already enacted for 2027 and later

    Feeds: Tax total annual, Relocation lifetime state local tax

    • Changes that apply only when a condition is met are not loaded, so the engine overstates the rate in any year one is triggered; each is decided on a known date and revisited then. Colorado’s TABOR temporary rate cut (C.R.S. 39-22-627): none for 2026, because the State Controller certified on September 8, 2026 that revenue fell $175.9 million short of the Referendum C cap; the next estimate is due October 1, 2027. Georgia’s rate cut, standard deduction and dependent exemption steps under HB 463: the Office of Planning and Budget’s determination as of December 1, 2026, and each December 1 after. Minnesota’s one-year first-tier cut: the commissioner, by December 15, 2026 (Minn. Stat. 290.036). Oklahoma’s quarter-point cuts: the State Board of Equalization, preliminary in December 2026 and final in February 2027, for 2028 at the earliest (68 O.S. 2355). Michigan’s one-year cut below 4.25%: the January 2027 revenue conference (MCL 206.51). South Carolina’s top-rate cut: the Board of Economic Advisors forecast in effect on February 15, 2027 (S.C. Code 12-6-510(C)(2)). Kansas’s rate cuts (the August 15 determination under K.S.A. 79-32,110c), Missouri’s top-rate cuts (RSMo 143.011.4) and West Virginia’s rate cut (the August 15, 2026 determination under W. Va. Code 11-21-4h): determinations not yet published. Indiana’s 0.05-point cuts from 2030 on a budget agency determination (IC 6-3-2-1(b)(9) to (15)); Mississippi’s cuts from 2031 when the reserve fund is full (2025 H.B. 1, section 2); North Carolina’s quarter-point cuts to 2.49% from 2035 when General Fund revenue exceeds its trigger (G.S. 105-153.7(a1)).
    • The District of Columbia’s own standard deduction for 2026 to 2029, loaded on 2026-09-28 under an emergency act, D.C. Act 26-416, rests from October 2, 2026 on the permanent D.C. Law 26-189, which ended its congressional review that day and applies from 2025: a basic deduction of 15,000 dollars single, 22,500 head of household and 30,000 joint plus the IRC 63(c)(3) addition, indexed from a 2025 base, and the federal deduction from 2030. The Office of Tax and Revenue’s 2026 D-40ES, written before the act, enters the federal 16,100, 24,150 and 32,200 dollars on its estimate worksheet; its 2026 D-40 booklet, due about January 2027, is checked against the loaded amounts.
    • Washington’s section 302(3) add-back is not modeled: a filer who owes the RCW 82.87 capital gains tax that year adds the Washington capital gains taxed under it, plus the RCW 82.87.060(1) deduction, back into the income-tax base, with the section 205 credit for the capital gains tax; the engine leaves every long-term gain out of the Washington base, as it leaves out the capital gains excise itself.
    • Two enacted changes have a vote pending and are loaded as current law, to be revisited when the vote is decided: Washington’s income tax from 2028, which Initiative 645 on the November 3, 2026 ballot would repeal, and the end of California’s top three bands from 2031, which Proposition 3 on the same ballot would prevent.
    • A figure a state statute indexes is held at its latest published amount in every later year, not projected at the plan’s inflation, so tax is overstated by more each year the projection runs: among the figures loaded here, Nebraska’s thresholds at their 2026 amounts from 2027 (the 2027 schedule is in draft only), Montana’s breaks at their 2027 amounts from 2028, Rhode Island’s surtax threshold at 1,000,000 dollars from 2028 and its Social Security limits at the 2025 amounts, Maryland’s deduction at its 2026 amounts from 2027, and Illinois’s exemption at 2,925 dollars for 2027 and 2028. This is the registered approximation neb-rev-stat-77-2715-03-3-indexed-brackets-held-nominal, which lists every figure the survey found indexed. Two deductions are the exception, each projected on its statute’s own schedule at the plan’s inflation: Washington’s (every second year from 2029, by one year’s inflation, rounded to 1,000 dollars) and the District of Columbia’s (every year from 2027 to 2029, cumulative from a 2025 base, rounded down to a multiple of 50 dollars, until the federal deduction returns in 2030).
    • The plan models single and married filing jointly. Head of household and qualifying surviving spouse need dependents, which the plan does not collect, so a state’s head-of-household schedule or deduction is used only on a state return whose filing status is set to head of household (in the planner, the state filing status under Assumptions, State tax worksheet facts), and Delaware’s new domicile test for the pension subtraction at 60 or older, which needs a domicile history the plan does not hold, is assumed to be met.
    • A state’s own rule for military retired pay and Survivor Benefit Plan annuities is modeled on a pension tagged Military retirement or Military survivor benefit: in full where the state’s rule is full (Alabama, Arizona, Arkansas, Connecticut, Hawaii, Illinois, Indiana, Iowa, Kansas, Louisiana, Maine, Massachusetts, Michigan, Minnesota, Mississippi, Nebraska, New Jersey, New York, North Dakota, Ohio, Oklahoma, Pennsylvania, Rhode Island, South Carolina, West Virginia and Wisconsin), capped or tested where it is (California, Colorado, Delaware, Georgia, Idaho, Maryland, Montana, New Mexico, Virginia and Vermont), as a credit in Utah, and for a survivor annuity in the District of Columbia and Missouri. What remains, each overstating tax unless it says otherwise. North Carolina’s full deduction for a retiree with 20 years of service or a medical retirement, or vested by August 12, 1989, and for that retiree’s survivor; Kentucky’s full exclusion of the share of a federal or military pension earned before 1998; and Oregon’s federal pension subtraction pro-rated by service before October 1, 1991: each turns on a service history the plan does not hold. Montana’s five-year window is read from the pension’s first payment, because the plan holds no residency start or claim history, and errs both ways (mt-mca-15-30-2120-3-n-military-retirement-subtraction). Georgia’s second $17,500 and Montana’s wage limit read earned income from wage streams only, as a recurring income names no person. A survivor annuity keeps the general retirement rule in Michigan, Oklahoma and Pennsylvania, and needs a plan code in Kansas, where the law does not plainly reach it; Nebraska excludes one in full through its public-pension flag although its statute does not name it, which may understate tax; Delaware’s treatment of one is not settled. A survivor’s share of a pension tagged Military retirement is priced as retired pay, not as a survivor annuity. New Mexico’s $30,000 is the 2025 law, and the 2026 session was not checked. An Idaho military retiree under 62 who is neither disabled nor working gets the lawful zero, but the year is marked incomplete. Vermont’s phase-out ratio is not rounded to two decimals as its worksheet rounds it, a difference of a few dollars. Railroad Retirement Act annuities are not a limit: every state subtracts them under 45 U.S.C. 231m (usc-45-231m-state-tax-bar).
  • Annual penalties: early withdrawal plus the IRC 4974 excise

    Catalog: Tax penalties annual

    Feeds: Portfolio need annual, Display total spending annual, Display tax plus penalties annual, Scenario lifetime penalties

    • Asserted twice. At the two component producers: annualFundingWithdrawalEffects reports 2,000 of penaltyExcludingRmdShortfallExcise on the worksheet's 20,000 pre-59.5 taxable traditional withdrawal, and computeRmdShortfallExcise prices the worksheet's 12,000 required against 4,000 distributed as an 8,000 shortfall and a 2,000 excise at the default 25-percent rate with no relief elected. And as the published penalties of a real simulatePlan 2026 row that carries both channels at once: a 50-year-old whose only portfolio is a traditional IRA and whose 16,000 of required lifestyle plus the 2,000 excise drive a need-based withdrawal of exactly 20,000 under a zero-rate test calculator, alongside an inherited Roth account whose completed five-year deadline observation (opening benefit 12,000, 4,000 distributed by the 2026 deadline) prices the excise without replaying any cash
    • Plan assumptions beyond the worksheet's inputs for that ledger year: filing single in KY at a zero state rate with a zero-rate test tax calculator, so tax is 0 and the whole need is spending plus penalties; the test asserts the 10-percent rate relation W = S + excise + 0.10 W closes at exactly 20,000
    • The worksheet's fourth wrong reading is asserted as a rule: the same withdrawal-effects call on an inherited traditional account reports a zero penalty
    • Restated 2026-09-30 and reviewed by Grok the same day: in an election year the elected IRA enters no beneficiary obligation. Asserted in simulate.spousalElectionYearOwnerRmd.test.ts on a 75-year-old spouse whose mid-2026 election takes effect: the owner RMD of 4,065.04 (100,000 / 24.6) is paid by 1,000 before the election and 3,065.04 after and is the one obligation, and the beneficiary figure of 6,689.19 (99,000 / 14.8) stays on the account's evidence as the trigger only, so the excise is 0 and not the 1,672.30 a second, unpaid obligation would charge
  • Annual realized gains, signed and composed

    Catalog: Tax realized gains annual

    Feeds: Tax total annual

    • Asserted at the exported assembly boundary with the worksheet's three signed components verbatim and every other assembly channel at zero, so nothing unstated can reach the published field. Plan assumptions beyond the worksheet's inputs: an empty balance-sheet snapshot and a zero ladder value, neither of which this field reads
    • The record covers the composition boundary only; each component's own arithmetic is evidenced by the withdrawal, rebalancing and retirement-action records
  • Annual composed tax

    Catalog: Tax total annual

    Feeds: Portfolio need annual, Surplus invested annual, Display tax plus penalties annual, Display total spending annual

    • The worksheet treats the federal and state amounts as outputs independently evidenced by their own worksheets and checks only the annual composition boundary, so the test composes two calculators that report the worksheet's stated 12,000 federal total and 3,000 state amount and asserts the composed 15,000 through both compute and computeResult. Those two calculators are test doubles standing in for the evidenced federal and state records; this record makes no claim about federal or state tax arithmetic
    • The 500 of penalties is asserted as excluded by composing the same calculators and showing the amount is unchanged: penalties never enter the calculator chain at all

Social Security

  • Covered earnings counted up to each year's contribution and benefit base, from 1951

    Feeds: Social security benefit annual

    • Each indexed year is floored to a dollar where 20 CFR 404.211(d)(3) rounds to the penny (cfr-20-404-211-d-3-indexed-earnings-nearer-penny), and the window leaves out the age-21 year and years from 62 to first entitlement (usc-42-415-b-2-b-ii-iii-initial-computation-base-window)
    • Eligibility before 1979 is refused, so the earliest window year is 1951 for a worker born from 1917 to 1929; the transitional guarantee for workers born 1917 to 1921 is not modeled
    • The old-start computation (20 CFR 404.240 through 404.243), which can count earnings from 1937 through 1950 for a worker born in 1929 or earlier, is not modeled: earnings before 1951 count for nothing here. SSA pays the highest PIA among the methods a worker qualifies for, so leaving it out can only understate the PIA, and only for a worker 97 or older in 2026
    • A year later than the last published base or wage index uses the latest published figure, and the result says so (usesStandInForFutureTables)
    • The PIA it yields is in eligibility-year dollars; the projection raises it by the cost-of-living increases since (pia-cost-of-living-since-eligibility)
  • Zero years in the averaged earnings

    Catalog: Social security computation summary counts

    • Counts the years this computation averaged, so it follows its computation-year window: always 35 years for a worker whose window has 40, the base years from 22 to 61 (usc-42-415-b-2-b-ii-iii-initial-computation-base-window)
  • Benefits received per dollar of Social Security tax paid

    Catalog: Social security FICA return ratio

    • The tax paid is restated for prices only, with no interest, while the future benefits are discounted at the chosen real rate
    • The benefits the person is paid on their own record, or on a former spouse's when larger (a divorced spouse's while unmarried: in a single household, or in a couple after the spouse's death); the insurance value of disability and survivor benefits, benefits paid to others on the record and a current spouse's benefit are left out
    • The benefits from the start year carry the earnings test on the person's wages; the benefits already received are counted as paid in full, since the plan holds no record of what was withheld before it starts
    • A benefit paid as a disability benefit from its onset is not compared, since the claim age the get-back is priced at would not start it
    • Benefits already received are counted at the start-year amount, a constant real amount, not as they were paid
    • The employer's share is shown beside it as context, not counted in the tax paid
  • Covered-work credit estimate

    Catalog: Social security credit estimate

    • Years before 1978 were credited by calendar quarter with $50 of wages in the quarter, which an annual amount cannot show; the estimate counts the most such a year could earn, one per $50 up to four
    • The $100 self-employment rule before 1978 is not applied separately
    • Not an insured-status determination: no quarter assignment, and no disability or survivor rules; the warning invites the user to enter the count
    • A year after 2026 uses the 2026 amount until SSA publishes its own
  • Consumer Price Index annual averages

    Feeds: Social security OASDI paid in

    • October 2025 was not collected; the 2025 average is the one published
    • A year after 2025 has no average, and the paid-in figure uses the plan's inflation from 2025 on
  • Delayed retirement credit factor

    Feeds: Social security benefit annual

    • No direct census family: the factor multiplies PIA on the way to the published annual benefit
    • Delayed credits apply to the worker's own retirement benefit only; spousal benefits earn none
    • The cap is supplied by the caller as the months from that person's NRA to age 70, so the record claims the credit rate and the cap behaviour, not the NRA schedule
  • Own benefit plus the separately reduced spouse excess

    Feeds: Social security benefit annual, Social security expected present value

    • One claim age serves the own and the spouse benefit, and a spouse benefit is paid only from the year both the claimant and the worker have reached their configured claim ages; the months within a year follow the payable-month rule of social-security-payable-months
    • A divorced spouse's benefit is paid from the calendar year of the first month the ex is 62 throughout, and the ledger pays that whole year, its annual convention for a first year (maritalBenefits.ts#isDivorcedSpouseEligible); an ex born in December after the 2nd starts it the next January, so the year the ex turns 62 pays only the own benefit (worksheet case I)
    • For people born before January 2, 1954, who could restrict an application to the spouse benefit, the one claim age cannot express that choice; they are priced as if they applied for both
    • A worker on disability benefits is taken to start at the claim age configured for him, not at the disability onset, and a claimant on disability benefits is priced with the same composition; 42 U.S.C. 402(q)(3)(C) and (D) govern a disabled claimant and are not modeled separately
    • The family maximum caps a current spouse's excess only; a divorced spouse's benefit is outside the family maximum, and no child benefits are modeled
    • The spouse reduction is credited with the months of the spouse benefit's own reduction period in which it was subject to an earnings-test deduction, the worker's excess charged to the family or the claimant's own, counted for that record (the current spouse, or that former-spouse entry) from the benefit's first month (poms-rs-00615-482-arf-crediting-months), and the credit takes effect in the claimant's full-retirement-age month (cfr-20-404-412-b-arf-effective-fra-month); the claim-milestone insight reconstructs the prior year from configured claim ages without that credit
    • A couple member's divorced-spouse benefit on a living ex's record starts no earlier than the January after the current spouse's death, and is reduced for the claimant's age in its first month (usc-42-402-b-1-C-divorced-spouse-after-widowhood)
  • Early claim reduction factor

    Feeds: Social security benefit annual

    • No direct census family: the factor multiplies PIA on the way to the published annual benefit
    • The two-band schedule is the worker retirement schedule; the spousal reduction (25/36 of 1% for the first 36 months) and the widow(er) reduction are different rules
  • Retirement/survivor family maximum from PIA

    Feeds: Social security benefit annual

    • The four band rates 150/272/134/175 percent are the retirement and survivor family maximum, not the disability family maximum, which SSA computes differently
    • The bend points are eligibility-year values (the year the worker attains 62 under familyMaximumEligibilityYearFromDobParts), not the benefit year; an eligibility year the table does not price falls back to the latest published triplet
    • RetireGolden models no child dependents, so capAuxiliaryForFamilyMaximum gives the whole room above the worker's PIA (not above the benefit the worker is paid; cfr-20-404-404-family-maximum-counts-the-worker-pia) to the single current-spouse auxiliary. Under this retirement and survivor maximum that room holds a spouse's whole original benefit less the dime rounding of the maximum (under 10 cents a month); the disability maximum of a worker on SSDI can leave no room and is not modeled (usc-42-403-a-6-ssdi-family-maximum). The worker's own benefit is never reduced by this ceiling
    • The dime floor is part of the published contract: the test compares the floored figure exactly and treats the unrounded sum as an intermediate
  • Normal retirement age endpoint

    Feeds: Social security benefit annual

    • Simplified to the birth year: the month-of-year refinements of the SSA schedule are not modeled, and a January 1 birth is handled by the separate effective-birth-year rule
    • The survivor (widow(er)) full retirement age is a different schedule, keyed to the year the survivor turns 60, so it runs two birth years behind this one and reaches 67 for survivors born 1962 and later; registered as usc-42-416-l-survivor-fra-age-60-attainment-cohorts
    • Current law may change; the record pins what the module states today
  • Social Security tax paid in, in today's dollars

    Catalog: Social security OASDI paid in

    Feeds: Social security FICA return ratio

    • Restated for prices only: no interest is credited on the tax paid, while the benefits it is compared with are discounted at a real rate
    • The self-employed credits of 2.7, 2.3 and 2.0 percent in 1984, 1985 and 1986 to 1989 were allowed against the combined OASDI and HI tax and are not allocated to OASDI by the source, so the self-employed figure for those years is high by at most those credits
    • The employer exemption of 2010 for certain new hires is employer-specific and not modeled
    • Years after the latest published CPI-U annual average, and the step from it to the start year, use the plan's inflation
    • The history is taken as taxed Social Security earnings: for a self-employed year, net earnings from self-employment, with no separate self-employment deduction
    • The projected work is the PIA computation's: its assumed earnings at their face amount on the latest published base and today's rates, and only the years its window counts, through the year the person turns 61; with an entered PIA there is no projected work
  • Social Security tax rates by year

    Feeds: Social security OASDI paid in

    • The self-employed credits of 1984 to 1989, which the source gives against the combined OASDI and HI tax, are not applied
    • A year after 2026 uses the 2026 rates, current law, until the table is extended
    • The rates are the general schedule, not every payer's own: for 2010 most employers were exempt from the employer's OASDI share on wages paid to certain qualified individuals hired after February 3, 2010 (the source's footnote c; 26 U.S.C. 3111(d), added by the HIRE Act, Pub. L. 111-147, section 101, and struck out in 2018), which the table does not model, so the 2010 employer rate is 6.2 percent where such wages bore 0. The same footnote's 2011 and 2012 two-point reduction for employees and the self-employed is applied: 4.2 and 10.4 percent
  • An earnings-history PIA raised by the cost-of-living increases since eligibility

    Feeds: Social security benefit annual

    • An entered PIA is taken to be in the first year's dollars already, as a PIA shown on a current SSA statement is
    • A year between the last announced increase and the projection's first year uses the plan's COLA assumption, a stand-in the projection warns about; the ledger's COLA from the first year on is social-security-cola-factor
    • The projection, the claim-milestone insight and the planner's Social Security pages read the start-year PIA through socialSecurity/piaFromEarnings.ts#resolveStreamPiaMonthly (social-security-pia-resolution); the planner's AIME explainer shows the eligibility-year computation
    • COLA_PCT_BY_YEAR ends with the increase effective December 2025. From 2027-01-01 the planner's first year is 2027, so every earnings-history PIA past eligibility takes the plan's COLA assumption for the December 2026 increase, with the projection's warning, until SSA's 2026 increase, announced in October 2026, is added to the table with the yearly parameter refresh
    • The PIA is not recomputed for later earnings (usc-42-415-f-2-post-entitlement-pia-recomputation)
  • PIA from AIME across the bend points

    Feeds: Social security benefit annual

    • The rounding is a floor, not a round-to-nearest; the worksheet's cross-both case happens not to distinguish them, so the evidence carries a separate discriminator that does
    • Bend points live in the SSA wage data, not in year2026: reading them from the tax parameters finds nothing
    • An eligibility year past the last published table falls back to the latest published bend points
  • Annual household Social Security benefit

    Catalog: Social security benefit annual

    • The own-claim-year case is constructible exactly as the worksheet now states it: a 1960 birth has FRA 67y0m, so a 64y3m claim is 33 months early and the factor is 1 - 33 x (5/9 of 1%) = 49/60, while the claim-age month of 3 pays 12 - 3 = 9 months in the claim year. The first derivation instead paired a 0.8 factor with those nine months (0.8 is exactly 36 months before FRA, whose claim-age month is 0 and which therefore pays all 12), and that was corrected on 2026-09-18; the incompatible pair is now the worksheet's first wrong reading, asserted as not matching
    • Beyond the worksheet's inputs the evidence plans fix, for the claim-year and later-year cases: a 1960-born single filer claiming at 64y3m on one plan whose projection starts in 2024, the year that birth attains 64, so the claim year is the first projection year and its COLA factor is exactly 1; zero inflation and zero return; a fixed 6%/year ssCola so the second projection year's factor is exactly 1.06; ssHaircut cutPct 5 from the start year; and a cash account to fund the year
    • The two-person case asserts the REPLACEMENT rule, so both people claim at their own FRA (claim and spousal factors 1) in the projection's first year, where the COLA factor is 1 and no haircut applies; the family maximum is left non-binding by the PIAs chosen
    • The earnings-test case is a separate 1962-born plan claiming at 64y0m, where the 0.8 factor and 12 payable months ARE the compatible pair, and is asserted in 2026 so the published parameters’ $24,480 below-FRA limit is unindexed; the wage row that drives it is ordinary income and is taxed, which does not enter this family
    • The family-charge cases (E5 and E7b) are a couple born in January 1964, both claiming at 62 in 2026 with no inflation, so every month of 2026 is in both reduction periods and the family maximum does not bind
    • The published field is the PAID benefit; the amount withheld is a separate field (ssEarningsTestWithheld), and the months withheld raise the benefit from its full-retirement-age month rather than being lost
    • Rounding: the excess earnings are reduced to the next lower dollar (42 U.S.C. 403(f)(3)); benefits and the partial-month shares are not rounded, where 20 CFR 404.304(f) reduces each monthly benefit, after all deductions, to the next lower multiple of $1, so a month can be up to a dollar above what SSA pays
    • Wages are the plan's wage rows, whole calendar years spread evenly over their months: there is no grace year and no non-service month (cfr-20-404-435-grace-year-monthly-earnings-test), only wage streams are earnings (usc-42-403-f-5-earnings-counted), and after the latest published year the exempt amounts grow at the plan's inflation (usc-42-403-f-8-earnings-test-exempt-amounts)
    • A claim at a whole age pays the whole calendar year it is attained (social-security-payable-months); the months before the claim month are paid and can be charged, but are not in the reduction period and are not credited
    • A worker's excess is charged against a household member's spouse benefit on his record; a former spouse's record carries no plan earnings, and a disability beneficiary is tested against substantial gainful activity instead of the earnings test
    • Restated 2026-09-27 (decision D-SS-LAW-2): the current-spouse candidate adds to the claimant’s own monthly benefit, held at the own PIA, the excess of half the higher PIA over the claimant’s own PIA reduced by the spousal factor (dual-entitlement-composition). Restated 2026-09-29 (decision D-SS-ANALYSIS-EARNINGS-TEST): the year is composed month by month where a month can differ, and the earnings test is charged month by month with the family charge, the FRA-year months, the dollar floor, reduction-period crediting and the adjustment from the FRA month, where it was one annual amount with rounded months and the adjustment from January. Both restatements were reviewed by Grok on 2026-09-29 (DOCS/calculations/reviews/REVIEW-2026-09-29-grok-3-after-769.md)
    • No discrepancy remains in the two-person case: the year function builds the current-spouse candidate as the claimant's own monthly benefit PLUS the capped spousal excess ($300 + $700 = $1,000) and replaces the running amount with that total, which is what a dually-entitled spouse is actually paid, so the household is $36,000 and the worksheet expects $36,000. The first derivation read the ledger comment's "replaces the running amount" as replacing the own benefit with the excess alone and expected $32,400; it was corrected on 2026-09-18, and $32,400 is now the worksheet's second wrong reading, asserted as not matching
  • Claim-age refinement to the month

    Catalog: Social security claiming sweep objective

    • Coordinate passes to a fixed point within a year of the whole-year winner: a month further away, or a combination that needs both claims moved at once, is not tried, and the page says "no month within a year of the whole-year pick ranks higher" rather than "optimal"
    • Bridge durability and survivor liquidity score a month that removes the bridge or survivor years on the estate change, as the sweep does, until the objective-policy change ranks them on one fixed window
    • Runs on request, 0.2 to 0.6 seconds on the example couples
  • Whole-plan Social Security claim-age sweep

    Catalog: Social security claiming sweep objective

    • The plan's own conversion strategy is held fixed: a bracket fill resizes to each claim age, a fixed schedule does not. The Optimize page's co-optimization re-optimizes conversions but tries only 62, full retirement age and 70, one stream at a time, on the estate with a 1,000-dollar margin (claim-age-co-optimization), so the two searches can pick different ages, and a gain found here is measured with the plan's own conversions
    • Whole years only, and at most two streams
    • A claim counts as already made when its claim year is before the start year, the ledger's annual convention: the ledger ignores the birth month, so a claim in the start year whose month has passed is still treated as open; and a claim at or after full retirement age that was never filed can be paid up to six months back (20 CFR 404.621(a)(2)), which the test treats as made, the conservative side
    • Withdrawing an application within 12 months of the first month of entitlement, repaying every benefit (20 CFR 404.640(b)(3), (b)(4)), and voluntary suspension from full retirement age (42 U.S.C. 402(z)) are not modeled
    • Where the premium tax credit cannot be priced in a year of the plan as entered, no row is ranked: a claim age moves the income the credit depends on (26 U.S.C. 36B(d)(2)(B)(iii)); ranking only the rows that leave that income unchanged was measured and is not safe in either direction (an equal stand-in credit changed three of eleven such winners on the example plans)
    • Bridge durability and survivor liquidity rank a row on the estate change when that row or the plan has no bridge or survivor years, within one ranking; each row says which of the two lacked them, and ranking both on one fixed window in today's dollars is a separate objective-policy change
    • A disability benefit from its onset has no claim age to sweep: the sweep holds it as the ledger pays it and ranks the other claim, and refuses only when every open claim is one. The benefits-only ranking prices a couple's claims as pairs of claim ages and cannot place a disability benefit on that grid, so it ranks no claim age for either person
  • Social Security claim already made

    Feeds: Social security claiming sweep objective, Claim age co optimization combinations evaluated

    • The birth-month convention: the test reads years only, so a claim whose month has already passed in the start year is still open, and a claim age's months never move the claim year (born 1964-06-15, a claim at 62y6m falls in 2026, open in 2026 and made from 2027)
    • A claim at or after full retirement age that was never filed can still be paid up to six months back (20 CFR 404.621(a)(2)); a claim year before the start year cannot be known to fall within those six months, so the test treats it as made, the conservative side
    • Withdrawing an application within 12 months of the first month of entitlement, repaying every benefit (20 CFR 404.640(b)(3), (b)(4); a withdrawn application is treated as never filed, 404.640(d)), is not modeled: a claim made stays made
    • Voluntary suspension from full retirement age to 70 (42 U.S.C. 402(z)) is not modeled, so a claim made cannot earn delayed credits here
  • Claiming break-even ages and cumulative benefits

    Catalog: Social security break even

    • The person's own retirement benefit only: no spouse, survivor or divorced-spouse benefit, no taxes, and no mortality, since every charted age is taken as reached
    • The earnings test on the person's own wages is charged against the own benefit alone, as if nothing else were paid on the record: for a couple's worker whose wages also reach a spouse benefit on his record this withholds more from his own benefit than the family charge would
    • Wages are the plan's wage rows, whole calendar years spread evenly over their months, with no grace year; only wage streams are earnings (usc-42-403-f-5-earnings-counted)
    • Whole-year claim ages, paid for the whole claim-age year, as the ledger pays a claim at a whole age
    • The crossing interpolates linearly between yearly totals; within a year the true running total steps monthly
    • The dollars are each year's own dollars, as the projection pays them; the chart does not deflate them to today's dollars
    • A benefit paid as a disability benefit from its onset has no claim age to compare, and the page says so instead of charting it
  • Social Security COLA factor

    Feeds: Social security benefit annual, Social security break even, Social security expected present value

    • Asserted at the plan level the comments state rather than by reading a private local: the evidence runs a real projection of a single stream already in force, with twelve payable months and no haircut and no earnings test, so the year's published benefit over the start year's IS the factor the phase received
    • The two modes are alternatives, never combined: a plan on matchInflation does not additionally apply the fixed rate
    • The worksheet's 2.8% is year2026.socialSecurity.colaPct used as the plan's fixed rate; the parameter figure is not itself the plan default
  • Benefits-only expected present value of Social Security

    Catalog: Social security expected present value

    Feeds: Social security FICA return ratio

    • Independent lifetimes on the SSA period table applied to the cohort
    • A person whose sex is 'average' has the 50/50 mixture of the two sexes' survival curves (survival-probability-product), so a single's value is exactly the mean of a man's and a woman's; a couple of two 'average' people is the average over the four equally likely sex pairings, not "an opposite-sex couple, order unknown", which would differ by up to 0.135 percent of a row on the examples' two such couples and change no top claim age at 0, 2 or 4 percent
    • Annual steps: a whole year of benefits in each year the survival weight reaches, and deaths in December of the death year, the ledger's convention
    • One claim age per person: a widow(er) is paid from the later of the year after the death and their own claim year, and cannot take the widow(er) benefit first and their own later, as in the ledger (usc-42-402-r-survivor-deemed-filing-exemption); the survivor switching analysis covers a widow(er) living alone
    • The earnings test is the ledger's, on the plan's wage rows: whole calendar years spread evenly over their months, with no grace year (cfr-20-404-435-grace-year-monthly-earnings-test); only wage streams are earnings (usc-42-403-f-5-earnings-counted); exempt amounts after the latest published year grow at the plan's inflation (usc-42-403-f-8-earnings-test-exempt-amounts)
    • Deterministic: the plan's flat inflation carries the wages, the exempt amounts and the COLA; Monte Carlo market paths are not priced here
    • A claim at a whole age pays the whole calendar year it is attained; its months before the first month of entitlement are paid in full and never charged, so never credited, since no excess is charged to a month for which the person is not entitled (42 U.S.C. 403(f)(1)(A); usc-42-403-f-1-earnings-test-month-charging, poms-rs-00615-482-arf-crediting-months)
    • No taxes, disability benefit, child benefit or lump-sum death payment
    • The family maximum is applied with the ledger's own helper (socialSecurity/familyMaximum.ts#currentSpouseMonthlyUnderFamilyMaximum): half the worker's PIA is held first to the maximum less that PIA (20 CFR 404.404), which is at least half the PIA less the rounding of the maximum to the dime, so with one spouse it binds by at most 10 cents a month
    • A death before 62 passes on the PIA as entered, as the survivor benefit calculation does
    • A couple member's former-spouse records are priced as the ledger prices them: a survivor record while married only after a remarriage at 60 or later, or with the remarriage age blank, which is read as no remarriage (cfr-20-404-335-ordinary-widow-eligibility); a remarriage before 60 is read as the current marriage and bars the benefit until the January after the current spouse's death; a living ex's record pays from that January (usc-42-402-b-1-C-divorced-spouse-after-widowhood); the plan holds no divorce date, so a divorce of two years or more is taken
    • Months withheld before the start year, for a claim already made, are not in the plan: every path starts with no crediting months
    • Benefits are scheduled in full unless the plan sets a haircut, and are worth their start-year amount in real terms unless the plan's COLA differs from its inflation
    • A claim already made is not re-ranked: withdrawal of an application within 12 months and voluntary suspension from full retirement age are not modeled, as in the claim-age sweep
  • Social Security payable months

    Feeds: Social security benefit annual

    • An annual-ledger approximation in age-year coordinates: the helper takes no birth month and cannot express an anniversary-year fraction
    • No administrative payment lag is modeled, which the comment states explicitly
  • The PIA a Social Security stream is paid from

    Catalog: Social security PIA annualized

    Feeds: Social security benefit annual

    • An entered PIA is taken to be in the first year's dollars already, as a PIA shown on a current SSA statement is
    • The yearly figure the couple primer prints is PIA x 12, the benefit at full retirement age, not the benefit at the claim age
  • Social Security bridge ladders: total cost

    Catalog: Social security bridge ladders total cost

    • The total is of the bridges the page offers. If a plan already holds a ladder under a bridge's own id whose years no longer cover its window, the page lists that bridge and counts its cost, but the add button leaves it out rather than add the id twice.
    • The Insights card that suggests a bridge prints its own total, which sizes only claimants with an entered monthly PIA; the page also sizes a claimant whose PIA comes from an earnings record, so the two totals can differ.
  • Social Security bridge: age-62 replacement sized as a TIPS ladder

    Catalog: Social security bridge sizing

    Feeds: Insight SS bridge gap total

    • The date formula (January claim ends the year before the claim year; start is the later of age 62, retirement, and next year) is the comments' stated convention
    • Synthetic TIPS coupons are floored at 0.125% (ladderMath MIN_TIPS_COUPON_PCT). On the zero real curve the worksheet states, that floor is absorbed into the back-solved face amounts and the ladder cost equals N x A exactly, which the evidence asserts at 1e-9 (a passing check, not an assumption); on a nonzero curve the cost is the discounted ladder and differs from N x A, and the worksheet does not claim otherwise
  • SSDI months paid in a year, from the onset month

    Feeds: Social security benefit annual

    • A month without a day is read as an onset after the 1st: a disability that began on the 1st counts that month and is paid one month sooner, and at full retirement age that month can decide whether there is a disability benefit at all (usc-42-423-c-2-ssdi-five-month-waiting-period)
    • A blank month is read as January 1, the earliest start and so the largest amount the statute allows for the onset year
    • The application is taken as timely, so the 12 months of retroactivity in 42 U.S.C. 423(b) never limit it, and the waiting period is always applied, with no exception for re-entitlement within five years or for amyotrophic lateral sclerosis
    • The published source for the year that holds the FRA month reads own retirement, the benefit in force at the end of the year; the disability months in that year are in ssdiPaid
    • The worksheet's claim at 70 pays 12 months in 2040 (29,760) under the engine's claim-year convention (social-security-payable-months); by statute that benefit starts with June 2040 and pays 17,360 that year
    • The annual SGA test applies only in a year that pays disability months and no converted month, and suspends the whole year
    • The disability PIA is the PIA the plan gives or derives from earnings, not a PIA computed as if the worker were 62 at the start of the waiting period (20 CFR 404.317)
  • Survivor benefit under RIB-LIM

    Feeds: Social security benefit annual, Social security expected present value, Social security survivor switch PV

    • The survivor FRA is a separate schedule from the worker FRA, and using the worker FRA would change every reduction between 60 and FRA; the survivor schedule is registered as usc-42-416-l-survivor-fra-age-60-attainment-cohorts
    • The deceased's actual benefit is taken as the caller supplies it; for a worker who died before claiming, the projection supplies the benefit the worker would have received for the month before the death, with the credits earned by then, registered as usc-42-402-e-survivor-of-worker-who-died-before-claiming
    • For a worker who dies before 62, the projection uses the PIA as entered; the law computes that PIA with the death as the eligibility event (20 CFR 404.211 and 404.212) and, for a survivor, can raise it by indexing the worker's earnings to a later year (42 U.S.C. 402(e)(2)(B)), which is not modeled
    • For a former spouse who died, the survivor base is priced at the claim age entered for that person, or at full retirement age when none is entered; an entered claim age before full retirement age counts as a reduced benefit for the limit; for a former spouse who died after full retirement age without claiming, entering the age in years and months in the month of death counts the credits earned by then, while a whole-year age drops the months since the last birthday
    • The two forms agree whenever the deceased's actual benefit is at or above the PIA, which is every case the projection can produce for a deceased who was never paid a reduced benefit; the limit also applies to a deceased paid a reduced disability benefit, which the projection does not produce
    • Inputs are monthly, in today's dollars, before COLA and any benefit haircut; callers scale to their own annual frame
    • The family maximum is not applied to a survivor benefit here; POMS applies the limit after that adjustment, and with no other auxiliary on the record the two orders agree
  • Survivor convert-early lever

    Catalog: Survivor scenario row estate delta, Survivor scenario row lifetime tax delta

    • The window ends in the death year, the last joint return (26 U.S.C. 6013(a)(2)); a surviving spouse with a dependent child keeps joint rates for two more years (26 U.S.C. 2(a)), which the window does not extend into
    • A year with a named conversion action converts only that action, so the lever adds nothing in it
    • Marketplace years are priced as the ledger prices them: the added income moves a priced credit, and an unpriced year stays unpriced
    • The estate change is in dollars of the timing's last year, which differs between the two people's tables; the tax change is an undiscounted sum of nominal dollars and carries every later year's knock-on (required distributions, IRMAA, the survivor's single brackets), not only the added conversions' tax
    • The widows-penalty insight keeps its replacement patch (a 12% fill instead of the plan's strategy) because it fires only on plans that convert nothing, where replacing and adding coincide
    • A fill the ledger cannot execute is reported, not repaired: when an owner of the traditional balance has no Roth account (a conversion lands only in the same person's own Roth), the owner's share of every conversion is skipped and the year reads short with the ledger's message; on example-couple Sam has no Roth account, so when Alex dies at 90 the lever is short in 2033 to 2041 and adds nothing, and opening a Roth IRA for Sam is the change that would let it convert
  • Widow(er) reduction from the first month of widow(er) entitlement

    Feeds: Social security benefit annual

    • The plan states a life age, not a date of death, so December of the last year alive stands for the month of death and the survivor is first paid the next January; a real death earlier in that year would start entitlement, and the reduction, earlier
    • Entitlement from the month of death, which 20 CFR 404.621(a)(4)(ii) lets a widow(er) choose, is not modeled for the months of the death year: the projection pays no survivor benefit for them, so the reduction starts with the January it first pays
    • A caller whose person-year state carries no life age cannot place the death year; the reduction then starts at the survivor's own claim
    • The survivor is paid no survivor benefit before the survivor's own configured claim age: one claim age serves both benefits, so a survivor who would take the survivor benefit first and the own benefit later is not modeled (usc-42-402-r-survivor-deemed-filing-exemption), and the entitlement month is never earlier than that claim
    • For a former spouse who died, the plan holds no date of death; that widow(er) benefit is reduced from the claimant's own claim, as if the death came first
    • Earnings-test months are counted month by month, each month of the widow(er) reduction period in which the widow(er) benefit was paid and subject to a deduction (poms-rs-00615-482-arf-crediting-months); a month after the survivor full-retirement-age month, while the survivor is still under the old-age full retirement age that governs the test, is not credited to it
    • A disabled widow(er) entitled from age 50 is not modeled
  • Survivor shortfall years

    Catalog: Survivor scenario row survivor shortfall years

    • The base run only, at the plan's own SSA-44 setting; the lever run is not counted
    • Required spending only: under a guardrail policy discretionary spending can be cut with no required shortfall, so "required spending covered" says no more than that
  • SSA-44 survivor premium difference

    Catalog: Survivor scenario row ssa44premium savings

    • Two runs of the whole ledger: the total carries the later years' knock-on (lower premiums leave more money, which changes later withdrawals, MAGI and tiers), and the relief-year part is published beside it; the page says "no surcharge to relieve" only when the relief-year part is at most 50 cents
    • Nominal dollars of different years summed
    • The first relief year still looks back to the joint death year, as irmaa-lookback-selection states
  • Survivor and own benefit switching for a widow(er)

    Catalog: Social security survivor switch PV

    • Whole-year ages: the survivor benefit at the current age (at least 60) or the survivor full retirement age's year; the own benefit at the current age (62 to 70), the full retirement age's year or 70
    • The deceased's benefit is the claim age entered for the record, or full retirement age when none is; a death before the deceased claimed is priced only through the claim age entered
    • Single households only; no taxes or child benefits
    • The earnings test on the widow(er)'s wages is charged against the benefits paid each month, as the ledger charges it; wages are whole calendar years spread evenly over their months, with no grace year, and only wage streams are earnings (usc-42-403-f-5-earnings-counted)
    • A benefit paid as a disability benefit from its onset is not ranked, since no own claim age starts it
    • Survival on the engine's one curve, the SSA period table
  • PIA gain from replacing a year with no earnings

    Catalog: Social security zero year replacement gain

    • Inherits the earnings computation's conventions and registered limits: indexing floored to the dollar, the computation-year window, and stand-in tables for years not yet published
    • The replaced year is the latest $0 base year; replacing an earlier one would index the sample, describing earnings that can no longer be earned. For a person 62 or older every base year has passed, so the page says what the year would have added had it been worked
    • A year worked after 61 is outside the computation's base window (usc-42-415-f-2-post-entitlement-pia-recomputation)

Medicare and ACA

  • ACA 400% FPL cliff

    Feeds: ACA modeled allowable PTC annual, ACA economic net premium annual, Spending healthcare annual

    • The cliff is the only eligibility question this record answers: the separate below-100%-FPL floor and its exception pathways are outside it
    • It is annual planning math, not APTC cash timing or a Form 8962 reconciliation
    • The worksheet's household is a 2026 one; the 2027 cliff reads the same 400 from the 2027 block, and its dollar amounts (63,840 for one person, 132,000 for four) are pinned by a test built from the published 2027 guidelines
  • ACA modeled allowable premium tax credit

    Catalog: ACA modeled allowable PTC annual

    Feeds: ACA economic net premium annual, Spending healthcare annual

    • Annual planning math: APTC cash timing, refunds and balances due, and Form 8962 reconciliation are outside this module
    • A month with no enrollment premium contributes no benchmark and no credit, so the annual benchmark is the enrolled-month benchmark rather than a full-year figure
    • Form 8962 rounds the annual contribution (line 8a) and the monthly contribution (line 8b) to whole dollars; the engine keeps both unrounded, which moves the annual credit by at most about $0.50 on the annual path and about $6 on the monthly path
  • Premium-credit contract as a run prices it: premium basis and deaths

    Feeds: ACA gross enrollment premium annual, ACA applicable SLCSP premium annual, ACA modeled allowable PTC annual, ACA economic net premium annual, Spending healthcare annual

    • Coverage ends at death: 45 CFR 155.430(d)(7), "In the case of a termination due to death, the last day of enrollment in a QHP through the Exchange is the date of death.", and 26 U.S.C. 36B(c)(2)(A) counts no month after the month of death for the credit. The ledger has no month of death (a person is alive through the calendar year of the death age for income, benefits, filing status and spending), so the whole death year is charged. Measured by the independent review (finding L2) on all-401k-no-bridge with stated contracts and stochastic longevity, on the 2022 SSA period life table (before decision D-LIFE-TABLE-2023 moved the longevity draw to the 2023 table): a third of paths have a covered member die in a contract year, the convention overcharges about 5.5 months of that member's premium there (about $12,000 on such a path, $3,884 averaged over all paths), and it lowers the success rate by about 0.15 points, at most 0.23
    • A stated contract is held in nominal dollars on every Monte Carlo path, including a future year whose premiums are not published: the engine cannot tell a quote from an estimate, and an estimate belongs in the premiumField basis
    • The premium-field family is the people alive in household order: the first living person is the primary and the next the spouse, whatever the filing status. So the survivor's credit after a death is priced, except in two cases refused with tax-family-structure-unsupported, not repriced: a qualifying-surviving-spouse year (the structure check wants a dependent, which the derived family never has) and two people filing single (the second is made a spouse)
    • The premium-field SLCSP benchmark equals the enrollment premium, the library examples' stated assumption, not a Marketplace estimate
    • A plan saved from an example before schema v6 has the contracts the recipe wrote (its shape, and the premium field grown at one rate per plan, to half a cent) rewritten to premiumField on load (migratePlanV5ToV6, reported as the exampleContractsFollowPremiumField repair). A contract that came from the recipe but no longer matched the plan's premium (the premium, the inflation or the household changed after saving, or a quote typed in the recipe's shape) was already left out by the v5 engine, so it is removed and recorded as exampleNoLongerMatched (the exampleContractsLeftOut repair) and the figures do not change; one the v5 engine priced as written (the premium field at the stored rates) whose shape is what the premium-field fill derives becomes premiumField too, so it matches the v5 engine in the deterministic run and follows the premium field on every path; the rewrite repair says the year-by-year figures stay the same except in the years the v5 engine left out (previouslyLeftOut) and that the Monte Carlo success rate can move. Any contract not in that shape stays stated, and one of those the v5 engine priced as written is announced (exampleEditedContractsKept: the same year-by-year figures, but Monte Carlo counts it at its entered dollars on every path, where the v5 engine dropped it when inflation differed); among those, one the v5 engine refused is now priced as entered and announced (exampleEnteredContractsNowPriced), since its figures change. The contracts a stored scenario writes are sorted by the same rule in the plan the scenario makes, and each repair names the scenario. The rewrite reads exampleSourceId once, on a v5 document, and the projection never does
    • A premium-field contract is kept through a premium edit and through a change of state, a move, a date of birth or a planning age, because everything but its assertions is derived on each run; a partner added or removed, or a new filing status, removes it, because the assertions are facts about who is on the return (model/acaContractRemovals.ts; review finding M2). A stated contract is removed by all of those edits. Each removal is recorded on the plan with the edit and its years, and the planner names the edit where it explains an unpriced year
  • ACA credit figures by coverage year

    Feeds: ACA modeled allowable PTC annual, ACA economic net premium annual, Spending healthcare annual

    • Coverage years after the latest published block (2028 and later today) are stand-ins and are not priced: no source projects the Applicable Percentage Table, which moves with premium growth against income growth
    • A year priced on its published ACA figures while its income-tax figures are projected from an earlier year has a household MAGI that rests on those projected figures through bracket-sized conversions, the tax fixed point and indexed contribution caps; measured, a 1% change in those figures moves early-retiree-aca's 2027 credit by about $44 of $10,925, moves the MAGI of two other examples by about $1,350, and can move a credit by its whole jump where the income lands within about 1% of 100%, 133% or 400% of the poverty line. The year says so with income-tax-parameters-projected rather than being refused
    • The 2027 required contribution percentage (10.22%, Rev. Proc. 2026-26 section 3.02) is recorded and read by no calculation: employer-coverage affordability is the household's coverageEligibility assertion
    • 26 CFR 1.36B-1(h) applies the higher poverty guideline when a household's primary residence moves during the year between states with different guidelines, or when married taxpayers live in separate states with different guidelines (Alaska or Hawaii and another state). The engine does not apply that rule: the year contract names one fplRegion for the household and the year, and the credit reads that region's guideline, so such a year gets the rule's result only when its contract names the region with the higher guideline
  • ACA economic net premium

    Catalog: ACA economic net premium annual

    Feeds: Spending healthcare annual

    • Economic cost, not cash timing: advance payments of the credit are not modeled, so this is not what the household pays month to month
    • The zero floor the worksheet states is enforced by the per-month enrollment cap inside the credit, not by a second clamp on the difference
  • ACA gross enrollment premium and applicable SLCSP benchmark

    Catalog: ACA gross enrollment premium annual, ACA applicable SLCSP premium annual

    • Beyond the worksheet's inputs the evidence plan fixes: a single filer aged 63 in 2026 (pre-65, so Marketplace months exist and no Medicare month competes), applyAcaCredit on with one contract for the year, a tax family of one, zero inflation and zero return, and a cash account to fund the premium
    • The monthly gate is per MEMBER, not per household: a month can be applicable for one member and not another, which a household-level test would miss
    • The null case is asserted by turning the credit on with no contract for the year; the same null is produced by duplicate contracts, which the evidence does not construct. Before decision D-EXAMPLE-SOURCE-SWITCH (2026-09-28) an example contract whose premiums differed from the premium field at the run's inflation also gave null; that switch is deleted
    • These two totals are inputs to the credit, not the credit: the allowable PTC and the economic net premium are separate families with their own records
    • The monthly gate is applied where the per-member arrays are assembled, annualHealthcareExpenses.ts, and annualAcaResultPublication.ts sums the gated arrays onto YearAcaResult, which is what the test reads and what the receipt mutates; tax/aca.ts#acaEconomicPremiumByMonth repeats the gate for the credit and is the allowable-PTC record's site, not this one's
  • ACA expected contribution

    Feeds: ACA modeled allowable PTC annual, ACA economic net premium annual

    • The contribution is an intermediate: no census family publishes it, and it is visible only through the credit and the net premium it produces
    • The applicable-percentage curve is linear between published breakpoints with a discontinuous step at exactly 133%; it is the coverage-year parameters’ reproduction of a published table, not a statutory formula
    • The worksheet's household is a 2026 one; the 2027 poverty line and table are evidenced on aca-coverage-year-parameters
    • Form 8962 rounds the annual contribution (line 8a) and the monthly contribution (line 8b) to whole dollars; the engine keeps both unrounded, which moves the annual credit by at most about $0.50 on the annual path and about $6 on the monthly path
  • ACA household MAGI composition

    Catalog: MAGI annual

    Feeds: ACA modeled allowable PTC annual, ACA economic net premium annual

    • Only dependents whose filing status is required contribute; a not-required dependent contributes zero and an unknown one blocks the whole result rather than being guessed
    • This is the ACA program MAGI, a different quantity from the IRMAA ledger MAGI on YearResult.magi even though both are catalogued under magi-annual
  • Net long-term-care cost after the LTC benefit

    Catalog: Display net care cost annual

    • The floor removes only a floating-point residue: with two policies on one episode, the first paying under half the cost, the summed payments can exceed the summed cost by one unit in the last place (53,932.24 of cost against 6,020.16 plus the remainder differs by -7.3e-12). expenses.total subtracts the benefit unfloored, so the category chart can differ from expenses.total by that residue
    • A benefit above the cost by more than half a cent is a ledger error and is refused rather than hidden, so a display page that reads this figure fails loudly on it
  • IRMAA lookback MAGI selection

    Feeds: IRMAA surcharge annual, Medicare premiums annual, Survivor scenario row ssa44premium savings

    • The comparison is strictly lower, so equal MAGIs keep the ordinary two-year year; reading it as always selecting year minus one under SSA-44 changes the tie case
    • The planFallback arm is the coarse recentAnnualMagi stand-in, published as evidence of which arm answered rather than as evidence of the household's income
    • The selection is asserted two ways: the three SSA-44 branches through annualHealthcareExpenses with resolveMagiFor supplied at its documented injection point, and the two first-year fallback arms through a real simulatePlan run that publishes irmaaLookbackMagi, its source and its year. The fallback resolver is a closure inside simulatePlan rather than a module-scope symbol, so the pin names the exported function that owns it
  • Medicare base Part B premium

    Catalog: Medicare premiums annual, IRMAA surcharge annual

    Feeds: Spending healthcare annual

    • Per person, not per household: a two-person Medicare year charges this twice
    • The Part D out-of-pocket threshold the published parameters also carry is not a premium and never enters this figure
    • Restated 2026-09-28 under decision D-2027-ROLLOVER: the premium scale runs from the year of the latest CMS publication (params/index.ts#componentPackView), not the year of the whole set of published figures, so a year whose Medicare premiums CMS has published reads them at a scale of 1 while its other figures may still be projected. Until CMS publishes 2027 the scale from 2026 is exactly the one used before
  • Medicare IRMAA tier premiums and the first-tier boundary

    Catalog: Medicare premiums annual, IRMAA surcharge annual

    Feeds: Spending healthcare annual

    • The tier totals are CMS's published figures, not the standard premium times the applicable percentage over 25 (284.06 against 284.10 at the 2026 first tier); reading the percentage as a surcharge on the standard premium (35% as standard plus 35%) understates every tier further
    • A year after the latest CMS publication is projected: it grows the latest published totals and Part D amounts by the Medicare component's factor, a stand-in for CMS's next table, which re-derives every tier from a new actuarial rate
    • The lower tiers use a strict greater-than test and only the top tier is inclusive; that asymmetry is the module's own stated convention
    • A tier whose Part D surcharge is unpublished sets partDSurchargeUnverified rather than inventing a figure; every 2026 tier's is published
    • The table is the full-Part-B-coverage table for single and joint filers; the separate tables for married people filing separately who lived with their spouse, and for immunosuppressive-drug-only coverage, are not read
  • Medicare IRMAA two-year lookback

    Feeds: Medicare premiums annual, IRMAA surcharge annual

    • The two-year offset is the ordinary rule; an active SSA-44 life-changing event can substitute the year-minus-one figure when it is lower, which is the separate irmaa-lookback-selection record
    • The module takes the already-resolved lookback figure, so this record pins which year the caller must hand it, not how that year's MAGI was computed
  • Ledger MAGI composition

    Catalog: MAGI annual

    Feeds: IRMAA surcharge annual, Medicare premiums annual

    • Asserted on real simulatePlan runs rather than at a seam. The positive case is a real plan whose single year realizes all five terms exactly as the worksheet states them (a recurring ordinary stream, a one-time capital-gain income, a taxable account whose wholly qualified dividend yield and municipal sleeve carry the third and fifth terms, and a Social Security benefit sized so that section 86 makes exactly the fourth taxable, with cost basis equal to balance so nothing else can realize a gain), and the published magi is checked against that year's own published components
    • The floor case is the only negative sum the ledger can reach: a deductible capital loss on the capital line with nothing else realized, because the ordinary-income term is applyCapitalLossCarryforward's ordinaryAfter and is floored at zero. The worksheet's first floor case gave ordinary income realized as minus 10,000, which that floor rules out; it was re-derived on the reachable path (a 20,000 carryforward carried into a year that realizes nothing else deducts the 3,000 annual limit on the capital line) and re-checked, and the test builds that year and checks each of the five terms and the published magi against the worksheet's inputs
  • Scenario comparison: years in an IRMAA surcharge tier

    Catalog: Scenario IRMAA surcharge tier years

    Feeds: Scenario comparison cell

    • Medicare premium dollars and the maximum tier are different outputs; this record counts years only
    • The evidence constructs the stated irmaaTier rows rather than running two full simulations
  • Annual healthcare expense: Medicare, extras and marketplace premiums

    Catalog: Spending healthcare annual

    • The worksheet's household is constructible on one plan as it now stands: the second person's 4 marketplace months and 8 Medicare months partition that person's year, so a March-1958 birth (12 Medicare months) and a May-1961 birth (4 marketplace, 8 Medicare) are one household whose published healthcare is $8,832.00. The first derivation gave the second person the 4 marketplace months with no Medicare months and totalled $6,002.72 (on the old tier premium), an impossible annual partition; it was corrected on 2026-09-18, and the same reading, $6,003.20 on CMS's tier premium, is now the worksheet's third wrong reading, asserted as not matching
    • Beyond the worksheet's inputs the evidence plans fix: startYear 2025 with the asserted row in 2026, inflationPct 0 and healthcareExtraInflationPct 10, so the factor from the start year is 1.10 while the factor from the year of the published parameters (2026) to the asserted year is 1; this is what leaves the tier-priced premium unscaled while extras and the marketplace premium are scaled, the distinction the worksheet's first wrong reading names. Each person's own component is asserted on that person's own single-filer plan, and the household plan asserts the total and the 12 + 8 Medicare months behind it
    • Tier 1 is reached through assumptions.recentAnnualMagi, because the 2024 lookback year is before the projection and resolves to that plan fallback rather than to a projected MAGI. The two-person household files jointly, so it reaches the SAME tier 1 through the $218,000 joint threshold rather than the worksheet's $109,000 single threshold; the tier-priced premium is a function of the tier alone, so it is $3,583.20 either way: CMS's published $284.10 Part B total and $14.50 Part D amount, times 12
    • The second person's marketplace component is read as healthcare minus medicarePremiums minus that person's extras, since the phase result itself is not published on the year row; the extras rule it subtracts is pinned independently by the first person, whose zero marketplace months make healthcare minus medicarePremiums the extras exactly
    • The credit-on branch carries no numeric expectation: the worksheet states none without a complete ACA quote and a converged fixed point
    • With the credit on, the gross premium is the year's contract as the run prices it (aca-contract-premium-basis): a premiumField contract grows the premium field by the same healthcare factor as the credit-off branch, and a stated contract is held as written and charges nothing for a member who has died
    • A household funded just above 100% of the poverty line by need-driven withdrawals can have no self-consistent credit: the credit lowers the withdrawal need and with it MAGI, to below 100% where no credit is allowed, while the gross-funded MAGI is back above 100%. The fixed point then runs out its evaluations, publishes fixed-point-nonconvergent and budgets the gross premium (fixed-target-spending and brokerage-no-hsa in 2027, at 114.7% and 124.1% of the poverty line). That is the engine's model, not the law: 26 CFR 1.36B-2(b)(6) treats a household whose income ends below 100% as an applicable taxpayer when an Exchange estimated 100% to 400% at enrollment and advance credit was paid, and the engine does not model that exception (below-100-fpl-exception-unsupported), which is the truer reason such a year stays unpriced

Accounts and growth

  • Year-end balance map: one entry per id, written channel by channel

    Catalog: Accounts balance per account annual

    Feeds: Display balance by category annual

    • Beyond the worksheet's inputs the evidence plan fixes: a single filer aged 51 in 2026 (no Medicare month, no required distribution), the plan's inflationPct at 3 (the property grows at general inflation, see below), zero return on the investable account, wage and recurring income sized to fund the stated contribution and the $4,000 debt service, no spending other than that debt service and the $15,000 withdrawal realized as a one-time goal, a single-year horizon, and an interest-free debt whose scheduled payment is exactly the $4,000 of principal the worksheet amortizes
    • The withdrawal is realized as an uninflated one-time goal, which is what makes the investable close opening + contributions - withdrawals at a zero return
    • The worksheet names 3% as the PROPERTY's appreciation; internal/propertyEventsAndGrowth.ts grows a property at GENERAL inflation and ignores the property account's own annualReturnPct, so the evidence sets the plan's inflationPct to 3 instead. In the start year every cumulative factor is still 1, so nothing else in the row moves
    • The collision case is asserted by calling annualSnapshot directly with four channels on one id, because no valid plan can reach the snapshot with two channels on one id: the plan checks refuse every pair of rows that would publish a value under a shared id (model/sharedIdCollisions.ts). The overwrite order is a property of the snapshot, not of any plan
    • The map holds no HECM line: HECM debt is published separately and only enters net worth under its non-recourse cap
    • Until decision D-CASH-PROPERTY-ALIAS (2026-09-25, extended the next day) the plan checks accepted several pairs on a single id: a cash account and a property, a property and a debt, two properties, two debts, an account and a permanent-life policy, and two permanent-life policies. The later value then overwrote the earlier one in this map and in every figure read from it (a $300,000 home published as cash), and two properties, two debts or two permanent-life policies under one id counted only one of them in net worth. The checks now refuse every such pair, and a stored plan that has one gets new ids for the colliding rows when it is loaded (an investable account keeps the id), so no plan reaches the snapshot with one
  • Ending balances by logical account category

    Catalog: Accounts ending balance by category

    • Asserted at summarizeProjection with the worksheet's six accounts, their plan types and their last-year balances verbatim, over a two-row ledger whose penultimate row carries a distinct sentinel balance on every account so a row mistake cannot pass. Plan assumptions beyond the worksheet's inputs: each account opens at a zero balance with zero returns, because the summary reads the ledger row rather than the plan; the owner-held accounts name the plan's single person
    • The test also asserts that the published object has exactly the five category keys, which is how the worksheet's third wrong reading (adding property or insurance categories) is discriminated
    • Since 2026-09-26 the roll-up is projection/yearFigures.ts#balancesByCategory read for the last row (the same sums in the same order, so the published figures did not move). That function refuses a plan in which an account id is also the id of a property, a debt or a permanent-life policy, so the summary now stops on such a plan instead of reporting the overwritten value as the account's; the plan checks refuse those plans and stored ones are repaired on load
  • Annual investable total

    Catalog: Accounts investable total annual

    Feeds: Accounts net worth annual, Projection result ending investable

    • The worksheet's case is asserted at annualSnapshot, the function that computes the field, because unassigned cash and a cash or taxable account cannot coexist in a real plan: simulatePlan only tracks cash as unassigned when there is no cash or taxable account for surplus to land in, so the worksheet's $2,000 of unassigned cash alongside $15,000 of cash accounts and $120,000 of taxable accounts is not a state a plan produces
    • The member list is separately asserted on a real simulatePlan run carrying the worksheet's six account balances plus a permanent-life policy: the published investableTotal is the six balances and excludes the policy cash value and the property, both of which the same row publishes
    • Equity compensation is a member whether or not it has vested; the vesting mode gates spending, not the balance total
  • Annual net worth, with the non-recourse HECM cap

    Catalog: Accounts net worth annual

    Feeds: Projection result ending net worth

    • The worksheet's case is asserted at annualSnapshot and annualYearResultAssembly, the two functions that compute the cap and the composition, because the worksheet states HECM loan balances of $420,000 and $50,000 as year-end facts: a HECM balance is an accrual of draws, interest and mortgage-insurance premium that no plan can set directly, so those two figures are not a state a plan produces
    • Only the cap is capped: a loan above its home's value is limited to that value, while a loan below it is subtracted in full, which is why the worksheet's two homes need two different branches of the same min
    • Ordinary debt is subtracted, not added; adding it is the worksheet's third wrong reading and moves the answer by twice the debt
  • Expected return for an account: allocation blend, else account rate, else plan default

    Feeds: Optimizer recommended conversion annual, Optimizer schedule conversion total

    • Only taxable, traditional, Roth and HSA accounts can carry an allocation; every other type falls to the scalar precedence
    • The blend uses the year's target weights, not the drifted weights the ledger holds under rebalancing "none"; the two coincide at the start year and under annual rebalancing
    • DUPLICATION: the ledger does not call this function. annualPostSolveAccountGrowth.ts applies the same precedence inline (the class blend over the account's tracked weights when a track exists, else state.account.annualReturnPct ?? defaultReturnPct); the production callers are optimizePlan.ts#blendedGrowth in the engine and assumptionsExport.ts in planner-ui, which formats the Assumptions card and has no census family. The evidence drives the ledger phase with the worksheet's allocated account and requires it to ignore the 9% scalar the same way
    • The worksheet names the per-account balance, investable-total and net-worth families upstream; the ledger's inline precedence produces them, so this record feeds the optimizer schedule families its caller reaches
  • Blended expected nominal return of a weight vector

    Feeds: Optimizer recommended conversion annual, Optimizer schedule conversion total

    • Weights are taken as given; the function neither normalizes nor validates them, so a vector not summing to 1 returns a scaled blend
    • Arithmetic one-period blend, not geometric: the expected return of a mix over one year is the weighted mean of the class returns
    • DUPLICATION: packages/engine/src/projection/internal/annualPostSolveAccountGrowth.ts forms the same sum of w_i r_i inline, with the year's class shock added to each r_i, to grow an allocated account; the ledger never calls blendedReturnPct, which reaches production only through expectedAccountReturnPct (the optimizer's balance-weighted growth rate in optimizePlan.ts#blendedGrowth) and the planner-ui AllocationPanel preview. The evidence drives annualPostSolveAccountGrowth at zero shock and requires its growth to equal blendedReturnPct on the worksheet's inputs
    • The worksheet names the per-account balance and investable-total families upstream; the ledger's inline copy produces them, so this record feeds the optimizer schedule families its own callers reach and pins parity with the copy instead of claiming the balance families
  • Blended taxable yields and dividend-weighted qualified share

    Feeds: Income taxable yield annual, Income taxable interest annual, Income qualified dividends annual, Income ordinary dividends annual

    • The qualified share is dividend-dollar-weighted, so a class with no dividends contributes nothing to the ratio however large its weight
    • A blend with zero dividends returns the 0.85 fallback rather than 0 or NaN; the fallback is a convention for the unallocated case, not a sourced class parameter
    • Weights are taken as given, not normalized
    • The published income rows are balance x yield in the ledger (distributedTaxableYieldRows.ts), so this record feeds those families and is not their value
  • Glidepath compilation: linear interpolation with flat endpoints, staged as a step function

    Feeds: Income taxable yield annual, Accounts balance per account annual

    • Endpoints clamp flat; a linear or custom policy is never extrapolated
    • Linear and custom mixes are renormalized after interpolation, which changes nothing when both endpoints already sum to 1
    • A degenerate linear policy (endYear <= startYear) holds the from vector for every year
    • A staged policy before its first stage year holds the earliest stage; a custom policy with one target holds it for every year
    • lerpVectors is module-private; the evidence reaches it through targetWeightsAt
    • The worksheet names bucket-lens-allocation upstream; the bucket lens (its own record) reads the published investable total and net portfolio need, refusing a year whose need is not a finite number, and is not listed here
  • Rebalance turnover: the fraction sold to reach the target weights

    Feeds: Tax realized gains annual

    • Sells only: buys are the mirror image under conserved value, so summing the positive differences counts each dollar moved once
    • No validation that the two vectors sum to one; an unnormalized pair returns an unnormalized fraction
    • The worksheet says none yet: the census exposes no turnover family. The traced consumer is annualRebalanceToTarget.ts, whose taxable rebalancing sale realizes the gain published as YearResult.realizedGains, so tax-realized-gains-annual is named as the nearest fed family
    • Only taxable accounts realize anything; on tax-advantaged accounts the ledger retargets the weights without a sale
  • Unrebalanced weights after one year of class returns

    Feeds: Accounts balance per account annual, Accounts investable total annual

    • Total-return convention: distributions are treated as reinvested pro rata, so a class's weight moves with its total return rather than its price return
    • A class return at or below -100% is floored at zero ending value rather than going negative
    • A zero total ending value returns the input weights unchanged instead of refusing
    • The worksheet names bucket-lens-allocation upstream; the bucket lens (its own record) reads the published investable total and net portfolio need, refusing a year whose need is not a finite number, and is not listed here
  • Allocation weights to a normalized fraction vector in class order

    Feeds: Accounts balance per account annual, Accounts investable total annual

    • Negative weights are floored at 0 before normalizing rather than rejected; the schema already bounds each weight to [0, 100] and the total to 100 +/- 0.5, so a near-100 total normalizes exactly to 1
    • A zero total returns the all-cash vector instead of refusing; the worksheet's domain is a positive total and its test does not reach that branch
    • Class order is positional and fixed by ASSET_CLASS_IDS; every consumer indexes the vector by that order, never by magnitude
    • The worksheet names bucket-lens-allocation upstream; the bucket lens (its own record) reads the published investable total and the published net portfolio need, and refuses a year whose need is not a finite number, so the family is reached only through the balances every growth record feeds and is not listed here
  • Asset-class parameters: assumption overrides laid over the sourced defaults

    Feeds: Accounts balance per account annual, Income taxable yield annual, Monte carlo investable fan percentiles

    • Overrides apply field by field: an override object cannot remove a class or blank a field, and the label is never overridable
    • The sourced defaults (7/7/4/2.5 percent returns, 19.6/21/7.7/0.5 volatilities, the yields and qualified shares) are planning conventions from domain rules section 15, not forecasts; this record pins the overlay, not the defaults
    • No validation here: the plan schema bounds each override field before it reaches the function
    • The worksheet asks for exactness at one-decimal precision; the test compares with an absolute bound of 0 because the helper's exact keyword is reserved for integers, and pass-through doubles are equal bit for bit
  • Balances by account type, one value per logical account

    Catalog: Display balance by category annual

    • One value per logical account id: rows sharing an id are one account, whose aggregate the ledger publishes once. Owner decision R1 (2026-09-25): the pages used to add the aggregate once per physical row, so an account split across two 50,000 rows showed 200,000 instead of 100,000
    • Unassigned cash is in investableTotal and in no category; it is published beside the categories so the chart can draw it rather than stop short of investableTotal
    • Refuses, rather than reads, an id shared with a property, a debt or a permanent-life policy (decision D-CASH-PROPERTY-ALIAS): the plan checks refuse such plans and stored ones are repaired on load, so this fires only on a plan that did not go through them
    • endingByCategory in the projection summary is this roll-up read for the last row, without equity compensation
  • Balance sheet as entered

    Catalog: Household map entered totals

    • These are the figures as entered, not the projection: the projected net worth (accounts-net-worth-annual) is the same accounts at the end of a projected year, after growth, contributions and withdrawals.
    • A pension or annuity is income, not a balance, so it adds nothing to the sheet even when it has a lump-sum offer; a TIPS ladder and an insurance policy are not accounts and are not on it either.
    • The investable total is the same number, from the same accounts in the same order, as the ledger's first-year portfolio (montecarlo/riskBasedGuardrails.ts#startingInvestableOf).
  • Estate breakdown by account

    Catalog: Estate taxable pretax base by account, Estate heir income tax by account, Estate to charity by account, Estate net to heirs by account

    Feeds: Estate heir income tax, Estate to charity

    • The breakdown covers investable accounts only. Property, debts, insurance cash value, TIPS ladder value and a HECM loan reach the after-tax estate through net worth and have no row, so the rows' netToHeirs do not add up to endingAfterTaxEstate. A pension or an annuity has no row whatever its estateBeneficiary says: in the annuity-purchases-estate example the single-premium annuity's charity designation changes no figure here.
    • The basis share is the household's remaining nondeductible IRA basis spread over every traditional account by gross, employer plans and both spouses' accounts included (the registered approximation irc-408-d-2-estate-household-basis-allocation). A spouse destination keeps that base on its row although its heir tax is 0.
    • An HSA left to anyone but the spouse takes its whole ending balance as its taxable base, and heir tax falls on the part not left to charity (B × (1 − charityFraction) × r), without the 223(f)(8)(B)(ii)(I) reduction for the decedent's last medical expenses (irc-223-f-8-B-estate-predeath-expense-reduction). Taxable, equity-compensation, cash and Roth balances pass untaxed, the step-up convention irc-1014-a-1-basis-at-death-fair-market-value records.
    • heirTaxRatePct is the rate as the row applied it, 100 times the plan's percentage over 100, so it can differ from the plan's entry in the last binary digit: a 28% rate is carried as 28.000000000000004.
    • Evidence: summarizeProjection on the annuity-purchases-estate example as built (a spouse traditional IRA, a non-spouse 401(k), cash and Roth defaults, an annuity left to charity, a 28% heir rate) and varied to reach the branches the example does not (household basis of $49,000, class rates of 32% and 24%, the 401(k) 25% to charity, a non-spouse HSA, an equity-compensation account and a Roth IRA at a zero balance); a spouse-designated HSA and an HSA left partly to charity are not exercised, and follow the same formulas. Each case reads a one-row ledger at the example's opening balances: the breakdown reads only the last row, so how a projection reaches those balances does not enter it.
  • Ending estate passing to charity

    Catalog: Estate to charity

    • Asserted at summarizeProjection with the worksheet's three accounts, their destinations, charity percents and gross ending balances verbatim, and at the per-account charity amounts as well as the total, so a compensating pair of errors cannot pass. Plan assumptions beyond the worksheet's inputs: each account opens at a zero balance with zero returns, because the summary reads the final ledger row rather than the plan, and the default heir tax rate applies to the non-charity remainder without entering this field
    • The worksheet's third wrong reading (reading 25 as a decimal) is the reason the record states the min(1, p/100) cap rather than a bare multiplication
  • Annual HECM draw, including the last-resort backstop

    Catalog: HECM draw annual

    Feeds: Spending shortfall annual, Accounts net worth annual

    • Asserted twice: at the exported backstop planner with the worksheet's open line, 40,000 shortfall and 25,000 available line verbatim, and as the published hecmDraw of a real simulatePlan year built from the same inputs (a last-resort line on a 500,000 primary residence at the schema's minimum 5-percent principal limit and a zero growth rate, so the available line is exactly 25,000, against a 40,000 lifestyle need with no portfolio at all). Plan assumptions beyond the worksheet's inputs for that ledger year: a 64-year-old filing single in KY at a zero state rate, so no Medicare or marketplace premium can change the need, and no coordinated draw is possible because the policy is lastResort
    • The worksheet derives only the backstop case; the extract states no sizing formula for a coordinated draw, so this record makes no claim about one
  • MCP batch ending traditional balance objective

    Catalog: MCP batch ending traditional objective

    • Gross: the objective ranks the pre-tax balance a candidate leaves, before the heir tax and before any nondeductible basis; what heirs keep is projection-summary-ending-after-tax-estate.
    • The mcp-v0.10.0 adapter (3197d359) added the balances in the order of the row's balance entries; the engine adds them in the order of the plan's accounts. The two orders can differ in the last binary digit, never by a cent; on the worksheet's accounts they give the same double, which the evidence asserts.
    • balancesByCategory refuses a plan whose account id is also the id of a property, a debt or a permanent-life policy, where the mcp-v0.10.0 adapter's walk would have added whatever the ledger published under that id; the plan checks refuse such plans before a projection runs.
  • Pension annuity present value at the curve-anchored discount rate

    Catalog: Pension election annuity present value

    • One number drives both horizons: analyzePensionElections passes ownerDeathAge = the owner's planning age, so planning age 70 against current age 64 gives the 3.995% rate AND the six payments the published presentValueAtCurveRate discounts, $62,915.883021698835 (on the official 2026-06-30 curve row; $63,008.166010097986 at 3.95% on the row stored before decision D-TREASURY). The first derivation valued the published field over three payments to a death age of 67 while taking its rate from planning age 70, which reports the helper's figure in the field's place; it was corrected on 2026-09-18, and that mismatch is now the worksheet's first wrong reading, asserted as not matching
    • The three-payment stream is a SECOND case, taken explicitly at the helper pensionAnnuityPresentValue with ownerDeathAge 67 at the same 3.995% rate, and is $33,304.25282719482; the helper accepts any death age, so that case says nothing about the field's payment count
    • Beyond the worksheet's inputs the evidence plan fixes: a single household (so no survivor extends the horizon), a 1962-born owner so the 2026 current age is 64, a pension with a lump-sum offer in the start year (the analysis skips pensions without one), zero return, and inflationPct 2 as the rate's inflation term
    • The curve is the embedded 2026 TIPS real-yield snapshot; the rate is a planning anchor, not a quote, and a corporate-spread view is left to the user
    • The stream is discounted at annual offsets from the valuation year with no mid-year convention, and COLA compounds from the start age rather than the valuation year
  • Projection summary ending after tax estate

    Catalog: Projection summary ending after tax estate

    Feeds: SWR rule result ending after tax estate, Scenario comparison cell, Insight spending headroom rough annual

    • Charity carve-outs pass untaxed rather than remaining in the heirs' estate, so they are subtracted here even though they are also reported separately in endingEstateToCharity; with no charity destination the identity collapses to net worth minus heir tax. Ignoring charity, adding heir tax instead of subtracting it, or subtracting charity a second time through the heir tax each name a different quantity. The figure is assumed terminal exposure at the horizon, not a death-year return.

Required minimum distributions

  • Annual forced inherited distribution

    Catalog: Inherited distribution forced annual

    Feeds: Withdrawals by category annual, Withdrawals total annual

    • Decision D-INHERITED-ROTH-SLICE (2026-09-25) settled the meaning of inheritedTraditionalDistribution as the ordinary income from inherited accounts, the composition the code publishes: an earlier comment excluded Roth dollars outright, and the field comment now says what the figure is. The 8,600 is asserted, and separately the Roth row's 3,000 gross and 600 slice. The same decision moved the withdrawal categories so the 600 is counted in roth only
    • Asserted at the exported phase with the worksheet's three rows realized from plan facts: a traditional annual-RMD row whose 8,000 executed amount is min(required, live balance) at a live balance of exactly 8,000, a Roth final-sweep row executing its whole 3,000 live balance with an injected characterization returning the worksheet's 600 of ordinary income, and a traditional row inside a ten-year window with no annual requirement. Plan assumptions beyond the worksheet's inputs: each account is a sole designated-individual beneficiary IRA with asserted provenance and a 2026 owner death, and the voluntary amounts the worksheet lists belong to a later phase and are not supplied here; the test asserts that this phase writes zero voluntary on every row
  • QCD income offset and qualified slice

    Catalog: QCD annual

    Feeds: Tax total annual, MAGI annual

    • The qualification ceiling is statutory: section 408(d)(8)(B), last sentence, treats a distribution as a qualified charitable distribution only to the extent it would be includible in gross income, and section 408(d)(8)(D) measures that extent as if every IRA of the owner were one contract distributed in full, which is the aggregate includible amount (pre-distribution owned-IRA balance less aggregate basis) this record uses; the second sentence of section 408(d)(8)(A) supplies the post-70.5 section 219 reduction. The allocation of the non-qualified remainder between the from-RMD and beyond-RMD portions has no statutory text and is an engine convention: the remainder is charged to the from-RMD portion first. Either order gives the same total ordinary inclusion (25,000 on the worksheet inputs: 50,000 - 35,000 + 10,000 under a qualified-first allocation, 50,000 - 30,000 + 5,000 under the engine's), so tax-total-annual and magi-annual do not depend on the order; only the split between the two published character rows does. The worksheet was first derived on the qualified-first order and re-derived on the engine's; the evidence pins the re-derived 30,000 and 5,000 and is green. The gross gift (YearResult.qcd) and the gross RMD are written by the gift planner and the RMD phase, not by the character planner this test exercises, so they are not asserted here.
    • The evidence asserts the qualified slice through the exported plan builder rather than reading a private local: the slice is recovered from the published qualifiedFromRmd and nonQualifiedBeyondRmd rows
    • An unprovable or contradictory offset history falls back to a zero exclusion rather than guessing, and writes nothing to the cross-year ledger; this record is asserted on a provable history
  • QCD per-donor limit and age-70.5 annual proxy

    Catalog: QCD annual

    Feeds: Tax total annual, MAGI annual

    • The age gate is an annual proxy for 70.5, not a dated test: a July-born donor attaining 70 is refused for the whole year even though the statute would admit the second half of it
    • The cap is per donor, not per household: a two-donor plan carries twice the capacity, and the scalar arm never pools one donor's unused capacity into another
    • The evidence exercises the scalar arm (no named QCD request); a named request returns an empty plan from this helper and is a different path
    • Restated 2026-09-28 under decision D-2027-ROLLOVER: the growth factor and the named arm read the QCD limit's own publication (params/index.ts#componentScale, actions/annualQcdTaxCharacterPostPass.ts#qcdLimitPublishedFor), not the whole set of published figures. The named arm executes only in a tax year whose limit is published, so a gift dated in a year whose November notice has landed executes even while that year's brackets are projected; every year through 2026 reads exactly as before
  • RMD applicable age and attain year

    Feeds: RMD required annual

    • Scoped to the settled 1951-1958 cohort: the 1959 cohort is contested between 73 and 75 and returns two attain years, and the date-sensitive 70.5 cohort needs a birth month
    • The RBD calendar year is asserted through deriveRbdComparison rather than as a date string: the module derives the year internally and publishes a before/on-or-after comparison, not an April 1 value
  • RMD joint-life divisor

    Catalog: RMD required annual

    • The gap test is strictly more than ten years: an exactly ten-year gap keeps the Uniform Lifetime divisor
    • The engine takes the larger of the two divisors, so a joint-life entry smaller than the uniform one could never raise the RMD; at the asserted ages the joint-life entry is the larger
    • The spouse must be the sole beneficiary; this record does not decide that fact, it prices the divisor once the caller asserts it
  • RMD shortfall excise at the default rate

    Feeds: Tax penalties annual

    • The excise is a penalty, never tax: it joins the published penalties line and never AGI, MAGI or the tax line
    • The corrected 10% rate, the discretionary waiver and the two automatic waivers are separate branches this record does not claim; the asserted case elects none of them
    • Pre-2023 tax years take the 50% pre-SECURE-2 rate on the same shortfall arithmetic
  • RMD uniform lifetime divisor

    Catalog: RMD required annual

    • The balance is the PRIOR December 31 figure; using the current year-end balance publishes a different RMD from the same table
    • Inherited-account rules and the first-year April 1 deferral are separate phases: the RMD is taken in the age-attained year
    • A qualifying sole-beneficiary spouse more than ten years younger replaces this divisor, which is the sibling rmd-joint-life-divisor record
    • In the year a surviving spouse's treat-as-own election takes effect, each elected IRA's owner RMD is its own prior December 31 balance divided by this divisor, calculated separately for each IRA: Treas. Reg. 1.408-8(c)(3) determines that year's requirement under section 401(a)(9)(A) with the spouse as IRA owner, 1.408-8(b)(2) substitutes the IRA's balance as of the preceding December 31 for the 1.401(a)(9)-5(b) account balance, and 1.408-8(e)(1)(i) requires the minimum to be calculated separately for each IRA. A lone IRA's positive j(4) reference balance is that prior December 31 balance. Otherwise the balance is the IRA's opening balance plus the distributions accepted as taken from it earlier in the year: the projection never debits an accepted distribution, so the plan's balance is entered after it. The reference stands in only for an IRA alone in its payee/decedent/type pool; when the pool holds two or more IRAs, which the plan checks give identical election facts, the one reference cannot be each IRA's own balance. A 29,600 IRA pooled with a 100,000 one under a 100,000 reference owes 1,203.25 (29,600 / 24.6); until 2026-10-07 the engine charged it the reference's 4,065.04 (100,000 / 24.6). The requirements still aggregate into the owner's one owned-IRA section 4974 obligation. Pinned in simulate.spousalElectionYearOwnerRmd.test.ts
    • A distribution taken in the election year counts once toward the owner's total, whichever IRA it came from, because 1.408-8(e)(1)(i) lets the separately calculated requirements be totaled and distributed from any one or more of the IRAs. A completed current-year history row is credited to the IRA it names, and what that IRA does not need to the rest of the pool. The j(4) pre-election distribution is one figure in the pool's shared facts and names no IRA, so it is counted once for the pool: added back to the first IRA's balance and credited there first. The total requirement does not depend on which IRA carries it, since the IRAs share one owner and one divisor. With 99,000 and 29,600 IRAs, a 100,000 reference and 1,000 distributed before the election, the prior December 31 balances are 100,000 and 29,600, the requirements 4,065.04 and 1,203.25 (5,268.29), the 1,000 is credited once, 4,268.29 is forced, and the year distributes 5,268.29 with no shortfall. Until 2026-10-07 the engine credited the 1,000 to each IRA on the live balances, forced 3,227.64 and left 1,040.65 unmet while reporting no shortfall. Pinned in simulate.spousalElectionYearOwnerRmd.test.ts
    • Known limits, election year: the opening balance plus the accepted distributions omits any gain or loss between the prior December 31 and the date the balance was entered, which only a lone IRA's reference balance carries; when any IRA of a pool has a completed current-year history row, the pool's j(4) pre-election figure is not counted, which can overstate the forced distribution but never counts a dollar twice; and an election-year IRA whose live balance cannot cover its unpaid amount is not made up from another of the owner's IRAs, so the section 4974 shortfall can be overstated where another IRA could have paid it

Roth

  • Conversion schedule total

    Catalog: Optimizer schedule conversion total

    Feeds: Exact ledger validation requested conversion total

    • The total adds nominal dollars of different years, undiscounted; the Optimize page's schedule chart says nominal dollars, while the hero and the Strategy callout do not.
    • A total says nothing about which years carry it; the page prints the count of entries beside it, and every raw entry is above $0.50.
    • A cleaned schedule carries the raw solve's endingAfterTax and lifetimeTax, which describe the raw schedule; nothing reads them from a cleaned schedule.
  • Lifetime Roth conversions: sum of annual traditional-to-Roth movement

    Catalog: Projection summary lifetime Roth conversions

    Feeds: Scenario comparison cell

    • Zero-conversion years remain in the sum; shortening the horizon to drop a zero year also drops later years
    • The evidence constructs the three stated YearResult.rothConversion rows rather than running a full simulation
  • Annual Roth conversion: the bracket headroom a fill-to-target strategy converts

    Catalog: Roth conversion annual

    • Beyond the worksheet's inputs the evidence plan fixes: a 63-year-old single filer (over 59.5 so no early-distribution exposure, under 65 so the deduction is the base standard deduction with no age addition), the $70,000 as an uninflated recurring ordinary stream, zero returns and zero inflation so the 2026 bracket ladder is unindexed, a cash account large enough to pay the conversion tax, and no base spending
    • The published year figure is the executed gross movement: the sized amount is the ceiling (to within half a cent: with two or more convertible owners it is first split in exact cents, so the executed total is the sized amount rounded half up to the cent), and a traditional balance smaller than it (or an RMD reserve) lowers what the row shows
    • The bisection's $0.01 stopping width is a real error bar on the published dollar; the worksheet's $51,800 is reached exactly here only because the first midpoint of the expanded bracket lands on the root
    • The benefits branch is asserted as a branch, not as a number: the worksheet states no closed form for it, so the evidence shows only that a positive benefit makes the answer differ from the no-benefit subtraction
    • The amount is sized once for the household and then split between the owners of traditional balances in proportion to those balances after any unsatisfied RMD is reserved, in exact cents, and each share converts only into that owner's own Roth IRA. An owner with no Roth IRA of their own loses the share, with a warning naming them, so the published figure is the converting owners' shares and can be well below the sized amount, which is published beside it as YearResult.aggregateRothConversionAllocationDesired (decision D-BRACKET-FILL-ROTH-EXAMPLE)

Ladders and valuation

  • FedInvest security-price CSV: TIPS rows to reference records

    Feeds: Ladder rung cost

    • FedInvest omits the TIPS inflation index ratio, so parsed prices are a reference check against the embedded-curve quote, never a replacement for it
    • Rows with fewer than eight cells, a non-TIPS type, an invalid date, a non-finite number or a non-positive price are dropped silently
    • The CSV carries no price date; a snapshot imported from a file has no date
    • Cells are split on every comma; a quoted cell containing a comma is not supported
  • Latest FedInvest price date: previous business day in local time

    Feeds: Ladder rung cost

    • Federal holidays are not recognized: the day after a Monday holiday reads the holiday itself as the price date
    • No evening publication cutoff is modeled: early on a business day the previous business day is assumed published
    • A publication-availability heuristic, not a data source; FedInvest is an opt-in reference and never replaces the embedded planning yields
    • Local-time components are used throughout; a Date built from a UTC string near midnight resolves to the local civil date
  • Nearest FedInvest TIPS for a rung year

    Feeds: Ladder rung cost

    • The one-year window (bestDistance <= 1) was omitted from the first derivation because the doc comment did not state it. The worksheet was re-derived on 2026-09-14 with three cases (A: 2032/2036 for 2033 selects 2032; B: 2030/2035 for 2033 returns null; C: 2033/2034 for 2033 selects 2033), the evidence test asserts all three and passes, and the doc comment now states the window
    • Ties are resolved by list order (first minimum wins); the worksheet states no tie rule and its cases avoid ties
    • Only the calendar year of the maturity is compared; a January and a December maturity of the same year are equidistant
    • A reference-row match for display, not CUSIP-level ladder optimization
  • Funded ratio: present values of essential spending and guaranteed income

    Catalog: Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV

    • Par yields are treated as spot rates: a planning convention, not a bootstrapped zero curve
    • Guaranteed income counts Social Security, pensions, annuities and TIPS-ladder flows only; wages and portfolio income are excluded by design
    • Years before fromYear are excluded from both sides; the horizon ends at the last ledger year
    • The deflator is supplied by the caller; the record assumes it maps nominal ledger dollars to the same real basis as the curve
    • Returns null rather than a ratio when the essential present value is not positive
  • Funded ratio: the year the household floor starts to count

    Feeds: Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV

    • A convention, not a statute: the household floor is counted from the first year without the last earner's wages, so a couple with one person retired and one working shows the ratio from the later retirement, and wages paid past a retirement age (a wage stream's end age after it) count until they end
    • A missing retirement age means the first year without that person's wages, else the start year, and a person who works through the plan is left out, the one rule the FI figures use (household-later-retirement); the card and the insight say which rule applied and who works through the plan
  • TIPS ladder annual cash and remaining ladder value

    Catalog: Income TIPS ladder annual, Ladder value annual

    • The worksheet's rung set (face $10,000 at offset 1 with a 1% coupon and face $20,000 at offset 3 with a 2% coupon, nothing at offset 2) is NOT plan-constructible: ladder/ladderMath.ts#buildLadder derives faces by back-substitution from a level real income and prices every coupon off the embedded real-yield curve, over CONSECUTIVE offsets. The three-offset case is therefore asserted by calling the phase directly with those rungs, the way the other annual-phase evidence files do
    • A real simulatePlan run is asserted beside it for the purchase-year branch the worksheet also states (cash exactly 0 and ladderValue the whole face x scale x factor), because that branch IS plan-constructible
    • The funding scale is written once by the simulator's purchase-funding block and only read here; the direct-call evidence sets it to the worksheet's 0.8 rather than starving a funding account to produce it
    • Cumulative factors of 1.05 at offset 1 and 1.10 at offset 2 are not a constant inflation rate; the direct call passes them as the worksheet states them
    • Taxable income is a different quantity from cash: the phase also returns coupons plus this year's accretion on outstanding face, which these two families do not publish
    • Restated 2026-09-28 under decision D-2027-ROLLOVER. A PURCHASE DATED BEFORE THE START, a registered limit of the convention and not corrected: a ladder whose purchase year is before the projection start year is treated as already paid, anchored at its purchase year, so its rungs pay while no cost is taken from the funding account. When the funding balance was entered before the purchase and not updated, the cost is counted twice. The independent check measured a $30,000-a-year real bridge ladder for 2028 to 2031 bought in 2026: it costs $14,873 of ending net worth from a 2026 start and adds $702,171 from a 2027 start (+$702,077.94 as pinned below, after main's #761 and the 2026-09-29 change to CMS's published IRMAA amounts). The projection names each such purchase in a warning with the cost the ledger prices, and says to lower the funding balance by that cost if it still includes it (projection/preStartEvents.ts#preStartEvents)
    • Since the review (2026-09-29, findings L2 and L7) the warning prints the cost as the ledger prices a purchase in its own year (quotePlanLadder's real cost: $114,426 for that ladder, which the funding row then carries a year's return on, the review's $120,719.61 fall in the brokerage row from a 2026 start), and the sizes are pinned to the cent in packages/planner-ui/src/planner/preStartEvents.figures.test.ts: -$14,871.56 from a 2026 start and +$702,077.94 from a 2027 start (-$14,872.97 and +$702,077.21 before the 2026-09-29 change to CMS's published IRMAA amounts; the review measured +$702,170.98 before main's #761 priced a saved example's 2027 premium tax credit from a 2027 start)
  • Synthetic TIPS rung: floored coupon and par-curve price

    Catalog: Ladder rung cost, Ladder rung coupon rate pct

    Feeds: Ladder build total cost

    • Coupons pay annually; real-world semiannual TIPS timing is ignored (ladderMath.ts header)
    • Par yields are used as spot rates for discounting; no zero curve is bootstrapped (ladderMath.ts header)
    • The 0.125% floor is the regulatory minimum TIPS coupon; a curve yield below it prices the rung above par
    • No CUSIP-level lot rounding in core mode: face is continuous at $1 granularity (ladderMath.ts header)
    • tipsCouponRatePct and priceRung are module-private; the evidence reaches them through buildLadder with a one-rung ladder whose target is F(1 + c), which the back-substitution solves to face F exactly
  • Level-real-income ladder: faces solved back to front

    Catalog: Ladder rung face, Ladder build annual real income by offset, Ladder build total cost, Ladder build target annual real income

    • Faces are floored at zero: a target smaller than the later rungs' coupons yields a zero-face rung and that year then receives more than the target
    • Payout offset and count are rounded and clamped to at least 1 rather than rejected
    • Coupons pay annually and par yields serve as spot rates for pricing (ladderMath.ts header simplifications)
    • No CUSIP-level lot rounding in core mode; faces are continuous
  • Ladder income as a percent of its cost

    Catalog: Income floor ladder yield pct

    • The ratio inherits the construction's planning simplifications: annual coupons, par yields read as spot rates, and the embedded curve's date.
    • On a deferred ladder the cost includes the coupons paid before the first payout year, which the target income does not count, so the yield is below the level annuity rate; a one-year ladder yields more than 100 percent.
  • Real present value of a cash-flow stream on the TIPS curve

    Feeds: Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV, Ladder rung cost

    • Par yields are treated as spot rates; this is a planning approximation, not a bootstrapped zero curve
    • Negative offsets and zero amounts are dropped silently rather than rejected
    • A non-integer offset is discounted with a fractional exponent; no current caller supplies one
  • Par real yield at a maturity: linear interpolation with flat endpoints

    Feeds: Income floor ladder yield pct, Ladder rung coupon rate pct, Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV

    • Endpoints are held flat, never extrapolated: a maturity beyond the last point reads the last yield, and one before the first point reads the first
    • The curve must already be sorted ascending by maturity; the function neither sorts nor validates it
    • An empty curve returns 0% rather than refusing
    • Every caller consumes the interpolated par yield as a spot rate (the par-as-spot planning approximation documented in the ladderMath.ts header)
  • Ladder cash flows in a year and face outstanding after it

    Catalog: Ladder real flows coupons, Ladder real flows maturing principal

    Feeds: Ladder value annual

    • Values are real (today's) dollars; the ledger multiplies by its own inflation path to index them
    • ladder-value-annual is the ledger's nominal figure: ladderRemainingFace at the year's offset times the purchase scale and the year's inflation factor (projection/internal/tipsLadderAnnualCashFlow.ts); this record pins the remaining-face half of that product
    • Offsets are whole years by construction; a fractional offset matches no maturity
  • Embedded Treasury par real-yield curve, 2026-06-30

    Feeds: Income floor ladder yield pct, Ladder rung cost, Ladder rung coupon rate pct, Ladder build total cost, Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV

    • Stored exactly as published, with no rounding to the nearest 5 basis points (decision D-TREASURY, 2026-09-25). Until 2026-09-27 the stored row was 1.85/2.05/2.25/2.55/2.70, which the worksheet showed was neither the official row nor its nearest 5 basis points: 8 basis points below the official row at 5 years, 1 below at 7, 5 above at 10, 1 above at 20 and 3 below at 30. Every ladder quote and funded ratio priced on the curve moved with the correction
    • Maturities below 5 years read the 5-year yield and above 30 years the 30-year yield (flat endpoints)
    • Par yields are consumed as spot rates by every ladder and funded-ratio calculation
    • Refresh cadence is annual with the published parameters; the opt-in FedInvest fetch never replaces this snapshot

Longevity

  • Money lasts: the last funded year and the years short of the plan's end

    Catalog: Display years before plan end, Longevity last funded year

    Feeds: Compare plan deltas

    • A distance, not a count of shortfall years: a year after the depletion year can be funded again if income resumes
    • Deterministic ledger only; the Monte Carlo pages have their own depletion distribution
    • Owner decision R15 (2026-09-25): the Results sentence used to read endYear - depletionYear years before the end (0 for a plan short only in its final year), the KPI bar and the printed report named the depletion year as the year the money lasts until, and the decision code counted a non-depleting plan as lasting through endYear + 1. Every surface now names the last funded year and counts endYear - lastFundedYear. The decision and optimizer deltas did not move: both conventions shift every result by the same one year
  • Joint (either-survives) percentile age on the primary's age clock

    Catalog: Longevity survival percentile age

    Feeds: Spending base annual

    • Independent lifetimes; the either-alive probability is the complement of both being dead, 1 - (1 - S_a)(1 - S_b)
    • The partner's clock is offset by the age difference and advances with the primary's; the answer is a primary age, not a partner age
    • The percentage is clamped to [0.1, 100] before use, a bound the signature comment does not state
    • Each person's hazard power applies to that person's own curve; a missing hazard is 1
    • Two 'average' people are independent mixtures, so P(t) is the average over the four equally likely sex pairings (survival-probability-product)
    • The year-by-year projection reads this age for a couple, at hazard 1, as the horizon a plan's amortization-based spending amortizes to when it is set to the age at least one of them reaches with a 25 or 10 percent chance (projection/simulate.ts), worked out again on every projection: example-couple on the 10 percent horizon ends with an after-tax estate of $1,378,752 on the 2022 table and $1,659,513 on 2023
  • Depletion year: the first projection year whose shortfall clears the funding tolerance

    Catalog: Longevity depletion year

    Feeds: Display years before plan end, Longevity last funded year

    • Beyond the worksheet's inputs the evidence plan fixes: one cash account (so no market shock and no taxable yield reach it), a 51-year-old single filer under 65 (no Medicare premium, no early-withdrawal exposure), zero income, zero inflation and zero return, base spending as the only expense, and an explicit horizonEndYear of 2028 so the three rows are exactly 2026-2028
    • The tolerance is a residual budget, not a balance test: a year that closes at exactly zero with every dollar of spending funded is not depletion, which is why the $30,000 opening balance against the same $10,000 gap still publishes null
    • The field records the FIRST qualifying year only; later shortfalls do not move it, and a plan that recovers after a shortfall year still reports that year
    • The comparison is strict (>), so a shortfall of exactly $0.005 is accepted as a rounding residual rather than depletion; the evidence does not pin that boundary, which would need a plan whose funding residual lands on the tolerance exactly
  • Joint last-survivor life expectancy of two independent lives

    Feeds: Income annuity annual

    • Independent lifetimes; shared household hazards are not modeled and can be understated
    • Curtate expectation plus one half; no hazard adjustment is applied to either life
    • Ages are floored, and a negative age survives with certainty until it reaches 0; the caller is expected to pass ages of at least 0
    • Two 'average' lives are each a man or a woman with probability 1/2, independently of each other, so the expectancy is the average over the four equally likely sex pairings (it is bilinear in the two curves); it is not the reading "an opposite-sex couple, order unknown", which averages only the two mixed pairings (70 and 67: 21.5271 against 21.5732 years)
    • The census exposes no joint-expectancy output; income-annuity-annual is named as the nearest family because the joint-and-survivor exclusion multiple shapes that income's taxable portion
    • Every projection of a plan holding a joint-and-survivor annuity whose exclusion ratio is fixed reads it (projection/annuityForms.ts#annuityExclusionMultiple), so such a plan's taxable annuity income and taxes move when the table changes: annuity-purchases-estate with its annuity made 50 percent joint-and-survivor pays lifetime taxes of $349,346 on the 2022 table and $349,238 on 2023
  • One-year death probability: SSA's published q(x)

    Feeds: Longevity survival percentile age, Monte carlo success rate, Monte carlo ending investable histogram, Social security expected present value, Social security survivor switch PV, Social security FICA return ratio, Income annuity annual, Spending base annual

    • The table end: SSA prints q(119) = 0.926604 for both sexes, and e(119) = 0.58, which counts life past 120; the engine closes the table at 119 instead, as the Monte Carlo horizon and the expected-value loops assume. Reading the printed q(119) and closing the table at 120 would change the chance of being alive at 120 from 0 to 6.8e-12 for a man and 2.3e-11 for a woman of 65, 2.8e-7 at 110, 0.00138 at 117 and 0.0734 for someone already 119, and would change no survival probability to an age below 120
    • The period table is applied unchanged to the person's whole remaining life: it describes 2023's death rates, not an individual's risk or future mortality improvement
    • No interpolation within a year of age: a fractional age reads the row of its whole years
    • A negative age returns 0 and is not flagged
  • Sampled death age: a year-by-year walk down the survival curve

    Feeds: Monte carlo success rate, Monte carlo ending investable histogram

    • Period-table hazards are applied throughout the remaining lifetime; the draw does not predict an individual's death
    • No proportional-hazards adjustment: sampled deaths use the curve at power 1, so the longevity questionnaire's multiplier does not reach the stochastic draw
    • Exactly one RNG draw is consumed per year survived, so the death age shifts every later draw on the same path stream
    • For 'average' the yearly probability is the mixture's from the current age, not a mean of the two q: the survivors of a mixed group become more female with age, so from 65 it is 0.0142164 at 66 against the mean q 0.014227 (the walk still takes one draw per year)
    • The table endpoint (age 119) forces death; nobody is sampled past it (mortality-published-death-probability)
  • SSA period life table, 2023 (2026 Trustees Report)

    Feeds: Longevity survival percentile age, Monte carlo success rate, Monte carlo ending investable histogram, Social security expected present value, Social security survivor switch PV, Social security FICA return ratio, Income annuity annual, Spending base annual

    • The number-of-lives columns SSA also prints are not carried; nothing reads them
    • A period table: 2023's death rates at every age, applied to a person's whole remaining life, not a cohort projection with future mortality improvement
    • When SSA publishes the next edition, the embedded table trails it until a reviewed data change replaces it; the tax-rule record for the table's edition (SSA Table 4C6) names it and is re-verified yearly (annuallyIndexed, the rules:due queue and verify:quotes, whose quoted introduction and row 65 stop matching the page when the edition changes)
    • The last row is closed: the engine reads q(119) as 1 (mortality-published-death-probability) although the table prints 0.926604 there for both sexes; the printed value is carried, not read
    • Which projections read it. The year-by-year projection reads the table in two cases only: when a plan's amortization-based spending is set to amortize to the age reached with a 25 or 10 percent chance (projection/simulate.ts, through survival-percentile-age and joint-survival-percentile-age, worked out again on every projection), and when a plan holds a joint-and-survivor annuity whose exclusion ratio is fixed (projection/annuityForms.ts, through mortality-joint-last-survivor-expectancy). Such a plan gets new year-by-year figures when the table changes: under-saved-single with its spending amortized to the 25 percent age ends with an after-tax estate of $9,840 on the 2022 table and $212,538 on the 2023 table. The Social Security analysis page, the percentile picker, the questionnaire and Monte Carlo with longevity modelled read it on their own pages; a percentile pick is stored once with its edition and not recomputed
  • Hazard power for a remaining-years multiplier: exactly 1 at m = 1, otherwise solved by bisection

    Feeds: Longevity survival percentile age

    • Proportional hazards is the modeling choice: the multiplier is matched on remaining expectancy only, not on the shape of the survival curve
    • The result is clamped to [0.2, 8] and the multiplier floored at 0.1, so extreme questionnaire answers cannot degenerate the curve; the clamps are unstated in the signature comment
    • A clamped result need not reach its target, and from age 119, the table's last age, none can for m other than 1: E(h) is 0.5 for every h, so m = 0.8 returns 8 and m = 1.2 returns 0.2 with the expectancy still 0.5, not 0.4 or 0.6; m = 1 still returns 1
    • The questionnaire's factors are not validated here; the record maps a given multiplier, whatever its source
    • The expectancy sum stops once the running survival falls to 1e-12, and the bisection runs a fixed 40 halvings rather than to a stated tolerance
    • expectancyUnderHazard is module-private; the evidence recomputes the expectancies through survivalCurve
    • The multiplier is matched as a ratio of the curve's own expectancies. The questionnaire prints SSA's e(x) as its baseline, which differs from the curve's E(1) by at most 0.005 years at every questionnaire age from 18 to 110 (largest 0.00496, a man of 46; -0.0045 at 110; at 65 a man's E(1) is 18.1163 against the printed 18.12), because e is printed to two decimals, SSA's person-years within a year of age need not be exactly one half, and SSA's table continues past 119 while the engine closes it. The gap is published with the table as longevity/ssaPeriodLifeTable.ts#CURVE_EXPECTANCY_GAP, which the questionnaire's results card prints rounded up to the thousandth and longevity/curveExpectancyGap.test.ts recomputes from the columns
    • m = 1 returns 1 exactly rather than bisected; the bisection cannot land on 1 (on the 2022 table it returned 0.9999999999989995 at every age and sex). Aiming at m times the curve's own E(1), rather than m times the printed e, moves a questionnaire-adjusted percentile age by one year in 1, 1, 2 and 3 of 837 picks (ages 18 to 110, three sexes, 50, 25 and 10 percent) at m = 0.8, 0.9, 1.1 and 1.12, compared with aiming at the printed e on the same table; at m = 1 the printed-e target would move one pick of 837 (a woman of 25 at 10 percent, 95 to 96) and this one moves none
    • For 'average' one power applies to both halves of the mixture, and it is not the mean of the male and female powers (m = 0.8 at 65: 1.70016, against 1.63807 for a man and 1.76442 for a woman)
    • The worksheet pins the identity point m = 1 at all 279 age and sex points from 18 to 110 and one non-identity case, m = 0.8 at 65 for each sex; the survival tests (survival.test.ts) cover direction and monotonicity for m = 0.8 and 1.12
  • Survival-percentile planning age: oldest age reached with probability at least pct/100

    Catalog: Longevity survival percentile age

    Feeds: Spending base annual

    • The percentage is clamped to [0.1, 100] before use, a bound the signature comment does not state; a value passed as a probability (0.97) is read as 0.97%
    • Survival is nonincreasing, so the qualifying ages form an initial interval and the loop may stop at the first failure
    • The signature comment bounds the result by MAX_AGE + 1 (120); the table's last row is closed (q(119) = 1, mortality-published-death-probability), so the survival to 120 is 0 and the largest value actually returned is 119, or the floored current age when that is older (a current age of 125 returns 125, which it has already reached)
    • For 'average' the age is read off the mixture's curve and is not the mean of the male and female ages (at 65, 50/25/10 percent: 85/91/95, against 83/89/94 for a man and 86/92/96 for a woman)
    • The planner-ui SurvivalPercentileModal clamps the result to 60..120 before it becomes the plan's planning age; that clamp is presentation and is not part of this record
    • The year-by-year projection reads this age for a single, at hazard 1, as the horizon a plan's amortization-based spending amortizes to when it is set to the age reached with a 25 or 10 percent chance (projection/simulate.ts). Unlike a percentile pick, which is stored once with its edition, that horizon is worked out again on every projection, so the plan's figures move when the table changes: under-saved-single on the 25 percent horizon (age 90 on the 2022 table, 91 on 2023) ends with an after-tax estate of $9,840 on the 2022 table and $212,538 on 2023
  • The survival curve: product of hazard-adjusted one-year survivals, and the 50/50 mixture for 'average'

    Feeds: Longevity survival percentile age, Social security expected present value, Social security survivor switch PV, Social security FICA return ratio, Income annuity annual, Spending base annual

    • Ages are floored; a fractional current or target age is not interpolated
    • A target at or below the current age returns exactly 1 without consulting the table
    • survivalProbabilityTo does not validate the hazard power (a non-positive h is used as passed); survivalCurve refuses one
    • annualSurvival is module-private; survivalCurve and survivalProbabilityTo read it, and the evidence reaches it through both
    • 'average' is the 50/50 mixture of the two sexes' curves from the person's current age, not a q(x) table: its one-year chance of dying given alive depends on the starting age, because the survivors of a mixed group become more female with age (at 90: 0.14086 for a mixture formed at 22, 0.14155 at 65 and 0.14327 at 85, against the mean q 0.144317). Every survival probability, the life expectancy (0.5 plus the sum of the survivals) and every expected value linear in the curve are the means of the male and female ones; ages read off the curve and hazard powers solved on it are not (at 65 the ages reached with 50, 25 and 10 percent chance are 85, 91 and 95, against 83, 89 and 94 for a man and 86, 92 and 96 for a woman)
    • The hazard power applies to each sex's curve before mixing: the person is one sex or the other, with that sex's death rates raised to h, and one power serves both halves
    • Two 'average' people are independent mixtures: each is a man or a woman with probability 1/2, independently of the partner, so a couple's expected value, joint expectancy or either-alive probability is the average over the four equally likely sex pairings (man-man, man-woman, woman-man, woman-woman). It is not the reading "an opposite-sex couple, order unknown", which averages only the two mixed pairings; that reading differs by up to 0.135 percent of a benefits-only row on the examples' two couples of 'average' people (all-401k-no-bridge and brokerage-bridge-401k) and changes no top claim age at 0, 2 or 4 percent

Monte Carlo

  • Cholesky factor of a correlation matrix

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles

    • A matrix that is not positive definite (a diagonal pivot at or below 0, which includes a perfectly correlated pair of classes) is refused with a message; the shipped default matrix is positive definite
    • A positive-definite matrix whose pivot is positive but below 1e-12 is now factored exactly; it used to have that pivot raised to 1e-12, so its class shocks differ from before (for [[1, r], [r, 1]] with r = 1 − 1e-13, L_22 is 4.4728311955343587e-7, not 1e-6). This is the one valid input whose factor changed
    • The function neither checks symmetry nor rescales a correlation matrix to unit diagonal
    • Class-shock models pass this factor a matrix over ASSET_CLASS_IDS order; a 2×2 is the worksheet case, not a live allocation
  • Annuitization sweep point: premium, annual income and effective allocation

    Catalog: Annuitization sweep premium, Annuitization sweep annual income, Annuitization sweep effective allocation pct

    • A point only reaches the published list when the shared-path Monte Carlo returns a row for its variant, so the evidence has to run one: it uses a two-path comparison over a two-year horizon (a 1954 birth with planning age 73 from 2026 runs 2026 and 2027) with a fixed seed. The three figures themselves are decided before that run and do not depend on its outcome
    • Beyond the worksheet's inputs the evidence plan fixes: a 1954-born single filer so the 2026 current age is 72, a $100,000 cash funding account beside a $100,000 traditional account for a $200,000 investable total, a grid of exactly [2, 60] so the skipped and retained points are both present, no user quote, zero return and zero inflation
    • The funding account carries no static allocation, so the sweep's Kitces glidepath controls are not constructible here and attributionAvailable is false; the sweep records that as a note rather than an error
    • The skipped $4,000 point is asserted as an ABSENT allocationPct, since a skipped point is never pushed rather than published at zero
  • Embedded annual stock, bond, and inflation series, 1928–2023

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Each value is approximate at about 0.1–0.5 percentage point; bootstrap sampling uses the joint distribution and sequencing, not basis-point precision
    • Refresh cadence is annual with the published parameters
    • The full table is not reproduced in the worksheet; the evidence pins row count, endpoints, column sums, and the three sample rows the worksheet names
  • Arithmetic mean of blended historical portfolio returns

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Arithmetic mean is required to center additive shocks; a geometric mean would not make the average shock zero
    • The mean is taken over the embedded 96-year window only; it is not a forecast of the plan expected return
  • One-year two-asset blended nominal return

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A two-asset stock/bond mix; cash, international, and class-level sleeves are not in this blend
    • The weight is not clamped to [0, 100]; a value outside that range is used as passed
  • Historical stress window total shortfall

    Catalog: Historical stress window total shortfall

    • Beyond the worksheet's inputs the evidence plan fixes a plan the replay cannot move on either axis: one CASH account, which annualPostSolveAccountGrowth exempts from the market return shock, so the replayed returns really are the worksheet's 0, 0, 0; and the $60,000 a year delivered as the scheduled payment of an interest-free note, because debt service is NOMINAL while base spending and one-time goals are both inflated to the year (the 2000-2002 window's own 3.4% and 1.6% CPI prints rescale a goal-based test to a 2027 shortfall of $22,040). Beside that: a 58-year-old single filer (no Medicare month, no traditional account to penalize), no income, no tax, no HECM, and a three-year horizon from the planning age
    • Because that plan is replay-invariant, every rolling window in the suite reports the same total; the evidence reads the 2000-2002 window by label, and the identity it pins is the sum, not a property of those particular historical years
    • Suites are run with suites: ['rolling'] and windowLengthYears 3 to keep the test to one pass over the rolling windows
    • An explicit windowLengthYears must be a whole number of years from 1 to 96; anything else is refused with a message before any window is simulated, rather than clamped
    • The sum does not distinguish a discretionary miss from a floor miss: totalRequiredShortfall and totalTargetShortfall are separate fields over the same years
  • Per-person paid-care episode draw

    Feeds: Spending care cost gross annual, Long term care benefit annual, Monte carlo success rate, Monte carlo ending investable histogram

    • Defaults are planning approximations (HHS/ASPE incidence, Genworth-range cost) and do not predict individual need, local cost, or insurance eligibility
    • Onset is clamped no earlier than current age so the spike lands in the future
    • The comparison is U >= incidence (no event); reversing it to U > incidence is the worksheet's first wrong reading
    • One draw per person, not one household draw per path
  • AR(1) mean-reverting return shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A dynamics assumption, not evidence of a true return process
    • The path always starts from prev = 0; a prior shock of 10 is realized as year 1 of the path, and the worksheet's "next two shocks" are years 2 and 3 with zero innovations
    • The phi default comment was corrected to the code's 0.25 on 2026-09-18 (D-STUDENT-T-MIXTURE notes the related decision). The worksheet case passes 0.2 explicitly
    • A phi of 1 or more in size, where the process is not stationary, is refused with a message; phi used to be clamped to [−0.9, 0.95] without a word, and values inside that range run exactly as before
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct or inflationVolPct is refused with a message
  • CAPE-conditioned shift of a mean-preserving lognormal shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A modeling hypothesis, not proof that CAPE causes the stated future-return change
    • The adjustment is capped to [−4, 2] percentage points on purpose: the cap bounds a derived value, not an input the caller set; the worksheet case −0.75 does not bind
    • The projection still adds the plan expected return separately; this record is the shock only
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct or inflationVolPct is refused with a message
  • Empirical historical shock, centered or raw

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Centered mode studies dispersion about the historical mean; raw mode preserves the empirical level but can double-count because the projection adds expected return separately
    • Neither mode predicts future returns
    • The sampler mixes sequence-step and iid (a 0.5 coin) rather than drawing one iid index per year
  • GARCH(1,1) variance recursion with variance targeting

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • alpha 0.1 and beta 0.85 are illustrative values, not fitted to annual return data; no source fixes annual GARCH parameters
    • Innovations are Gaussian: the fat tails come only from the changing variance (a stationary kurtosis of 3.77 at the defaults)
    • Allocated accounts' class shocks share one common variance with the market: each class keeps its configured long-run volatility and correlations, and each year every class is scaled by the same sqrt(v_t)/sigmaBar, so all classes cluster together rather than each following a variance of its own (at returnVolPct 0 the scale is 1)
    • The variance v_t is internal and not published; only the shock, inflation and class series are
    • An additive shock can take a year's return below −100 percent (the return is the plan's expected return plus the shock), and the ledger floors balances at zero (annualPostSolveAccountGrowth.ts); after a large shock the next year's variance, and with it that chance, is higher
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite inflationVolPct is refused with a message
  • Additive Gaussian return shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • The unbounded lower tail can imply returns below −100%, an explicit limitation of additive normal shocks
    • This is simulated dispersion, not a forecast
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct or inflationVolPct is refused with a message
  • Centered historical bootstrap shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Subtracting the sample-series mean makes the empirical shock mean zero; it does not claim history repeats or that a 60/40 blend fits every portfolio
    • blockLengthYears (default 5) must be a whole number of at least 1, in every mode; anything else is refused with a message rather than rounded
  • Bernoulli high-inflation regime mix

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A stress model, not a forecast of regime incidence
    • Inflation volatility is hardcoded at 1.5 percentage points; zero-innovation inflation requires Z = 0, not a configured vol of 0
    • A high-inflation probability outside [0, 1] is refused with a message; it used to be clamped to [0.01, 0.3] without a word, and values inside that range run exactly as before
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct is refused with a message
  • Mean-preserving lognormal return shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Defines simulated dispersion, not a forecast or a guarantee that returns are lognormal
    • The plan expected return is added by the projection; putting it inside this model would double-count
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct or inflationVolPct is refused with a message
  • Two-state bull/bear Markov return shock

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A scenario model, not evidence markets have two regimes
    • Symmetric +a/−a deviations are near zero only under equal long-run state mass
    • The start state is a coin flip (U > 0.5), so the worksheet's "current state bull" is realized by scripting that first draw
    • A switch probability outside [0, 1] is refused with a message; it used to be clamped to [0.001, 0.5] without a word, and values inside that range run exactly as before
    • A negative or non-finite bullVolPct, bearVolPct or inflationVolPct is refused with a message
  • Reversed-history window replay

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A stress transformation that preserves marginal observations while changing sequence risk, not a historical claim
    • A windowLengthYears that is not a whole number from 5 to 96 is refused with a message rather than run as a different window; the planner always sends 10
    • Paths longer than L repeat the same reversed window
  • Stationary (geometric-block) historical bootstrap

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Preserves observations while randomizing dependence lengths; it does not establish that historical dependence recurs
    • One block-length draw per block: remaining = floor(−ln(1 − U) · L) || 1. A per-year continuation coin with p = 1/L is a different law even when its mean is near L
    • A meanBlockLength below 2, or not finite, is refused with a message rather than raised to 2
    • Draw order per block is nextInt(n) then next(); a new pair is drawn only when remaining reaches 0
    • The || 1 is kept on purpose: it rejects an empty block, since at U = 0.01 and L = 5, floor(−ln(0.99) · 5) = 0 would otherwise be length 0
  • Student-t return shock scaled to the configured volatility

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A tail model, not a claim that future returns follow a t distribution; the planner always uses df 5, and no source fixes df
    • A df of 2 or less is refused, because the variance is infinite there; for df of 4 or less the fourth moment is infinite
    • Allocated accounts' class shocks share V with the market, so the class vector is approximately a multivariate t (exactly one for an ideal chi-square V): large moves in magnitude co-occur across classes (tail dependence) even where the class correlation is low, while their direction follows the correlation; cash gets t tails too
    • Inflation reads t rather than Z, so it inherits a little of the tail at the default correlation of −0.2; this keeps the configured correlation, for positive return and inflation volatilities and up to the capped normal inside V; with either volatility 0 the correlation is undefined
    • An additive shock can take a year's return below −100 percent (the return is the plan's expected return plus the shock), and the ledger floors balances at zero (annualPostSolveAccountGrowth.ts). At df 5 the chance per year of a shock at or below −105 points is 4.8e-5 at 12 percent volatility, 5.3e-4 at 20 percent and 1.4e-3 at 25 percent; the earlier mixture was about 2.3e-3 at 25 percent
    • The normal inside the chi-square draw floors its first uniform at 1e-12, as rng.ts does, which caps its size near 7.43, so V is a close approximation of chi-square(df), not exactly it: the exact t variance, correlation and multivariate t are the ideal draw's
    • A return-inflation correlation outside [−1, 1], or not finite, is refused with a message rather than clamped
    • A negative or non-finite returnVolPct or inflationVolPct is refused with a message
  • One-year additive user shock on a lognormal base

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A what-if, not an assigned crash probability
    • A shockYear that is not a whole number of at least 1 is refused with a message (a value below 1 used to be raised to 1, and a fractional one gave no shock year); treating it as zero-based is the worksheet's first wrong reading
    • A negative or non-finite baseReturnVolPct is refused with a message
    • The shock year still consumes the year's RNG draws; only the return-shock formula is replaced
  • Default Monte Carlo seed and the headline run's options

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year, Insight monte carlo success delta, Risk based guardrail solved balance thresholds

    • Any fixed seed is one draw from the same sampling distribution: a headline rate on 1,000 paths still carries about 1.4 points of sampling error, which one seed for every plan does not remove; it removes the id's part of it and pairs every comparison
    • The value was kept because it was already the tournament's seed, before any figure was measured on it; choosing a seed by its outcomes would bias every figure
    • An allocated plan draws class shocks after each year's return and inflation draws, so an allocated plan and a single-return plan share only their first year's draws even on one seed
    • RetireGolden-MCP adopted these options in 0.12.0: run_monte_carlo with no arguments runs headlineMonteCarloOptions (1,000 paths, this seed, the plan's lognormal model at 12 percent), where through 0.11.x it ran 200 paths on seed 42 with a plain lognormal model; an explicit seed, pathCount or returnVolPct replaces only its own default, and returnVolPct sets only the market factor, since an allocated account draws its classes' own volatilities
    • Risk-based thresholds saved before schema v6 carry no stored seed and were solved on the plan-id seed; the Spending card says so and offers to solve again (guardrailThresholdSeedBasis)
  • Depletion-year histogram across paths

    Catalog: Monte carlo depletion year histogram

    • Successful paths are absent entirely: there is no null bucket, and no zero row for a year in which nothing depleted
    • The rows are grouped, not one row per failing path; the two 2031 failures are one row of count 2
    • depletionProbabilityByYear divides these counts by a base this record does not publish; monte-carlo-depletion-probability-by-year states that rule
    • The evidence supplies depletionYear only; every other MonteCarloPath field is at the test’s neutral (zero balances and shortfalls, floor and target met, attainment 1, no goal or guardrail activity, no bequest target)
  • Depletion probability and cumulative probability by year

    Catalog: Monte carlo depletion probability by year

    • The denominator is every path, successes included; dividing by the four failures alone would give 1/4, 1/2, 1/4 with a final cumulative of 1
    • Successes never form a row of their own; they act only on the denominator
    • cumulativeProbability is accumulated left to right in floating point, so the last row equals the failure rate only up to that accumulation
    • The evidence supplies depletionYear only; every other MonteCarloPath field is at the test’s neutral (zero balances and shortfalls, floor and target met, attainment 1, no goal or guardrail activity, no bequest target)
  • Ending investable histogram and ending after-tax estate percentiles

    Catalog: Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles

    • The test passes 4 bins; production defaults to 30, where the same clamp puts the maximum in bin 29
    • binWidth is 1, not 0, when every ending value is equal, so a degenerate sample still bins
    • The percentiles are interpolated, so p90 of these five estates is $840 and not the observed $1,000
    • aggregateMonteCarlo also publishes a histogram of ending estates and percentiles of ending investable; this record's worksheet pins one of each, and the ending net worth pair is outside it
    • The evidence supplies endingInvestable and endingAfterTaxEstate only; every other MonteCarloPath field is at the test’s neutral (no depletion or shortfall, floor and target met, attainment 1, no goal or guardrail activity, no bequest target)
  • Fan chart percentile ranges

    Catalog: Display fan band widths

    • The pairing and the tooltip text are the chart's, done in planner-ui by planner/format.ts fanOuterBand and fanInnerBand (the two bands' data keys) and fmtMoneyOrRange (the tooltip), which the census names as this family's UI sources; the registry pins only engine code, so implementedBy names the engine function that publishes the levels, the engine's fan percentiles, whose own record states how each is interpolated.
    • A band's width (p90 minus p10) is not published: it is not a level of any path, and the chart printed it as one before R14.
  • Ideal and excess funding rates, and the flexible-goal totals

    Catalog: Monte carlo ideal funding rate, Monte carlo excess funding rate, Monte carlo flexible goal outcome counts

    • A ratio of totals, not a mean of per-path rates: averaging the four per-path rates under the zero-intended convention would give 0.625 for both
    • A path that intended nothing adds nothing to either side of its ratio, so it moves neither rate
    • The convention tests "intended total > 0", so a zero or negative total intended amount yields 1 rather than a division
    • The flexible-goal figures are sums; averaging them would give 0.75, 0.5, 0.5, 0.25, $125 and $75
    • The evidence supplies the four funding fields and flexibleGoals only; every other MonteCarloPath field is at the test’s neutral (no depletion or shortfall, floor and target met, attainment 1, no guardrail activity, zero balances, no bequest target)
  • Guardrail action counts summed across paths

    Catalog: Monte carlo guardrail action counts

    • A sum, not an average and not a path incidence count: averaging over four paths gives 1.5, 0.75 and 1.5, and counting the paths with at least one action of each kind gives 2, 2 and 3
    • A path with no actions stays in the set; it adds zero, and it is not dropped from any denominator here because there is none
    • The path-share and conditional-magnitude statistics live in the adjustments block (monte-carlo-guardrail-adjustments), which counts paths, not actions
    • The evidence supplies guardrailActionCounts only; every other MonteCarloPath field is at the test’s neutral (no depletion or shortfall, floor and target met, attainment 1, no cut years, zero balances, no bequest target)
  • Guardrail adjustment shares, depths, durations and ending surplus

    Catalog: Monte carlo paths with cut share, Monte carlo paths with raise share, Monte carlo cut years, Monte carlo max cut depth percentiles, Monte carlo average longest cut spell years, Monte carlo prob ending surplus, Monte carlo prob ending above bequest target

    • Every cut statistic divides by the cut paths, not by all paths: over all five, average cut years would be 2.8 and the average longest spell 1.8 years
    • A zero ending estate is not a surplus; probEndingSurplus takes a strictly positive estate, so counting zeros would give 1 rather than 0.6
    • probEndingAboveBequestTarget divides by the paths whose comparison is non-null, and is null only when no path carries a target; all five worksheet paths carry one, so that denominator and the path count coincide here
    • The cut statistics are all zero for a plan with no guardrail policy, which is not the same claim as a plan that cut nothing
    • guardrailActionCounts is summed elsewhere (monte-carlo-guardrail-action-counts); this record publishes path shares and conditional magnitudes only
    • The evidence supplies the guardrail fields, endingAfterTaxEstate and endingAboveBequestTarget only; every other MonteCarloPath field is at the test’s neutral (no depletion or shortfall, floor and target met, attainment 1, no goal activity)
  • Histogram bin centres

    Catalog: Display histogram bin label

    • The last bin is closed (it holds the maximum), so its centre is the midpoint of a closed interval.
    • With every value equal the other bins are empty and their centres carry no information; at the page's defaults this happens on 3 of the 29 example plans as the library opens them on the default seed (every path runs out; 5 on the plan-id seed it replaced).
  • Per-year investable balance fan

    Catalog: Monte carlo investable fan percentiles

    • The sample runs down one year's column across paths, never along one path's years: reading the rows as years would make the first sample [0, 100, 1000] with median $100
    • Interpolated, not nearest-rank: nearest rank would read 2030 as $0, $0, $100, $300 and $1,000
    • The fan is as long as the first path's investableByYear, so every path in a result must carry the same year grid
    • An empty sample gives 0 at every level rather than an undefined percentile
    • The evidence supplies investableByYear only; every other MonteCarloPath field is at the test’s neutral (no depletion or shortfall, floor and target met, attainment 1, no goal or guardrail activity, no bequest target)
  • Lasting and depleted path counts

    Catalog: Monte carlo lasting and depleted path counts

    • Lasting means the investable assets never ran out; a path can last and still fall short of its required or target spending, which the layered success rates count.
  • Median first-depletion year

    Catalog: Monte carlo median first depletion year

    • A median of the failing paths only: it says when the typical failure happens, not how likely failure is, which the success rate says.
    • With an even number of failing paths it is the lower middle year, never an average of two years, so it is always a year some path failed in.
  • The order a Monte Carlo path draws each person's death and care from

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Any order is an equally valid sample; the canonical one is fixed so the published rate does not depend on which person takes the first random number, not because it is better
    • Keying each person to a separate stream by id would also be order-free, but renaming ids would then move every path
  • Shortfall averages, p90s, and expected shortfall on failing paths

    Catalog: Monte carlo average total shortfall, Monte carlo P90 total shortfall, Monte carlo expected shortfall on failing paths, Monte carlo average years below target, Monte carlo P90 average annual target shortfall, Monte carlo target attainment median

    • Expected shortfall conditions on depletion, not on a positive shortfall: path E's $100 shortfall without depletion stays outside it, and averaging all five would give $36 rather than $35
    • The p90 figures are interpolated, so they need not be an observed value: nearest rank would give $100 and $40
    • The requested attainment figure is the median of the percentile set, not the mean, which is 0.70 on these paths
    • The worksheet allows absolute $0.005 on a dollar average whose division is inexact; these five inputs divide exactly, so the test holds every figure to 1e-9
    • downsideRisk.expectedShortfallDollars and the required and target variants beside it are zero, not undefined, when no path fails
    • The evidence supplies depletionYear, totalShortfall, yearsBelowTarget, averageAnnualTargetShortfall and targetAttainmentPct only; every other MonteCarloPath field is at the test’s neutral (floor and target met, no goal or guardrail activity, zero balances, no bequest target)
  • Stochastic frontier axis value per variant

    Catalog: Stochastic frontier variant axis

    • The two axes are not the same quantity: the spending axis is the variant's absolute base annual expense, while the retirement-age axis is the resulting planned age, so neither axis is a delta from the base: not -12,000, 0 and 12,000, and not -2, 0 and 3
    • A frontier sweep is capped at MAX_FRONTIER_POINTS (15) points and neither builder searches; the grid is always the caller's
    • A point's other figures (the three success rates, the ending-estate percentiles, expected shortfall) come from the variant's Monte Carlo summary and are not this record's claim; the evidence asserts x only
    • The evidence runs the real builders on a small one-person plan at pathCount 2 and seed 123, the smallest reproducible run the options allow, because the axis does not depend on the stochastic result at all
    • The retirement-age axis was first derived as the caller's delta from the StochasticFrontierPoint.x doc comment, which stated the delta; on 2026-09-18 the comment was corrected to the resulting clamped age the builder publishes, the worksheet was re-derived and re-approved on it, and the evidence pins 63, 65 and 68 for deltas -2, 0 and 3 on a plan retiring at 65, 65 for the two-person case and 30 at the lower clamp
  • Success, required-floor, target-lifestyle and failure rates

    Catalog: Monte carlo success rate, Monte carlo required floor success rate, Monte carlo target lifestyle success rate, Monte carlo failure rate, Monte carlo failing path count

    • The three tests are distinct, and the shared 0.6 of successRate and requiredFloorSuccessRate is a coincidence of this path set; the evidence therefore also asserts each path's own three verdicts
    • Depletion alone defines failure here: a path that missed its target every year without depleting still counts as a success, and treating any target miss as depletion would give failure rate 0.8 on four paths
    • An empty path set gives 0 for every share rather than an undefined rate
    • The evidence supplies depletionYear, requiredFloorMet and targetLifestyleMet only; every other MonteCarloPath field is at the test’s neutral (no shortfall, attainment 1, no goal or guardrail activity, zero balances, no bequest target)
  • Temporary deferred-QLAC payout-rate placeholder

    Feeds: Annuitization payout rate pct, Annuitization sweep annual income

    • No direct deferred quote was obtained; the constant is a placeholder to be replaced at the next refresh of the published parameters
    • It is intended to understate candidates (16% vs the age-85 immediate 15.3%), not to represent a sourced market quote
    • The census has no QLAC-specific family; annuitization-payout-rate-pct and annuitization-sweep-annual-income are named as the nearest families this placeholder feeds when a deferred QLAC candidate is sized, and are not this constant's published number
  • Risk-based guardrail thresholds and suggested adjustments by bisection

    Catalog: Risk based guardrail solved balance thresholds, Risk based guardrail suggested adjustment monthly

    Feeds: Display guardrail balance thresholds, Spending guardrail factor annual

    • Monotonicity of success in f and m is assumed, not checked; with a curve that is not monotone the result is a lattice point but not a meaningful edge
    • The Spending card always solves under the lognormal model at 12 percent volatility around the plan's own expected returns (allocated accounts use their asset classes' volatilities), with 200 paths and the engine's default seed (monte-carlo-default-seed), whatever model the Monte Carlo page shows; the solve stores the seed beside the thresholds, and thresholds saved before schema v6 carry none and were solved on a seed taken from the plan id, which the card says
    • Successes are cached by the balance scale rounded to 1e-6; the lattice step is about 3.9e-3, so two lattice points never share a key. The spending phase is not cached, so successAfter re-evaluates a multiplier the bisection has usually tried already
    • With a single path S is 0 or 1, so the two band edges are the same test and return the same point
    • balancePct rounds in floating point: at three of the 1,024 lattice points (k = 192, 448 and 704) the product lands just below a half and rounds down, persisting 76.62, 176.12 and 275.62 where the exact values round half up to 76.63, 176.13 and 275.63; the callouts print the persisted percent of today's balances (guardrail-threshold-dollars)
  • Starting investable: sum of listed account balances

    Feeds: Display guardrail balance thresholds, Monte carlo success rate, SWR rule result initial annual spend

    • The listed investable set is the same dollar base market paths can fund; property is excluded by type and because it stores value rather than balance
    • Basis fields are not added; only the balance field of an investable account contributes
  • SplitMix32-style per-path seed

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • Hashing path identity rather than advancing one shared stream makes worker partitioning irrelevant
    • Not cryptographic; adjacent indices are mixed by pathIndex+1 and the lowbias32 finalizer, not used as seed + index
  • Mulberry32 uniform reference stream

    Feeds: Monte carlo success rate, Monte carlo investable fan percentiles, Monte carlo ending investable histogram, Monte carlo ending after tax estate percentiles, Monte carlo depletion probability by year

    • A small noncryptographic generator suitable for reproducible simulation sampling, not security
    • Normal draws cache the paired Box–Muller value; the worksheet vector is the uniform stream, not the normal stream
  • Life-only SPIA payout-rate linear interpolation

    Catalog: Annuitization payout rate pct

    Feeds: Annuitization sweep annual income, Annuitization sweep premium

    • Planning defaults only; a user-entered quote always wins
    • The age-85 anchor is extrapolated, not quoted
    • Female column is the conservative unisex default; male quotes are higher
    • annuitization-sweep-annual-income is premium times this rate and annuitization-sweep-premium is the grid premium; those families are fed, not this interpolation's published number

Optimizer and comparisons

  • Claim age co-optimization

    Catalog: Claim age co optimization combinations evaluated, Claim age co optimization current claim exact estate, Claim age co optimization joint exact estate

    Feeds: Optimizer recommended conversion annual

    • The count includes the current claim and excludes the stream's own current age as a candidate: an open stream claiming at 70y0m generates two candidates and so evaluates three combinations, and a plan with no stream, or whose claims are all made, still evaluates one. The middle point is the person's own full retirement age from socialSecurity/nra.ts#fraForBirthYear. The two estates are RUN-PINNED, not derived: the worksheet states no dollar figure for either, so the test's example carries the value one execution of the co-optimizer produced on the stated plan, and it is evidence of that execution rather than of an independent derivation. What is derived is their equality: with no traditional balance every schedule is empty and no claim clears the 1000-dollar margin, so the joint estate IS the current-claim estate and both claim outputs are null. The strictness of that margin at exactly 1000 dollars was NOT constructed: it needs a candidate whose exact estate sits one margin above the current-claim optimum, which no plan input the worksheet states can produce
    • The two estate dollars (1,130,409.20 in the current-claim-wins case) stay pinned from one engine run. Nothing outside the engine derives them, so the test shows only that the run has not changed, not that the figure is right; the independent review of 2026-09-29 asked for an outside derivation, and none is made
    • It differs from the Social Security page's whole-plan sweep (social-security-claim-age-sweep): it re-optimizes conversions for each candidate but tries only 62, full retirement age and 70, one stream at a time, compares on the estate alone under every objective, and needs a 1000-dollar margin; the sweep holds the plan's conversions and tries every whole year. Adding the sweep's winner as one more candidate is a later change
    • A claim already made, and a canonical age whose claim year is before the start year, is not offered: an early claim cannot be paid for months before its application (20 CFR 404.621(a)(3)), and a later one only six months back ((a)(2)); withdrawal within 12 months and voluntary suspension from full retirement age are not modeled
    • Where the premium tax credit cannot be priced in a year of the plan as entered, no claim candidate is priced, since a claim age moves the income that credit depends on and the ledger cannot say which way; the conversion side keeps its own refusal (the tournament's ACA veto)
    • Its streams are the first two Social Security streams, where the page's sweep takes the first two with a benefit (socialSecurity/openClaims.ts#claimAgeStreams: a positive entered PIA or an earnings history). A plan with a zero-PIA stream among its first two, on which the ledger can still pay a spouse benefit, is searched differently on the two pages, and a past claim on such a stream is named on the Optimize card only; no example plan has one
  • Claim-age co-optimization estate gain

    Catalog: Claim age co optimization estate gain

    • The gain is in nominal dollars of the plan's last year, like both estates beside it: for a plan ending in 2091 at 2.5 percent inflation from 2026, $193,083.87 is $38,787.76 in 2026 dollars. The card and the report row name the year.
    • The gain compares optima on after-tax estate whatever objective ranked the conversion schedules; the card says after-tax estate.
  • Full projection cleaned schedule

    Catalog: Optimizer recommended conversion annual

    Feeds: Exact ledger tournament margin over MILP dollars

    • Cleaned is the per-year minimum, not the request: keeping the request republishes 15000 dollars in a year the ledger funded with 5000, and summing the raw requests publishes 30000 dollars rather than the cleaned 20000. The reason on that year is ledger-capped. A fourth member, rounding, was once declared on the reason union and never assigned; decision D-ADJUSTMENT-ROUNDING-REASON removed it on 2026-09-25, and the evidence still asserts it is not among the reasons the run assigns. Of the worksheet's three live reasons only ledger-capped is realized by its stated inputs; dropped-zero and estate-pruned were NOT constructed from them, because each needs a different raw schedule and, for estate-pruned, a plan whose trailing conversion year harms the exact estate; the worksheet states neither, so the test asserts instead that the run's reasons lie inside the three live values and that rounding is not among them. Beyond the worksheet's inputs the test assumes a validated single-person plan with a 10000-dollar cash account and an empty Roth account beside the 20000-dollar traditional one, zero healthcare expenses, a planning age of 67 and the production federal tax calculator from start year 2026, so Y1 is 2026 and Y2 is 2027; the raw schedule is a full OptimizedSchedule literal whose per-year solver rows are zero apart from the conversion, which the entry requires and the worksheet does not name. The MILP-sourced winning schedule the worksheet mentions is a solver-run limit with no number and is not asserted here.
  • Full projection conversion execution

    Catalog: Exact ledger validation requested conversion total, Exact ledger validation executed conversion ratio, Exact ledger validation first materially unexecuted year

    • The materiality margin is resolved per year from that year's own requested amount, not once from the schedule total, and the comparison is strictly more than, so a shortfall equal to its margin does not qualify; the ratio is capped at 1 so an over-execution cannot read as more than the whole request, and the zero-request branch is the stated exact 1 rather than a division. Beyond the worksheet's rows the test assumes a validated plan with one non-inherited traditional account and a baseline result that the entry requires and the worksheet does not name; both projections are supplied as ProjectionResult values at the exported validation entry, so the requested-versus-executed arithmetic is the real function while neither ledger run is exercised here. ExactLedgerValidation.executedConversionTotal has no census family this round, so it is read only as the ratio's numerator and is not published by this record.
  • Full projection summary comparison

    Catalog: Optimization baseline after tax estate, Optimization candidate after tax estate, Exact ledger validation ending net worth delta

    • No value from one result may be paired with the other result's label: the baseline estate is the shared baseline run's summary and the candidate estate is the candidate schedule's own run, and the delta is on ending net worth rather than on after-tax estate. Beyond the worksheet's four summary figures the test assumes a validated plan whose only estate-discounted holding is one non-inherited traditional account at a 25 percent flat heir rate, so each result's final-year balance for that account is what turns its ending net worth into the worksheet's after-tax estate; both projections are supplied as ProjectionResult values at the exported validation entry, so the summary composition and the validation wrapper are the real functions while neither ledger run is exercised here. The entry also requires a requested schedule, which the worksheet does not name and the test leaves empty. recommendationState has no census family this round and is not published by this record.
  • Full projection tournament margin

    Catalog: Exact ledger tournament margin over MILP dollars

    • The zero convention is the evidenced branch: with no MILP result supplied the published margin is 0 on both the none and the incumbent outcome, so a candidate-versus-incumbent difference must never be reported there, and a no-traditional plan reports source none with an empty schedule rather than an incumbent request. The worksheet's third case (a candidate that beats a recommendable MILP by more than the 1000-dollar switch margin, and the strictness of that threshold at exactly 1000) is a solver-run limit and was NOT constructed: the worksheet supplies no estate inputs for the MILP schedule, and the entry takes a post-processed solver schedule rather than a dollar figure, so no assertion here can pin that branch or its published difference. Beyond the worksheet's two inputs the test assumes, for the none case, a validated single-person plan with one cash account, zero returns, zero inflation, zero state tax and zero base spending, and for the incumbent case a validated single-person retiree plan with an 800000-dollar traditional account beside a taxable and a cash account, 4 percent returns, a 25 percent heir rate, 45000 dollars of base spending and a planning age of 85, both run with the production federal tax calculator from start year 2026 so Y1 is 2026; on the incumbent plan the tournament's own candidate winner is withheld by the retirement-action readiness veto, which is what routes the run to the incumbent fallback the worksheet describes. Both runs exercise the real ledger; nothing is supplied at a seam.
  • Full projection traditional depletion

    Catalog: Exact ledger validation traditional depletion year

    • Inherited traditional balances are excluded, the boundary is inclusive so an owned sum of exactly the tolerance qualifies, and a later fully drained year cannot displace the first qualifying one. Beyond the worksheet's three account balance columns the test assumes a validated plan whose two owned traditional accounts and one inherited traditional account carry the worksheet's ids, an empty requested schedule, and a baseline result that the entry requires and the worksheet does not name; the candidate projection is supplied as a ProjectionResult value at the exported validation entry, so the selection is the real function while no ledger run is exercised here.
  • MCP scenario ending after-tax estate delta

    Catalog: MCP compare ending after tax estate delta

    • When the two plans end in different years the delta subtracts dollars of two different years. The worksheet's plans, ending in 2050 and 2054 at 2.5 percent inflation, differ by +200,000.00 nominal but by +6,579.93 in 2026 dollars, which is what the Compare page prints (scenarios/planHeadlines.ts#comparePlanHeadlines, owner decision R13) and what RetireGolden-MCP 0.12.0 publishes beside this field as headline.endingAfterTaxEstate.delta. The rename does not lift this limit: deltaEndingAfterTaxEstateNominal is the nominal difference whatever the two end years, as its name and its census meaning say, and a caller who wants the Compare page's figure reads headline.
    • Each plan is priced with the calculator taxCalculatorForPlan returns for it. The evidence uses a zero flat-rate calculator on plans with no taxable income, so it exercises the comparison and the heir-tax identity of the ending estate, not tax law.
  • Conversion candidate: gap to the chosen schedule

    Catalog: Optimizer candidate trailing estate amount

    • The gap is in after-tax estate whatever the objective ranked the schedules by; under another objective a candidate can have a larger estate than the winner, and then it does not trail at all.
    • With no validated winner the benchmark is the best candidate, which was not selected, while the report still calls it "the selected recommendation"; the words are the report's, and on the example plans no row is printed that way.
  • Optimizer's own ending after-tax wealth and lifetime tax

    Catalog: Optimizer schedule ending after tax objective, Optimizer schedule lifetime tax

    • Not the projection of the same schedule: when the schedule has conversions, optimizePlan projects them to clean them, and it runs its tournament on the full projection, but these two figures are the solver's, and RetireGolden-MCP's run_optimizer publishes the tournament's results separately. The solver's buckets hold only the investable accounts (no property, debt, insurance, ladder, pension or annuity value; a property sale's net proceeds and a permanent-life death benefit reach it only as the year's cash, and a HECM draw not at all) and grow at one blended rate a year; its tax is linear in its variables, resting on the registered approximations irc-1-h-optimizer-flat-fifteen-percent-preferential-rate, irc-86-a-optimizer-taxable-social-security-linearization, usc-42-1395r-i-3-1395w-113-a-7-optimizer-beneficiary-month-exposure and usc-42-1395r-i-5-optimizer-uniform-threshold-indexing; and the heir rate falls flat on every traditional dollar, with no basis share, no spouse destination and no HSA heir tax. Measured on the library example bracket-fill-roth (2026-10-10, the solve optimal in milliseconds): endingAfterTax is $282,266.26, while the projection of the same schedule ends with an after-tax estate of $470,194.78 in 2049, $266,458.08 in today's dollars on the engine's basis, which is the solver's basis too; lifetimeTax is $181,976.47, against the projection's lifetime taxes and penalties of $251,819.64. Those dollars are measured, not derived; the evidence holds each of the five to the figure stated here, and a figure more than half a cent from the stated value fails it.
    • lifetimeTax counts the IRMAA surcharges the projection books as Medicare premiums, prices every realized gain at one rate, carries no penalty, and is computed from the taxable income and gain as published, in cents, not from the solver's own values; in the evidence's two-year case both give $47,663.94.
    • endingAfterTax includes the reward of one millionth of a dollar per converted dollar ($0.11 in the evidence's one-year case), and its weights are the eight-decimal forms of the deflator and the haircut (0.56669724 and 0.42502293 for bracket-fill-roth's 24-year plan, deflated over its 23 years).
    • A solve stops at HiGHS's node limit (options.maxNodes, 5,000 branch-and-bound nodes unless a caller sets one; status node-limit), whose stop does not depend on the machine's speed: HiGHS runs single-threaded in the one WebAssembly build of the pinned highs package, whose floating-point arithmetic WebAssembly specifies exactly, so the same input is expected to stop at the same incumbent on any machine (seen on repeated runs on one machine, not measured across machines), and both figures then describe that incumbent, not a proven optimum. Measured on rmd-irmaa's model, the only library example that reaches it (2026-10-10, highs 1.15.2 solving that model directly, not derived): the node limit stops at an objective of $744,755.92 in about 8 seconds, 20,000 nodes stop at the same incumbent, and the best objective found in five minutes was $744,815.16, never proven optimal, so the published incumbent is $59.24 (0.008%) below it. The time limit (options.timeLimitSec, 60 seconds unless a caller sets one; status timeout) remains as a guard against a hang; a machine too slow to reach the node limit within it stops there instead, and its figures then depend on that machine. No library example reaches it here.
    • A solve with no solution publishes both figures as null and an empty schedule, and the status tells an infeasible model from a limit reached before any incumbent. Run as RetireGolden-MCP runs them (measured 2026-10-10), 10 of the 29 library examples have no solution, all infeasible, and each is an example whose own projection depletes; projection/optimizePlan.ts#optimizePlan publishes that depletion year beside a first solve with no solution (OptimizedSchedule.projectionDepletionYear), read from the projection, not assumed from the solver.
    • Which solution HiGHS returns where more than one is optimal belongs to the highs package the engine pins (1.15.2), and so does the format of its raw solution: a writer that no longer prints it as the engine reads it makes every solve throw an error that says so, rather than publish; an upgrade that puts any figure the evidence compares more than half a cent from the value stated here fails it.
    • Evidence: two cases derived by hand from the library example rmd-irmaa's facts, entered as solver inputs (one year, and two years varied: an inherited IRA drawn $40,000 a year, a smaller traditional IRA, no cash, a $60,000 one-off cost, a 10% heir rate and IRMAA on the same year's income), two infeasible inputs, one with tier binaries and one without, and bracket-fill-roth run as RetireGolden-MCP runs it. The hand cases solve without the example's qualified charitable distribution ($15,000 a year from the IRA, which the plan-built input carries as an exclusion from the year's ordinary income and a diversion of its required distribution's cash, and which would change the one-year case's figures), the senior deduction's phase-out, the taxable Social Security phase-in and state tax, which the plan-built input adds where they apply, and with IRMAA on the same year's income where the plan-built input uses the income two years before; the readout is the same.
  • Optimizer's per-year solution

    Catalog: Optimizer recommended conversion annual, Optimizer schedule withdrawal by bucket annual, Optimizer schedule taxable gain realized annual, Optimizer schedule taxable ordinary income annual, Optimizer schedule ending balance by bucket annual

    Feeds: Optimizer schedule lifetime tax, Optimizer schedule ending after tax objective, Optimizer schedule conversion total

    • Cents of the solution: a planned conversion of $107,028.8775 is published as $107,028.88, in schedule[] and in schedule.conversions[] alike. Which solution HiGHS returns where more than one is optimal belongs to the highs package the engine pins (1.15.2), and so does the format of its raw solution: a solve whose raw solution the engine cannot read throws an error rather than publish; an upgrade that puts any figure the evidence compares more than half a cent from the value stated here fails it.
    • A node-limit or timeout status publishes the rows of the incumbent HiGHS held when it stopped, which is not a proven optimum (optimizer-schedule-objective-and-lifetime-tax states the two limits); a solve with no solution publishes no rows, and the status says whether the model was infeasible or a limit came first.
    • The solver's plan, not what the projection of the same conversions does. The projection executes each conversion only up to what the owners' accounts hold (the cleaned schedule), funds spending in the plan's own withdrawal order and taxes each account by its own basis and rules, so its withdrawals, realized gains, taxable income and balances (withdrawals-by-category-annual, tax-realized-gains-annual, accounts-balance-per-account-annual) can differ from these in every year. The solver's buckets grow at one blended rate a year and its sale realizes one gain fraction for the whole plan.
    • withdrawOther is the net draw on the tax-free bucket when the year needs one and 0 when the year saves; the saving itself is not published and shows only in the next year-end balance (in the evidence's two-year case, $7,057.25 saved in 2027 ends as $7,410.11).
    • irmaaTier is a classification, a census exclusion; its surcharges enter the solver's lifetime tax.
    • Evidence: the two cases of optimizer-schedule-objective-and-lifetime-tax, derived by hand from the library example rmd-irmaa's facts without its qualified charitable distribution: the one-year case's conversion through the 24% bracket, required distribution, tax-free draw and year-end balances, and the two-year case's required distributions, inherited draws, sale and its gain, two tiers and saved surplus; and its two infeasible inputs, which publish no rows. A year with both a conversion and a sale, and an inherited distribution set by a divisor, are not exercised; they follow the same readout.
  • Compare plans: how long the money lasts, deterministic success and depletion age

    Catalog: Compare plan deltas

    • The age is one person's, the older on each side, named on the page; when the two plans' older people are different people, the row names both, shows both ages and publishes no difference.
    • The age is the calendar age in the first short year (the year minus the birth year), not the exact age when the money runs out.
    • A bound with a zero difference (at least the same) is a correct bound.
    • The deterministic success reading is 100 or 0 on the one deterministic path; it is not a probability.
  • Compare plans: money rows in one stated basis

    Catalog: Compare plan money deltas

    • Each plan is deflated by its own inflation assumption, so two plans that assume different inflation are compared each in its own view of start-year dollars. When they end in the same year the rows stay nominal, and that year's dollars then buy different amounts under each assumption (20 of the 50 same-end pairs of the example library).
    • Lifetime rows cover each plan's own years: a plan that runs ten years longer pays ten more years of tax, and the page names both end years.
    • The difference is taken between the unrounded figures, so beside the page's compact levels it can differ from the difference of the two printed levels by up to half a display unit on each side.
    • A plan's own level cells depend on its partner: the same plan reads in nominal dollars beside a plan that ends in its year and in start-year dollars beside one that does not.
  • Relocation rows compared with your plan

    Catalog: Relocation tax comparison

    • The difference is taken between the unrounded sums, so it can differ by $1 from the difference of the two printed sums (19 of the 87 candidate rows of the example library at FL, TX and CA); these sums are not published as rounded quantities, so the exact difference stays.
    • The differences and sums are nominal and undiscounted: a dollar of tax in the last year counts the same as one in the first.
  • Scenario nullable scalar comparison

    Catalog: Scenario comparison cell

    • Comparability is conjunctive: absence is not numerical zero, so coercing a null operand to zero would present a comparison that does not exist. The evidence asserts it directly and through the exported compareScenarioPlans on the metric whose comparison cell is the nullable one (the headline depletion year).
  • Scenario scalar comparison

    Catalog: Scenario comparison cell

    • The signed identity is fixed: baseline and proposal are preserved rather than reordered by magnitude, and the delta stays in the metric's own unit rather than becoming a relative change. The evidence asserts it directly and through the exported compareScenarioPlans on a headline money metric.
  • Simple candidate evaluation comparison

    Catalog: Simple candidate evaluation after tax estate delta, Simple candidate evaluation executed conversion total, Simple candidate evaluation incomplete computation years, Simple candidate evaluation lifetime tax delta, Simple candidate evaluation money lasts years delta

    • Every difference is candidate minus baseline, the conversion sum is the candidate result's rows alone, a non-depleting result is funded through its endYear and a depleting one through its depletionYear - 1 (owner decision R15, 2026-09-25; restated 2026-09-26; it replaced the earlier count of depletionYear or endYear + 1, and both shift every result by one year, so every delta is unchanged), and the incomplete years are a de-duplicated ascending union across both results rather than a concatenation. Beyond the worksheet's inputs the smallest exported entry that publishes these fields generates its own fixed set of fill-to-target candidates and runs each one through the ledger, so the test supplies the candidate result at the simulate seam and the baseline result directly; it also assumes a validated plan whose only estate-discounted holding is one non-inherited traditional account at a 20 percent flat heir rate, so each result's final-year balance for that account is what turns its ending net worth into the worksheet's after-tax estate. In the no-incomplete-status branch the optional incompleteComputationYears key is omitted, not set to an empty list, as the worksheet states since its 2026-09-18 revision (the first derivation expected an empty list, which the test found); the test asserts the omission and the empty union it stands for. recommendationState has no census family this round and is not published by this record.
  • Swr rule depletion year

    Catalog: SWR rule result depletion year

    • The comparison is strict, so a residual at or below half a cent is not depletion, and the explicit horizon keeps a shorter run from reading as depletion; the largest-shortfall year is not the answer either. The worksheet's third case, a sole shortfall of exactly 0.005 in one year, was not constructed from real inputs: the ledger funds to its own exact-cent fixed point, and no plan input reaches a residual of exactly half a cent in one year while leaving every other year funded, so the strictness of the comparison is evidenced by the claim and the first two cases only.
  • Swr rule end year

    Catalog: SWR rule result end year

    • The simulation horizon is not depletion: substituting the depletion year, or recomputing a 30-year inclusive horizon from the start year, each name a different quantity. The worksheet's ledger endpoint and its depletion-year discriminator are supplied as a ProjectionResult literal at the simulate seam, so this proves the comparator's selection only; the ledger's own horizon arithmetic is out of scope for this record.
  • Swr rule ending after tax estate

    Catalog: SWR rule result ending after tax estate

    • Estate tax discounting belongs to the upstream summary and must not be applied twice; publishing ending net worth instead is a different quantity. The worksheet's rule-run ledger is supplied as a ProjectionResult literal at the simulate seam, so the summary composition and the comparator's publication are both the real functions while the ledger run itself is not exercised here.
  • Swr rule lifetime taxes and penalties

    Catalog: SWR rule result lifetime taxes and penalties

    • The upstream summary already sums all annual taxes and penalties, so publishing tax alone, or adding the separately displayed penalty amount to the already combined figure, changes the published quantity. The worksheet's annual tax and penalty rows are supplied as a ProjectionResult literal at the simulate seam; the summary aggregation and the comparator's publication are the real functions.
  • Swr rule rate and initial spend

    Catalog: SWR rule result initial rate pct, SWR rule result initial annual spend

    Feeds: SWR rule result depletion year, SWR rule result end year, SWR rule result ending after tax estate, SWR rule result lifetime taxes and penalties

    • Published rule parameterizations are planning lenses, not household safety guarantees. The worksheet pins rates and initial spending only; depletion, horizon, estate, and taxes come from the downstream ledger and are feeds.

Cash flow and summary

  • Bucket view of the investable total

    Catalog: Bucket lens allocation

    • A reporting view: nothing feeds back into the projection, and the bucket literature (Estrada; Kitces) finds no systematic benefit from managing money as buckets over a rebalanced total-return portfolio.
    • Needs past the horizon count 0, so the leading buckets drain near the end of the plan.
    • Future needs are nominal and undiscounted, so bucket 2 read in today's dollars overstates its real size by the inflation between the row's year and each need's year.
    • The buckets add to the investable total to within 2 × spans.length units in the last place, not exactly: at most 4 units for the [2, 8] preset and 2 for [3]; 127 of 2,420 example rows differ by one unit, and spans [1, 1, 1] can differ by two (the worksheet's three-span case).
  • Cash-flow drilldown amounts

    Catalog: Cash flow line amount

    • The transfer view's in and out totals and the Other node's amount printed on the chart are sums of engine lines by the chart's grouping and have no engine record; the Other threshold is a layout rule.
    • The hub differs from the line-order sum the chart used to add only in the last binary digit (32 of 1,210 example years, at most 5.82e-11); no printed whole dollar changes.
    • A year whose report is not reconciled is refused by the chart before any amount is read.
  • Cash-flow line amounts and the annual cash identity

    Catalog: Cash flow line plan dollars

    Feeds: Cash flow reconciliation totals

    • Asserted at the production reconciler with the worksheet's eight published totals as line amounts, plus its 5,000 post-solve life-insurance deposit and a 5,000 contribution transfer pair. Plan assumptions beyond the worksheet's inputs: the account and property identities the line ids carry, and the reconciler's own published tolerances, which are imported rather than written in
    • The identity is asserted on the published totals, not re-derived: the test reads sourceTotalPlanDollars, destinationTotalPlanDollars and differencePlanDollars from the reconciliation result
  • Annual cash-flow reconciliation: the three identity totals

    Catalog: Cash flow reconciliation totals

    • Asserted at reconcileYearCashFlow, the production function that computes all three identities, with published lines carrying the worksheet's amounts, and with the two tolerances taken from the capture module's own exported constants rather than written in
    • The three identities are asserted on ONE line set (three sources, fourteen use lines covering the closed use vocabulary, three paired transfers), as the re-derived worksheet states them, with the cash destination total equal to the funded-use total on that single year. The first derivation stated a cash destination total of $100,000 beside a funded-use total of $90,000; both are the same sum of fundedPlanDollars over the same use lines, so it was re-derived after the identity-total comments were completed, re-approved by the reviewer, and its test rebuilt and receipt re-executed on this pull request
    • The "strictly greater" rule is asserted directly: a cash difference of exactly the tolerance reconciles, and the worksheet's first wrong reading (judging the cash residual at the structural 1e-6 bound) is asserted to be rejected
  • Civil date parse format and month shift

    Feeds: Tax penalties annual

    • No direct census family: actions/annualHsaPenaltyEvaluation.ts consumes addCalendarMonths for the age-65 date and exact-cent penalty evidence feeding tax-penalties-annual.
  • Today's dollars by the ledger's own inflation factor

    Catalog: Display dollar basis conversion, Display FI target annual

    Feeds: Display balance by category annual, Display net care cost annual, Display tax free gains room annual, Display tax plus penalties annual, Display total spending annual, Display upside shortfall annual, Display upside spending annual

    • planDollarBasis is the plan's assumed rate and matches only a deterministic run: a Monte Carlo path grows by its own inflation series, so its rows are converted with projectionDollarBasis on that path's own result
    • Start-year dollars in whole-year steps: an amount paid in December and one paid in January of the same year carry the same factor
    • General inflation only: the healthcare inflation premium and the Social Security cost-of-living adjustment are separate assumptions and are never the basis
    • Years outside the projection are refused, never extrapolated; a projection whose horizon ends before its start year has an empty basis in which every year is refused
    • Owner decision R19 (2026-09-25): the planner pages used to compound the plan's rate with Math.pow from the page's start year. The ledger's factor is a product built one year at a time, which differs from the power in the last binary digit in some years (21 of 41 years at 2.5 percent, one unit each), so a whole-dollar figure can change only on an exact half-dollar tie; the FI target in today's-dollar mode becomes exactly fiNumber instead of fiNumber * f / f
    • The FI target is recorded here rather than in a record of its own: it is projection-summary-fi-number placed in a year through todayForDisplay
    • Since B2-P1 slice 2 the spending page converts nothing itself: each published withdrawal rule's ending estate is converted by that rule's own run (decisions/swrComparator.ts#compareSwrRules publishes endingAfterTaxEstateTodayDollars), and the solver's evidence estate by the answer run's own factors; planDollarBasis remains for the relocation page
  • Exact cent largest remainder slices

    Feeds: Roth conversion annual

    • No direct census family: actions/aggregateRothConversionOwnerAllocation.ts consumes the slices as owner allocations feeding annual Roth conversions. The test discriminates positional ties, not every surplus-residual case.
  • Exact cent pro rata half up

    Feeds: Tax penalties annual

    • No direct census family: actions/annualHsaPenaltyEvaluation.ts consumes the pro-rata amount for finalPenaltyAmount. Callers validate the domain.
  • Exact cent rational half up

    Feeds: Tax total annual

    • No direct census family: actions/conversionTaxFundingEvidence.ts quantizes the annual counterfactual liability difference with this function; tax-total-annual is the nearest liability family, not this evidence amount itself.
  • Annual flexible-goal outcomes: four counts and two amounts

    Catalog: Flexible goals funded count annual, Flexible goals partially funded count annual, Flexible goals deferred count annual, Flexible goals skipped count annual, Flexible goal funded amount annual, Flexible goal unfunded amount annual

    Feeds: Spending intended annual

    • Movable and skippable goals end the same way: one still unfunded at latestYear is skipped and its amount is folded into the layer totals, so neither is dropped from them. The model/plan.ts#GoalFlexibility comment once promised a movable goal a layer shortfall and a skippable goal a silent drop; decision D-GOAL-FLEXIBILITY (2026-09-25) kept the scheduler, and the comment now describes it. This record follows the scheduler, as the worksheet does
    • The worksheet's two cases are states annualOneTimeGoalFundingPhase produces, and the evidence drives the real phase and the real createGoalScheduler with no seam: a pull-forward year (not cutting, goals may be pulled forward), where the phase hands the scheduler the $1,700 remaining upside budget and the budget constrains the goals pulled forward before their target year; and a cutting year, where the budget is 0, goals not yet in the schedule have no outcome, and the skippable goal at its latest year skips. The first derivation paired a cutting year with a positive budget, which the completed YearResult.flexibleGoals comment rules out; it was re-derived on 2026-09-22 and re-approved by the reviewer
    • The zero-guardrail case is asserted on a real simulatePlan run instead, where the scheduler is absent: all six fields publish exactly 0 while the goal still funds and shows up in expenses.oneTimeGoals
    • A fixed goal does not consume the flexible budget; letting it do so changes every later goal's outcome, which is the worksheet's first wrong reading
  • Flexible goal scheduling

    Feeds: Flexible goal funded amount annual, Flexible goal unfunded amount annual, Flexible goals funded count annual, Flexible goals partially funded count annual, Flexible goals deferred count annual, Flexible goals skipped count annual, Spending one time goals annual

    • The test uses a flexible target goal during a cut so the stated budget binds. At or after target without a cut, resolveBudget returns unlimited funding; fixed goals also ignore the flexible budget. projection/internal/annualOneTimeGoalFundingPhase.ts sums per-goal funded and unfunded amounts and counts outcomes; all seven annual families are downstream aggregates, not this record's individual amounts.
  • Whose age and life a pension or annuity is paid on

    Feeds: Income pension annual, Income annuity annual

    • The joint-and-survivor form reduces on the owner's death only (the contingent form); a form that reduces on the first death of either would be a new payout form, not an owner value
    • Statute and regulation name the lives (irc-72-c-3-A-annuity-measured-on-named-lives); the rule that a qualified contract belongs to the funding account's owner is the IRA's exclusive benefit (IRC 408(a), 408(b)) and the QLAC's employer-or-IRA-owner purchase (Treas. Reg. 1.401(a)(9)-6(q)(1), 1.408-8(a)(3))
    • The annuitization insight, the Monte Carlo annuity sweep and the SPIA candidates name no owner in the plan, so they are written on the person model/peopleOrder.ts#canonicalFirstPerson puts first (the older; between two people born the same day, the sex order female, male, average and then the smaller id by ordinal comparison decide, so for two people with the same birth date and sex renaming the ids can move the annuitant and every figure on that life), whoever is listed first, and each names that person
  • The household's later retirement, one rule for FI and the funded ratio

    Feeds: Projection summary FI number, Projection summary FI age, Projection summary coast fire number, Projection summary FI year, Projection summary average pre retirement savings rate pct, Funded ratio result essential spending PV, Funded ratio result guaranteed income PV, Funded ratio result funded ratio pct, Funded ratio result unfunded PV

    • A convention, not a statute: a retirement age is the first year without wages unless a wage stream's end age runs past it, and then the wages decide; a person who never stops earning is said to work through the plan, not given a year
    • A person who retires after the other person's planning age has ended still sets the household's retirement: the priced year is one they are alive in, whether or not their partner is
    • Wages are the plan's only earned income; the rule reads the plan's wage streams and planning ages, not a Monte Carlo path's sampled death
  • HSA contribution limits by year

    Feeds: Year result contributions

    • Years after the latest published limits (2028 and later today) are projected at the plan inflation path, not the C-CPI-U of section 1(f)(3), and without the rounding to a multiple of 50 dollars under section 223(g)(2)
    • The coverage tier, the monthly eligibility and Medicare entitlement are not modeled; irc-223-b-2-7-projection-coverage-proration-and-medicare carries those shortcuts
    • The 2027 high deductible health plan minimum deductibles (1,750 and 3,500) and out of pocket limits (8,700 and 17,400) in the same revenue procedure are not read by any calculation
    • Two spouses' family base is divided equally, the model's default: IRC 223(b)(5)(B)(ii) divides it equally unless the spouses agree on a different division, which the plan cannot state, so an agreed split such as 9,000 and 0 keeps the household total but not the owner limits
  • Annual annuity income under the joint-survivor payout form

    Catalog: Income annuity annual

    Feeds: Income total annual

    • Asserted on a real simulatePlan run over 2028-2029. Plan assumptions beyond the worksheet's inputs: a two-person household filing jointly in KY with a zero state rate, zero inflation and zero account returns, the owner's planning age set to 65 so the run makes them dead from 2029, the joint annuitant's planning age set to 95, and an already-owned contract with no purchase event so no exclusion ratio is derived
    • taxablePct is the contract's tax character, not its cash amount; the published income field is the same under any character
    • Period-certain and life-only are the other two forms and are not this record's claim
    • Restated 2026-09-28 under decision D-2027-ROLLOVER. A PURCHASE DATED BEFORE THE START, a registered limit of the convention and not corrected: a contract whose purchase year is before the projection start year is treated as already paid, so the projection pays its annuity and takes no premium from the funding account, whose entered balance is read as already net of it. That is right when the household entered the balance after buying; when the balance was entered before the purchase and not updated (a plan saved in the purchase year and reopened the next), the premium is counted twice, once in the balance and once as the contract it bought. On the derivation's U1 household (a $100,000 non-qualified contract bought in 2026 from the brokerage, $550 a month from 67), as pinned below: at a 2026 start the purchase lowers ending net worth by $151,691.59; at a 2027 start it raises it by $455,159.49. History: the derivation itself measured $147,623 and $454,837, and the changes the next limit lists have moved both since. The independent check measured every tax qualification the same way. The projection cannot tell which case it has, so it does not deduct the premium (which would double-deduct it for every household that did update the balance); it names each such purchase in a warning with the premium and the funding account, and says to lower that balance by the premium if it still includes it (projection/preStartEvents.ts#preStartEvents)
    • The U1 sizes are pinned to the cent in a repository test (2026-09-29, review L7): packages/planner-ui/src/planner/preStartEvents.figures.test.ts builds the household from the example couple and asserts -$151,691.59 from a 2026 start and +$455,159.49 from a 2027 start (-$147,622.51 and +$455,165.79 before the 2026-09-29 change to CMS's published IRMAA amounts, -$147,623.51 from 2026 before Kentucky's part-year slice took its whole standard deduction on 2026-10-07, and -$147,615.81 before the slice received the characterized retirement rows on 2026-10-08, when Kentucky's pension exclusion began to meet the in-plan Roth conversion received while resident, up to the whole $31,110 of 2025 Schedule P: the household are Kentucky residents who move to Florida in November; DOCS/calculations/taxes/scripts/part-year-split-years.mjs lists the split year's slices and rows). The review measured +$454,836.90 from 2027 before main's #761 (D-EXAMPLE-SOURCE-SWITCH) priced a saved example's 2027 premium tax credit from a 2027 start; the same test on main at 9676392f gives +$455,165.79
  • Annual one-time income

    Catalog: Income one time annual

    Feeds: Income total annual

    • Asserted on a real simulatePlan run over 2028-2032. Plan assumptions beyond the worksheet's inputs: a single person filing single in KY with a zero state rate, no accounts, and the worksheet's 1.12 cumulative inflation factor supplied as a per-year inflation path of 12 percent in the first projection year and 0 afterwards, so that every year from 2029 on carries exactly that factor
    • The neighbouring years are asserted too, because "pays only in its year" is half the claim
    • taxTreatment "capitalGain" is the row's character, not an exclusion from cash income
    • Restated 2026-09-28 under decision D-2027-ROLLOVER: a stream whose year is before the projection start year pays nothing in the projection, as before, and the projection now names it in a warning (projection/preStartEvents.ts#preStartEvents): the income is dated before the plan starts, so it is not counted, and if it has not arrived the household moves it to the start year or later. From a 2027 start the derivation's U1 household's $50,000 inheritance dated 2026 dropped out with only an editor note to say so
  • Annual ordinary dividends distributed by a taxable account

    Catalog: Income ordinary dividends annual

    Feeds: Tax total annual, MAGI annual

    • Asserted on two real simulatePlan runs of the projection's first year, where the start-of-year balance is the plan balance. Plan assumptions beyond the worksheet's inputs: a single 51-year-old filing single in KY with a zero state rate, zero inflation, zero account return and cost basis equal to balance; the account carries no allocation, so the defaults case exercises the 0.85 fallback
    • The subtraction is performed in binary floating point, so the explicit case's $700 arrives as 700.0000000000002 and is compared under the worksheet's half-cent tolerance rather than exactly
    • This is the ordinary share of dividends only; taxable interest is a separate member of taxable yield
  • Annual pension income, with COLA and survivor continuation

    Catalog: Income pension annual

    Feeds: Income total annual

    • Asserted on a real simulatePlan run over 2028-2030. Plan assumptions beyond the worksheet's inputs: a two-person household filing jointly in KY with a zero state rate, zero inflation and zero account returns, the owner's planning age set to 65 so the run's own longevity makes them dead from 2029 on, and the survivor's planning age set to 95 so the survivor continuation is the only thing being read
    • The COLA count is driven by the owner's would-be attained age, not by whether they are alive: the survivor keeps a benefit that has continued to compound
    • A lump-sum election is a separate path this record does not price; the test’s pension carries no election
  • Annual qualified dividends distributed by a taxable account

    Catalog: Income qualified dividends annual

    Feeds: Tax total annual, MAGI annual

    • Asserted on two real simulatePlan runs of the projection's first year, where the start-of-year balance is the plan balance. Plan assumptions beyond the worksheet's inputs: a single 51-year-old filing single in KY with a zero state rate, zero inflation, zero account return and cost basis equal to balance; the account carries no allocation, so the defaults case exercises the 0.85 fallback rather than a blend
    • The default is 0.85 as a fraction; reading it as 85 percent of a percent is one of the worksheet's wrong readings and the clamp to [0, 1] is what stops it
    • An explicit account ratio wins over the blend and over the default, so the explicit case proves precedence, not just arithmetic
  • Annual recurring household income

    Catalog: Income recurring annual

    Feeds: Income total annual

    • Asserted on a real simulatePlan run over 2028-2030. Plan assumptions beyond the worksheet's inputs: a single person filing single in KY with a zero state rate, no accounts, and the worksheet's 1.08 cumulative inflation factor supplied as a per-year inflation path of 8 percent in the first projection year and 0 afterwards, because a single constant rate cannot give a two-year cumulative factor of exactly 1.08
    • The gate is household-wide, not person-owned: a recurring stream has no owner and stops only after the last household death
    • taxTreatment "none" is a tax-free row that still joins cash income; the field is cash, not taxable income
  • Annual taxable interest distributed by a taxable account

    Catalog: Income taxable interest annual

    Feeds: Tax total annual, MAGI annual

    • Asserted on two real simulatePlan runs of the projection's first year, where the start-of-year balance is the plan balance. Plan assumptions beyond the worksheet's inputs: a single 51-year-old filing single in KY with a zero state rate, zero inflation, zero account return and cost basis equal to balance, so nothing but the stated yields can move the year; the account carries no allocation, so the defaults case exercises the no-blend fallback the worksheet names
    • A percent, not a fraction: 2.25 means 2.25 percent, and reading it as a fraction is one of the worksheet's wrong readings
    • The interest field is characterization, not cash delivery; with reinvestment on, the same dollars are credited back to the account and add nothing to the year's cash inflows
  • Annual taxable yield distributed by a taxable account

    Catalog: Income taxable yield annual

    Feeds: Income total annual

    • Asserted on two real simulatePlan runs of the projection's first year, where the start-of-year balance is the plan balance. Plan assumptions beyond the worksheet's inputs: a single 51-year-old filing single in KY with a zero state rate, zero inflation, zero account return and cost basis equal to balance; the account carries no allocation, so the defaults case exercises the no-blend fallback
    • The dividend partition is asserted alongside the total, because the worksheet's first wrong reading is adding the partition back on top of its own parent
    • Taxable yield joins the income total whether or not it is reinvested; reinvestment only decides whether the same dollars reach the household cash hub
  • Annual cash-income total

    Catalog: Income total annual

    Feeds: Portfolio need annual

    • Asserted on a real simulatePlan run whose single year realizes all nine members at the worksheet's amounts. Plan assumptions beyond the worksheet's inputs: zero general inflation, zero account returns, a single 68-year-old filing single in KY with a zero state rate, the Social Security stream claimed at that cohort's full retirement age so the claim factor is exactly 1 and the earnings test withholds nothing, and four separate taxable accounts so the interest, wholly qualified dividend, wholly ordinary dividend and municipal sleeves each carry one worksheet figure exactly
    • Reinvestment is switched off on those taxable accounts so the generated yield is visible as cash; the published total counts taxableYield either way, because the field sums characterized yield rather than yield that reached the household cash hub
    • The composition is the published members only. The year also carries realized gains, Roth conversions, forced distributions and loan proceeds, none of which are cash income members: they reach the ledger through withdrawals, transfers and the cash-flow report instead
  • Annual wage income for one stream

    Catalog: Income wages annual

    Feeds: Income total annual, Social security benefit annual

    • Asserted on a real simulatePlan run over 2028-2030. Plan assumptions beyond the worksheet's inputs: a single person filing single in KY with a zero state rate, no accounts, and the worksheet's 1.08 cumulative inflation factor supplied as a per-year inflation path of 8 percent in the first projection year and 0 afterwards, because a single constant rate cannot give a two-year cumulative factor of exactly 1.08
    • The stop age is attained-age based: a stream with endAge 65 pays at attained age 64 and stops at 65, so the worksheet's paying year is the last one before the stop
    • The engine preserves plan order across wage rows rather than pre-summing them, so the last binary digit of a multi-row wage total depends on that order; the test asserts a single row
  • Inherited-account final emptying year

    Catalog: Inherited account final deadline year

    Feeds: Inherited distribution required annual

    • All four regime cases asserted at the exported classifier with the worksheet's death year, beneficiary birth year and conventions verbatim. Plan assumptions beyond the worksheet's inputs: every case is a traditional IRA with a sole designated-individual beneficiary and asserted provenance, and the owner is asserted to have died before the required beginning date, which is what places the non-eligible case on the ten-year row rather than the ten-year-with-annual-RMDs row; both rows publish the same deathYear + 10 deadline
    • The single-life case is the not-more-than-10-years-younger eligible designated beneficiary, whose classification carries no finalDeadlineYear at all rather than a null one
  • Annual inherited-account required amount

    Catalog: Inherited distribution required annual

    Feeds: Inherited distribution required executed annual, Tax penalties annual

    • All six of the worksheet's cases asserted at the exported calculator with the stated year, prior-year-end balance and divisors verbatim: the 2027 first-year beneficiary arm, the 2028 fixed-minus-one continuation, both post-RBD rows in the first year after the death year, the pre-RBD ten-year no-annual window, and the 2036 final sweep. Plan assumptions beyond the worksheet's inputs: the annual arm and both post-RBD rows are an eligible designated beneficiary (disabled) born so the stated age falls in the stated year, the post-RBD rows add an owner born in 1940 (age 86 in the 2026 death year) who had started RMDs and whose death-year RMD was satisfied, the no-annual and sweep cases are a non-eligible designated beneficiary whose owner died in 2026 before the required beginning date, and every case is a sole designated-individual beneficiary of a traditional IRA with asserted provenance
    • The first derivation stated the post-RBD rule as the greater required amount, max(B / beneficiary divisor, B / owner divisor), and used an owner-fixed divisor of exactly 10.8 that no 2026 Single Life Table entry can produce; that derivation was corrected on 2026-09-18. The worksheet now states the comparison production holds: the greater DIVISOR (`if (ownDiv > divisor) divisor = ownDiv`), which is the longer life expectancy and so the smaller amount, per Treas. Reg. 1.401(a)(9)-5(d)(1)(ii). The worksheet reaches the owner arm from the age-86 death-year entry 7.6, giving 6.6 in the first year after the death year. Both winning arms are now constructed and asserted: a beneficiary aged 75 keeps 14.8 and publishes 10,000, and a beneficiary aged 90 at 5.7 loses to the owner's 6.6 and publishes 22,424.242424. No production-versus-worksheet discrepancy remains
  • Executed inherited required distribution

    Catalog: Inherited distribution required executed annual

    Feeds: Inherited distribution forced annual, Withdrawals by category annual

    • All five cases asserted at the exported phase with the worksheet's required amounts, live balances and requirement statuses realized from plan facts. Plan assumptions beyond the worksheet's inputs: an 8,000 requirement is realized as a 320,000 prior-year-end balance over an exact 40.0 fixed Single Life divisor (a beneficiary aged 46 in the first distribution year), so the quotient is exactly the worksheet's whole dollar; the final sweep is a non-eligible designated beneficiary reaching deathYear + 10; the none case is the same beneficiary inside the ten-year window; and the notice-waived case is a post-RBD ten-year-with-annual-RMDs row for a 2022 death in relief year 2024, whose 312,000 prior-year-end balance over the 39.0 continuation divisor is again exactly 8,000
    • The requirement evidence is asserted alongside the executed amount in every case, so a cap can never be mistaken for a smaller requirement
  • Voluntary inherited-account draw

    Catalog: Inherited distribution voluntary annual

    Feeds: Withdrawals by category annual, Withdrawals total annual

    • Asserted at the exported phase with the worksheet's remaining balance, ordinary plan draw and treat-as-own flag verbatim: the account enters the phase at 95,000, already net of the 5,000 forced take, and the plan draws 12,000. The 5,000 forced take is not re-supplied to this phase, which is the point of the separation, so the test asserts that the sum of the two is the account's 17,000 total distribution while only 12,000 is voluntary
    • The treat-as-own case is asserted with the same inputs and an accepted owner-treatment route for the account, where the phase emits no inherited evidence write; it needs an IRA whose owner died in 2020 or later and a year after the death year, which the test supplies
  • Annual permanent-life cash value and death-year settlement

    Catalog: Insurance cash value annual, Insurance death benefit annual

    Feeds: Accounts net worth annual

    • Asserted at the exported phase helper with the worksheet's two policies, their modes, schedule points, entry cash value, growth rate and face amounts verbatim. Plan assumptions beyond the worksheet's inputs: both policies are paid-up, which this transition does not read
    • The first derivation put the settling policy at attained age 71 while its Claim and Arithmetic described and calculated the death-age-70 year; that derivation was corrected on 2026-09-18. The worksheet's Inputs table now states attained age 70, the death year production settles in, where the payout is max(50,000 face, 60,000 cash value) = 60,000 and the settled policy stops being a cash-value asset. Its last wrong reading moves that row to attained age 71 (the year after the death year, where the payout is null and the cash value 0) and the test asserts both, so no production-versus-worksheet discrepancy remains
  • When a jointly owned account takes contributions

    Feeds: Year result contributions

    • No statute governs contributions to a taxable or cash account; this is the program's rule, and it reads the facts (anyone alive, household wages) rather than list order
    • In a year the household runs a deficit the ledger funds a contribution by withdrawing, so a contribution can move tax and net worth, not only the account it lands in
    • The Scenarios levers mirror the rule (planner-ui scenarioLevers.ts receivesContributionDuringProjection)
  • Lifestyle required discretionary split

    Feeds: Spending required requested annual, Spending target requested annual

    • The lifestyle-only partition feeds projection/internal/annualLifestyleLayers.ts; published requested spending also includes system costs and goals, so neither requested family is this helper alone.
  • Projection money tolerance thresholds

    Feeds: Roth conversion annual

    • No direct census family: projection/internal/annualAggregateRothConversionPhase.ts consumes both constants for funding and conversion materiality; the nearest family is roth-conversion-annual. These are product numerical conventions, not tax law.
  • Projection-result ending investable balance

    Catalog: Projection result ending investable

    • Asserted on a real two-year simulatePlan run whose 2030 row closes at the worksheet's $510,000 and whose 2031 row closes at the worksheet's $487,250.125. Plan assumptions beyond the worksheet's inputs: a single 55-year-old filing single in KY with a zero state rate, zero inflation, zero account return, no healthcare charge (the person is under 65, with a zero pre-65 premium), a single cash account, and one uninflated 2031 one-time goal sized to spend the difference between the two rows
    • The empty-row case cannot be reached through simulatePlan, which always produces at least one row for a living household; it is the publishing site's fallback as the field comment states it and a contract statement, not executed evidence
  • Projection-result ending net worth

    Catalog: Projection result ending net worth

    • Asserted on a real two-year simulatePlan run whose 2030 row closes at the worksheet's $925,000 and whose 2031 row closes at the worksheet's $901,375.625. Plan assumptions beyond the worksheet's inputs: a single 55-year-old filing single in KY with a zero state rate, zero inflation, zero account and property return, no healthcare charge, one cash account and one property with no carrying costs, and one uninflated 2031 one-time goal sized to spend the difference between the two rows
    • The empty-row case cannot be reached through simulatePlan; it is the publishing site's fallback as the field comment states it and a contract statement, not executed evidence
    • Substituting ending investable for net worth names a different quantity, which the test asserts against on a run where the two differ by the property value
  • Projection summary average pre retirement savings rate

    Catalog: Projection summary average pre retirement savings rate pct

    • Unweighted: every represented working year counts once, so it is not a dollar-weighted savings ratio. Dividing by calendar boundaries rather than represented years, or reading the terminal working-year rate, is a different quantity. The target retirement year itself is not pre-retirement. An empty qualifying set publishes exactly 0 rather than an absent value.
  • Projection summary coast fire number

    Catalog: Projection summary coast fire number

    • The real return is the subtraction of the two rates, not the Fisher ratio, and the horizon is retirement age rather than the FI-number spending year; a person already at or past retirement has a zero horizon, so Coast FIRE equals the FI number. Healthcare extra inflation, continuous compounding, intermediate rounding and a final floor are all outside the contract. An empty ledger adds no fallback beyond whatever the FI number already published.
  • Projection summary ending investable

    Catalog: Projection summary ending investable

    Feeds: Scenario comparison cell

    • A selection, not an aggregation: it takes the whole-run endpoint rather than summing annual rows or selecting the largest annual balance. The valid domain is any completed ProjectionResult with a finite ending value.
  • Projection summary ending net worth

    Catalog: Projection summary ending net worth

    Feeds: Projection summary ending after tax estate, Scenario comparison cell

    • The result type already defines annual net worth as investable plus property, insurance cash value and ladder value, less debt and non-recourse-capped HECM loans, so the summary must not rebuild that ledger identity; substituting ending investable, or adding it to the composed net worth, double-counts assets.
  • Projection summary fi age

    Catalog: Projection summary FI age

    • The crossing is inclusive, so equality at the threshold counts, and a later above-threshold row never replaces the first one. Age is calendar-year attained age (year minus birth year), not age on the birthday, so a December birthday does not postpone it. The published investableTotal must be read directly rather than re-summed from account categories. An empty or never-crossing ledger produces null, not age zero, the last age, or an estimate.
  • Projection summary fi number

    Catalog: Projection summary FI number

    Feeds: Projection summary FI age, Projection summary coast fire number, Display FI target annual

    • Gross outflows, not net portfolio need: guaranteed income is not subtracted, and published funded expenses.total is used rather than intended spending, so guardrail cuts are already in the base. Deflation is discrete annual general inflation, never the healthcare extra rate. The empty-ledger path is base lifestyle only, with no tax, penalties or deflation, and a horizon that ends before retirement prices the first ledger row rather than interpolating a retirement-year spend. The rate is a lens; the ledger does not spend at it.
  • Which year and which outflows the FI figures price

    Feeds: Projection summary FI number, Projection summary FI age, Projection summary coast fire number, Projection summary FI year, Projection summary average pre retirement savings rate pct

    • The conversion-free run is a whole projection without conversions, so the priced year also differs by what earlier years' conversions did to the balances and withdrawals, not only by that year's conversion tax; it is the year the household would have had had it never converted
    • The conversion-free choice is a required argument (the independent review's M3): the planner's projection, compareRothConversion and compareScenarios pass the run; Monte Carlo paths, the optimizer and decision candidates, the SWR, relocation, care, survivor and Social Security comparisons, the scenario plan comparison and the app's case runners pass null and show no FI figure, and a converting plan then publishes conversionTaxIncluded. RetireGolden-MCP chose in 0.11.0, and 0.12.0 keeps it: the summaries it publishes, run_projection's summary and compare_scenarios' a and b, pass the run, so their FI figures are the app's; batch_evaluate and solve_max_spending pass null for the summaries they only read (lifetime tax, ending balances, the after-tax estate), and no such summary reaches a response whole
    • The later retirement is a household convention, the year the last earner stops; the program states it and the page names the person
  • First financial-independence crossing year

    Catalog: Projection summary FI year

    • Asserted at summarizeProjection with the worksheet's three-row crossing ledger and its three-row null ledger, both at zero inflation from a 2026 start so every deflator is exactly 1. The worksheet states its FI number as an input; the summary derives it, so the plan is built to derive exactly 500,000: a retirement age already attained puts the spending year at the start year, and 20,000 of funded outflows over the 4-percent lens is exactly 500,000
    • The empty-ledger null is asserted separately from the no-crossing null, because they reach the same published value by different paths
  • Savings rate by year

    Catalog: Projection summary savings rate pct annual

    Feeds: Projection summary average pre retirement savings rate pct

    • The denominator is the year's gross cash income as the ledger totals it (wages, Social Security, pensions, annuities, ladder income, recurring and one-time income, taxable yield and tax-exempt interest), not wages alone, so a retired year whose surplus is reinvested shows a positive rate with no wages.
    • Savings count the employer match and the surplus the ledger invests as well as the household's own contributions. A year whose savings exceed its gross income is clamped to 100: for example a Social Security year whose surplus, reinvested from a required distribution larger than its spending, exceeds that year's income. The distribution is a withdrawal, not income (incomes.total), so it adds to the savings and not to the denominator. The floor at 0 binds only on a negative savings amount, which the ledger does not publish. A year with no gross income publishes 0 whatever it saves.
    • Evidence: summarizeProjection on four rows of the early-career-match example (wages of $65,000 with $9,000 contributed and a $2,600 match, a retired year with no income, and two Social Security years with reinvested surpluses), entered as ledger rows; the rate reads only the row, so how a projection reaches those amounts does not enter it.
  • Annual gross care cost and the LTC benefit against it

    Catalog: Spending care cost gross annual, Long term care benefit annual

    Feeds: Spending total annual

    • Asserted at the exported phase helper with the worksheet's episode, both policies, the years-used map, the health-inflation factor and the start and current years verbatim. Plan assumptions beyond the worksheet's inputs: both policies are paid-up (premium 0), which this plan does not read, and the person resolver reports the stated attained age and alive
    • The benefit is published gross of the expense fold; expenses.total subtracts it, so the same dollars are never counted twice
  • Annual debt service under the grow-then-pay convention

    Catalog: Spending debt service annual

    Feeds: Spending total annual

    • Asserted twice: at the exported phase helper with the worksheet's two debts verbatim, and as the published expenses.debtService of a real simulatePlan 2030 row carrying the same two debts. Plan assumptions beyond the worksheet's inputs for that ledger row: a single 60-year-old filing single in KY at a zero state rate, zero general inflation, zero account returns, and one 500,000 cash account large enough that the payments are funded without a portfolio sale
    • The worksheet's third wrong reading (ignoring payoffYear) coincides with the right answer at these inputs, so the test discriminates the first two numerically and states the third as a rule
    • Restated 2026-09-29 under decision D-2027-ROLLOVER (review L4): a payoff year before the projection start year is reached in the first year, so the ledger pays the whole grown balance then, as it always did; nothing moves. The projection now names it (projection/preStartEvents.ts#preStartEvents) with the amount paid, the balance with a year of interest, and says to set the balance to $0 if the debt was paid. From a 2027 start the reviewer's mortgage with a 2026 payoff moved ending net worth by -$189,695.85 with nothing said
  • Annual excess-layer requested spending

    Catalog: Spending excess requested annual

    Feeds: Display upside spending annual

    • Asserted at the annualExpenseSummary seam, which is the function that computes all five layer fields at once, because the worksheet states its inputs as published year-row components. The seam call is given inputs that realize the worksheet's stated requiredSpending, targetSpending, idealSpending and intendedSpending exactly, and the published excessSpending is then read
    • The identity is asserted against the same call's other published fields rather than re-entered constants
    • Failing to remove the ideal increment, or treating excess as everything above required, are the worksheet's two wrong readings and are asserted against
  • Annual ideal-layer requested spending

    Catalog: Spending ideal requested annual

    Feeds: Display upside spending annual

    • Asserted at the annualExpenseSummary seam, which is the function that computes all five layer fields at once, because the worksheet states its inputs as published year-row components. The seam call is given inputs that realize the worksheet's stated requiredSpending, targetSpending, excessSpending and intendedSpending exactly, and the published idealSpending is then read
    • The identity is asserted against the same call's other published fields, not against re-entered constants, so the subtraction is evidence about this year row rather than about the worksheet's arithmetic
    • Ideal is an increment above target; treating it as the cumulative amount through the ideal layer is one of the worksheet's wrong readings
  • Annual level insurance premiums

    Catalog: Spending insurance premiums annual

    Feeds: Spending total annual

    • Asserted at the exported phase function with the worksheet's five policies (the primary case's four and the boundary case's Life E), their modes, premiums, subject ages and end ages verbatim; the subject resolver supplies the stated ages and alive flags. Plan assumptions beyond the worksheet's inputs: each policy carries zero benefit fields, which the premium selection does not read
    • The first derivation read untilAge as charging through and including premiumEndAge, charged its Life C at attained age 65 against an end age of 65, and expected 1,800; that derivation was corrected on 2026-09-18 under decision D-PREMIUM-END-AGE. The worksheet now states the strict stop age production holds: a policy is skipped once subject.ageAttained >= policy.premiumEndAge, so its primary case totals 1,200 with Life C not charged, and its boundary case charges Life E 600 at attained age 64, one year below the same end age. Both are asserted, the 1,800 through-the-end-age reading is asserted as a wrong reading, and no production-versus-worksheet discrepancy remains. Decision D-PREMIUM-END-AGE (2026-09-25) kept this rule, since premiumEndAge is the field a user fills as the age premiums stop; the premiumModeSchema comment, which once read "charge annualPremium through premiumEndAge", now states the same stop age
  • Annual intended spending with no guardrail cut

    Catalog: Spending intended annual

    • Asserted at the annualExpenseSummary seam with the worksheet's component amounts, and cross-checked on a real simulatePlan run where the published intendedSpending equals its own year row's targetSpending plus idealSpending plus excessSpending
    • Required and target are cumulative summaries while ideal and excess are increments; adding all four published summaries double-counts the required base, which is the worksheet's second wrong reading
    • Intended spending is the no-cut request and need not equal the year's actual expenses.total
  • Spending layer shortfall attribution

    Catalog: Spending required shortfall annual, Spending target shortfall annual, Spending ideal shortfall annual, Spending excess shortfall annual

    Feeds: Display upside shortfall annual

    • The first derivation read fundedSpending as delivered dollars and expected a $15 target miss where production returns $20; the doc comment says attempted, so the worksheet was re-derived and now carries a second case (F=62, W=5) that exposes the guardrail cut in the required miss.
  • Annual funded one-time goals

    Catalog: Spending one time goals annual

    Feeds: Spending total annual

    • Asserted at the exported phase helper with the worksheet's three goals, target years, amounts, current year, null scheduler and alive flag verbatim; the helper receives the caller's already-resolved inflation factor, so the 1.10 is supplied rather than compounded from plan assumptions
    • The worksheet's third wrong reading is a guardrail case: with no scheduler the phase reports four exact zero skip accumulators, which the test asserts, so no skipped amount can reach this field here
    • Restated 2026-09-28 under decision D-2027-ROLLOVER: a goal whose target year (and, for a movable or skippable goal, whose whole window) is before the projection start year funds nothing, as before, and the projection now names it in a warning (projection/preStartEvents.ts#preStartEvents): the goal is dated before the plan starts, so it is not counted, and if it has not happened the household moves it to the start year or later. From a 2027 start the derivation's U1 household's $30,000 car goal dated 2026 dropped out with only an editor note to say so
  • Annual property carrying costs on owned properties

    Catalog: Spending property costs annual

    Feeds: Spending total annual

    • Asserted at the exported phase helper with the worksheet's two properties, current year, inflation factor and alive flag verbatim; the helper receives the caller's already-resolved inflation factor, so the 1.10 is supplied rather than compounded from plan assumptions. Plan assumptions beyond the worksheet's inputs: each property carries a 400,000 value and no HECM, neither of which the carrying-cost formula reads
    • Ownership is decided by the effective sale year alone (the planned sale year, or the start year when that is earlier); a property with no sale year is owned for the whole horizon
    • Restated 2026-09-29 under decision D-2027-ROLLOVER (review H1). No source governs a sale date that has passed; the decision reads a property still on the plan with a past sale year as a sale not yet reflected, so the ledger sells it in the first year (when it has a value; a property at $0 is not sold) and the carrying costs stop from that same year. Before, the costs stopped from the planned year while the sale ran only in a year equal to it, which a later start never reaches: the reviewer's case (the example couple's $420,000 home, $6,000 of property tax and $1,800 of insurance, sale dated 2026, run from 2027) kept the home to the end and dropped its costs, adding $1,017,839 to ending net worth. The projection names the sale (projection/preStartEvents.ts#preStartEvents; for a property at $0 it says only that the costs stop) and the editor notes the field
  • Annual required-layer requested spending

    Catalog: Spending required requested annual

    Feeds: Spending required shortfall annual

    • Asserted at the annualExpenseSummary seam, which is the function that computes the field, because the worksheet states its inputs as already-folded year-row components: a real plan cannot present a chosen debt service, property cost, healthcare charge, care cost, LTC benefit and skipped-goal amount simultaneously at those exact values. The five system costs enter the seam as the systemRequired scalar the caller folds, so the test folds them the way the caller does and asserts the published field against the worksheet
    • The net-LTC term is gross care cost less the benefit; adding the gross without the offset is one of the worksheet's wrong readings
    • The layer summaries are not additional members of expenses.total; this figure describes how baseSpending was built
  • Annual target-layer requested spending

    Catalog: Spending target requested annual

    Feeds: Spending target shortfall annual

    • Asserted at the annualExpenseSummary seam, which is the function that computes the field, because the worksheet states its inputs as already-folded year-row components rather than as plan inputs a single year could realize at those exact values
    • The full target lifestyle layer is used here even in a cutting year; the cut amount appears in baseSpending instead, so a test that substitutes the cut layer is asserting a different field
    • Both equivalent forms are asserted, so the "counted once each" clause is evidence rather than prose: starting from the published requiredSpending and adding skippedRequiredNominal again is one of the worksheet's wrong readings
  • Annual surplus invested, floored at zero

    Catalog: Surplus invested annual

    Feeds: Accounts balance per account annual, Cash flow reconciliation totals

    • Asserted as the published field of a real simulatePlan 2026 row that carries all five of the worksheet's members. Plan assumptions beyond the worksheet's inputs: a 55-year-old filing single in KY, so no Medicare or marketplace premium can move expenses.total off 50,000; cash inflows split into an 80,000 wage and a 20,000 tax-free recurring receipt, so a flat 10-percent test calculator prices tax at exactly 8,000 while inflows are exactly 100,000; the 10,000 of contributions go to one taxable brokerage account; and the 2,000 of penalties are the IRC 4974 excise on a completed five-year deadline year (opening benefit 12,000, 4,000 distributed by the 2026 deadline) asserted on an inherited Roth account
    • That excise is the only penalty a surplus year can carry: the early-withdrawal and HSA penalties are charged on need-based withdrawals, and a year whose inflows exceed its uses takes none, so no plan can produce both a positive surplus and an early-withdrawal penalty
    • The flat test calculator is a test double, not the shipped calculator; it is used only to realize the worksheet's stated tax member exactly, and the record makes no claim about federal tax arithmetic
  • Sustainable spending bisection

    Catalog: Sustainable spending result max base annual, Sustainable spending result spending slack dollars, Sustainable spending result feasible base annual

    Feeds: Sustainable spending result simulation count, Solved initial withdrawal rate pct, Solved spending rounded to hundred

    • simulationCount has its own record (sustainable-spending-result-simulation-count); the count enters the published result, so this record feeds its family rather than computing it.
    • The public API generates its own bracket. Evidence seeds 40000, brackets at 80000, and verifies the first two midpoints reach the worksheet bracket 60000/70000 before checking its four probes and 62500 result, then runs the same search at a $100 resolution, which probes three more levels and passes 62969. It isolates the stated feasible predicate with an evaluation double, not an invented ledger oracle. Monotone feasibility is assumed at fixed-target spending (under guardrails it does not hold; see below); budgets can stop convergence.
    • A Marketplace year whose premium tax credit the ledger could not price (aca.readiness nonActionable) counts its full premium, as the ledger funds it; the credit lies between 0 and that premium (26 U.S.C. 36B(b)(2)). The solver always evaluates its probes with nonActionableAca 'disclose' (its options leave callers no way to ask for 'refuse'), so such a year is a disclosed limit, not a refusal. Those years of the run the result rests on (the best feasible probe; with no answer, the probe the failure diagnostic describes: the floor probe when it ran, else the seed), the codes that blocked pricing (every code but the informational ones, INFORMATIONAL_ACA_SUPPORT_CODES, the list the ledger's readiness reads) and acaGrossPremiumDirection are published, and the last diagnostic names them.
    • acaGrossPremiumDirection is 'conservative' only at fixed-target spending: at fixed spending a lower premium lowers what that year must withdraw, so a credit would likely leave room to spend more. That is measured, not proven for every plan: an independent check priced the stand-in years in a counterfactual and re-solved the 20 fixed-target example answers at $1 resolution (about 6,700 grid points) without finding a credit-priced answer below the gross one (gaps 0 to $6,357 a year). Under guardrails it is 'uncertain': a lower cost keeps the withdrawal rate under the upper guardrail longer, so cuts start later, and the same check found credit-priced ledgers that solve lower (the aggressive-saver example under 125/90/20 guardrails with raises: $76,707 on the gross premium, $75,170 with the credit priced) or deplete at the gross answer (the barista-fire example under the same 125/90/20 guardrails with raises).
    • Under an adaptive spending policy (guardrails) feasibility is not monotone in the base amount, so the answer is a level the search found feasible and a higher feasible level can exist. Measured with no Marketplace year at all: the example-couple plan with no Marketplace premium or credit, withdrawal-rate guardrails (upper 125%) and an $86,400 required floor depletes in 2059 at a base of $164,391 and never depletes at $166,971, because the higher base makes its first cut a year earlier (2030 against 2031). The independent check of 2026-09-26 also found it on Marketplace plans, under both the gross-premium and the credit-priced ledgers.
    • The published answer is rounded down to $100 (owner decision R4, the record solved-spending-rounding). In this record's first evidence case the level that passed, $62,500, is already a whole $100, so it is both feasibleBaseAnnual and the published answer; in the second the level that passed is $62,969 and the published answer $62,900, so the two figures differ and each is asserted.
    • When the seed is infeasible the downward bracket starts at the required spending floor (expenses.requiredAnnual rounded up, 0 when the plan has none), the lowest level the plan checks accept; no probe goes below it, and a failure there is reported as the floor failing, naming the constraint that failed. The seed itself is raised to that floor when the base spending would round below it. zeroSpendingDepletes is true only when a probe at 0 ran and depleted.
  • Sustainable-spending simulation count: the probe sequence, counted

    Catalog: Sustainable spending result simulation count

    • The worksheet supplies probe feasibility as test evidence; the evidence therefore builds a plan whose feasibility frontier really does fall between $22,500 and $25,000: four projection years, one $95,000 cash account, zero return and zero inflation, no income and no tax, so a level S is feasible exactly when 4S <= $95,000 (frontier $23,750)
    • The infeasible-seed case counts 2 only when the floor probe ALSO fails; the test plan has no required spending, so its floor is 0, and the evidence forces the failure with a $60,000 uninflated one-time goal the $5,000 portfolio cannot fund, because a feasible floor would open the bisection and raise the count
    • The count is not a measure of accuracy: it rises with the budget and falls with a looser resolution. An amortized-spending (ABW) plan returns 0 without probing; a diagnostic seed probe (an invalid basePatch) returns 1, and a seed already at the floor that fails returns 1
  • Usd cent arithmetic

    Feeds: Tax penalties annual

    • No direct census family: actions/annualHsaPenaltyEvaluation.ts consumes addUsdCents to aggregate exact penalties feeding tax-penalties-annual. Overflow and negative subtraction reject rather than returning an out-of-domain amount.
  • Annual contributions credited after limit trimming

    Catalog: Year result contributions

    Feeds: Surplus invested annual, Cash flow reconciliation totals

    • Asserted as the published field of a real simulatePlan 2026 row built from the worksheet's inputs: two owners aged 40 and 45 with one traditional IRA each, desired 6,000 and 9,000, wages 50,000 each, and zero general inflation. Plan assumptions beyond the worksheet's inputs: the household files jointly in KY at a zero state rate, both IRAs open at a zero balance with zero returns, there are no other accounts and no spending, and the 2026 IRA limit is read from the published parameters rather than written into the test
    • Both owners are under 50, so the test isolates the base limit and evidences no catch-up band
  • Annual employer match under the pay cap and the annual-additions limit

    Catalog: Year result employer match

    Feeds: Accounts ending balance by category, Cash flow line plan dollars

    • Asserted as the published field of a real simulatePlan 2026 row built from the worksheet's inputs: wages 75,000, one employer traditional plan whose desired deferral of 24,500 lands in full, a 50-percent-of-pay match cap, a 200-percent match rate, and no other annual additions. Plan assumptions beyond the worksheet's inputs: the owner is 45 and filing single in KY at a zero state rate, so no age-50 catch-up can widen either the deferral or the room; the plan opens at a zero balance with zero returns and no spending; and the 2026 415(c) limit and elective-deferral limit are read from the published parameters rather than written into the test
    • The worksheet's third wrong reading (applying the pay cap after the match rate) produces 37,500, which is discriminated numerically here only because the 415(c) cap lands at 47,500 rather than 37,500
  • 0% long-term-gains headroom: the unused layer under the 15% threshold

    Catalog: Year result LTCG zero headroom

    • Beyond the worksheet's inputs the evidence plan fixes: a 63-year-old single filer (under 65, so the deduction is the base 2026 standard deduction of $16,100 with no age addition), an uninflated recurring ordinary stream sized to $16,100 above the case's taxable income, zero inflation and zero return so the 2026 threshold is unindexed, no gains and no qualified dividends, and a cash account to absorb surplus and pay tax
    • Case A is asserted at the worksheet's absolute $0.005 because the bisection lands 0.002 under the exact $12,450 root; a test that demanded exactness would fail on the algorithm's own $0.01 stopping width, not on the identity
    • The at-threshold branch returns exactly 0 before any bisection, which is why Case B is compared with toBe rather than a tolerance
    • The benefits branch is out of scope here: the worksheet states the no-benefit subtraction, and the bisection exists precisely because that subtraction is wrong once §86 inclusion moves with the gain
    • Cases C and D, added under decision D-ZERO-RATE-HEADROOM on 2026-09-25, put ordinary income below the deduction: the same plan with a $10,000 ordinary stream, and with no income at all. Their search runs from the threshold to the threshold plus the unused deduction, a wider bracket than Case A's, so the bisection lands up to $0.008 under the root (55,549.994 and 65,549.992); each is asserted within the $0.01 stopping width and at or under the root, and away from the 49,450 that a search bounded by the threshold published before the decision. Cases A and B were derived by Codex and reviewed by Cursor; Cases C and D were worked by the implementer from the decision's evidence and independently checked on 2026-09-26 by a reviewer who is not the author, as the worksheet records. The worksheet's claim was reworded on 2026-09-27 to name the indexed threshold of a projected year, and Codex reviewed the reworded claim on 2026-09-29 (DOCS/calculations/reviews/REVIEW-2026-09-29-codex-2-cash-flow.md)
  • Annual tax-exempt interest, and the ACA-year maximum

    Catalog: Year result tax exempt interest

    Feeds: Income total annual, Tax total annual

    • Both cases asserted as the published field of a real simulatePlan 2026 row: one municipal sleeve at the worksheet's 200,000 balance and 2-percent tax-exempt yield, zero account return and zero inflation. Plan assumptions beyond the worksheet's inputs: a 60-year-old filing single in KY at a zero state rate, the sleeve does not reinvest its yield, and Case B adds a 2026 ACA contract at a 500-per-month enrollment premium whose taxExemptInterest state is known at the worksheet's 6,000; the enrollment premium is what makes the contract active and is not read by this field
    • The ACA maximum characterizes income only; the test also asserts that the generated 4,000 remains the cash-real income member in Case A

Insights

  • Illustrative SPIA premium and monthly payout from unused longevity headroom

    Catalog: Insight annuitization headroom illustrative SPIA

    • An illustration, not a carrier quote, recommendation, or claim that the payout is optimal or guaranteed
    • The worksheet supplies the already-resolved spiaPayoutRate(startAge) = 6.6%/year; the evidence passes that rate through rather than re-quoting the table
    • startAge is clamped to [65, 95], so a rate below the age-65 table point is not reachable without substituting the resolved rate
  • Swappable class exposure of the preferred asset-location candidate

    Catalog: Insight asset location swappable exposure

    • A screening choice, not a claim that asset location always helps
    • screen() never prices candidates; selection is by preferred id then generator position, independent of exposure size
    • The largest-positive ending-after-tax-estate-delta rule belongs to evaluate(), which runs the full year-by-year projection, not to this published screen quantity
  • Illustrative HECM credit line for a house-rich, portfolio-thin plan

    Catalog: Insight HECM buffer illustrative credit line

    • An illustration from the published age factor, not a lender quote or a claim the line is valuable on the deterministic path
    • The worksheet supplies the already-resolved principal-limit factor of 45% at age 65; the evidence passes that factor through rather than re-reading the table in the published parameters (the age-65 factor in the 2026 parameters is 37.2%)
  • Insight impact: ending after-tax estate and lifetime tax deltas

    Catalog: Insight impact ending after tax estate delta, Insight impact lifetime tax delta

    • Beyond the worksheet's inputs the evidence plan fixes two real one-year projections that land on the worksheet's four summary figures exactly: a 1963-born single filer (over 59.5 so no early-distribution rule, under 65 so no Medicare premium) with one $1,800,000 traditional account, a flat 25% tax double, heirTaxRatePct 50, zero return and zero inflation, and base spending of $600,000 in the baseline against $555,000 in the candidate scenario. At a flat rate r the withdrawal funding spending S is S / (1 - r) and the tax is r x that, and the estate is the remaining balance net of the heir rate
    • The flat calculator is a test double, never the shipped stack: it exists so the test can name exact dollars without recomputing federal law, and it must not be read as a tax result
    • Both deltas are differences of SUMMARIES, so they inherit every convention of summarizeProjection: the heir-tax haircut, charity carve-outs, and the fact that property, debts and ladder face ride through net worth without per-account estate rows
    • The irmaa-tier-edge Insight writes its annual premium cliff into endingAfterTaxEstateDelta as an avoidance signal rather than an estate change; that exception belongs to that Insight’s own record and the evidence here does not exercise it
  • IRMAA tier-edge household Medicare premium cliff

    Catalog: Insight IRMAA tier edge premium cliff

    Feeds: Insight impact ending after tax estate delta

    • A rough avoidance signal, not a claim that reducing current-year income changes a premium already charged
    • The worksheet supplies the already-resolved per-person premiums; the evidence passes those through rather than recomputing medicareAnnualPremiumPerPerson
    • The Insight only fires when MAGI is at most $5,000 over the next threshold; that proximity window is a screen, not part of the cliff identity
  • Illustrative (or explicit) required spending floor for a guardrail preview

    Catalog: Insight spending guardrails illustrative floor

    • A guardrail preview, not a claim that 80% is an objectively required household budget
    • The generator also min's the floor with baseAnnual, so an explicit floor above base spending is capped; the worksheet's explicit case is below base and does not hit that cap
    • The screen alternatives are joined by OR: depletion is sufficient at any balance; a non-depleting plan at exactly $100,000 does not screen because the investable comparison is strict
  • Rough real annual spending headroom from excess terminal estate

    Catalog: Insight spending headroom rough annual

    • A cheap first-pass, not a claim that withdrawing this amount every year is sustainable
    • The first derivation guessed an inclusive row count (10 for 2026 through 2035) because the comment stated no convention; the comment now states N = max(1, endYear − startYear) and the worksheet was re-derived on it (44,444.44, shown as $44,444)
  • Household Social Security bridge: summed ladder cost and annual real income

    Catalog: Insight SS bridge gap total

    • A scenario preview, not a claim the ladder is affordable merely because half its cost is present
    • The worksheet supplies already-sized per-claimant ladder costs and annual amounts; the evidence passes those through rather than re-running sizeBridge on the embedded curve
    • The 50% funding gate is a single household test against the summed eligible cost after aggregation, not a per-claimant ratio; an insufficiency comparison (liquid < 0.5 × totalCost) is a wrong reading
  • Lifetime state-and-local tax saved by the best zero-tax relocation candidate

    Catalog: Insight state relocation lifetime state tax savings

    • Candidate selection uses all taxes and penalties; the savings identity uses state-plus-local tax only
    • A failed sweep publishes no dollar figure (evaluate degrades to the screen-level card)
    • Only the final sum is floored at zero, not each year's contribution
    • The evidence constructs the sweep rows the worksheet states rather than running four ledgers
  • Rough real survivor bracket jump, single versus joint on the same MAGI

    Catalog: Insight widows penalty bracket jump

    • Identifies a conversion-planning question, not a forecast of the survivor's actual return
    • The worksheet supplies the already-resolved Single and MFJ tax figures; the evidence passes those through rather than recomputing federal tax
    • Production floors a negative jump at 0 before deflating; the worksheet's Single > MFJ case does not hit that floor
    • The card omits the evidence row when the rounded today-dollar jump is at most $100
  • Monte Carlo success rate change on shared paths

    Catalog: Insight monte carlo success delta

    • A success share on N paths moves in steps of 1/N; a change of a few steps is sampling noise even on shared paths.
    • The comparison says nothing about the paths that fail in both plans, or how deep their shortfall is.

RetireGolden is educational planning software, not financial, tax, or legal advice. It models outcomes under assumptions you choose; consult a qualified professional before acting. The source and AGPL-3.0 license are public.