Proven answers on our plans. Proof of error on yours.
PlanProof draws floor plans whose every fact is known, checks each answer a second time from the pixels, and catches vision models being wrong on images nobody has labelled, including your own.
AI now reads floor plans. Who checks the AI?
Construction and property software asks vision models to count rooms, check areas, follow doors and read the north arrow. Consumer apps in India run Vastu checks, room by room, on an uploaded plan. A wrong area, a missed door or a wrong direction costs real money.
Hand labels are slow
Every question on a real plan needs a person to measure, count and trace doors, and someone to check them.
…and sometimes wrong
A label nobody re-checked is a guess with a confident face. You can't score a model against a wrong key.
Real plans can't be varied
To learn why a model fails you must change one thing at a time: the arrow, the room count, the printed sizes. Real drawings don't allow that.
Every fact is known before a pixel is drawn.
Each plan starts as a scene graph: rooms, walls, doors, windows, areas. The drawing is rendered from it, then a second, independent witness reads the answer back from the black pixels alone. A question is kept only when both witnesses agree.
Seed + knobs
A seed and six difficulty knobs pick room count, sizes, labels, arrow angle, damage, extra doors.
Scene graph
Rooms, doors and areas as data. Witness one computes every answer from it.
Drawing
Rendered to PNG with north arrow, scale bar, labels and a stated area total.
Pixel witness
Re-derives rooms, doors, areas and the arrow from black pixels only, never the graph.
Agree, or out
Both witnesses must give the same answer, and near-ties are thrown out, before a task is written.
10 question families. Six knobs. Balanced answers.
Task set out/run200: – questions on – images from – plans, seed –. Bars show the model's accuracy with the picture and with the picture removed: the questions can't be answered from text alone.
Six difficulty knobs, each recorded per task.
Every knob is sampled per plan, stored with each task and can be pinned (--fix n_rooms=9 show_dims=false), so one cause can be tested at a time.
Plans and questions that could be read two ways are thrown out
Odd shapes, unreachable rooms and near-tie questions (two rooms almost the same size) are rejected before anything is written.
One change, a different answer
A quarter of plans get a twin with one door added or the printed total flipped. The right answer changes and nothing else does. On the – twin pairs it answered, the model got both right only – of the time and gave the same reply to both – of the time.
Answers are balanced per family, so always giving the most common answer scores only –.
We tried to break it. It held.
A task set is only useful if its answer key is right. Each check below runs from the command line and is part of the claims audit.
Same seed, same bytes
Rebuild the set from its recorded seed and compare the SHA-256 of every image and of the task file. verify
Every corrupted drawing caught
Corrupt the drawing, keep the old answer key, and see if the pixel witness notices. – untouched drawings accepted.
Swapped room labels are not caught
The pixel witness doesn't read text (no OCR), so swapping two room names passes. We report it rather than hide it.
Take the image away
Same questions, picture removed: accuracy collapses. The model must read the drawing.
Always the most common answer
Balanced answers keep guessing low, so a score means something.
Edit a pixel or an answer: verify fails
Hashes of every file are stored in the manifest.
Same score in Innodata's harness
Replaying the saved replies through redlite gives the same mean score as our grader.
Every number recomputed
python -m planproof audit recomputes each headline number from saved data and checks the README and docs state it exactly.
No API key needed
Unit and end-to-end tests, including this web app with a fake model and its safety checks.
The model reads the top of the page as north.
The model answers compass questions as if up were north and ignores the arrow. A controlled experiment shows the cause: turn the sheet so the arrow points up and the same plans and questions go from zero to mostly right.
No answer key? Still provably wrong.
For images PlanProof didn't draw, nobody knows the right answer. But some edits cannot change it: turning the whole sheet (the north arrow turns too), adding a white border, saving as JPEG. If the model's answer changes between copies, at least one answer is wrong. No label needed.
Ask about the original
Any question with a fixed answer type: a number, a compass direction, yes/no, a room name, a list.
Ask about edited copies
The same question on copies whose true answer is the same: turned, bordered, shrunk, compressed.
Compare the answers
Any disagreement is proof of error. Agreement is not proof of being right, and the page says so.
Two views. Everything clickable.
Run the label-free check on your own images in Check. Open any task set, every model answer and a one-click repeatability check in Results.
Run the label-free check on your images
- Images. Drop up to 12 images, or click Use the example plans. Large images are scaled to 2400 px.
- Questions. Five ready questions are ticked. Add your own with an answer type, and an optional known answer to see ✓/✗ and measure false alarms.
- Edits. Pick the copies to make: turned 90° left or right, turned 180°, white border, shrunk 75%, JPEG quality 30.
- Model. Gemini or any OpenAI-compatible endpoint. The cost line shows how many calls: images × questions × versions.
- Run. Copies are written to
out/ui/check-…and answers stream in. Each question gets a verdict, with the provably wrong ones first. Without a key the copies are still made so you can look at them.
Every task set, every answer, one-click proof
- Task sets. One table of everything under
samples/andout/, including checks run here: type, questions, images and which models answered. - Answer-keyed sets. Accuracy per model (with the image, without it, and the shortcut baseline) and per family.
- Task browser. Filter by model, family or wrong answers only. Each row shows the image, the question, the key and the model's reply. Click an image to zoom.
- Label-free sets. The same verdict list as Check: every copy side by side with its answer.
- Verify repeatability. Rebuilds the set from its seed and compares the SHA-256 of every file. Open dashboard opens the self-contained HTML report with charts and real mistakes.
Your plans and keys stay on your machine.
The app is a small Python standard-library server. Each rule below is covered by a test.
Local only
Listens on 127.0.0.1. Requests with any other Host or Origin are refused, which blocks DNS rebinding and cross-site posts.
Keys stay in the environment
Read from GEMINI_API_KEY or OPENAI_API_KEY. The page is told only whether a key exists.
Three folders only
Files are served only from samples/, out/ and examples/. Any path outside, including ../ tricks, is refused.
Nothing from other sites
A strict content security policy: no outside scripts, fonts or trackers. Uploads are capped (12 images, 80 MB) and checks are rate-limited.
Everything here is one command away.
Run each as python -m planproof <command>, or planproof <command> after pip install -e .. Add --help for all options.
Point it at your plans. See what breaks.
Drop in floor plans, pick questions, and get proof of every error the model makes, with no answer key.
Check a model on your floor plans
Each question is asked about the original image and about edited copies (turned, bordered, compressed) that can't change the true answer. If the model's answers differ, it is provably wrong on at least one of them. No answer key is needed.
1Images
2Questions
3Edits
4Model
Results
Task sets
Everything under samples/ and out/, including checks run here. Click a set to open it.