Symptom
Incidents with severity 1 always get a triage score of 0 using StandardPolicy. Severity 2 gets 10. Expected: severity 1 should produce a base score of 10.
Context
The scoring system uses a Template Method pattern. StandardPolicy overrides baseScore() to compute the initial score from severity. The base score is then fed into applySeverityWeight() which multiplies by a clamped weight.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code