OptimEngine.prune_history# OptimEngine.prune_history: bool = True# If True, remove unused history entries after early stopping.