pub enum Flag {
LowPower,
CiCrossesZero,
NoPricing,
}Expand description
Caveat flags attached to a per-axis result.
Flags explain why the severity is what it is — they surface the
statistical caveats that users would otherwise have to read the CI
and n column to spot. A severity of Severe with no flags is
strong; a severity of Severe with LowPower means “the trend
looks large but our sample was too small to be confident.”
Variants§
LowPower
n < 5 — we don’t have enough paired observations to be
confident in the CI. Bootstrap on tiny samples produces wide
intervals; treat severities as directional, not definitive.
CiCrossesZero
The 95% CI includes zero. At the 95% confidence level we cannot
reject “no effect”; the observed delta may be noise. Severity
is capped at Minor in this case regardless of |delta|.
NoPricing
Cost axis could not price any pair — either no pricing table was
supplied or the table has no entries for the traced models.
A 0.00 cost delta in this state means “unknown”, not “equal”.
Emitted only on Axis::Cost.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Flag
impl<'de> Deserialize<'de> for Flag
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>,
Source§impl Ord for Flag
impl Ord for Flag
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Flag
impl PartialOrd for Flag
impl Copy for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnsafeUnpin for Flag
impl UnwindSafe for Flag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key and return true if they are equal.