pub struct MetricCandidate {
pub label: String,
pub occurrences: u64,
pub failed_occurrences: u64,
pub correlation: f64,
pub recommended: bool,
pub rationale: String,
}Expand description
A labelled failure mode and whether it actually predicts the outcome the system exists to decide.
Fields§
§label: String§occurrences: u64§failed_occurrences: u64§correlation: f64Phi coefficient between the label and a failing human outcome.
recommended: boolFalse when the label is frequent but uncorrelated with the decision.
rationale: StringTrait Implementations§
Source§impl Clone for MetricCandidate
impl Clone for MetricCandidate
Source§impl Debug for MetricCandidate
impl Debug for MetricCandidate
Source§impl<'de> Deserialize<'de> for MetricCandidate
impl<'de> Deserialize<'de> for MetricCandidate
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 MetricCandidate
impl RefUnwindSafe for MetricCandidate
impl Send for MetricCandidate
impl Sync for MetricCandidate
impl Unpin for MetricCandidate
impl UnsafeUnpin for MetricCandidate
impl UnwindSafe for MetricCandidate
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