pub fn compute_staleness_batch(
root: &Path,
file_paths: &[impl AsRef<str>],
) -> HashMap<String, f64>Expand description
Compute staleness scores for a batch of file paths.
Returns a HashMap<file_path, staleness> where staleness is in [0.0, 1.0].
Each unique file path triggers one git history walk; paths are deduplicated
internally so callers can pass one entry per symbol without penalty.
Degrades gracefully to 0.0 if the repository cannot be opened.