pub fn scan_project(
root: &Path,
threshold: u32,
model: Option<&str>,
top_n: usize,
) -> ProjectHealthExpand description
Scan root for code-health, pricing the quality tax with model (or the
blended fallback when None). top_n bounds the hotspot list in the score.