Trials
A trial is one container execution with one parameter set. It should run your workload once, emit metrics, and exit.
A trial is one run
Section titled “A trial is one run”Keep each trial deterministic enough to compare. If you need randomness, seed it from an explicit parameter or a stable experiment setting so results are explainable.
Trial lifecycle
Section titled “Trial lifecycle”- Schedule: The platform selects a parameter set from the search space.
- Start: Your image starts with managed CLI arguments and platform env vars.
- Complete: Your workload finishes and exits with a status code.
- Collect: Matching
hpo.metrics.*lines become trial metrics.
Statuses (high level)
Section titled “Statuses (high level)”| Phase | Statuses |
|---|---|
| Active | created, queued, admitted, running |
| Terminal | succeeded, failed, cancelled, timed_out, preempted, lost |
A successful optimization step needs a terminal success and the configured objective metric keys present in collected metrics.
Platform environment
Section titled “Platform environment”Every trial receives:
HYPEROPTIMIZER_TRIAL_IDHYPEROPTIMIZER_EXPERIMENT_IDHYPEROPTIMIZER_ORG_IDUse these for logging or unique output paths. Do not set custom env vars with the HYPEROPTIMIZER_ prefix.
Keep trials comparable
Section titled “Keep trials comparable”Run one parameter set per trial. If one evaluation intentionally aggregates several fixed folds or repetitions, report the aggregate as that trial’s result; do not hide a second parameter search inside the container.
Print objectives to stdout even if you also write result files. Use trial-specific paths for external writes, and fail clearly when the evaluation cannot produce a valid result.
Next: report metrics, read results, or debug a failed trial.