The Math of Home Repair