fix(tradein): честный радиус поиска аналогов на карте v2 (#2632) #2643
No reviewers
Labels
No labels
Fable 5 ревью
GG-форсайт
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
feedback/max
generative
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#2643
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-honest-search-radius"
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
#2632 (M1 аудита #2583): эстиматор молча расширял радиус 1км→2км при нехватке аналогов, текст (
confidence_explanation) об этом говорил, а круг на карте рисовался по выбору пользователя — картинка врала убедительнее текста (Первоуральск воспроизводился).search_radius_m: int | nullвAggregatedEstimate. Флип base→fallback ровно в тех же ветках, что ставятfallback_used(драйвер текста) — текст и число структурно не могут разойтись. ДКП-коридор и anchor-пути не влияют (поле = радиус отбора listings-аналогов). Явныйradius_m-override: base==fallback by construction (#2044) — no-op. Не персистится (конвенцияanalog_tier) — rehydrate/старые ответы отдают null.search_radius_m, пока дропдаун радиуса не тронут после ремаунта (панель ремаунтится поestimate_id, дропдаун всегда ресетится в «Авто» — проверено, чтоinitialValuesне несётradius_m); поле отсутствует → прежнее поведение. Disclosure в стиле оговорок v2: «Аналогов в радиусе 1 км не хватило — поиск расширен до 2 км» (role="status", tokens.warn); не флапает на равных (AUTO_PREVIEW=1000 == DEFAULT_RADIUS_M).Test plan
Review
code-reviewer: ✅ APPROVE — прослежены все ветки выбора радиуса (включая cohort-drop и
_price_from_inputs-скоуп), подтверждена невозможность рассинхрона текст↔число by construction, guard ремаунта верифицирован на invariant'е initialValues.Refs #2632