0
mirror of https://github.com/bbenchoff/OrthoRoute.git synced 2026-08-22 14:19:15 +00:00
Files
OrthoRoute/tests/regression/golden_metrics.json
OpenFixture Developer 3054ac1ce5 feat: Add comprehensive test suite with golden result baseline
- Add 167 unit tests (all passing)
- Add 63 regression tests validating against golden result
- Document golden result: April 10, 2026 (512/512 nets, zero overuse, 18.4 min)
- Create tests/run_golden_regression.md with test documentation
- Update golden_board.json and golden_metrics.json with validated baselines
- Add docs/optimization/golden_result_2026-04-10.md with complete metrics

Test Results:
- 167/167 unit tests passing
- 47/63 regression tests passing (16 expected skips/fails)
- All routing quality metrics validated against golden baseline
- GPU hardware functional (NVIDIA Compute Capability 75)
2026-04-10 16:44:24 +02:00

46 lines
1.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_comment": "Routing baselines for TestBackplane.kicad_pcb. Separate entries for GPU (preferred) and CPU-only (--cpu-only flag). Update after deliberate algorithm improvements.",
"_board": "TestBackplane.kicad_pcb — 1604 pads, 512 nets, 18 layers, 446,472 lattice nodes",
"nets_routed": 512,
"total_nets": 512,
"gpu": {
"_source": "NVIDIA GPU (Compute Capability 75, 4.3 GB), OrthoRoute 2026-04-10 — GOLDEN RESULT",
"_note": "Actual run: 73 iterations, 1106.6s total (18.4 min), iter_avg=15.2s. 4274 tracks, 2738 vias, 367 barrel conflicts. Thresholds = measured × 1.20 headroom.",
"converged": true,
"iterations_max": 88,
"total_time_s_max": 1328,
"iter_avg_time_s_max": 18.0,
"iter_1_time_s_max": 30.0,
"overuse_final_max": 0,
"tracks_delta_min": 3846,
"vias_delta_min": 2464,
"barrel_conflicts_max": 450
},
"cpu": {
"_source": "CPU-only baseline — not yet measured, update after cpu-only run",
"_note": "Run: python main.py cli TestBoards/TestBackplane.kicad_pcb --cpu-only",
"converged": true,
"iterations_max": 120,
"total_time_s_max": 7200,
"iter_avg_time_s_max": 120.0,
"iter_1_time_s_max": 600.0,
"overuse_final_max": 0,
"tracks_delta_min": 4000,
"vias_delta_min": 2500,
"barrel_conflicts_max": 500
},
"_thresholds_note": "All *_max/*_min values are soft warnings unless noted HARD FAIL in test docstrings. Tests pick the right block by reading GPU=YES/NO from the log.",
"iterations_max": 88,
"total_time_s_max": 1328,
"iter_avg_time_s_max": 18.0,
"iter_1_time_s_max": 30.0,
"overuse_final_max": 0,
"tracks_delta_min": 3846,
"vias_delta_min": 2464,
"barrel_conflicts_max": 450
}