pub enum AdviceStatus {
WellCalibrated,
SampleTooSmall,
UnknownLabel,
Actionable,
}Expand description
Why a bucket’s advice field has the value it does.
Variants§
WellCalibrated
Sample large enough AND observed pass rate within ±15pp of
the bucket’s expected midpoint. advice is empty.
SampleTooSmall
count < 5. Statistical noise too high to act on; advice
is suppressed even if the rate looks off.
UnknownLabel
Bucket label is not in the known-semantics table (uncertainty
or quality axis). Can’t judge calibration; advice is empty.
Actionable
count ≥ 5 AND observed rate diverges from expected by >15pp.
advice contains the multi-cause analysis; this is the only
status that means “you should look at the bucket label vs.
the predictor’s thresholds.”
Trait Implementations§
Source§impl Clone for AdviceStatus
impl Clone for AdviceStatus
impl Copy for AdviceStatus
Source§impl Debug for AdviceStatus
impl Debug for AdviceStatus
impl Eq for AdviceStatus
Source§impl PartialEq for AdviceStatus
impl PartialEq for AdviceStatus
Source§impl Serialize for AdviceStatus
impl Serialize for AdviceStatus
impl StructuralPartialEq for AdviceStatus
Auto Trait Implementations§
impl Freeze for AdviceStatus
impl RefUnwindSafe for AdviceStatus
impl Send for AdviceStatus
impl Sync for AdviceStatus
impl Unpin for AdviceStatus
impl UnsafeUnpin for AdviceStatus
impl UnwindSafe for AdviceStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.