pub struct ConfidenceComponents {
pub evidence_strength: f64,
pub replication_strength: f64,
pub sample_strength: f64,
pub model_relevance: f64,
pub review_penalty: f64,
pub calibration_adjustment: f64,
pub causal_consistency: f64,
pub formula_version: String,
}Expand description
Structured breakdown of frontier epistemic confidence (v0.2.0).
Fields§
§evidence_strength: f64Derived from evidence.type (meta_analysis=0.95, systematic_review=0.90, experimental=0.80, observational=0.65, computational=0.55, case_report=0.40, theoretical=0.30).
replication_strength: f641.0 if replicated with high count, 0.7 if not replicated. When replicated: min(1.0, 0.7 + 0.1 * replication_count).
sample_strength: f64Derived from sample_size: >1000 -> 1.0, >100 -> 0.9, >30 -> 0.8,
10 -> 0.7, <=10 or null -> 0.6.
model_relevance: f64human_data=1.0, in_vivo=0.8, in_vitro=0.6, else=0.5.
review_penalty: f64Reduces score when finding is contested. 0.15 if contested, else 0.0.
calibration_adjustment: f64Additive calibration signal layered on top of the deterministic support score.
causal_consistency: f64v0.38.1: causal-claim × evidence-grade compatibility multiplier.
Defaults to 1.0 — neutral — when either field is None (the
pre-v0.38 case). RCT bumps any claim slightly; an observational-
grade intervention claim gets a meaningful penalty (the
design doesn’t actually support the claim being made).
formula_version: StringConfidence formula version stamp. v0.3 introduced this; v0.4
bumps it to “v0.4” for the same scoring formula recomputed
against substrate-level changes (genesis events, signed actors,
canonical/derived split — none of which alter scoring math).
v0.38.1 bumps to “v0.7” for the addition of causal_consistency.
A second implementation may refuse to interpret components
computed with an unknown formula version.
Trait Implementations§
Source§impl Clone for ConfidenceComponents
impl Clone for ConfidenceComponents
Source§fn clone(&self) -> ConfidenceComponents
fn clone(&self) -> ConfidenceComponents
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more