; and (B) the interests of justice require the proposed waiver. (g) Noncompliance (1) In general Before entry of judgment, upon motion of a defendant or by the court sua sponte, if there is reason to believe the attorney for the Government has failed to comply with subsection (b) or subsection (c), the court shall order the United States to show cause why the court should not find the United States is not in compliance with subsection (b) or subsection (c), respectively. (2) Findings If the court determines under paragraph (1) that the United States is not in compliance with subsection (b) or subsection (c), the court shall— (A) determine the extent of and reason for the noncompliance; and (B) enter into the record the findings of the court under subparagraph (A). (h) Remedies (1) Remedies required (A) In general If the court determines that the United States has violated the requirement to disclose covered information under subsection (b) or the requirement to disclose covered information in a timely manner under subsection (c), the court shall order an appropriate remedy. (B) Types of remedies A remedy under this subsection may include— (i) postponement or adjournment of the proceedings; (ii) exclusion or limitation of testimony or evidence; (iii) ordering a new trial; (iv) dismissal with or without prejudice; or (v) any other remedy determined appropriate by the court. (C) Factors In fashioning a remedy under this subsection, the court shall consider the totality of the circumstances, including— (i) the seriousness of the violation; (ii) the impact of the violation on the proceeding; (iii) whether the violation resulted from innocent error, negligence, recklessness, or knowing conduct