pub fn generate_recommendations(
breaking_count: usize,
features_count: usize,
fixes_count: usize,
) -> Vec<String> {
let mut recommendations = Vec::new();
if breaking_count > 0 {
recommendations.push("Update migration guide for breaking changes".to_string());
recommendations.push("Consider beta release for testing".to_string());
recommendations.push("Notify downstream maintainers".to_string());
}
if features_count > 0 && breaking_count == 0 {
recommendations.push("Update documentation with new features".to_string());
}
if fixes_count > 5 {
recommendations.push("Consider additional testing for bug fixes".to_string());
}
if recommendations.is_empty() {
recommendations.push("No specific recommendations".to_string());
}
recommendations
}