assessment-model/src
Khalim Conn-Kowlessar 03e62a17ed refactor(reporting): fold in duplication cleanups
- Money formatters: model.ts owns the single formatMoneyCompact + moneyFull;
  components/primitives re-exports them (moneyCompact = formatMoneyCompact) and
  the PDF's local money() is gone.
- ReportView: viewState.ts is the single definition; ScenarioCombobox re-exports
  it instead of re-declaring.
- EPC_BANDS: the reporting API routes import the canonical @/lib/epc/bands
  rather than the scenarios-model copy.
- compare/page uses countBelowBand(toBandCounts(...), "C") instead of a
  hardcoded ["D","E","F","G"] reduce.

Typecheck + 95 reporting/epc tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 14:18:14 +01:00
..
app refactor(reporting): fold in duplication cleanups 2026-07-20 14:18:14 +01:00
lib refactor(reporting): fold in duplication cleanups 2026-07-20 14:18:14 +01:00
types next js 2025-12-08 12:20:07 +00:00
middleware.ts fixed filtering logic 2026-02-07 19:59:51 +00:00