Skip to main content

judge

Function judge 

Source
pub fn judge(
    q: &ValidatedQuestion,
    capability: &DynamicCapability,
    served: &ServedIdentity,
    raw: &DynamicRawOutput,
) -> Judged
Expand description

Judge what the backend returned against the request and the capability (3.3, 3.5). Anything outside the declared labels, levels, value kind and exact support is invalid; response material that is not an answer is invalid and never acted on; a pinned served identity that differs is unresolved. Nothing is substituted for an unresolved result.