gendesign/backend/tests/api/v1
lekss361 31581cedd2 fix(#112): remove broken status='sold' filter from competitors avg_price query
domrf_kn_flats.status is NULL in ~99.8% of rows, so WHERE status='sold'
always returned 0 rows and avg_price_per_m2 was always None. Drop the
filter; AVG over all rows with price_per_m2 IS NOT NULL is semantically
correct for a complex-level price estimate.

Adds regression test test_competitors_avg_price_populated (Issue #227).
2026-05-16 22:46:10 +03:00
..
__init__.py feat(cadastre): bulk_harvest worker + grid-walker + admin API (#168 PR3/5) (#171) 2026-05-15 13:31:32 +03:00
test_admin_cadastre.py feat(cadastre): bulk_harvest worker + grid-walker + admin API (#168 PR3/5) (#171) 2026-05-15 13:31:32 +03:00
test_analyze_inline_weights.py feat(permits): Celery beat monthly + analyze recent_permits (#105 Phase 4+5) (#213) 2026-05-16 12:23:52 +00:00
test_analyze_market_price.py feat(permits): Celery beat monthly + analyze recent_permits (#105 Phase 4+5) (#213) 2026-05-16 12:23:52 +00:00
test_analyze_recent_permits.py feat(permits): Celery beat monthly + analyze recent_permits (#105 Phase 4+5) (#213) 2026-05-16 12:23:52 +00:00
test_parcel_best_layouts.py feat(parcels): best-layouts endpoint + service (#113 PR C) (#196) 2026-05-16 09:10:06 +00:00
test_parcel_competitors.py fix(#112): remove broken status='sold' filter from competitors avg_price query 2026-05-16 22:46:10 +03:00
test_parcel_connection_points.py feat(parcels): connection-points endpoint (Forgejo #115 Phase 1 backend) (#190) 2026-05-16 05:58:27 +00:00