Skip to main content

Module scoring

Module scoring 

Source
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.