Skip to main content

score_findings

Function score_findings 

Source
pub fn score_findings(findings: &[Finding]) -> f32
Expand description

Score a list of findings.

Empty list → 0.0. A single Critical finding already lands above the --threshold 7 gate described in the README. Additional findings push the score up with diminishing returns so that ten medium issues don’t outrank one critical.