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
+15
View File
@@ -0,0 +1,15 @@
"""Pipeline package: orchestrator + IO + composition root."""
from .orchestrator import FlightProcessor
from .image_input import ImageInputPipeline
from .result_manager import ResultManager
from .sse_streamer import SSEEventStreamer
Pipeline = FlightProcessor
__all__ = [
"FlightProcessor",
"Pipeline",
"ImageInputPipeline",
"ResultManager",
"SSEEventStreamer",
]