<commit_before>(ns circle.swank
  (:require swank.swank)
  (:require [circle.env :as env]))

(defn port []
  (cond
      (env/test?) 5004
      :else 4005))

(defn init []
  (when (= "true" (System/getenv "CIRCLE_SWANK"))
    (binding [*print-length* 100
              *print-level* 20]
      (println "Starting Swank")
      (clojure.main/with-bindings
        (swank.swank/start-server :port (port)
                                  :encoding "utf-8")))))<commit_msg>Use a port that's easier to type for connecting Swank to a testing environment.<commit_after>(ns circle.swank
  (:require swank.swank)
  (:require [circle.env :as env]))

(defn port []
  (cond
      (env/test?) 4006
      :else 4005))

(defn init []
  (when (= "true" (System/getenv "CIRCLE_SWANK"))
    (binding [*print-length* 100
              *print-level* 20]
      (println "Starting Swank")
      (clojure.main/with-bindings
        (swank.swank/start-server :port (port)
                                  :encoding "utf-8")))))
{'fraction_non_alphanumeric': 0.15139442231075698, 'fraction_numerical': 0.027888446215139442, 'mean_word_length': 2.2950819672131146, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5408155', 'n_tokens_mistral': 369, 'n_tokens_neox': 333, 'n_words': 82}