I own data quality for RelayForge's first shared growth dashboard. Please turn the signed product brief and event catalog in /workspace into an executable, versioned AARRR contract.
Repair metrics.yaml so it validates against the supplied catalog schema and fully declares the five stages and required supporting KPIs with their formulas and lineage. Finish the aarrr.py evaluate interface documented in README.md; it must work against arbitrary fixture paths that use the published SQLite/CSV contracts, not only the checked-in IDs. Produce output/result.json for the checked-in reporting request, conforming to result.schema.json.
I also need a black-box acceptance suite at quality/run_contract_tests.py. Follow quality/README.md: exercise the candidate through AARRR_CLI, assert meaningful positive and close-negative journeys from the signed rules, and return a failing status for a nonconforming candidate. Keep all evaluation deterministic and offline.
The result needs to reconcile identity, event delivery, UTC window boundaries, funnel grain changes, spend, subscriptions/refunds, referrals, and surveys exactly as the signed brief specifies. Undefined ratios must remain JSON null, and member arrays must be stable and sorted.