<commit_before>(ns wishlistd.server
  (:require [noir.server :as server]))

(server/load-views "src/wishlistd/views/")

(defn -main [& m]
  (let [mode (keyword (or (first m) :dev))
        port (Integer. (get (System/getenv) "PORT" "8080"))]
    (server/start port {:mode mode
                        :ns 'wishlistd})))

<commit_msg>Added fetch middleware<commit_after>(ns wishlistd.server
  (:require [noir.server :as server]
  	        [noir.fetch.remotes :as remotes]))

(server/load-views "src/wishlistd/views/")
(server/add-middleware remotes/wrap-remotes)

(defn -main [& m]
  (let [mode (keyword (or (first m) :dev))
        port (Integer. (get (System/getenv) "PORT" "8080"))]
    (server/start port {:mode mode
                        :ns 'wishlistd})))


{'fraction_non_alphanumeric': 0.168848167539267, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 2.923076923076923, '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': '6781572', 'n_tokens_mistral': 285, 'n_tokens_neox': 271, 'n_words': 67}