feat(yandex-valuation): link history rows to houses via match_or_create_house #531

Merged
lekss361 merged 1 commit from feat/tradein-yandex-valuation-house-link into main 2026-05-24 14:28:31 +00:00

1 commit

Author SHA1 Message Date
lekss361
f04e391bf6 feat(yandex-valuation): link history rows to houses via match_or_create_house
- _save_yandex_history_items now resolves house_id ONCE per page using
  match_or_create_house (3-tier: cadastral, fingerprint, geo-proximity, new)
- Persists house_id, source_confidence, removed_date, total_floors, notes
- Graceful fallback to house_id=NULL when match fails
- 160 orphan rows on prod will get linked on next run

Builds on PR #526 (parser fixes: removed_date, total_floors, NBSP).
2026-05-24 17:17:49 +03:00