Stop suggesting scout words once 10 or fewer candidates remain
Only real possible answers are worth guessing at that point. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XZQCPNLSvMcS3uLivk9tam
This commit is contained in:
@@ -135,7 +135,7 @@ def print_suggestions(solver: Solver, top_n: int, position_weight: float, presen
|
||||
position_weight=position_weight, presence_weight=presence_weight)
|
||||
print(" " + ", ".join(word for word, _, _ in ranked_candidates))
|
||||
|
||||
pool = solver.hard_mode_pool()
|
||||
pool = solver.candidates if 0 < n_remaining <= 10 else solver.hard_mode_pool()
|
||||
suggestions = rank_guesses(pool, solver.candidates, top_n=top_n,
|
||||
position_weight=position_weight, presence_weight=presence_weight)
|
||||
if not suggestions:
|
||||
|
||||
Reference in New Issue
Block a user