Refine routing geometry checks and streamline documentation
Report coincident terminals and unusable seeds per net, update custom bend handling and verification, and cover the revised behavior with regression tests. Shorten the user and developer guides around reader tasks and keep the illustrated routing walkthrough and reference links easy to find.
This commit is contained in:
parent
8b32d68496
commit
eac083a37d
1 changed files with 1034 additions and 594 deletions
|
|
@ -2,20 +2,21 @@
|
|||
|
||||
## Choose a task
|
||||
|
||||
- Measure a single case, compare modes, or run the regression corpus with the [benchmark CLI](benchmarks.md).
|
||||
- Find where to change planner selection, locks, search, or verification in the [architecture guide](architecture.md).
|
||||
- Investigate coverage, route quality, or runtime using the [routing diagnostics](routing-diagnostics.md).
|
||||
- Check the caller contract before changing an option or result field in the [public API reference](user/api-reference.md).
|
||||
- [Understand one routing run](complex-routing-example-1.md)
|
||||
- [Find the implementation](architecture.md)
|
||||
- [Investigate coverage, cost, or runtime](routing-diagnostics.md)
|
||||
- [Run benchmarks](benchmarks.md)
|
||||
- [Look up the public API](user/api-reference.md)
|
||||
|
||||
## Check a change
|
||||
|
||||
The wheel contains the runtime package. Repository tests and benchmark fixtures are available in the source distribution. Build both locally with `uv build`. For release smoke checks, import and route from the wheel outside the checkout with NumPy 1.26 and NumPy 2.x on Python 3.11, using Shapely 2.0.7 in both environments. Automatic routing falls back to lattice search on Shapely 2.0.7. Guide and seed search require Shapely 2.1 and a GEOS build with constrained triangulation.
|
||||
|
||||
1. From the repository root, run `uv sync` to install development dependencies. Activate `.venv` or prefix commands with `uv run`.
|
||||
2. Run `python -m pytest` for the correctness suite and `ruff check inire scripts` for lint. Use `python -m pytest -m "not routing_corpus"` for a shorter local check.
|
||||
3. For a cleanup that should preserve paths, capture both revisions and run an [exact parity comparison](routing-diagnostics.md#reproduce-and-compare). Include callbacks or traces if the change affects them.
|
||||
4. For a policy or budget change, start with a case that exhibits the behavior. Compare verified IDs, cost, and work under the same [benchmark profile](benchmarks.md#choose-a-profile). Check the corpus and related holdouts before adopting the change.
|
||||
|
||||
Build release archives with `uv build`. The wheel contains the runtime. The source archive also includes tests and fixtures. Smoke-test the wheel outside the checkout on Python 3.11 with Shapely 2.0.7, once with NumPy 1.26 and once with NumPy 2.x.
|
||||
|
||||
### Check a documentation figure
|
||||
|
||||
Run `python -m scripts.render_documentation_figures --output-dir /tmp/inire-figures` to preview the guides' figures. Check the port directions, keepouts, and route against the runnable example before writing its caption. Omit `--output-dir` to write the guide figures to `docs/figures`. The basic example scripts save their own plots in `examples/`.
|
||||
|
|
@ -32,4 +33,4 @@ python -m scripts.render_complex_routing_example
|
|||
|
||||
## Development history
|
||||
|
||||
To recover the inputs, metrics, or rationale behind an earlier routing decision, use the [routing development archive](../archive/routing/README.md).
|
||||
- [Routing development archive](../archive/routing/README.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue