gendesign/tradein-mvp/backend/data
bot-backend 024fadac73
All checks were successful
CI / changes (pull_request) Successful in 8s
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(tradein/yandex): cap ceiling to numeric(3,2) range + backfill 'other'->NULL
Pre-push review (#2007):
- ceiling_height_m: clamp to plausible 2.0-6.0 m. yandex SERP emits garbage (seen 18 m)
  -> out-of-range write to ceiling_height numeric(3,2) raised DataError failing the whole
  batch (per-lot SAVEPOINT only catches IntegrityError). Raw value still in raw_payload.
- migration 140: also NULL out legacy 'other' (299 rows) for parity with
  normalize_house_type (unknown->None; NULL neutral in estimator vs 'other' false penalty).
2026-06-27 20:43:31 +03:00
..
sql fix(tradein/yandex): cap ceiling to numeric(3,2) range + backfill 'other'->NULL 2026-06-27 20:43:31 +03:00