Separate user guides, benchmarks, and routing internals
This commit is contained in:
parent
24559bb6aa
commit
e4d5952677
1 changed files with 846 additions and 270 deletions
23
docs/development.md
Normal file
23
docs/development.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Developer guide
|
||||
|
||||
## Choose a task
|
||||
|
||||
- **[Benchmarks](benchmarks.md)** runs a single case, the regression corpus, or a mode comparison.
|
||||
- **[Architecture](architecture.md)** explains planner selection, locks, search, and verification. Start here to find where a behavior change belongs.
|
||||
- **[Diagnostics](routing-diagnostics.md)** connects symptoms to stage reports, counters, and traces.
|
||||
- **[Public API reference](user/api-reference.md)** 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](benchmarks.md#choose-a-profile) or [exact parity instructions](routing-diagnostics.md#reproduce-and-compare) 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](routing-policy-goal.md) and [routing refactor plan](routing-refactor-plan.md).
|
||||
- **Benchmark evidence.** [Probe and retry results](benchmark-results.md), [fixture sources](benchmark-fixtures.md), and [historical example performance snapshot](performance.md).
|
||||
- **Generated diagnostic examples.** [Iteration trace](iteration_trace.md), [conflict trace](conflict_trace.md), [frontier trace](frontier_trace.md), and [pre-pair trace](pre_pair_frontier_trace.md).
|
||||
- **Optimization history.** [Pair-local characterization](pair_local_characterization.md) and [optimization log](optimization_pass_01_log.md).
|
||||
Loading…
Reference in a new issue