<commit_before>(ns {{ns-name}}.dev
  (:require [figwheel.client :as figwheel :include-macros true]
            [weasel.repl :as weasel]
            [reagent.core :as r]
            [{{ns-name}}.core :as core]
            [{{ns-name}}.testrunner :as testrunner]))

(enable-console-print!)

(figwheel/watch-and-reload
  :websocket-url "ws://localhost:3449/figwheel-ws"
  :jsload-callback (fn [] (r/force-update-all)
                     (testrunner/run-tests)))

(weasel/connect "ws://localhost:9001" :verbose true)

(core/init!)

(testrunner/run-tests)<commit_msg>use new figwheel syntax<commit_after>(ns {{ns-name}}.dev
  (:require [figwheel.client :as figwheel :include-macros true]
            [weasel.repl :as weasel]
            [reagent.core :as r]
            [{{ns-name}}.core :as core]
            [{{ns-name}}.testrunner :as testrunner]))

(enable-console-print!)

(figwheel/start
 {:websocket-url "ws://localhost:3449/figwheel-ws"
  :on-jsreload (fn []
                 (r/force-update-all)
                 (testrunner/run-tests))})

(weasel/connect "ws://localhost:9001" :verbose true)

(core/init!)

(testrunner/run-tests)
{'fraction_non_alphanumeric': 0.17444933920704847, 'fraction_numerical': 0.014096916299559472, 'mean_word_length': 2.712418300653595, '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': '4813299', 'n_tokens_mistral': 413, 'n_tokens_neox': 391, 'n_words': 70}