Tie documentation links to reader workflows
This commit is contained in:
parent
ec2768853e
commit
a029791f33
1 changed files with 161 additions and 119 deletions
|
|
@ -5,8 +5,7 @@
|
|||
From the repository root, run the overloaded-gate fixture with the regression profile.
|
||||
|
||||
```sh
|
||||
python -m \
|
||||
scripts.compare_topological_routing \
|
||||
python -m scripts.compare_topological_routing \
|
||||
--case overloaded-gate \
|
||||
--profile corpus-regression \
|
||||
--mode automatic
|
||||
|
|
@ -27,7 +26,7 @@ scripts.compare_topological_routing \
|
|||
| 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. |
|
||||
|
||||
Run `python -m scripts.compare_topological_routing --list` to find individual case names. Select a fixture that exhibits the behavior under study, then use the corpus and relevant holdouts to check generalization. [Fixture sources and reproduction](benchmark-fixtures.md)
|
||||
Run `python -m scripts.compare_topological_routing --list` to find individual case names. Start with a fixture that exhibits the behavior you're changing, then check the rest of the corpus and relevant holdouts. For upstream sources and regeneration commands, see [Benchmark fixtures](benchmark-fixtures.md).
|
||||
|
||||
## Choose a profile
|
||||
|
||||
|
|
@ -42,8 +41,7 @@ The two budget profiles use benchmark weights for automatic candidate selection.
|
|||
### Run the full regression corpus
|
||||
|
||||
```sh
|
||||
python -m \
|
||||
scripts.compare_topological_routing \
|
||||
python -m scripts.compare_topological_routing \
|
||||
--case corpus \
|
||||
--profile corpus-regression \
|
||||
--mode automatic --repeat 3 \
|
||||
|
|
@ -53,8 +51,7 @@ scripts.compare_topological_routing \
|
|||
### Compare routing modes
|
||||
|
||||
```sh
|
||||
python -m \
|
||||
scripts.compare_topological_routing \
|
||||
python -m scripts.compare_topological_routing \
|
||||
--case offset-gates \
|
||||
--profile matched-budget \
|
||||
--mode off --mode guide \
|
||||
|
|
@ -63,13 +60,12 @@ scripts.compare_topological_routing \
|
|||
--json /tmp/inire-modes.json
|
||||
```
|
||||
|
||||
At this budget, guide mode completes the offset net with no corridor seed. Seed mode also completes it at the same cost. Use this comparison to check corridor hints before tuning seed allocation. [How corridors are built](topological-routing.md)
|
||||
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).
|
||||
|
||||
### Test a retry on holdouts
|
||||
|
||||
```sh
|
||||
python -m \
|
||||
scripts.benchmark_retry_order \
|
||||
python -m scripts.benchmark_retry_order \
|
||||
--case retry-holdout \
|
||||
--profile public-defaults \
|
||||
--policy baseline \
|
||||
|
|
@ -78,10 +74,10 @@ scripts.benchmark_retry_order \
|
|||
--json /tmp/inire-residual.json
|
||||
```
|
||||
|
||||
Inspect verified IDs, paths, and time spent inside failed attempts. [Prior retry decisions and measurements](benchmark-results.md)
|
||||
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.
|
||||
|
||||
## 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. Inspect individual slow cases and unsuccessful attempts. Use the stage and trace information to explain where the work moved. [Diagnostics and exact parity](routing-diagnostics.md)
|
||||
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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue