Tie routing documentation to user and developer workflows
This commit is contained in:
parent
2d77877fff
commit
2c7a7ea90a
1 changed files with 309 additions and 148 deletions
|
|
@ -11,17 +11,15 @@ python -m scripts.compare_topological_routing \
|
|||
--mode automatic
|
||||
```
|
||||
|
||||
- **Coverage.** Expect `3/4 valid`. The capacity report gives three tracks across the cut. This run reached the geometric bound.
|
||||
- **Path quality.** Compare the verified net IDs before comparing weighted length or native objective cost.
|
||||
- **Work.** Read A* expansions and median time together. The report can show work spent planning and verifying even when it reports zero expansions.
|
||||
Expect `3/4 valid` and a report of three tracks for four nets crossing the cut. The run reached the geometric bound. When trying another setting, check the bound and verified IDs before comparing cost. For a case whose bound comes from fixed ports, use `--case lidar-clements-8x8`.
|
||||
|
||||
## Choose a case
|
||||
|
||||
| If you are changing | Use `--case` |
|
||||
| --- | --- |
|
||||
| Overall coverage | `corpus` runs the regression suite. |
|
||||
| Ordered tracks, shared gates, and barrier layouts | `all` selects the original fixture group. |
|
||||
| Seeds, custom bend geometry, and fallback behavior | `broad` includes caller seeds, custom bends, imported layouts, and the first holdout set. |
|
||||
| Ordered tracks, shared gates, and barrier layouts | `all` exercises the original layouts, including fixed-heading Terminal-Bench. |
|
||||
| Seeds, custom bend geometry, and fallback behavior | `broad` includes caller seeds, custom bends, imported layouts, and held-out boards. |
|
||||
| Ports on placed devices | `crossings` exercises external legs to preplaced crossing cells. |
|
||||
| Lock ordering, tight turns, and competing passages | `stress` runs known-feasible folded returns, competing locks, and shared passages. |
|
||||
| A retry tuned on the regression corpus | `retry-holdout` tests related but separate return shelves, bypasses, and competing trunks. |
|
||||
|
|
@ -60,7 +58,7 @@ python -m scripts.compare_topological_routing \
|
|||
--json /tmp/inire-modes.json
|
||||
```
|
||||
|
||||
Guide and seed complete the offset net at the same cost. Guide does so with no corridor seed. If a change increases work in seed mode, inspect how the [corridor is realized as a path](topological-routing.md#corridor-planning-and-realization).
|
||||
At 100 nodes per search, `off` stops short. Guide and seed both finish the same net at the same cost. Guide takes 4 expansions. Seed takes 37, all in seed search. If seed work increases after a change, inspect how the [corridor is realized as a path](topological-routing.md#corridor-planning-and-realization).
|
||||
|
||||
### Test a retry on holdouts
|
||||
|
||||
|
|
@ -74,10 +72,10 @@ python -m scripts.benchmark_retry_order \
|
|||
--json /tmp/inire-residual.json
|
||||
```
|
||||
|
||||
Inspect verified IDs, paths, and time spent on failed attempts. The [prior retry experiments](benchmark-results.md#early-and-late-retries) show a case where earlier recovery increased cost at the same coverage.
|
||||
Check which holdouts gained a verified net, then compare previously verified paths and time spent on failed attempts. To see a case where an earlier retry increased cost at the same coverage, read the [retry results](benchmark-results.md#early-and-late-retries).
|
||||
|
||||
## Compare the results
|
||||
|
||||
1. **Coverage and bounds.** Check verified IDs, requested nets, and any bound. The overloaded gate exercises passage capacity. The imported LiDAR Clements layout exercises fixed-port conflicts. Verify any feasibility witness separately from the timed run.
|
||||
2. **Cost on matching net sets.** Benchmark-weighted length weights physical straights, 90-degree bends, and S-bends by 1, 4, and 13. Native objective cost uses the run's configured objective. Compare costs on identical verified IDs, and report coverage changes separately.
|
||||
3. **Search and time.** Compare expansions and repeated wall times at the same settings. To investigate a slow case or a change in the selected attempt, use the [stage reports and traces](routing-diagnostics.md).
|
||||
3. **Search and time.** Compare expansions and repeated wall times at the same settings. Constructive stages can spend time planning and verifying even with zero expansions. To locate work that moved to a different stage, use the [automatic reports](routing-diagnostics.md#automatic-reports).
|
||||
|
|
|
|||
Loading…
Reference in a new issue