- Add DocumentRepository and AnalysisRepository protocols in domain/ports.py (#128) - Refactor persistence repos from module functions to SqliteDocumentRepository and SqliteAnalysisRepository classes - Inject repos into AnalysisService and new DocumentService class via constructor, removing direct imports of persistence and infra.settings (#129) - Move _merge_results, _classify_error, _extract_html_body to domain/services.py (#130) - Update main.py composition root to build and wire all dependencies - Switch api/documents.py to Depends pattern matching api/analyses.py - Update all tests to use injected mocks instead of module-level patches Closes #128, closes #129, closes #130 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_analysis_service.py | ||
| test_api_endpoints.py | ||
| test_bbox.py | ||
| test_chunking.py | ||
| test_document_service.py | ||
| test_models.py | ||
| test_pipeline_options.py | ||
| test_rate_limiter.py | ||
| test_repos.py | ||
| test_robustness.py | ||
| test_schemas.py | ||
| test_serve_converter.py | ||
| test_settings.py | ||