fix(analytics): drop false market verdict from per-object Sold % KpiCard (#1407) #1672
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#1672
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/sold-pct-market-verdict-1407"
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?
Проблема (#1407)
KpiCard «Sold % (квартиры)» (
page.tsx:147-164) показывал вердикт «выше/около/ниже среднего рынка», сравниваяapartments.perc(собственная распроданность объекта, realised/total) с хардкодом 30/50. Рыночного среднего в компонент не приходит → объект с 55% на рынке со средним 80% получал зелёный «выше среднего рынка» — ложь в дашборде финдиректора.Решение
Убрана псевдо-рыночная
delta-формулировка. Вместо неё нейтральныйhint«N из M реализовано» — те же данные, без рыночного сравнения. Реальное city/district avg — отдельная будущая задача (намеренно не вшиваем).Verify
grepпо «среднего рынка / выше / ниже среднего» → 0 совпадений.tsc --noEmit→ 0 ошибок вobjects/[id]/page.tsx.Closes #1407