tech-debt(tradein/estimator): collapse won estimate_* flags into defaults (#1970) #2475
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#2475
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "tech-debt/1970-collapse-estimate-flags"
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?
Collapses 14 Class-A boolean
estimate_*gates (all defaultTrue, never overridden in prod) into their unconditional ON behavior: inline the ON-path, drop the guard + any OFF branch, delete the config field, remove/adjust OFF-path tests.Collapsed (14)
estimate_imv_blend_enabled,estimate_same_building_anchor_enabled,estimate_calibrated_pi_enabled,estimate_corridor_clamp_enabled,estimate_radius_floor_enabled,estimate_sb_low_conf_gate_enabled,estimate_price_trend_dedup_enabled,estimate_confidence_floor_no_analogs,estimate_manual_review_enabled,estimate_radius_dedup_enabled,estimate_wide_corridor_disclosure_enabled,estimate_sb_clip_after_weight,estimate_quarter_index_enabled,estimate_sb_tier_a_allow_primary_if_secondary_presentKept as flags (2 of the requested set) — reported, not collapsed
estimate_hedonic_correction_enabledandestimate_expected_sold_le_asking. These two are the OFF-baseline toggle for the dedicated A/B magnitude suitetest_estimator_hedonic.py(which asserts ON shifts by exactlyfactorvs the flag-OFF baseline) and are used as isolation helpers across ~6 other estimator test files. Collapsing them would force rewriting numeric assertions across all of those files — a wrong-number regression risk the task's escape hatch explicitly covers. Their estimator inlines are otherwise clean; can be done as a focused follow-up.Untouched (per task)
estimate_dedup_analogs_enabled(regression gate depends on itsFalsebranch),estimate_kitchen_area_signal_enabled,estimate_ceiling_height_signal_enabled,estimate_is_apartments_filter_enabled,estimate_segment_multiplier_enabled.Notes
enabledparam from_apply_corridor_clamp(+ its call site and OFF-path unit test).scripts/backtest_estimator.py.Regression gate: GREEN
All collapsed flags defaulted
True, so unconditional == prior prod behavior.test_backtest_regression_gate.pyreplays the frozen 277-DKP fixture byte-identical to the committed baseline. Local run: 458 passed (gate +test_estimator*suite) + 93 passed (same_building / 781 / tier_a / segment_guard).