Tie documentation links to reader workflows
This commit is contained in:
parent
ec2768853e
commit
a029791f33
1 changed files with 161 additions and 119 deletions
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
## Choose a task
|
||||
|
||||
- **[Benchmarks](benchmarks.md)** runs a single case, the regression corpus, or a mode comparison.
|
||||
- **[Architecture](architecture.md)** explains planner selection, locks, search, and verification. Start here to find where a behavior change belongs.
|
||||
- **[Diagnostics](routing-diagnostics.md)** connects symptoms to stage reports, counters, and traces.
|
||||
- **[Public API reference](user/api-reference.md)** gives the caller contract for compatibility checks.
|
||||
- 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).
|
||||
|
||||
## Check a change
|
||||
|
||||
1. Run `uv sync` to install development dependencies. Activate `.venv` or prefix the commands with `uv run`.
|
||||
2. Run `python -m pytest` for the correctness suite. Use `python -m pytest -m "not routing_corpus"` for a shorter local check.
|
||||
3. For a routing change, use the [benchmark profiles](benchmarks.md#choose-a-profile) or [exact parity instructions](routing-diagnostics.md#reproduce-and-compare) to compare coverage, geometry, and work.
|
||||
2. Run `python -m pytest` for the correctness suite. Use `python -m pytest -m "not routing_corpus"` for a shorter local check and `ruff check inire scripts` for lint.
|
||||
3. For a routing change, compare coverage, geometry, and work using a consistent [benchmark profile](benchmarks.md#choose-a-profile). If you expect exact paths, costs, and trace data to match, run an [exact parity comparison](routing-diagnostics.md#reproduce-and-compare).
|
||||
|
||||
For documentation figures, run `python -m scripts.render_documentation_figures` from the repository root. It writes the route plots and planner diagram under `docs/figures`. Pass `--output-dir` to render a scratch copy for comparison.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue