Expand description
Scoring function — turns a flat list of findings into a 0.0–10.0 score.
The rule is deliberately simple and auditable: sum severity weights,
apply a diminishing-returns curve, and clamp to [0.0, 10.0].
Constants§
- MAX_
SCORE - Maximum score the scorer can output.
Functions§
- exceeds
- Convenience: does this report’s score meet or exceed
threshold? - score_
findings - Score a list of findings.