Skip to main content

evaluate_child_with_runtime

Function evaluate_child_with_runtime 

pub fn evaluate_child_with_runtime(
    inputs: &ChildInputs,
    runtime: &dyn OniroRuntime,
) -> Result<f64>
Expand description

Evaluates one trial replicate through a typed runtime.

This keeps materialization and trial identity in the child while allowing the runtime to own process and output-contract details. The supplied runtime receives one TrainRequest followed by one MetricRequest.

ยงErrors

Returns the materialization, runtime, metric-contract, or filesystem error produced by the supplied adapter.