pub struct TopQuantile {
pub quantile_p: f64,
pub mean_ns: f64,
pub ci95_ns: (f64, f64),
pub exceed_prob: f64,
}Expand description
Information about a significant quantile (for projection mismatch reporting).
When the 2D (shift, tail) projection doesn’t fit the data well, this struct provides information about which individual quantiles are driving the leak detection. This helps diagnose effects that don’t fit the shift+tail model (e.g., effects concentrated at a single quantile).
See spec Section 7.5 (Per-Quantile Exceedance).
Fields§
§quantile_p: f64Quantile probability (e.g., 0.9 for 90th percentile).
mean_ns: f64Posterior mean δ_k in nanoseconds.
ci95_ns: (f64, f64)95% marginal credible interval (lower, upper) in nanoseconds.
exceed_prob: f64P(|δ_k| > θ_eff | Δ) - per-quantile exceedance probability.
This is the probability that this individual quantile’s effect exceeds the threshold, computed from the marginal posterior.
Implementations§
Trait Implementations§
Source§impl Clone for TopQuantile
impl Clone for TopQuantile
Source§fn clone(&self) -> TopQuantile
fn clone(&self) -> TopQuantile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopQuantile
impl Debug for TopQuantile
Source§impl<'de> Deserialize<'de> for TopQuantile
impl<'de> Deserialize<'de> for TopQuantile
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 TopQuantile
impl RefUnwindSafe for TopQuantile
impl Send for TopQuantile
impl Sync for TopQuantile
impl Unpin for TopQuantile
impl UnwindSafe for TopQuantile
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.