update_metric_direction
Set the optimization direction for an existing research programme so the optimizer ranks best trials correctly. Use minimize for loss metrics or maximize for quality metrics.
Instructions
Update the optimization direction for an existing programme.
Use 'minimize' for loss-like metrics (perplexity, error rate) or 'maximize' for quality metrics (accuracy, F1). The optimizer uses this to rank best trials and steer the search.
This is needed for programmes created before the metric_direction parameter was added to create_programme.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| programme_id | Yes | ID of the target research programme. | |
| metric_direction | Yes | 'minimize' (loss-like: perplexity, error) | 'maximize' (quality: accuracy, F1) — steers search and best-trial ranking. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| programme_id | No | ||
| metric_direction | No |