; or (ii) the consensus-based targets established under section 307(b)(2). (C) No model building energy code update If a model building energy code is not updated by a target date established under section 307(b)(2)(D), each State or Indian tribe shall, not later than 2 years after the specified date, certify whether or not the State or Indian tribe, respectively, has reviewed and updated the energy provisions of the building code of the State or Indian tribe, respectively, to meet or exceed the target in section 307(b)(2). (2) Validation by secretary Not later than 90 days after a State or Indian tribe certification under paragraph (1), the Secretary shall— (A) determine whether the code provisions of the State or Indian tribe, respectively, meet the criteria specified in paragraph (1); and (B) if the determination is positive, validate the certification. (d) Improvements in compliance with building energy codes (1) Requirement Not later than 3 years after the date of a certification under subsection (c), each State and Indian tribe shall certify whether or not the State and Indian tribe, respectively, has— (A) achieved full compliance under paragraph (3) with the applicable certified State and Indian tribe building energy code or with the associated voluntary building energy code; or (B) made significant progress under paragraph (4) toward achieving compliance with the applicable certified State and Indian tribe building energy code or with the associated voluntary building energy code. (2) Measurement of compliance A certification under paragraph (1) shall include documentation of the rate of compliance based on— (A) independent inspections of a random sample of the buildings covered by the code in the preceding year