pub fn validate(
q: DynamicQuestion,
allowlist: &[TaskFamily],
) -> Result<ValidatedQuestion, DynamicRequestError>Expand description
Validate a request (3.2): its structural bounds, the labels its operation takes, the output kinds the operation allows, the abstention posture, positive bounds, and the host’s task-family allowlist.