pub struct PairStats {
pub q_i: f64,
pub q_j: f64,
pub kappa: Option<f64>,
pub joint_miss: f64,
pub joint_miss_upper: f64,
pub samples: usize,
}Expand description
Matched-stratum statistics for one validator pair.
Fields§
§q_i: f64Miss rates over the matched candidate set.
q_j: f64§kappa: Option<f64>Phi correlation over matched misses; None for degenerate marginals,
which use the joint miss directly rather than a fabricated zero.
joint_miss: f64Empirical joint miss rate over the matched set (point diagnostic).
joint_miss_upper: f64Conservative upper confidence bound on the joint miss (Hoeffding at 95%): the value a certificate may use.
samples: usizeMatched sample count.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairStats
impl<'de> Deserialize<'de> for PairStats
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
impl StructuralPartialEq for PairStats
Auto Trait Implementations§
impl Freeze for PairStats
impl RefUnwindSafe for PairStats
impl Send for PairStats
impl Sync for PairStats
impl Unpin for PairStats
impl UnsafeUnpin for PairStats
impl UnwindSafe for PairStats
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,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.