Expand description
Turn the support arithmetic into a verdict, and resolve provenance citations into the facts the arithmetic needs.
Functions§
- evaluate_
grounding - Grounding score for
claimagainst the resolved citedfacts, as a verdict underthresholds. Empty evidence ⇒Ungrounded(0.0)(fail closed). - evaluate_
output_ grounding - 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. - grounding_
verdict - Partition a raw grounding score into a verdict.
- resolve_
citations - Resolve a slice of provenance citation hashes to their fact quins via
resolver, dropping any that do not resolve. The output is whatevaluate_groundingconsumes.