Skip to main content

compute_confidence

Function compute_confidence 

Source
pub fn compute_confidence(
    evidence: &Evidence,
    conditions: &Conditions,
    contested: bool,
) -> Confidence
Expand description

Compute frontier epistemic confidence from evidence and condition fields. Returns a fully populated Confidence with components and aggregate score, using a deterministic, auditable support computation.

Back-compat wrapper: derives n_replicated from the legacy Evidence.replicated / Evidence.replication_count scalars, with n_failed and n_partial defaulting to zero. Use Project::compute_confidence_for when the v0.32 Replication collection is available — that’s the authoritative path.