MetricGateEvaluator
Compares the current graph's metrics against a committed baseline and reports any that regressed.
This generalizes the cycle-only regression check to any structural metric: teams can ratchet architecture quality in one direction only ("no backsliding"). Pure - no I/O; the baseline snapshot and current summary are supplied by the caller.
Properties
Functions
Link copied to clipboard
fun evaluate(current: MetricSnapshot, baseline: MetricSnapshot?, gates: Set<MetricGate>, severity: Severity): List<Violation>
Link copied to clipboard
Extracts the gate-able metrics from a computed GraphSummary.