gendesign/tradein-mvp/backend/app/services/matching/__init__.py
lekss361 89c4a2842d
All checks were successful
Deploy Trade-In / changes (push) Successful in 5s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 43s
Deploy Trade-In / deploy (push) Successful in 22s
feat(tradein): cross-source matching service (3-tier: cadastr / fingerprint / geo / composite) (#470)
2026-05-23 14:12:16 +00:00

19 lines
627 B
Python

"""Cross-source matching service — public API.
Provides 3-tier deduplication for houses and listings across Avito, Cian, Yandex, etc.
Algorithm reference: decisions/Cross_Source_Matching_Strategy.md
"""
from app.services.matching.conflict_resolution import update_canonical_fields
from app.services.matching.houses import match_or_create_house
from app.services.matching.listings import (
match_or_create_listing,
upsert_listing_source, # public helper for 'new' sentinel flow
)
__all__ = [
"match_or_create_house",
"match_or_create_listing",
"update_canonical_fields",
"upsert_listing_source",
]