pub struct L2Config {Show 20 fields
pub enabled: bool,
pub commit_threshold: f64,
pub commit_cooldown_steps: u64,
pub negative_reward_required: u32,
pub alpha_max: f64,
pub alpha_rise_rate: f64,
pub trust_cooldown_steps: u32,
pub error_margin: f64,
pub reward_drop_margin: f64,
pub rollback_wakeup: u32,
pub calm_required: u32,
pub window_size: usize,
pub beta_max: f64,
pub lyapunov_gamma: f64,
pub lyapunov_epsilon: f64,
pub hedge_forgetting: f64,
pub hedge_learning_rate: f64,
pub dayan_relaxation: f64,
pub meta_cache_capacity: usize,
pub meta_cache_hit_threshold: f64,
}std only.Expand description
Pure-numeric resident-control parameters. Bounds are checked when applied to the controller so untrusted configuration cannot invalidate the safety certificate or EXP3 support assumptions.
Fields§
§enabled: boolWhether enabled is enabled or active.
commit_threshold: f64Commit threshold for this value.
commit_cooldown_steps: u64Number of commit cooldown.
negative_reward_required: u32Negative reward required for this value.
alpha_max: f64Alpha maximum for this value.
alpha_rise_rate: f64Alpha rise rate for this value.
trust_cooldown_steps: u32Number of trust cooldown.
error_margin: f64Error margin for this value.
reward_drop_margin: f64Reward drop margin for this value.
rollback_wakeup: u32Rollback wakeup for this value.
calm_required: u32Calm required for this value.
window_size: usizeWindow size for this value.
beta_max: f64Beta maximum for this value.
lyapunov_gamma: f64Lyapunov gamma for this value.
lyapunov_epsilon: f64Lyapunov epsilon for this value.
hedge_forgetting: f64Hedge forgetting for this value.
hedge_learning_rate: f64Hedge learning rate for this value.
dayan_relaxation: f64Dayan relaxation for this value.
meta_cache_capacity: usizeMeta cache capacity for this value.
meta_cache_hit_threshold: f64Meta cache hit threshold for this value.