gendesign/site-finder
bot-backend 6d550e00b2
All checks were successful
CI / changes (push) Successful in 7s
CI / changes (pull_request) Successful in 7s
CI / backend-tests (push) Has been skipped
CI / frontend-tests (push) Has been skipped
CI / openapi-codegen-check (push) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
fix(site-finder): volume-weighted median_price_m2 (#1511) + consistent-period months_to_sellout (#1512)
#1511: replace equal-weight per-row median with volume-weighted median
(sorted by price, cumulative sold_volume_m2 weight, stop at 50th percentile).
Each corpus×month row now counts proportionally to its deal volume instead of
contributing equal weight regardless of how many flats were sold.

#1512: pin latest_stock to the single most-recent month in the window (last3[0])
instead of per-corpus ROW_NUMBER latest. Stale stock from inactive corpuses no
longer inflates the MTS numerator; stock and sold_volume_m2 denominator now
refer to the same consistent period.

Also clean pre-existing ruff E401/E701/E702/E722 violations (no logic change).
2026-06-17 20:52:47 +03:00
..
cache Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
reports Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
static Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
.gitignore Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
01_load_sites.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
02_fetch_pois.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
03_score.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
04_report.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00
05_objective_pull.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
06_match_economics.py fix(site-finder): volume-weighted median_price_m2 (#1511) + consistent-period months_to_sellout (#1512) 2026-06-17 20:52:47 +03:00
07_objective_full_pull.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
08_enrich_economics.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
09_macro_and_trend.py fix(forecasting): cap trend_ratio by v_rec magnitude when v_prior==0 (#1508) 2026-06-17 20:29:46 +03:00
10_score_v2.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
11_refetch_pois_extended.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
12_more_pois.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00
db_init.py Import Site Finder app from analysis/ vibe-coding session 2026-05-10 22:42:25 +05:00
server.py fix(week-review): автофиксы код-ревью — 169 issue (label «week ревью 1») 2026-06-15 20:21:11 +05:00