Skip to main content

validate_evals_config

Function validate_evals_config 

Source
pub fn validate_evals_config(
    config: &Value,
    source: &str,
) -> Result<EvalsConfig, ValidationError>
Expand description

Validate a parsed evals.json. Runs the structural schema check, then the supplemental duplicate-id, command environment, and held-out path guards, returning the typed config on success.