The important architectural decision here is treating scale as a geometric invariant rather than something the model is expected to get right through prompting. I'd highlight one additional safeguard: calibration should be idempotent, so the same geometry cannot accidentally be rescaled again during retries, reprocessing, or subsequent export operations. Keeping the original coordinates and recording the applied transformation would also make incorrect calibration much easier to diagnose.
This is a pattern we encounter in production AI engineering at IT Path Solutions as well: let the model handle interpretation, but keep critical transformations, validation, and acceptance criteria deterministic. The distinction between scaling coordinate anchors while preserving real-world fixture dimensions is particularly important. Otherwise, a correction to one part of the geometry can quietly introduce inconsistencies elsewhere.
Completely agree on idempotency — that's a subtle bug factory once retries or re-imports enter the pipeline.
In PlanCaliber we guard against double-scaling in two places: first, normalizeVisionSketchScale only runs once at the vision ingestion boundary (never during save, edit, or PDF/DXF export) and returns a no-op (factor = 1) whenever the plan's median interior door width and footprint already sit inside plausible residential bounds — so running it twice on already-normalized coordinates leaves the geometry untouched. Second, keeping the applied calibration factor and pre-calibration anchor coordinates in the undo/metadata trail is a great addition for auditing edge cases like commercial or barndominium spans where the default residential door prior shouldn't trigger. Appreciate the thoughtful note!
Mateo Ruiz
The important architectural decision here is treating scale as a geometric invariant rather than something the model is expected to get right through prompting. I'd highlight one additional safeguard: calibration should be idempotent, so the same geometry cannot accidentally be rescaled again during retries, reprocessing, or subsequent export operations. Keeping the original coordinates and recording the applied transformation would also make incorrect calibration much easier to diagnose.
This is a pattern we encounter in production AI engineering at IT Path Solutions as well: let the model handle interpretation, but keep critical transformations, validation, and acceptance criteria deterministic. The distinction between scaling coordinate anchors while preserving real-world fixture dimensions is particularly important. Otherwise, a correction to one part of the geometry can quietly introduce inconsistencies elsewhere.