pub struct ClaimCalibration {
pub resolved: usize,
pub validated: usize,
pub falsified: usize,
pub mean_confidence: f64,
pub hit_rate: f64,
pub calibration_gap: f64,
pub brier: f64,
pub hit_rate_ci95: (f64, f64),
pub shrinkage: f64,
}Expand description
Calibration of the resolved claims — the prescience track record’s honesty statement. Computed over validated + falsified claims.
Fields§
§resolved: usizeNumber of resolved claims.
validated: usizeValidated / falsified counts.
falsified: usize§mean_confidence: f64Mean self-reported confidence over resolved claims.
hit_rate: f64Observed validation rate (validated / resolved).
calibration_gap: f64mean_confidence − hit_rate. Positive = overconfident, negative = underconfident (standard convention).
brier: f64Mean Brier score over resolved claims (lower is better).
hit_rate_ci95: (f64, f64)Wilson 95% confidence interval (lower, upper) for the hit rate.
shrinkage: f64Effective shrinkage weight w = n/(n + CALIBRATION_PRIOR_SAMPLES).
Trait Implementations§
Source§impl Clone for ClaimCalibration
impl Clone for ClaimCalibration
Source§fn clone(&self) -> ClaimCalibration
fn clone(&self) -> ClaimCalibration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClaimCalibration
impl Debug for ClaimCalibration
Source§impl<'de> Deserialize<'de> for ClaimCalibration
impl<'de> Deserialize<'de> for ClaimCalibration
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 ClaimCalibration
impl RefUnwindSafe for ClaimCalibration
impl Send for ClaimCalibration
impl Sync for ClaimCalibration
impl Unpin for ClaimCalibration
impl UnsafeUnpin for ClaimCalibration
impl UnwindSafe for ClaimCalibration
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