Maintain a fixed-width beam of promising programs; expand one per step, prune by fitness+diversity.
"""Beam Search Evaluator component — supplied by the TASK.
In Galapagos the Evaluator comes from the task (``task.evaluator``), not the scaffold; Beam Search uses
the task's SubprocessEvaluator. Re-exported so the scaffold directory carries one module per component.
"""
from __future__ import annotations
from ...components.evaluator import SubprocessEvaluator
BeamSearchEvaluator = SubprocessEvaluator