pub fn validate_answer(
question: &Question,
answer: &Answer,
) -> Result<(), String>Expand description
The answer must be internally consistent with the question it answers: keys cover the criteria, probabilities are probabilities, the score is inside its levels. Anything else is a provider bug, not a decision.