pub struct EvaluationThresholds {
pub max_pass_rate_drop: f64,
pub max_latency_p95_ratio: f64,
}Expand description
The comparison thresholds an evaluation ran under — the deliberate
mirror of rusty-eval’s CompareThresholds, serde-identical by
contract: the evaluator (which links rusty-eval) maps one onto the
other field-for-field, and the journaled payload speaks this shape so
the runtime never links the eval crate (the workspace’s dependency
direction is rusty-eval → runtime, never the reverse).
Fields§
§max_pass_rate_drop: f64Maximum tolerable absolute pass-rate drop, per assertion and per case, before the comparison flags a regression.
max_latency_p95_ratio: f64Maximum tolerable p95 latency ratio candidate / baseline.
Trait Implementations§
Source§impl Clone for EvaluationThresholds
impl Clone for EvaluationThresholds
impl Copy for EvaluationThresholds
Source§impl Debug for EvaluationThresholds
impl Debug for EvaluationThresholds
Source§impl Default for EvaluationThresholds
impl Default for EvaluationThresholds
Source§impl<'de> Deserialize<'de> for EvaluationThresholds
impl<'de> Deserialize<'de> for EvaluationThresholds
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
Source§impl PartialEq for EvaluationThresholds
impl PartialEq for EvaluationThresholds
Source§impl Serialize for EvaluationThresholds
impl Serialize for EvaluationThresholds
impl StructuralPartialEq for EvaluationThresholds
Auto Trait Implementations§
impl Freeze for EvaluationThresholds
impl RefUnwindSafe for EvaluationThresholds
impl Send for EvaluationThresholds
impl Sync for EvaluationThresholds
impl Unpin for EvaluationThresholds
impl UnsafeUnpin for EvaluationThresholds
impl UnwindSafe for EvaluationThresholds
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