Skip to main content

validate_python_api_cases

Function validate_python_api_cases 

Source
pub fn validate_python_api_cases(
    path: &Path,
) -> Result<usize, CorpusValidationError>
Expand description

Validate the Python API cases fixture at the given path.

Each case must have the legacy schema fields: id, category, description, pproxy_behavior, egress_behavior, tier. Optional fields include notes. The tier value must be one of A/B/C/D/N/A (or a trailing-whitespace variant tolerated for legacy data).

Returns the number of cases validated on success.