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.
EnginePredictionBasisV2
Canonical V2 basis that can address exact-source timing evidence.
EnginePredictionBasisV4
Canonical V4 basis with typed raw scene/attachment row references.
EnginePredictionFacetV1
One independently scoped prediction work unit on an existing check.
EnginePredictionFacetV2
One independently scoped V2 engine-prediction work unit.
EnginePredictionFacetV3
One V3 prediction facet with exact-source-capable basis evidence.
EnginePredictionFacetV4
Result-bearing V4 prediction facet.
EnginePredictionV1
Per-check engine-prediction attachment.
EnginePredictionV2
Per-check bounded-overflow engine prediction attachment.
EnginePredictionV3
Per-check V3 engine prediction attachment bound to V3 provenance.
EnginePredictionV4
Per-check result-bearing V4 prediction attachment.
EnginePredictionV5
V5 prediction wrapper binding a V4 result-bearing attachment to V5 provenance. The inner V4 layout remains immutable; the outer identity is what commits the additional raw inventory.
EnginePredictionV6
V6 wrapper binding the unchanged V4 facet/result graph to provenance V6.
EngineRootMotionClipIntentInputV1
Unindexed effective clip intent consumed by the bounded streaming builder.
EngineRootMotionClipIntentV1
Effective movement ownership for one source clip.
EngineRootMotionProjectIntentV1
Bounded effective project intent consumed by root-motion prediction.
ExactSourceClipTimeRangeWireV1
Exact selected begin/end source-time coordinates for one source clip.
ExactSourceClipTimingBindingV1
One canonical exact timing row in the prediction wire.
ExactSourceFramePeriodWireV1
Positive exact source-time ticks-per-frame value.
ExactSourceTimeBasisWireV1
Positive exact source-time ticks-per-second value.
ExactSourceTimingBasisReferenceV1
One exact scalar retained from the embedded exact-source timing binding.
ExactSourceTimingBindingV1
Self-contained exact-source timing evidence embedded by raw-source binding V2.
ExactSourceTimingObservationWireV1
One exact-source timing observation with its loader treatment and provenance.
FinitePredictionNumberV1
Canonical finite binary64 value retained by prediction basis records.
ImportSettingProjectionFieldV1
One exact engine import-setting field projection.
ImportSettingProjectionResultV1
Closed bounded machine projection for import advice.
InventoryCoverageResultV1
Explicit inventory coverage, including complete-empty evidence.
MeasurementPointerV1
Canonical RFC 6901 path rooted at one file’s measurements member.
ParserFrameRateProjectionWireV1
Exact parser-projected binary64 bits for a declared custom frame rate.
PredictionBasisIdentityV1
Domain-separated identity of one canonical prediction basis.
PredictionBasisIdentityV2
Domain-separated identity of one canonical V2 prediction basis.
PredictionBasisIdentityV4
Domain-separated identity of one canonical V4 prediction basis.
PredictionProvenanceIdentityV1
Domain-separated identity of one complete prediction-provenance header.
PredictionProvenanceIdentityV2
Domain-separated identity of a complete V2 prediction-provenance record.
PredictionProvenanceIdentityV3
Domain-separated identity of one V3 prediction-provenance record.
PredictionProvenanceIdentityV4
Domain-separated identity of one V4 provenance record.
PredictionProvenanceIdentityV5
Domain-separated identity of one V5 provenance record.
PredictionProvenanceIdentityV6
Domain-separated identity of one V6 provenance record.
PredictionProvenanceV1
File-scoped immutable evidence shared by every engine prediction.
PredictionProvenanceV2
File-scoped immutable V2 evidence shared by bounded-overflow predictions.
PredictionProvenanceV3
File-scoped V3 provenance that binds exact source timing evidence.
PredictionProvenanceV4
File-scoped V4 provenance binding profile facts V2, settings V3, and raw inventory.
PredictionProvenanceV5
Successor provenance which binds V4 authority to the raw track inventory.
PredictionProvenanceV6
Successor provenance binding immutable V5 authority to raw transform paths and the effective per-clip movement ownership needed by root-motion rules.
PredictionRuleAllocationV2
Allocated V2 candidate capacity for one catalog production rule.
PredictionRuleDemandV2
Catalog-ordered demand for one V2 production rule.
PredictionRuleInputsV1
Normalized rule inputs whose complete declaration controls V4 facet demand.
RawSourceBasisReferenceV1
One raw-source scalar retained directly in a prediction basis.
RawSourceBindingV1
Same-load raw-source evidence embedded in prediction provenance.
RawSourceBindingV2
V2 raw-source binding composed from immutable V1 facts and exact source timing.
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.
RootMotionRoutingResultV1
One declared-axis root-motion routing result.
SourceImportDispositionResultV1
One source-subject importer outcome.
TransformScaleResultV1
Static/default-rest transform-scale classification.
UnitMappingResultV1
Exact numeric unit mapping without claiming a physical engine-world policy.

Enums§

