1.4 KiB
1.4 KiB
Developer guide
Choose a task
- Measure a single case, compare modes, or run the regression corpus with the benchmark CLI.
- Find where to change planner selection, locks, search, or verification in the architecture guide.
- Investigate coverage, route quality, or runtime using the routing diagnostics.
- Check the caller contract before changing an option or result field in the public API reference.
Check a change
- Run
uv syncto install development dependencies. Activate.venvor prefix the commands withuv run. - Run
python -m pytestfor the correctness suite. Usepython -m pytest -m "not routing_corpus"for a shorter local check andruff check inire scriptsfor lint. - For a routing change, compare coverage, geometry, and work using a consistent benchmark profile. If you expect exact paths, costs, and trace data to match, run an exact parity comparison.
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.
Development history
See the routing development archive for old plans, optimization logs, and recorded trace and performance data.