Symptom
Select "Experimental" policy and run triage. The app crashes with TypeError: Cannot read properties of undefined (reading 'map') in the TriageResults component.
Context
The scoring system uses a Template Method pattern via the base Policy class. The ScoreResult interface requires a breakdown array. ExperimentalPolicy overrides the score() template method directly, bypassing all hooks. The frontend calls result.breakdown.map() to render the breakdown.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code