pub struct RegressionGate {
pub tolerance: f32,
}Expand description
Compare a current EvalRun against a baseline. Blocks publication
if pass-rate regressed by more than tolerance.
Fields§
§tolerance: f32Implementations§
Source§impl RegressionGate
impl RegressionGate
pub fn check(&self, baseline: &EvalRun, current: &EvalRun) -> RegressionResult
Auto Trait Implementations§
impl Freeze for RegressionGate
impl RefUnwindSafe for RegressionGate
impl Send for RegressionGate
impl Sync for RegressionGate
impl Unpin for RegressionGate
impl UnsafeUnpin for RegressionGate
impl UnwindSafe for RegressionGate
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