<commit_before>(ns onyx.compression.nippy
  (:require [taoensso.nippy :as nippy]))

(defn compress [x]
  (nippy/freeze x))

(defn decompress [x]
  (nippy/thaw x :v1-compatibility? false))

<commit_msg>Nippy takes rolled up args.<commit_after>(ns onyx.compression.nippy
  (:require [taoensso.nippy :as nippy]))

(defn compress [x]
  (nippy/freeze x))

(defn decompress [x]
  (nippy/thaw x {:v1-compatibility? false}))


{'fraction_non_alphanumeric': 0.15550239234449761, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 4.819444444444445, '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': '4601915', 'n_tokens_mistral': 188, 'n_tokens_neox': 170, 'n_words': 40}