Skip to main content

Module validation

Module validation 

Source
Expand description

JSON-Schema validation of evals.json and pipeline artifacts.

Validates with the jsonschema crate against the bundled schema/*.json (embedded at compile time via include_str!).

Re-exports§

pub use batch::FileOutcome;
pub use batch::ValidationReport;
pub use batch::validate_all;
pub use batch::validate_one;
pub use error::ValidationError;
pub use evals::validate_evals_config;
pub use schema::SchemaName;
pub use schema::validate_against_schema;

Modules§

batch
Batch validation of every <skill>/evals/evals.json under a skills dir.
error
The error type shared by every validator in this module.
evals
High-level evals.json validation: structural schema check plus the hand-rolled constraints draft-07 can’t express.
schema
Schema embedding + the generic validate_against_schema entry point.