chore(objective): fuzzy backfill objective_complex_mapping +115 (#307 OBJ-2) #1310
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#1310
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/objective-mapping-backfill-307-obj2"
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?
Summary
#307 OBJ-2 (P0 objective goldmine). objective_lots (1.12M строк, 81% цен) связывается с domrf для velocity/layout-аналитики. Mapping было 148 → +115 = 263 (107 high + 8 mid, все dev-corroborated).
Подход
Fuzzy-match
objective_lots(project_name)↔domrf_kn_objects(comm_name)LATEST snapshot region_cd=66 через pg_trgm на нормализованных именах (strip ЖК-boilerplate с\m\Mword-boundary — фикс over-stripДомино→ино).Precision over recall (P0)
Правило приёмки
nsim≥0.62 AND dsim≥0.5— каждый матч dev-corroborated. Generic-имена с разным застройщиком отклонены (Солнечный/Прекрасный/Стрелки/Невский/Тихий-центр — все dsim=0.0). 28 distinctive-but-dev-noisy true-matches (Основа/Тактика) НЕ авто-вставлены — Anton добавит manually (для P0-цен ложный mapping хуже пропущенного).Детали
match_method='auto_fuzzy_v2',is_reviewed=false(human-review топ-кандидатов; confidence-tier в note). Модель консистентна с существующими 148 (тоже is_reviewed=false auto).ON CONFLICT (objective_complex_name, objective_group) DO NOTHING.REFRESH CONCURRENTLY mv_layout_velocityпосле COMMIT (вне tx).Test plan
NB
115 unreviewed матчей кормят mv_layout_velocity сразу (MV не фильтрует is_reviewed — как и существующие 148). is_reviewed-gating в MV = отдельный backend-тикет если нужно.
Refs #307