How We Test Calculators
Last updated 2026-06-30
Release validation workflow
- Formula source review and implementation in typed utility modules.
- Known-value test vectors for base and edge-case scenarios.
- UI-level validation for invalid input handling and warning states.
- Snapshot checks for saved scenario export and reopen paths.
- Pre-release verification with `npm run test` and `npm run build`.
Update triggers
- IRS/tax-year changes for tax, paycheck, retirement contribution limits.
- Published reference updates for health and education calculators.
- User-reported discrepancies through the contact/report paths.
- Regression failures from automated tests.
Edge cases we explicitly check
- Zero and near-zero values, maximum/upper-bound values, and negative invalid inputs.
- Rounding and formatting behavior for currency, percent, and schedule outputs.
- Reopen consistency for saved scenarios and comparison metric mappings.
- Behavior under missing optional fields and unsupported combinations.
Need a correction? Use Contact or view recent fixes in Corrections.