Remove hooks for archived early incumbent experiments

This commit is contained in:
Jan Petykiewicz 2026-11-26 20:17:53 -08:00
commit 07a2c0e167

View file

@ -369,14 +369,12 @@ class _AutomaticRun:
break
return trials
def _incumbent_trials(self, options: RoutingOptions, best: Trial, target: int, *, retry_disconnected: bool = True) -> list[Trial]:
def _incumbent_trials(self, options: RoutingOptions, best: Trial, target: int) -> list[Trial]:
problem = self.problem
retained = {net_id: best.run.results_by_net[net_id] for net_id in best.valid_costs}
with self._time("plan", policy="incumbent-retry"):
blocked = _disconnected_nets(problem, self.board, options, retained)
if blocked:
if not retry_disconnected:
return []
seeds = {net_id: result.as_seed() for net_id, result in retained.items()}
run = self._run(replace(problem, initial_paths=seeds), options=options, policy="incumbent-retry")
stage = RoutingStage(