The purpose of building codes is to govern the construction of public buildings, commercial buildings, and places of residence and to regulate construction and thereby provide occupants with