Function from_coupling_pairs
pub fn from_coupling_pairs(pairs: &[CouplingRow]) -> Result<Vec<CentralityRow>>Expand description
Convenience: rebuild centrality directly from a CouplingRow slice
for in-memory orchestration (e.g. code_health consumes the same
pairs to compute coupling centrality alongside its other inputs;
without this helper it would either pay a double-run_coupling cost
or carry SQL-side state). The error path is unreachable on the
in-memory branch โ the trait signature keeps callers honest.
ยงErrors
Never returns Err in practice; the Result shape is reserved for
future expansions (e.g. NaN propagation guards).