inire/docs/development.md

1.3 KiB

Developer guide

Choose a task

  • Benchmarks runs a single case, the regression corpus, or a mode comparison.
  • Architecture explains planner selection, locks, search, and verification. Start here to find where a behavior change belongs.
  • Diagnostics connects symptoms to stage reports, counters, and traces.
  • Public API reference gives the caller contract for compatibility checks.

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 or exact parity instructions to compare coverage, geometry, and work.

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.