Skip to main content

verify_registered_candidates

Function verify_registered_candidates 

Source
pub fn verify_registered_candidates(
    graphs: &[SemanticOperationGraph],
    candidates: &[SemanticCandidatePair],
) -> Vec<(SemanticCandidatePair, RuleMatch)>
Expand description

Verify candidate pairs against the registered rules.

A pair outside the provided slice is ignored rather than guessed at. The extractor only produces in-range pairs, but this makes callers that load persisted candidate data fail closed as well.