pub fn compute_file_importance(
fragments: &[Fragment],
) -> FxHashMap<Arc<str>, f64>Expand description
Compute I(f) for every fragment path in the universe.
Returns a map from path string to importance ∈ {GENERATED_CAP, PERIPHERAL_CAP, DEFAULT_IMPORTANCE}. Generated takes precedence over peripheral when both apply (a more conservative downweight).