fix(generative): MultiPolygon-участки — крупнейший контур в _parse_polygon (#2295) #2315
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2315
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/concepts-multipolygon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что
Issue #2295:
_parse_polygonбросалParcelGeometryErrorна MultiPolygon → POST /concepts отдавал 422 на многоконтурных участках, интерактивный §7 «Пересчитать» не работал (в ЕГРН таких немало — подвид «Многоконтурный»).max(geoms, key=area)+logger.info— тот же паттерн, что буфер-стадия ниже уже использует.max(first-wins) проверен ревьюером.Тесты
191 passed (generative/geometry/concept свип; +5 новых), mypy strict geometry.py — 0 ошибок (3 в dxf.py — пред-существующий baseline, отдельный issue), ruff+UP clean.
Ревью
code-reviewer: ✅ APPROVE (семантика площадей в WGS84, mypy-narrowing, детерминизм — проверены).
Post-merge
POST /concepts на 66:41:0702017:131 → 200 с вариантами (сейчас 422); PDF-оркестратор упрощать не стал — его
_largest_polygon_geojsonостаётся безвредной подстраховкой.Refs #2295