The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
type Signals struct {
Churn map[string]int// file_path -> commit count CoChange map[[2]string]int// ordered pair (a < b) -> frequency WindowDays int ComputedAt string// ISO 8601 timestamp of HEAD at extraction time}
Signals holds aggregated git history signals for a repository.
Extract extracts churn and co-change signals from git history.
Uses a single git log invocation. Returns nil error on success.
If git is unavailable or the repo has no history, returns an error.