Skip to main content

Module schema

Module schema 

Source
Expand description

Schema embedding + the generic validate_against_schema entry point.

The portable-artifact schemas are the single source of truth for each artifact’s shape. They are embedded at compile time with include_str! (so the binary is self-contained, with no schema/ directory to ship alongside) and compiled once into reusable jsonschema validators.

Enums§

SchemaName
Names the portable-artifact schemas. benchmark and judge-tasks are first-class here, schema-gated like every other pipeline output.

Functions§

validate_against_schema
Validate data against the named schema. Returns it deserialized into T on success; on mismatch, returns a source-prefixed ValidationError listing every failure.