<commit_before>(in-package #:cleavir-code-utilities)

(defmethod cleavir-i18n:report-condition
    ((condition form-must-be-proper-list) stream (language cleavir-i18n:english))
  (format stream "A form must be a proper list,~@
                  but the following was found instead:~@
                  ~s" (form condition)))<commit_msg>Added condition reporter for INVALID-NUMBER-OF-ARGUMENTS.<commit_after>(in-package #:cleavir-code-utilities)

(defmethod cleavir-i18n:report-condition
    ((condition form-must-be-proper-list) stream (language cleavir-i18n:english))
  (format stream "A form must be a proper list,~@
                  but the following was found instead:~@
                  ~s" (form condition)))

(defmethod cleavir-i18n:report-condition
    ((condition invalid-number-of-arguments)
     stream
     (language cleavir-i18n:english))
  (format stream
	  "Invalid number of arguments.~@
           There must be at least ~d arguments.~%"
	  (min-argcount condition))
  (unless (null (max-argcount condition))
    (format stream
	    "And there must be at most ~d arguments.~%"
	    (max-argcount condition)))
  (format stream
	  "The form that causes the problem was:~%~s"
	  (form condition)))
{'fraction_non_alphanumeric': 0.1170651277823578, 'fraction_numerical': 0.00989282769991756, 'mean_word_length': 3.2447552447552446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4151773', 'n_tokens_mistral': 388, 'n_tokens_neox': 359, 'n_words': 106}