Expand description
Registry-independent engine-prediction provenance and per-check evidence.
The types in this module are immutable output-contract values. Engine
registries project their resolved facts and settings into the sibling
crate::engine_contract wire types; prediction records only consume those
projections and loader-owned evidence from the same crate::LoadedSource.
Structs§
- Engine
Prediction Basis V1 - Canonical typed evidence used by one prediction facet.
- Engine
Prediction Facet V1 - One independently scoped prediction work unit on an existing check.
- Engine
Prediction V1 - Per-check engine-prediction attachment.
- Finite
Prediction Number V1 - Canonical finite binary64 value retained by prediction basis records.
- Measurement
Pointer V1 - Canonical RFC 6901 path rooted at one file’s
measurementsmember. - Prediction
Basis Identity V1 - Domain-separated identity of one canonical prediction basis.
- Prediction
Provenance Identity V1 - Domain-separated identity of one complete prediction-provenance header.
- Prediction
Provenance V1 - File-scoped immutable evidence shared by every engine prediction.
- RawSource
Basis Reference V1 - One raw-source scalar retained directly in a prediction basis.
- RawSource
Binding V1 - Same-load raw-source evidence embedded in prediction provenance.
- RawSource
Coordinate Basis V1 - Exact signed semantic source coordinate basis.
- RawSource
Field IdV1 - Bounded exact scalar field inside one raw-source row.
- RawSource
Observation Wire V1 - One raw-source observation with orthogonal state, disposition, and provenance.
- RawSource
Projection Work Wire V1 - Bounded raw-source projection work counters in their V1 declaration order.
- RawSource
Provenance V1 - Bounded logical provenance retained with a scalar raw-source observation.
- RawSource
SetCoverage V1 - Coverage retained for one independently bounded raw-source row domain.
Enums§
- Engine
Prediction Facet State V1 - Availability of one independently scoped prediction work unit.
- Prediction
Basis Reference V1 - One typed reference in a prediction basis.
- Prediction
Contract Error - A prediction/provenance value violated the immutable V1 contract.
- Prediction
Scalar V1 - Closed scalar vocabulary used by prediction bases.
- Prediction
Unavailable Reason V1 - Stable reason prediction work was required but could not be completed.
- RawSource
Axis V1 - Signed axis retained in a raw-source coordinate-basis observation.
- RawSource
Disposition V1 - Loader treatment retained with a raw-source observation.
- RawSource
Domain V1 - Closed raw-source evidence domain.
- RawSource
KeyV1 - Stable raw-source row identity.
- RawSource
Observation State Wire V1 - Availability and value of one raw-source scalar observation.
- RawSource
Provenance Kind V1 - How a raw-source observation was established.
- RawSource
SetCoverage State V1 - Exhaustiveness state of a raw-source row domain.
- RawSource
Unavailable Reason V1 - Raw-source unavailability reason retained by the output wire.
- Resolved
Setting Location V1 - Exact resolved-setting location retained in a basis reference.
- Source
Skeleton RowKind V1 - Source-skeleton row kind used by the stable raw-source key.
Constants§
- ENGINE_
PREDICTION_ V1_ ID - Immutable per-check engine-prediction V1 schema identity.
- PREDICTION_
PROVENANCE_ V1_ ID - Immutable prediction-provenance V1 schema identity.
- PREDICTION_
V1_ MAX_ AGGREGATE_ PROVENANCE_ ROWS - Maximum aggregate profile, settings, and raw-source rows retained in one file provenance.
- PREDICTION_
V1_ MAX_ BASIS_ REFERENCES_ PER_ FACET - Maximum basis references retained by one prediction facet.
- PREDICTION_
V1_ MAX_ BASIS_ REFERENCES_ PER_ FILE - Maximum basis references retained across one lint file.
- PREDICTION_
V1_ MAX_ FACETS_ PER_ FILE - Maximum facets retained across one lint file.
- PREDICTION_
V1_ MAX_ MEASUREMENT_ POINTER_ COMPONENTS - Maximum decoded components in one measurement JSON pointer.
- PREDICTION_
V1_ MAX_ REASONS_ PER_ FACET - Maximum unavailable-reason codes retained by one prediction facet.
- PREDICTION_
V1_ MAX_ TEXT_ BYTES - Maximum UTF-8 bytes retained in one new prediction string.
- PREDICTION_
V1_ MAX_ TOTAL_ TEXT_ BYTES_ PER_ FILE - Maximum aggregate new provenance/prediction text retained by one lint file.