Simplify routing verification and isolate benchmark policies

This commit is contained in:
Jan Petykiewicz 2026-11-26 21:55:34 -08:00
commit ec2768853e

View file

@ -155,7 +155,7 @@ class _RetryExperiment(_AutomaticRun):
topology=replace(options.topology, seed_node_limit=max(limit, options.topology.seed_node_limit)),
congestion=replace(options.congestion, max_iterations=min(2, options.congestion.max_iterations)),
)
run, stage = _route_residual(self.problem, retry, "direct-seed", LockPlan(retained), run_route=partial(self._run, policy=policy))
run, stage = _route_residual(self.problem, retry, LockPlan(retained), residual_mode="seed", run_route=partial(self._run, policy=policy))
trial = self._trial(run, replace(stage, kind=policy, policy=policy, incumbent_net_ids=tuple(retained)))
trials = [replace(trial, selection="requires-layout-check")]
complete = False