refactor(01-07): factor_graph, pipeline pkg, testing/benchmark, Protocol ABCs

- Create core/factor_graph.py: IFactorGraphOptimizer converted to Protocol
- Shim core/graph.py to re-export from core/factor_graph
- Create pipeline/ package: orchestrator, image_input, result_manager, sse_streamer
- Shim core/{processor,pipeline,results,sse}.py to re-export from pipeline/
- Create testing/benchmark.py; shim core/benchmark.py
- Convert IRouteChunkManager, IFailureRecoveryCoordinator, IModelManager, IImageMatcher to Protocol
- Update pyproject.toml ruff per-file-ignores to new paths
- All 216 tests pass (regression floor maintained)
This commit is contained in:
Yuzviak
2026-05-11 08:59:07 +03:00
parent 275c7b4642
commit 5a60c1ee2c
18 changed files with 1857 additions and 1836 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ line-length = 120
[tool.ruff.lint.per-file-ignores]
# Abstract interfaces have long method signatures — allow up to 170
"src/gps_denied/core/graph.py" = ["E501"]
"src/gps_denied/core/metric.py" = ["E501"]
"src/gps_denied/core/factor_graph.py" = ["E501"]
"src/gps_denied/components/satellite_matcher/metric_refinement.py" = ["E501"]
"src/gps_denied/core/chunk_manager.py" = ["E501"]
[tool.ruff.lint]