pub fn evaluate( state: &State, now: i64, cores: f64, daemon_cpus: f64, max_gap: i64, config: &Config, ) -> (State, Option<Action>)