#[cfg(feature = "hydra_budget")]
#[derive(Clone, Copy, Debug)]
pub struct HydraLayerProfile {
pub mean_de: f32,
pub backup_frequency: f32,
pub is_erasure: bool,
}
#[cfg(feature = "hydra_budget")]
#[derive(Clone, Copy, Debug)]
pub struct HydraBudgetConfig {
pub skip_threshold: f32,
pub cumulative_threshold: f32,
pub modelless: bool,
pub skip_erasure_draft: bool,
}
#[cfg(feature = "hydra_budget")]
impl Default for HydraBudgetConfig {
fn default() -> Self {
Self {
skip_threshold: 0.01,
cumulative_threshold: 0.95,
modelless: true,
skip_erasure_draft: false,
}
}
}