pub fn rank_patterns( patterns: Vec<Pattern>, context: &TaskContext, ) -> Vec<Pattern>
Rank patterns by relevance/quality