1# @ajax/mesh-sched-weights
23The fleet scheduler's weights and policy (`msw_weights`): the score terms' weights, the rebalancer's
4hysteresis (`improve`, `hold_ms`, `dwell_ms`, `per_min`), the replacement grace, the owner policy and
5the reservation reserve. `msw_from_keys` reads a cluster config's `sched_*` keys over the defaults.
67## Ported from
89[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) `crates/mesh-host/src/sched.rs`:
10`Weights`, `Weights::default`, `Weights::from_keys`.
1112## Tests
1314`tests/weights.c`: defaults, overrides, `tick_ms`'s floor of 100, each error message.
1516## Licence
1718MIT. See the repository's LICENSE.