galapagos
DocsHubLeaderboardPlaygroundNews
galapagos

six blocks · any task ·
better solutions emerge.

Platform

  • Hub
  • Leaderboard
  • Playground

Resources

  • Docs
  • API reference
  • Card spec

Community

  • GitHub
  • Contribute

Updates

  • News
  • Releases

© 2026 Galapagos. Licensed under Apache-2.0.

Build your own scaffold.

Hub/Scaffolds/default/Best-of-N

default/best_of_n

Best-of-N

Give the LLM N valid attempts at the same parent before committing to the global best, then repeat.

Test-time searchApache-2.0
Scaffold cardFiles and versions
best_of_n/config.yaml
13 lines · 797 ByamlDownload
# Best-of-N — faithful port of SkyDiscover's BestOfNDatabase defaults.
# Sections mirror the six core components.
seed: 0
general:
  max_iterations: 100
  inner_retry_times: 3     # SkyDiscover retries up to 3 propose+evaluate attempts per iteration (retry_times)
# population (BestOfNPopulation) is uncapped keep-all by default (SkyDiscover enforces no cap);
# set population.capacity to an int only if you need to bound the archive.
selection_policy:          # BestOfNPolicy
  best_of_n: 5            # reuse the same parent for N consecutive attempts before switching to best
  num_inspirations: 4     # context programs sampled from the top pool (num_context_programs)
proposer:
  max_tokens: 32000        # SkyDiscover LLMConfig.max_tokens (applies only to a model built from this preset)