Skip to main content

Module conformance

Module conformance 

Source
Expand description

The frozen conformance fixtures (interscript-models/conformance/): load the vectors files, resolve the referenced artifact, run every row byte-exactly (pipeline.conformance.run_conformance parity).

Vectors file schema (validated like validate_vectors): {model, index_version, decode:{mode}, source, vectors:[{src,out}]}; decode.mode must be single-row-greedy. Comparison is byte-exact — no normalization, no CER tolerance.

Structs§

ConformanceResult
Mismatch
Per-row outcome for reporting.
Vectors
A validated vectors file.

Functions§

resolve_artifact
Artifact resolution for a fixture model id, given an optional artifact directory (flat <id>.zip or cache layout <id>/*.zip) and the models.yaml index (renames honored).
run_conformance
Run every row through the engine; byte-exact comparison (the fixture byte rule from the vector generator: max(0, t-3), lossy UTF-8).