pub fn compute_stats(graph: &Graph) -> BTreeMap<String, AttrValue>
Compute the averages over all internal (file) nodes. Returns a flat map keyed by metric name; empty when nothing positive was found.