Sidebar is pinned to the viewport so the room key stays visible while scrolling
the gallery, and the key is set in larger type that fills the column. Gallery
tiles render text at 0.55 scale with dimensions omitted via a new `text_scale`
argument on draw_plan — full-size labels were larger than the rooms on a tile.
AppTest: zero exceptions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sidebar reduced to plot / road / plan type / Generate (rooms decided by type).
Header is solid navy on white text; average panel shows every metric; removed
Best-Plan-Improvement and the success banner; the selected plan shows scores +
a vertical legend on the left with the plans on the right; PNG/DXF download and
carpet area moved to the bottom; the edited-plan before/after is one table with
an expander. DXF fits room labels inside rooms and adds a north arrow + title
block on TEXT/TITLE layers. AppTest: zero exceptions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adjacency/Constraints/Room-Width tables rebuilt with Tier text, Status,
Counts, a TOTAL row and an explicit final-calc line; Aspect Ratio gains
its final calc; Connectivity gets its own per-room table. Constraints
dropped from SCORING: min_room_sizes, pooja_near_square, rooms_on_boundary
(the last stays enforced in the generation model). Plan render uses one
uniform, smaller, non-bold room label so text no longer spills. Editor
rectangles show only name + dimensions; lock reason and allowed actions
moved to a top info panel, labels un-bolded. Generation model untouched.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hybrid layout engine, twelve evaluation metrics, 4BHK third washroom
- Deterministic backbone designs every plan with no API key; the optional
model proposer only adds structural variety on top. Both go through one
geometry engine and one scorer.
- Twelve evaluation metrics (core/metrics.py) with a room-size model
(core/size_model.py), surfaced in the app as an AI-generated vs optimised
comparison table.
- 4BHK now has three washrooms: common, one attached to the master, one
attached to bedroom_01 -- each verified to share a wall with its bedroom.
- torch/torchvision dropped from the image (optional pipeline only, imported
behind try/except), cutting ~2 GB from the build.
- Config is now LAYOUT_API_KEY / LAYOUT_MODEL / LAYOUT_TIMEOUT, with the
legacy variable still read as a fallback.
Initial clean deploy: Vastu AI floor plan generator