next_parent
Retrieves the parent program and supporting evidence (inspirations, discoveries, operator hint, crossover) to provide the full context for one mutation cycle.
Instructions
Get the parent and evidence needed for one mutation cycle.
Call this at the start of every worker cycle. Read the parent files, every inspiration,
every discovery, the operator hint, and any crossover parent before editing.
Returns: {"parent": Program fields, "parent_files": {path: content}, "inspirations":
[{"program": Program fields, "scores": dict, "files_excerpt": {path: content}}],
"discoveries": [str], "operator_hint": str|null, "parent_sample_seq": int, and
optional "crossover_parent" and "crossover_files"}, or the standard error dict.
Mistake to avoid: never mutate before reading inspirations and discoveries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| island | Yes | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||