Debug trials
Most trial failures come from one of three places: the image cannot start, the CLI arguments do not match, or no valid metrics were printed.
Start with the logs
Section titled “Start with the logs”The trial log should answer three questions:
- Container start: Did the container start?
- Arguments: Did the program receive the expected
--hpo-*arguments (or plain flags if configured)? - Metrics: Did stdout include at least one valid
hpo.metrics.*line for each objective?
Common failures
Section titled “Common failures”| Failure | Area | Description |
|---|---|---|
unknown argument |
parser | The dashboard parameter slug does not match your CLI parser. |
missing metric |
collector | The program finished without printing a valid hpo.metrics.* line. |
invalid JSON |
collector | The value after = is not JSON-serializable. |
data not found |
runtime | The image cannot access a dataset or configuration file it needs. |
| image pull / not found | registry | Tag missing from org Images, or image outside org project on non-Enterprise plans. |
| no new trials | billing / limits | Insufficient credits, failure budget, spend limit, or paused experiment. |
Debug locally
Section titled “Debug locally”Run the same command shape on your machine before launching a large experiment.
docker run --rm your-image:latest \ --hpo-lookback-window=50 \ --hpo-risk-multiplier=1.4Confirm the output contains metric lines:
hpo.metrics.objective=0.84hpo.metrics.duration_seconds=42.1For exact collector rules, see Metric format. For a broader checklist, see Troubleshooting.