pub fn calculate_impact_scores(
events: &[&GitEvent],
get_files: impl Fn(&str) -> Option<Vec<String>>,
file_heatmap: &FileHeatmap,
) -> CommitImpactAnalysisExpand description
Calculate Impact Score
Formula:
- File count component: (files_changed / 50).min(1.0) * 0.4
- Lines changed component: (total_changes / 500).min(1.0) * 0.4
- File importance component: avg_file_heat * 0.2