Expand description
Co-change cluster detection from git history.
Discovers logical modules by running connected-components over co-change pairs. Files that frequently change together form clusters, regardless of directory structure. Uses union-find over filtered pairs — simpler and more transparent than petgraph’s SCC algorithms for undirected, weighted edges.
Structs§
- Cluster
- A co-change cluster discovered from git history.
- Cluster
Index - Full cluster index for a repository. Cached under key
cluster:index.
Constants§
- MIN_
COCHANGE_ COUNT - Minimum raw co-change count for a pair to count toward cluster formation.
Below this, pairs are treated as noise even if they passed the 0.70
correlation threshold in
mine_git_history.