🔴 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. |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| db/init | ||
| output | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .env.runtime.example | ||
| alembic.ini | ||
| debug.log | ||
| Dockerfile | ||
| pyproject.toml | ||
| uv.lock | ||