1.8 KiB
1.8 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
- 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. - 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.
Design and experiment records
- Design history. Original routing goal and routing refactor plan.
- Benchmark evidence. Probe and retry results, fixture sources, and historical example performance snapshot.
- Generated diagnostic examples. Iteration trace, conflict trace, frontier trace, and pre-pair trace.
- Optimization history. Pair-local characterization and optimization log.