#[non_exhaustive]pub struct ClosedLoopComparisonRow {
pub arm: String,
pub steps: u32,
pub mean_error: f64,
pub drift_mean_error: f64,
pub p95_error: f64,
pub drift_recovery_steps: Option<u32>,
pub steady_preservation_rate: f64,
pub param_oscillations: u32,
pub patches_emitted: u32,
pub rollbacks: u32,
}Available on crate feature
std only.Expand description
Per-arm metrics from the closed-loop multi-parameter comparison benchmark.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arm: StringArm name (baseline_no_adapt, l1_unbounded, l1_l2_guarded).
steps: u32Total executed steps.
mean_error: f64Overall mean environment error across all steps.
drift_mean_error: f64Mean environment error during the regime-drift phase.
p95_error: f6495th percentile tail error across all steps.
drift_recovery_steps: Option<u32>Steps after drift onset until error drops below 0.30 (None if unrecovered).
steady_preservation_rate: f64Fraction of steady-state steps where parameters remained untouched.
param_oscillations: u32Number of parameter direction reversals or noisy oscillations.
patches_emitted: u32Total patches emitted by the session.
rollbacks: u32Total rollbacks triggered by the session.
Trait Implementations§
Source§impl Clone for ClosedLoopComparisonRow
impl Clone for ClosedLoopComparisonRow
Source§impl Debug for ClosedLoopComparisonRow
impl Debug for ClosedLoopComparisonRow
Source§impl<'de> Deserialize<'de> for ClosedLoopComparisonRow
impl<'de> Deserialize<'de> for ClosedLoopComparisonRow
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 Forget for ClosedLoopComparisonRow
impl Freeze for ClosedLoopComparisonRow
impl Move for ClosedLoopComparisonRow
impl RefUnwindSafe for ClosedLoopComparisonRow
impl Send for ClosedLoopComparisonRowwhere
RawVecInner: Send,
impl Sync for ClosedLoopComparisonRowwhere
RawVecInner: Sync,
impl Unpin for ClosedLoopComparisonRow
impl UnsafeUnpin for ClosedLoopComparisonRow
impl UnwindSafe for ClosedLoopComparisonRowwhere
RawVecInner: UnwindSafe,
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