pub struct RuntimeHpoExecutionContext {
pub operation_id: String,
pub controller_id: ControllerId,
pub target_node_id: NodeId,
pub base_variant: VariantPlan,
pub trial_budget_total: u32,
pub study: MethodsHpoStudyConfig,
pub parameter_paths: BTreeMap<String, String>,
pub resume_checkpoint: Option<N4moptCheckpointArtifact>,
pub resume_variants: BTreeMap<i64, VariantId>,
pub resume_terminal_trials: Vec<RuntimeHpoTerminalSnapshot>,
pub selection: RuntimeHpoSelectionTarget,
pub provenance: RuntimeHpoProvenance,
}Expand description
Immutable coordinator evidence for one execution-local HPO campaign.
This is deliberately passed beside the tuner NodeTask rather than
stored in the controller registry or serialized through a generic
controller invocation. A tuner session may retain thread-affine native
state, but this context contains only portable coordinator facts.
Fields§
§operation_id: StringStable identity of this scheduler-owned campaign operation. This is deliberately not a graph node: HPO controls variants of a predictor, it is not part of the predictor topology.
controller_id: ControllerIdRegistered controller which owns the invocation-local native session.
target_node_id: NodeIdThe model node evaluated for every proposal.
base_variant: VariantPlanThe unexpanded variant from which the tuner proposes candidates.
trial_budget_total: u32Total native study budget across the initial run and every resumed scheduler call. This is never a per-call proposal count.
study: MethodsHpoStudyConfigTyped native-study configuration owned by the registered tuner controller. The scheduler never constructs or restores this study.
parameter_paths: BTreeMap<String, String>Native search-space output name -> direct target-model parameter key.
The controller converts each proposal through this explicit mapping;
the scheduler only receives the resulting normal VariantPlan.
resume_checkpoint: Option<N4moptCheckpointArtifact>Optional opaque native state from a prior compatible campaign. It is consumed only by the controller-local session factory and is never sent to scheduler workers.
resume_variants: BTreeMap<i64, VariantId>Completed scheduler proposals restored with the opaque optimizer. They
give a native best() result its stable variant identity on resume.
resume_terminal_trials: Vec<RuntimeHpoTerminalSnapshot>Full controller-attested native terminal ledger from the package being restored. The session compares this before it may ask another trial.
selection: RuntimeHpoSelectionTargetThe OOF report produced by the scheduler which is fed back to the session after each candidate evaluation.
provenance: RuntimeHpoProvenanceImmutable fingerprints which bind this campaign to the already attested plan, data identities, fold set and influence manifest.
Implementations§
Source§impl RuntimeHpoExecutionContext
impl RuntimeHpoExecutionContext
pub fn validate_for_plan(&self, plan: &ExecutionPlan) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for RuntimeHpoExecutionContext
impl Clone for RuntimeHpoExecutionContext
Source§fn clone(&self) -> RuntimeHpoExecutionContext
fn clone(&self) -> RuntimeHpoExecutionContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more