Skip to main content

compare

Function compare 

Source
pub fn compare(accepted: &Census, now: &Census) -> Vec<Change>
Expand description

Every way now differs from accepted. Empty when the census holds.

A row is a change when its unit, scale, slack, speed class or percentage’s reference differs (Change::Redefined, listed as well as what follows), when its standing differs, or when its difference moved by more than the accepted slack either way: a ratchet that only watched for regressions would let an improvement slip back unseen. A case that was a known gap or not flown, and is compared now, is one Change::Flown carrying its new rows.