pub enum Rejection {
CorrectnessFailure {
cell: String,
round: usize,
side: Side,
reason: String,
},
MissingTrial {
cell: String,
round: usize,
side: Side,
},
NotInterleaved {
cell: String,
round: usize,
},
MaterialRegression {
cell: String,
metric: Metric,
worse_change: f64,
allowed_change: f64,
},
ExcessVariance {
cell: String,
metric: Metric,
spread: f64,
max_spread: f64,
},
}Expand description
Why a comparison was rejected.
Variants§
CorrectnessFailure
A trial failed, or its counts show a lost, duplicated or failed record.
Fields
MissingTrial
The contract expects a trial that the record does not hold.
NotInterleaved
The same side ran first in two consecutive rounds of a cell.
MaterialRegression
A budgeted metric regressed beyond its budget, in a gating mode.
Fields
ExcessVariance
A budgeted metric’s spread exceeded its variance budget.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rejection
impl<'de> Deserialize<'de> for Rejection
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
impl StructuralPartialEq for Rejection
Auto Trait Implementations§
impl Freeze for Rejection
impl RefUnwindSafe for Rejection
impl Send for Rejection
impl Sync for Rejection
impl Unpin for Rejection
impl UnsafeUnpin for Rejection
impl UnwindSafe for Rejection
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