Companion Models: An Index Fund Is Not a Financial Plan
Every quantitative table and model figure in An Index Fund Is Not a Financial Plan: The Decisions Indexing Still Leaves You (by Engineer Investor) is backed by standalone, open-methodology Python code with fixed random seeds. Audit the assumptions, verify the math, or substitute your own household numbers.
Quick Start
unzip summitward-book-models.zip -d book-models
cd book-models
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pytest -q
python3 housing_2027.pyAll seven scripts use standard Python 3.10+ and NumPy ( requirements.txt installs numpy and pytest). Running pytest -q verifies all 37 mathematical properties across the bundle.
Model Inventory (Appendix A)
Tax limits reflect verified 2027 IRS, SSA, and CMS statutory values. Bond and TIPS ladder pricing uses the November 27, 2026 U.S. Treasury Daily Par Real Yield Curve.
Computes seven affordability ceilings for the 2027 Alvarez household ($245k total / $200k durable base, 7.0% 30-year mortgage), simultaneous down-payment and post-purchase reserve math, and parallel monthly rent-versus-buy break-even appreciation across 5 to 20 years.
Headline result: 7 ceilings ($447k to $1.41M); 10-yr break-even 3.78% to 5.23%
Calculates the break-even annual outperformance required to hold an aged, concentrated employer-stock position against selling and diversifying, covering sale at year 10, basis step-up at death (10-, 30-, and 40-year horizons), and correlated human-capital exposure.
Headline result: 0.1% to 12.0% annual alpha across 10% to 100% weights
Bootstraps the November 27, 2026 U.S. Treasury Daily Par Real Yield Curve into semiannual and monthly real zero-coupon discount factors, prices a 20-year real obligation and 30-year monthly TIPS ladder, and computes Macaulay duration and sleeve hedge ratios.
Headline result: 30-yr TIPS ladder $19.74 per $1/yr (5.07% guaranteed real payout)
Runs 200,000 lognormal Monte Carlo paths (fixed seed 16) for a 5-stock buy-and-hold portfolio with weight drift against a diversified index under CRRA risk aversion, including residual correlation and stock-count sensitivities (5 to 500 names).
Headline result: 5.3% annual alpha hurdle at 40% vol (gamma = 3); 69% trail at zero alpha
Calibrates Gompertz survival curves by bisection to SSA 2023 period and cohort/higher-earner remaining life expectancies at age 62, comparing claiming ages 62, 67, and 70 against a 2.2% after-tax 20-year TIPS benchmark under both full law and a 2032 78%-payable haircut.
Headline result: Delay-to-70 real break-even: 2.22% to 4.19% (full law)
Simulates 10,000 multivariate normal 30-year retirement paths (fixed seed 42) across an explicit 6x6 global stock/bond correlation matrix, sweeping funded ratios from 0.50 to 1.20 against 0% to 100% TIPS-floored spending.
Headline result: Exact 1.00 funded-ratio crossover: flooring helps above 1.0, hurts below
Compares Pure FIRE against the Synthesis plan (adding a $20k/year midlife experiences earmark from ages 50 to 64 plus a post-first-decade 12% dynamic surplus-release rule) across deterministic monthly stepping and 2,000 paired stochastic paths (fixed seed 2027).
Headline result: 18-month retire gap; $403k deterministic ($457k median) extra released
Prefer Interactive Browser Tools?
Summitward runs many of the book's frameworks interactively with no Python setup required.