(2) Contractor in the context of a contract for the construction, rehabilitation, alteration, or repair of a facility means a sole proprietorship, partnership, corporation, or other legal entity that assumes the risk for constructing, rehabilitating, altering, or repairing all or part of the facility at the contracted price.