Best-of-N
Give the LLM N valid attempts at the same parent before committing to the global best, then repeat.
"""Best-of-N PromptBuilder component — the standard multi-section template (SkyDiscover default builder)."""
from __future__ import annotations
from ...components.prompt import DefaultPromptBuilder
class BestOfNPromptBuilder(DefaultPromptBuilder):
"""SkyDiscover's default context builder: task -> metrics -> feedback -> inspirations -> current
program. Best-of-N adds nothing of its own, so it renders the canonical multi-section message."""