Skip to main content

evaluate_output_grounding

Function evaluate_output_grounding 

Source
pub fn evaluate_output_grounding(
    claim: &NQuin,
    citations: &[u64],
    resolver: &dyn GroundingResolver,
    thresholds: GroundingThresholds,
) -> GroundingVerdict
Expand description

End-to-end gate input: resolve the citations and grade the claim in one call. If no citation resolves (no evidence available), returns Ungrounded(0.0) — fail closed.