Skip to main content

metric_specs

Function metric_specs 

Source
pub fn metric_specs() -> (BTreeMap<String, AttributeSpec>, BTreeMap<String, AttributeGroup>)
Expand description

The complexity metric attribute dictionary and its groups, fully enriched (label/name/short/description/formula/calc/direction) so the UI hardcodes no metric. The orchestrator merges these into each level’s node_attributes / attribute_groups (then prunes to keys actually present) and overlays language thresholds. Coupling/cycle specs live in code-ranker-graph.