sensor statistics: fix bug
sensor statistics: fix bug: a task in smol-software-harbor (Harbor dataset). moving average in src/lib.rs drops the last window: for 4 samples and a window of 2 it returns 2 averages instead of 3. Fix it (the doc comment is right) and run cargo test --offline -q .
The task
`moving_average` in `src/lib.rs` drops the last window: for 4 samples and a window of 2 it returns 2 averages instead of 3. Fix it (the doc comment is right) and run `cargo test --offline -q`.
Part of efederici/smol-software-harbor.