fix(tradein/geocoder): раз-хардкод геокодера/DaData на всю Свердловскую обл. (region 66) #2484
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2484
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-oblast-f-geocoder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что
Геокодер был жёстко EKB-bound и выбрасывал корректные non-EKB геокоды (bbox-accept-фильтры отбрасывали Нижний Тагил/Серов и т.д.) → блокировал оценку любого адреса области. Foundation-шаг расширения Mera на region 66.
Изменения
OBLAST66_BBOX+is_within_oblast66_bbox(строгий superset EKB-tight — EKB не затронут); EKB Yandex Tier1/2 fast-path (bounded/rspn/ll+spn) сохранён.geocode()accept+typo) → oblast-66._has_oblast_marker(не substring) + district-prefix lookback: EKB-улицыСерова 27/Ирбитская 5/Асбестовский пер.и др. больше не роняютЕкатеринбург,-префикс (был silent wrong-city → wrong-price баг)._yandex_lookuptop-5,_nominatim_query): tight-EKB кандидат приоритетнее oblast-rank0 → EKB-результат идентичен прежнему.address.state/ YandexAdministrativeAreaName) отсекает соседние области (Тюмень 57.15/65.53 и др. — canonical must-reject); bbox-fallback когда region отсутствует.region-параметр («Свердловская область», hard-filter вместо city-only); убран no-oprestrict_value./suggestendpoint + geocoder docstrings → oblast-66.Тесты (+26)
OBLAST66 ⊇ TIGHT, far-town accept (Ивдель/Серов/Тавда/Красноуфимск), Тюмень reject,
_has_oblast_marker+/- (incl. street-collision), tie-break (MockTransport), DaData region body shape.Проверка
Разблокирует A2 (геокодинг +47k non-EKB сделок) и live-оценку адресов области. A1 (ingest) уже смержен+задеплоен.