best_prompt | str | The highest-scoring prompt found |
best_score | float | The score of the best prompt |
iterations | list[IterationRecord] | All iteration records |
converged | bool | Whether the score threshold was reached |
baseline | EvalSnapshot | None | Baseline eval snapshot (on held-out test set if split is enabled) |
final | EvalSnapshot | None | Final verification snapshot (on held-out test set if split is enabled) |
train_size | int | Number of training examples used for optimization (0 if no split) |
test_size | int | Number of held-out test examples used for baseline and final eval (0 if no split) |
val_size | int | Number of validation examples tracked per-iteration (0 if val_ratio=0) |
val_trajectory | list[float] | Val set mean score after each optimization iteration (empty if no val split) |
early_stopped | bool | True if optimization was stopped early because val score plateaued |
batch_size | int | Per-iteration mini-batch size (0 = full training set was used) |
p_value | float | None | p-value from paired significance test (Wilcoxon or t-test). None if fewer than 2 samples or scipy not installed |
is_significant | bool | None | True if p_value < 0.05. None when p_value is unavailable |
total_eval_tokens | int | Total tokens used by the eval model across the run |
total_reasoning_tokens | int | Total tokens used by the reasoning model across the run |
strategy_name | str | None | Strategy that was used |
phase_history | list[dict] | None | Auto mode phase breakdown |