🔴 Critical from review-bot: column units_count doesn't exist в ekburg_construction_permits (mock tests прошли т.к. db.execute мокается; на проде psycopg.errors.UndefinedColumn для каждого /analyze). Removes (7 refs): - SQL SELECT не выбирает units_count - dict build, PermitsSummary.rve_total_units - RecentPermit.units_count Pydantic field - PermitsSummary.rve_total_units field - 2 fixture rows assertions 🟡 Dedupe _quarter_prefix → reuse existing _quarter_cad (computed ранее для market_price block). Tests adjusted, ruff clean. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_admin_cadastre.py | ||
| test_analyze_inline_weights.py | ||
| test_analyze_market_price.py | ||
| test_analyze_recent_permits.py | ||
| test_parcel_best_layouts.py | ||
| test_parcel_competitors.py | ||
| test_parcel_connection_points.py | ||