Skip to main content

Module prediction

Module prediction 

Source
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§

EnginePredictionBasisV1
Canonical typed evidence used by one prediction facet.
EnginePredictionFacetV1
One independently scoped prediction work unit on an existing check.
EnginePredictionV1
Per-check engine-prediction attachment.
FinitePredictionNumberV1
Canonical finite binary64 value retained by prediction basis records.
MeasurementPointerV1
Canonical RFC 6901 path rooted at one file’s measurements member.
PredictionBasisIdentityV1
Domain-separated identity of one canonical prediction basis.
PredictionProvenanceIdentityV1
Domain-separated identity of one complete prediction-provenance header.
PredictionProvenanceV1
File-scoped immutable evidence shared by every engine prediction.
RawSourceBasisReferenceV1
One raw-source scalar retained directly in a prediction basis.
RawSourceBindingV1
Same-load raw-source evidence embedded in prediction provenance.
RawSourceCoordinateBasisV1
Exact signed semantic source coordinate basis.
RawSourceFieldIdV1
Bounded exact scalar field inside one raw-source row.
RawSourceObservationWireV1
One raw-source observation with orthogonal state, disposition, and provenance.
RawSourceProjectionWorkWireV1
Bounded raw-source projection work counters in their V1 declaration order.
RawSourceProvenanceV1
Bounded logical provenance retained with a scalar raw-source observation.
RawSourceSetCoverageV1
Coverage retained for one independently bounded raw-source row domain.

Enums§

EnginePredictionFacetStateV1
Availability of one independently scoped prediction work unit.
PredictionBasisReferenceV1
One typed reference in a prediction basis.
PredictionContractError
A prediction/provenance value violated the immutable V1 contract.
PredictionScalarV1
Closed scalar vocabulary used by prediction bases.
PredictionUnavailableReasonV1
Stable reason prediction work was required but could not be completed.
RawSourceAxisV1
Signed axis retained in a raw-source coordinate-basis observation.
RawSourceDispositionV1
Loader treatment retained with a raw-source observation.
RawSourceDomainV1
Closed raw-source evidence domain.
RawSourceKeyV1
Stable raw-source row identity.
RawSourceObservationStateWireV1
Availability and value of one raw-source scalar observation.
RawSourceProvenanceKindV1
How a raw-source observation was established.
RawSourceSetCoverageStateV1
Exhaustiveness state of a raw-source row domain.
RawSourceUnavailableReasonV1
Raw-source unavailability reason retained by the output wire.
ResolvedSettingLocationV1
Exact resolved-setting location retained in a basis reference.
SourceSkeletonRowKindV1
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.