Skip to main content

diff_measurements

Function diff_measurements 

Source
pub fn diff_measurements(
    a: &BTreeMap<String, ClipMeasurements>,
    b: &BTreeMap<String, ClipMeasurements>,
) -> Vec<MetricDelta>
Expand description

Compare two measurement maps and return only significant deltas.

The thresholds are intentionally fixed public constants so CLI and embedding callers agree on what counts as re-export noise. Gait phase uses circular distance, so phases near 0.0 and 1.0 compare as adjacent rather than far apart.