1.7 KiB
1.7 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
- From the repository root, run
uv syncto install development dependencies. Activate.venvor prefix commands withuv run. - Run
python -m pytestfor the correctness suite andruff check inire scriptsfor lint. Usepython -m pytest -m "not routing_corpus"for a shorter local check. - For a cleanup that should preserve paths, capture both revisions and run an exact parity comparison. Include callbacks or traces if the change affects them.
- 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. Check the corpus and related holdouts before adopting the change.
Check a documentation figure
Run python -m scripts.render_documentation_figures --output-dir /tmp/inire-figures to preview changes. Compare the port labels, keepouts, path, and caption against the published example. Run the script without --output-dir to regenerate the figures in docs/figures.
Development history
To recover the inputs, metrics, or rationale behind an earlier routing decision, use the routing development archive.