Skip to main content

Module risk

Module risk 

Source

Structs§

PackageRisk
ProjectRisk
ScoreExplanation
A transparent breakdown of how the project score was computed.

Enums§

RiskLevel

Functions§

explain
Explain the score: per-advisory full weights plus per-class diminishing heuristic contributions. The summed total is guaranteed to equal score_project’s score for the same signals (asserted in tests).
level_for_score
score_project
Compute the project risk score from collected signals (0–100).