feat(tradein): refine same-building anchor for within-building heterogeneity #681
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#681
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-within-building-refine"
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?
Refines the same-building anchor (#677/#680, live at 78% golden coverage) for WITHIN-BUILDING heterogeneity — it over-priced cheaper/smaller units in flagship buildings (Хохрякова 48 3к/153: real 61M, est 100M, APE 64%).
Two conservative levers:
Offline-validated on all 55 golden cases (comps from live DB): ZERO coverage flips (do-no-harm), elite medAPE 16.6→5.4, premium-subset medAPE 17.5→6.4, target overshoot Хохрякова 3к/153 64%→1.5%; flagships stay covered (Хохрякова 48 4к APE 17.5→5.4, Олимп 13 penthouse unchanged covered).
ruff clean; 34 anchor unit tests (4 new) + 259 broader green.
Final validation is LIVE: after merge+deploy I re-run the 53-case live golden E2E; if coverage regresses below the 78% baseline I revert.
Refs #651 #677
SB-anchor within-building heterogeneity refine (#677 v2 sub-tuning). Two changes: (1) floor-similarity Gaussian weight on relative vertical position (floor/total_floors) multiplied into area*rooms weight ? math safe (exp->(0,1], sigma>0 + total_floors>0 guarded, missing floor -> neutral 1.0 graceful/no-regress); (2) premium uplift now ALSO gated by rooms_target>=median(comp_rooms) so small-room units in flagship buildings dont inherit flagship premium (conservative tightening). #674 bug class clear: only anchor ppm2 computation changes, median->expected_sold ordering untouched. SQL adds floor,total_floors (existing cols, both tiers, no binds). Tests cover rooms-gate (????????? 3?), premium-still-fires-for-genuine-top, floor-tilt, floor-neutral-when-missing. estimate_sb_floor_sigma=0.25 default-ON backed by inline golden validation (55 cases, overshoot 64->1.5pct / 17.5->5.4pct) ? same methodology + precedent as #677 v2. APPROVE.