get_co_change
Analyze git history to find files that frequently change together, revealing hidden dependencies and candidates for refactoring.
Instructions
Find files that frequently change together in the same commits. Uses Jaccard similarity to measure co-change strength. High co-change coupling may indicate hidden dependencies or candidates for merging/splitting.
No prior indexing required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the repository | |
| window_days | No | Days of git history to analyze (1-365, default: 90) | |
| min_shared | No | Minimum shared commits for inclusion (1-50, default: 2) | |
| top_n | No | Number of top pairs (1-100, default: 20) |