pub struct CompareOptions {
pub threshold_pct: f64,
pub alpha: f64,
pub noisy_cv_threshold: f64,
}Expand description
Knobs governing the verdict. Use CompareOptions::default for the
well-tested defaults; override individually if you want a tighter or
looser gate for a specific service.
Fields§
§threshold_pct: f64Minimum |median delta| (as fraction of base median) to call a change meaningful. Default 0.05 (5%).
alpha: f64Significance level for the Mann–Whitney U test. Default 0.05.
noisy_cv_threshold: f64If either side’s CV exceeds this and the measured delta is smaller
than 2 × maxCv, the diff is classified neutral with reason
TooNoisy. Default 0.25 (25%).
Trait Implementations§
Source§impl Clone for CompareOptions
impl Clone for CompareOptions
Source§fn clone(&self) -> CompareOptions
fn clone(&self) -> CompareOptions
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 moreimpl Copy for CompareOptions
Source§impl Debug for CompareOptions
impl Debug for CompareOptions
Auto Trait Implementations§
impl Freeze for CompareOptions
impl RefUnwindSafe for CompareOptions
impl Send for CompareOptions
impl Sync for CompareOptions
impl Unpin for CompareOptions
impl UnsafeUnpin for CompareOptions
impl UnwindSafe for CompareOptions
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