Refactor routing internals and archive retry benchmarks

This commit is contained in:
Jan Petykiewicz 2026-11-26 19:58:46 -08:00
commit ea5cfe7f31

View file

@ -19,7 +19,10 @@
- `inire/geometry/static_obstacle_index.py` and `inire/geometry/dynamic_path_index.py`: Spatial-index management for static obstacles and routed paths, including dynamic per-object indices, per-net grid occupancy, congestion grid membership, and per-net dynamic envelopes.
- `inire/router/_search.py`, `_astar_moves.py`, `_astar_admission.py`, `_astar_types.py`: The state-lattice A* search loop and move admission pipeline.
- `inire/router/_router.py`: The negotiated-congestion driver and refinement orchestration.
- `inire/router/_congestion_policy.py` contains the iteration review, reroute selection, and stopping rules. `_route_traces.py` formats diagnostics from the driver’s collected data.
- `inire/router/_pair_local.py` searches for replacements in a separate routing world. The driver installs and verifies proposed replacements and restores the incumbent layout when a candidate is rejected.
- `inire/router/_automatic.py` selects and verifies planner candidates for the default public routing mode. It retries at the configured lattice search ceiling when the first pass falls short of the routing bound.
- `inire/router/_capacity.py` calculates vertical cut bounds and disjoint fixed-port conflicts for the automatic router.
- `inire/router/_topology.py` builds alternative corridors through triangulated free space and ranks portal lanes using capacity, route overlap, and estimated turn clearance.
- `inire/router/_bundle.py` constructs ordered routes from rectangular barriers and terminal order for the opt-in bundle mode. `_waypoints.py` compiles its turns and S-bends into physical path seeds.
- `inire/router/refiner.py`: Post-route path simplification for completed paths.
@ -55,4 +58,4 @@ When enabled, topological planning runs before the first iteration. The lattice
`RoutingRunResult.metrics` includes both A* counters and index/cache/verification counters. The committed example-corpus baseline for those counters is tracked in `docs/performance.md` and `docs/performance_baseline.json`.
The [topological routing experiment](topological-routing.md) compares soft corridor guidance and corridor-first seed generation with the state-lattice baseline.
The [topological routing experiment](topological-routing.md) compares soft corridor guidance and corridor-first seed generation with the state-lattice baseline. The [refactor plan](routing-refactor-plan.md) documents the exact parity command for checking implementation changes against a baseline.