The wall framing takeoff turns a plan (walls, openings, stock) into studs, plates and a lumber order. Plans come from a page, a CLI file, a DXF or an IFC import, and sometimes from hand-typed JSON.
Probing it with twenty malformed plans by hand, most were refused with a clear reason ("a tee at 8333' 3" is off the wall"). Three were not: a tees value that was a number, a null entry in openings, and a null wall each threw a raw TypeError out of takeoff. A user would see a stack trace, not a fix.
validatePlan now checks shape first and says which wall and which field is wrong. A test covers each case, and the whole venture suite (658 tests) passes. These are invented plans; no real builder's file was involved.