ProgramPromptExampleKind
Enums · AiDotNet.Enums
Says why an example program was chosen for a prompt, which decides how it is labelled.
For Beginners
When the library shows the AI other programs alongside yours, it says what each one is there for: a top scorer to imitate, a deliberately different solution to draw ideas from, or one that travelled in from another part of the search. That label is a hint about how to use the example, not a verdict on how good it is.
How It Works
A prompt shows other programs for two different reasons: to demonstrate what scores well, and to demonstrate that other shapes of solution exist. Telling the model which is which changes what it does with them, so the kind travels with each example rather than being inferred from its score.
The reference OpenEvolve implementation infers the label from score bands whenever no metadata flag is present, so a genuinely diverse low-scoring example is presented to the model as “Exploratory” — a judgement about its quality rather than a statement about why it is in the prompt.
Fields
| Field | Summary |
|---|---|
ProgramPromptExampleKind Diverse |
A program chosen for occupying a different region of the feature space. |
ProgramPromptExampleKind Inspiration |
A program supplied by the engine’s selection policy as an inspiration. |
ProgramPromptExampleKind Migrant |
A program that migrated in from another island. |
ProgramPromptExampleKind Random |
A program drawn at random from the archive. |
ProgramPromptExampleKind TopProgram |
A high-scoring program shown as a target to match or beat. |
int value__ |