inire/docs/development.md

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

  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 and ruff check inire scripts for lint.
  3. 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.