# How we check the math — data Data behind . Engine version `2026-12-01-r139`; outside answers fetched November 2, 2026. All households are synthetic (no customer data). ## Files | File | What it is | |---|---| | `federal-10000-households.csv` | 10,000 random households: inputs, our federal income tax, PolicyEngine-US's, the difference, and the result | | `federal-10000-households-policyengine.json` | The same households with PolicyEngine-US's raw outputs, as fetched | | `retiree-3000-households.csv` | 3,000 retiree-shaped households in 51 jurisdictions: inputs, federal and state tax (ours and PolicyEngine-US's), the state difference, the result and its cause | | `retiree-3000-households-policyengine.json` | The same households with PolicyEngine-US's raw outputs, as fetched | | `social-security-open-social-security.json` | Open Social Security's answers for 1,620 survivor and 1,440 spousal cases | | `social-security-ssa-quick-calculator.csv` / `.json` | SSA Quick Calculator estimates at full retirement age for 60 salary × birth-year cases, with our estimate and the gap (%) | | `summary.json` | Every figure on the page, and the plain-language description of each cause code | | `simulation-58-plans.csv` | The simulation and the searches: one row per test plan (58), from the study run on engine version `2026-12-01-r139` (November 27, 2026) | | `simulation-summary.json` | Every figure in the page's simulation section | | `generate-federal-households.js` | Regenerates the 10,000 households (seed 20261101) and asks PolicyEngine-US for its answers | | `generate-retiree-households.js` | Regenerates the 3,000 households (seed 20261102) and asks PolicyEngine-US for its answers | ## Columns - `people` (retiree file): one group per person, `age:social security:IRA withdrawals:pension:wages` (annual dollars), separated by ` | `. Interest, dividends and gains belong to the household; in the PolicyEngine-US request a couple's are split evenly between the spouses. - `*_ours`: our engine's tax. `*_policyengine`: PolicyEngine-US `income_tax` (federal) or `state_income_tax_before_refundable_credits` (state; Maryland includes the county tax on both sides). - `state_result`: `match` (within $1), `explained`, `rounding` (within $10, nothing reproduces it), `open`, or `no state tax on either side`. - `state_cause` / `state_cause_plain`: for `explained`, the known behavior of the reference model that, imitated in our engine, reproduces its figure — within $1, or within $10 where `plus table rounding` is noted. An imitation counts only if it changes our figure. ## Simulation columns (`simulation-58-plans.csv`) Each search was run on 20 sets of 1,000 simulated futures; "fresh" means the answer from the app's own set, re-checked on 10,000 futures no search used. Odds are "of 100 futures"; money is today's dollars a month. A blank means the search does not apply to that plan (for example no earliest age for a plan that is already retired). - `odds_avg_20_sets`, `odds_spread_pts`: the plan's odds, averaged over the 20 sets, and how far they move between sets (standard deviation). - `earliest_age_app`, `earliest_age_min_20`, `earliest_age_max_20`: the earliest whole-year retirement age reaching 85 of 100 (the app's set, and the lowest and highest over the 20). - `earliest_to_month_spread_months`: how far the earliest age found to the month moves between sets. - `spend_app_per_month`, `spend_spread_per_month`: the most you could spend at 85 of 100, and how far it moves between sets. - `earliest_odds_fresh`, `spend_odds_fresh`: the odds of those answers on the fresh futures (the target was 85). - `price_cut_pct`, `price_cut_odds_fresh`: the smallest spending cut (%) that reaches 85 a year before the earliest age, and its odds on the fresh futures. - `no_swings_odds`: the plan's odds with market swings switched off (0 or 100; it matches the plain projection). ## Re-running the reference side The Open Social Security and SSA Quick Calculator answers are published as data only (Open Social Security's own calculation code, run unchanged; the Quick Calculator results as returned by ssa.gov) — there is no script here to re-run them. ``` node generate-retiree-households.js 3000 20261102 out.json node generate-federal-households.js 10000 20261101 out.json ``` Node 18 or later; each sends synthetic households to PolicyEngine-US's public API (`api.policyengine.org/us/calculate`) in batches of 100. PolicyEngine-US updates its model over time, so a later fetch can differ from ours; the `.json` files hold the answers exactly as we received them. ## License Data: CC BY 4.0. Scripts: MIT. Please cite: Newton, L. (2026). How we check the math: our retirement engine against independent references (engine version 2026-12-01-r139, November 7, 2026) [Data set and report]. Retirement Scenario Explorer. https://retirementscenario.com/verification The paper that reports this data, with the data attached, is archived on Zenodo: https://doi.org/10.5281/zenodo.24060762