Skip to main content

reduce

Function reduce 

Source
pub fn reduce(
    domain: &DomainName,
    observations: &[Observation],
    now: UnixMillis,
) -> Result<Verdict, ReductionError>
Expand description

Reduces immutable observations without discarding provenance or disagreement.

ยงErrors

Returns ReductionError if any observation belongs to another domain.