wrongmove/crawler/services
Viktor Barzin 150342bb9e
Refactor codebase following Clean Code principles and add 229 tests
- Extract helpers to reduce function sizes (listing_tasks, app.py, query.py, listing_fetcher)
  - Replace nonlocal mutations with _PipelineState dataclass in listing_tasks
  - Fix bugs: isinstance→equality check in repository, verify_exp for OIDC tokens
  - Consolidate duplicate filter methods in listing_repository
  - Move hardcoded config to env vars with backward-compatible defaults
  - Simplify CLI decorator to auto-build QueryParameters
  - Add deprecation docstring to data_access.py
  - Test count: 158 → 387 (all passing)
2026-02-07 20:19:57 +00:00
..
__init__.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
district_service.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
export_service.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
floorplan_detector.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
image_fetcher.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
listing_cache.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
listing_fetcher.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
listing_service.py Add services layer, tests, streaming UI, and cleanup legacy code 2026-02-06 20:55:10 +00:00
passkey_service.py Add passkey (WebAuthn) authentication with self-registration 2026-02-07 00:34:47 +00:00
query_splitter.py Add crawl job progress drawer with phase tracking and live logs 2026-02-06 22:37:53 +00:00
route_calculator.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00
task_service.py Refactor codebase following Clean Code principles and add 229 tests 2026-02-07 20:19:57 +00:00