Expand description
Native training orchestration outcome and common runtime entry point.
The portable contracts in this module use Typed Canonical Value v1 (TCV1). Historical graph, plan, controller, parameter, and bundle fingerprints keep their pre-existing algorithms.
Structs§
- Bound
Training Output - One resolved output binding and the actual portable blocks it selected.
- Portable
Full Refit Execution - Native artifacts and execution evidence produced by the first, scheduler only step of a V3 full refit. The V3 outcome/package writer consumes this result to create a new durable child; it must not mutate the parent.
- Portable
Full Refit Execution Input - Target-bound input for the scheduler-owned full-refit half of Package V3. This is deliberately not a replay request: it accepts a new training cohort attestation and never touches a source execution bundle, source scores, source predictions, or source artifacts.
- Portable
Refit Execution Bundle V3 - Refit-only child execution bundle for Package V3.
- Portable
Refit Outcome V3 - A new V3 training outcome produced by a target-bound full refit.
- Portable
Refit Package V3 - Closed Package V3 child created by a successful full refit.
- Portable
Refit Package V3Build Input - Input for the DAG-ML-owned V3 child writer. The caller supplies only fresh execution evidence and identifiers; source-package content is used exclusively to revalidate the closed parent recipe and output projection.
- Training
Execution Input - Host-owned resources and portable identifiers for one native training run.
- Training
Outcome - Portable result of COMPILE/PLAN/FIT_CV/SELECT and optional REFIT.
- Training
Refit Outcome - Exact W0 refit state embedded in
TrainingOutcome.
Enums§
Constants§
- BOUND_
TRAINING_ OUTPUT_ SCHEMA_ VERSION - LEGACY_
TRAINING_ OUTCOME_ SCHEMA_ VERSION - MIN_
READABLE_ TRAINING_ OUTCOME_ SCHEMA_ VERSION - PORTABLE_
REFIT_ EXECUTION_ BUNDLE_ V3_ SCHEMA_ VERSION - PORTABLE_
REFIT_ OUTCOME_ V3_ SCHEMA_ VERSION - V3 is a new refit-child family, not a readable variant of
TrainingOutcomeorPortablePredictorPackageV1/V2. - PORTABLE_
REFIT_ PACKAGE_ V3_ SCHEMA_ VERSION - TRAINING_
OUTCOME_ SCHEMA_ ID - TRAINING_
OUTCOME_ SCHEMA_ VERSION
Functions§
- build_
oof_ prediction_ cache_ payloads - build_
oof_ prediction_ cache_ records - build_
oof_ prediction_ requirements - Derive portable OOF requirements from the blocks produced by an existing FIT_CV execution. Shared by the training operation and host capture paths.
- build_
portable_ refit_ package_ v3 - Atomically construct the outcome, execution bundle and package child of a successful full refit. No V2 score, selection, prediction cache, conformal state or process-local handle is copied into this V3 family.
- derive_
portable_ full_ refit_ target_ plan - Derive the only execution plan a V3 full REFIT may use for a new cohort.
- execute_
portable_ full_ refit - Execute exactly one portable native full refit from a closed recipe.
- execute_
training - Execute COMPILE/PLAN -> FIT_CV -> SELECT -> optional REFIT and return the complete portable W0 outcome.
- validate_
portable_ refit_ target_ plan - Validate a persisted V3 target plan against the parent recipe without reusing the parent’s cohort-specific plan fingerprint.