<commit_before>(ns magician.list-test
  (:require [clojure.test :refer :all]
            [magician.list :refer :all]))

(deftest numerics-test
  (is (= [1 2.0 -3] (numerics [1 2.0 -3])))
  (is (= [] (numerics ["string"])))
  (is (= [] (numerics [])))
  (is (= [1 3] (numerics [1, "two", 3, "four"]))))<commit_msg>Test with lists instead of vectors<commit_after>(ns magician.list-test
  (:require [clojure.test :refer :all]
            [magician.list :refer :all]))

(deftest numerics-test
  (is (= '(1 2.0 -3) (numerics '(1 2.0 -3))))
  (is (= () (numerics '("string"))))
  (is (= () (numerics ())))
  (is (= '(1 3) (numerics '(1 "two" 3 "four")))))
{'fraction_non_alphanumeric': 0.24961479198767333, 'fraction_numerical': 0.03697996918335902, 'mean_word_length': 3.452054794520548, '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': '7030086', 'n_tokens_mistral': 276, 'n_tokens_neox': 261, 'n_words': 68}