ApplicationWorldUnitPolicyV1
Whether the engine enforces an application-wide physical world unit.
EngineMachineResultV1
Closed bounded result vocabulary shared by #481, #482, #483, and #496.
EnginePredictionFacetStateV1
Availability of one independently scoped prediction work unit.
EngineRootMotionClipMappingStateV1
Loader-established source-to-normalized clip mapping state.
EngineRootMotionProjectIntentCountV1
A bounded exact count or the first witness beyond its domain cap.
EngineRootMotionProjectIntentCoverageV1
Coverage of the effective source-clip intent inventory.
ExactSourceRangeSelectionWireV1
Parser-selected source clip span.
ExactSourceTimeDisplayProtocolWireV1
Exact source timecode-protocol wire token.
ExactSourceTimelineModeWireV1
Exact source time-mode wire token.
ExactSourceTimingDomainV1
Exact-source timing row domain for V2 prediction basis references.
ExactSourceTimingKeyV1
Stable row key inside exact-source timing evidence.
ExactSourceTimingObservationStateWireV1
Availability of one exact-source timing value in prediction provenance.
ExactSourceTimingUnavailableReasonWireV1
exact-source unavailability vocabulary retained by the prediction wire.
ImportSettingProjectionKindV1
Target shape of an import-setting projection.
ImporterScaleConversionV1
Importer scale conversion applied to source numeric dimensions.
ImporterSubjectCreationV1
Whether the subject is created by resolved importer settings.
PredictionBasisReferenceV1
One typed reference in a prediction basis.
PredictionBasisReferenceV2
Versioned prediction-basis reference vocabulary used by engine-prediction V3.
PredictionBasisReferenceV4
Versioned V4 basis vocabulary, preserving every historical V2 reference.
PredictionContractError
A prediction/provenance value violated the immutable V1 contract.
PredictionFacetDemandV2
Bounded candidate demand reported before V2 production-rule evaluation.
PredictionInventoryCoverageStateV1
Coverage state carried by a machine result.
PredictionInventoryDomainV1
Inventory domain summarized by one bounded result.
PredictionScalarV1
Closed scalar vocabulary used by prediction bases.
PredictionUnavailableReasonV1
Stable reason prediction work was required but could not be completed.
PredictionUnavailableReasonV2
Stable V2 reason why a required prediction facet is unavailable.
PredictionUnitV1
Unit subjects used by exact unit mapping.
RawSceneAttachmentBasisDomainV1
Inventory collection whose coverage is consumed by a V4 basis.
RawSceneAttachmentBasisReferenceV1
Stable index-only reference into a same-load raw scene inventory.
RawSceneAttachmentBindingV1
Exact available inventory or a typed absence committed by provenance.
RawSceneAttachmentUnavailableReasonV1
Why raw scene/attachment evidence is absent from V4 provenance.
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.
RootMotionAxisV1
Root-motion routing axis.
RootMotionCompatibilityV1
Compatibility of project ownership and importer routing.
RootMotionImporterDispositionV1
Importer routing disposition.
RootMotionProjectOwnerV1
Project movement owner.
SourceImportDispositionV1
Exact negative or proven importer disposition.
SourceImportSubjectKindV1
Source subject kind for importer-disposition predictions.
SourceNumericDimensionsV1
Source numeric-dimension behavior in an exact unit mapping result.
SourceSkeletonRowKindV1
Source-skeleton row kind used by the stable raw-source key.
TransformScaleDomainV1
Affine scale domain represented by the result.
TransformScaleSubjectKindV1
Importer-created subject whose transform scale is predicted.

Constants§

ENGINE_PREDICTION_V1_ID
Immutable per-check engine-prediction V1 schema identity.
ENGINE_PREDICTION_V2_ID
Immutable bounded-overflow engine-prediction V2 schema identity.
ENGINE_PREDICTION_V3_ID
Immutable exact-source per-check engine-prediction V3 schema identity.
ENGINE_PREDICTION_V4_ID
Immutable result-bearing per-check engine-prediction V4 schema identity.
ENGINE_PREDICTION_V5_ID
Immutable track-inventory-bound per-check engine-prediction identity.
ENGINE_PREDICTION_V6_ID
Immutable transform-path-and-intent-bound per-check engine-prediction identity.
ENGINE_ROOT_MOTION_PROJECT_INTENT_V1_ID
Immutable project movement-intent contract consumed by provenance V6.
ENGINE_ROOT_MOTION_PROJECT_INTENT_V1_MAX_CLIPS
Maximum clip-intent rows retained by one V1 root-motion project contract.
PREDICTION_PROVENANCE_V1_ID
Immutable prediction-provenance V1 schema identity.
PREDICTION_PROVENANCE_V2_ID
Immutable bounded-overflow prediction-provenance V2 schema identity.
PREDICTION_PROVENANCE_V3_ID
Immutable exact-source prediction-provenance V3 schema identity.
PREDICTION_PROVENANCE_V4_ID
Immutable result-bearing prediction-provenance V4 schema identity.
PREDICTION_PROVENANCE_V5_ID
Immutable track-inventory-bound prediction-provenance identity.
PREDICTION_PROVENANCE_V6_ID
Immutable transform-path-and-intent-bound prediction-provenance identity.
PREDICTION_RULE_INPUTS_V1_ID
Immutable rule-input policy bound into prediction provenance V4.
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.
PREDICTION_V2_MAX_CANDIDATE_FACETS_PER_RULE
Maximum candidate facets one V2 production rule may report before its bounded N+1 sentinel replaces further counting.
RAW_SOURCE_FACTS_V2_ID
Immutable identity of raw-source facts V2, composed from V1 and exact timing.

Functions§

allocate_prediction_facets_v2
Allocate the shared V2 file facet budget in catalog registration order.