pub struct EProcessConfig {
pub alpha: f64,
pub delta: f64,
pub bet: f64,
pub grid: Vec<f64>,
}Expand description
Config for anytime-valid risk control (crate::eprocess::EProcessRiskControl, ADR 0011).
Opt-in and additive. Absent, the router behaves exactly as before. Present, the certified
threshold takes precedence over [escalation.adaptive] once something is certified — before
that it contributes nothing, because a controller that has proven nothing must not hand out a
number.
Fields§
§alpha: f64Target served-failure rate the bound holds to.
delta: f64Family-wise error budget, across every grid threshold and every round jointly.
bet: f64Betting fraction. Clamped internally so a large value cannot annihilate a threshold.
grid: Vec<f64>Candidate thresholds. Kept small on purpose: the Bonferroni crossing level is n/delta, so
evidence required per threshold grows linearly in grid size.
Trait Implementations§
Source§impl Clone for EProcessConfig
impl Clone for EProcessConfig
Source§impl Debug for EProcessConfig
impl Debug for EProcessConfig
Source§impl<'de> Deserialize<'de> for EProcessConfig
impl<'de> Deserialize<'de> for EProcessConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EProcessConfig
impl RefUnwindSafe for EProcessConfig
impl Send for EProcessConfig
impl Sync for EProcessConfig
impl Unpin for EProcessConfig
impl UnsafeUnpin for EProcessConfig
impl UnwindSafe for EProcessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more