Stages#

Layer 2: Compose

These public Stages compose the default generation loop. Stage is a compatibility execution surface that receives OptimizationState, distinct from a graph-native Component’s contract. Use stage_component(stage) to connect a Stage to a structured Pipeline.

saealib.CountGenerationStage

Increment the generation counter by one.

saealib.AskStage

Generate offspring candidates via the algorithm's ask() method.

saealib.AcquisitionStage

Score offspring via an independent AcquisitionFunction.

saealib.SurrogatePredictStage

Predict offspring with the surrogate model.

saealib.EvaluationPlanStage

Create an owned request and pending record.

saealib.AsyncEvaluationSubmitStage

Plan and submit one request to an asynchronous scheduler.

saealib.EvaluationSubmitStage

Submit the planned request to an evaluator.

saealib.EvaluationCollectStage

Collect delivered updates for the active request.

saealib.EvaluationApplyStage

Validate and apply delivered result rows atomically.

saealib.EvaluationAcknowledgeStage

Acknowledge committed updates and account for their evaluations.

saealib.SurrogateFitStage

Pre-fit the surrogate on the current archive.

saealib.ArchiveUpdateStage

Append evaluated offspring to archive and Pareto archive.

saealib.FeedbackStage

Copy evaluated objective channels into the offspring batch.

saealib.TellStage

Update the population via the algorithm's tell() method.

saealib.SurrogateOnlyLoopStage

Run gen_ctrl surrogate-only generations before real evaluation.

saealib.InitializationStage

Wrap an Initializer as a Stage.