Keep fabrication helpers in tests and simplify documentation links

This commit is contained in:
Jan Petykiewicz 2026-11-29 23:29:31 -08:00
commit b509efc95d

View file

@ -1,6 +1,6 @@
# Benchmark fixtures
- [Choose a benchmark case](benchmarks.md#choose-a-case)
- [Benchmark cases](benchmarks.md#choose-a-case)
- [Corpus registry and profiles](../inire/tests/routing_corpus.py)
## Complex-routing example 1
@ -15,8 +15,8 @@ python -m scripts.route_complex_routing_example --output /tmp/inire-complex-rout
Expect nine verified routes. The unseeded export met the original checker's cost and geometry requirements.
- [Compare the resulting layouts](../examples/advanced.md#complex-routing-example-1)
- [Follow the illustrated walkthrough](complex-routing-example-1.md)
- [Example gallery](../examples/advanced.md#complex-routing-example-1)
- [Complex-routing walkthrough](complex-routing-example-1.md)
To replay a known layout, pass `--reference-lane-plan` for the shared bottom passage or `--single-bottom-track` for the one-track version. Use the unseeded command above for planner coverage and timing.
@ -28,11 +28,25 @@ To replay a known layout, pass `--reference-lane-plan` for the shared bottom pas
Use unseeded runs to evaluate routing policy. For a separate check of geometry and clearance, use the reference paths in the [crossing fixtures](../inire/tests/routing_crossing_benchmarks.py).
## Fabrication regression cases
The layout tests use process dimensions to exercise routing and placement replay.
| Case | Checks |
| --- | --- |
| Optical ports | Matching widths allow a direct link. A wider target needs a taper. |
| Authored lengths | Custom bend lengths are retained when the route is replayed. |
| Layers and process profiles | Independent planes retain layer assignment. Ordered profiles reserve earlier routes and apply their own bend limits. |
| Coplanar waveguide | Route the conductor and gap envelope from the same seed. With a 29.5 µm envelope and 3 µm clearance, 28 and 32 µm pitches fail and 36 µm passes. |
- [Layout regression tests](../inire/tests/test_layout.py)
- [Fabrication study](../plans/full-project-review.md#31-preserve-authored-lengths-when-rerouting-phase-sensitive-connections--medium)
## Imported fixtures
The importer cuts port openings in device keepouts and snaps optical ports to a 0.1 µm grid. One layout unit is 0.1 µm.
- [Converted geometry for all six cases](../inire/tests/data/external_routing_benchmarks.json)
- [Converted fixture geometry](../inire/tests/data/external_routing_benchmarks.json)
| Cases | Pinned source | License |
| --- | --- | --- |