<commit_before>(ns beicon.tests.main
  (:require [clojure.test :as t]
            [beicon.tests.test-core]))

#?(:cljs
   (do
     (enable-console-print!)
     (set! *main-cli-fn* #(t/run-tests 'promesa.tests.test-core)))
   :clj
   (defn -main
     [& args]
     (let [{:keys [fail]} (t/run-all-tests #"^beicon.tests.*")]
       (if (pos? fail)
         (System/exit fail)
         (System/exit 0)))))
<commit_msg>Fix typo on tests main ns.<commit_after>(ns beicon.tests.main
  (:require [clojure.test :as t]
            [beicon.tests.test-core]))

#?(:cljs
   (do
     (enable-console-print!)
     (set! *main-cli-fn* #(t/run-tests 'beicon.tests.test-core)))
   :clj
   (defn -main
     [& args]
     (let [{:keys [fail]} (t/run-all-tests #"^beicon.tests.*")]
       (if (pos? fail)
         (System/exit fail)
         (System/exit 0)))))

{'fraction_non_alphanumeric': 0.20546318289786222, 'fraction_numerical': 0.0023752969121140144, 'mean_word_length': 2.3320158102766797, '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': '7220233', 'n_tokens_mistral': 335, 'n_tokens_neox': 328, 'n_words': 65}