pub struct ExperimentDiff {
pub effects: Vec<TypedLocatedEffect>,
pub regressions: u32,
pub improvements: u32,
pub stable_failures: u32,
pub stable_passes: u32,
pub statistically_meaningful: bool,
pub sample_warning: Option<String>,
}Expand description
Typed diff between baseline and patched experiment results.
Fields§
§effects: Vec<TypedLocatedEffect>Effects that differ between baseline and patched.
regressions: u32Summary counts.
improvements: u32§stable_failures: u32§stable_passes: u32§statistically_meaningful: boolWhether the diff is statistically meaningful.
sample_warning: Option<String>Warning if sample size is insufficient.
Implementations§
Source§impl ExperimentDiff
impl ExperimentDiff
Sourcepub fn from_paired(baseline: &CheckResult, patched: &CheckResult) -> Self
pub fn from_paired(baseline: &CheckResult, patched: &CheckResult) -> Self
Derive a typed diff from baseline and patched check results.
Trait Implementations§
Source§impl Clone for ExperimentDiff
impl Clone for ExperimentDiff
Source§fn clone(&self) -> ExperimentDiff
fn clone(&self) -> ExperimentDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExperimentDiff
impl Debug for ExperimentDiff
Source§impl<'de> Deserialize<'de> for ExperimentDiff
impl<'de> Deserialize<'de> for ExperimentDiff
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 ExperimentDiff
impl RefUnwindSafe for ExperimentDiff
impl Send for ExperimentDiff
impl Sync for ExperimentDiff
impl Unpin for ExperimentDiff
impl UnsafeUnpin for ExperimentDiff
impl UnwindSafe for ExperimentDiff
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