<commit_before>(ns shriek.core
  (:gen-class))

(require '[ring.adapter.jetty :as r])

(defn handler [request]
{:status 200
   :headers {"Content-Type" "text/plain;charset=utf-8"}
   :body "Превед, Медвед!"})

(def app handler)

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (r/run-jetty handler {:port 3000}))<commit_msg>Limit listen to 127.0.0.1 instead of default 0.0.0.0<commit_after>(ns shriek.core
  (:gen-class))

(require '[ring.adapter.jetty :as r])

(defn handler [request]
{:status 200
   :headers {"Content-Type" "text/plain;charset=utf-8"}
   :body "Превед, Медвед!"})

(def app handler)

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (r/run-jetty handler {:port 3000 :host "localhost"}))
{'fraction_non_alphanumeric': 0.18741450068399454, 'fraction_numerical': 0.03556771545827633, 'mean_word_length': 3.8157894736842106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3582379', 'n_tokens_mistral': 313, 'n_tokens_neox': 288, 'n_words': 78}