pub fn warmup_cooldown_rate( current_epoch: Epoch, new_rate_activation_epoch: Option<Epoch>, ) -> f64