record_observation
Capture measured metrics and variance for a completed trial, tagged by spatiotemporal region, to document reproducible evidence and reject all-zero variance.
Instructions
Record an observation (data item about a quality).
metrics and variance may be sent as JSON-encoded strings.
Only completed trials can be observed — a failed trial produced no measurement; its failure lives in its status, executor_output, and artifacts, not here. All-zero variance is rejected (n identical outcomes are one effective measurement, not reproducibility). If nothing is concludable, close the programme 'abandoned' rather than fabricating variance.
Enforcement: commitment 7 — reproducibility is the price of admission. Rejects a single point estimate with no variance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes | Measured values {metric_name: float}; may be a JSON-encoded string. | |
| trial_id | Yes | ID of the target trial. | |
| variance | Yes | Per-seed variance {metric: float} — all-zero rejected (commitment 7); may be JSON-encoded. | |
| spatiotemporal_region | Yes | Where/when the observation was produced (run footprint tag). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| observation_id | No |