best
Fetch top-ranked programs from a run, ordered by measured performance, for checkpoints or closure.
Instructions
Read the best measured programs in a run.
Call this at checkpoints or after closure when you need the current leaders. The Engine
owns ranking and returns its program records in best-first order.
Returns: list[dict] containing up to k ranked program records, or the standard error dict.
Mistake to avoid: never call a candidate best without using this measured ranking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |