Python starts when you choose Run.
What a search budget cannot fix after early pruning
A nine-leaf tree separates exploration, pruning, and work actually used. More budget cannot recover a branch already discarded.
Deterministic in-memory search allocation on a constructed tree; no file operations, language model, or reproduction of LATS benchmark scores.
budget 2 best_reward,used {'greedy': (3, 2), 'beam2': (5, 2), 'uct': (5, 2)}
budget 4 best_reward,used {'greedy': (4, 3), 'beam2': (6, 4), 'uct': (6, 4)}
budget 6 best_reward,used {'greedy': (4, 3), 'beam2': (7, 6), 'uct': (7, 6)}
budget 9 best_reward,used {'greedy': (4, 3), 'beam2': (7, 6), 'uct': (10, 9)}
Heuristic order permutations: 6 ; full-budget UCT maximum always 10
Python runs locally in this page. Saved results and figures are visible before execution.