What problem does it solve?
Provides clear conventions and patterns to remove ambiguity and flakiness from the financial verification test suite so that all calculations are deterministic, traceable, and auditable across the codebase.
Core Features & Use Cases
- Golden Test Pattern: Hand-derived reference scenarios with fixed inputs and penny-level assertions to validate core calculators.
- Proof Scenarios: Five structural scenarios that exercise every financial path (cash purchase, financed purchase, cash→refinance, portfolio aggregate, consolidated eliminations) to prove GAAP identities.
- Reconciliation & Artifacts: Automated generation of JSON and Markdown reconciliation artifacts that document sources & uses, NOI→FCF bridges, and debt reconciliation with severity-coded audit opinions.
- Hardcoded Detection & Data Integrity: Scans for magic numbers, enforces safe constants, and validates database ownership and uniqueness constraints.
- Fixture Factory & Verify Pipeline: Mandates use of shared fixture factories for test inputs and an 8-phase npm run verify pipeline that must result in an UNQUALIFIED opinion before merge.
Quick Start
Run the full verification pipeline with npm run verify to generate reconciliation artifacts and confirm an UNQUALIFIED audit opinion.