Skip to main content

aggregate

Function aggregate 

Source
pub fn aggregate(signals: &[SignalInput], config: &AggregationConfig) -> f64
Expand description

Collapse a session’s signals into a single fitness score in [0.0, 1.0].

Uses the weighted arithmetic mean. Values are clamped to [0.0, 1.0] before weighting. Empty input returns 0.5 (neutral prior).