<commit_before>(ns faceboard.dispatcher
  (:require-macros [cljs.core.async.macros :refer [go go-loop]])
  (:require [cljs.core.async :as async :refer [<! >!]]
            [faceboard.commands :as commands]
            [faceboard.controller :as controller :refer [perform!]]
            [faceboard.logging :refer [log, log-err, log-warn]]))

(defn start-processing-commands []
  (go-loop []
    (let [command (<! controller/command-chan)]
      (log "handle command:" command)
      (apply commands/handle-command command))
    (recur)))<commit_msg>Minor dispatcher refactoring<commit_after>(ns faceboard.dispatcher
  (:require [cljs.core.async :refer [<! >!]]
            [faceboard.commands :refer [handle-command]]
            [faceboard.controller :refer [perform! command-chan]]
            [faceboard.logging :refer [log, log-err, log-warn]])
  (:require-macros [cljs.core.async.macros :refer [go go-loop]]))

(defn start-processing-commands []
  (go-loop []
    (let [command (<! command-chan)]
      (log "handle command:" command)
      (apply handle-command command))
    (recur)))
{'fraction_non_alphanumeric': 0.1614678899082569, 'fraction_numerical': 0.0, 'mean_word_length': 3.3293650793650795, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '5885249', 'n_tokens_mistral': 345, 'n_tokens_neox': 347, 'n_words': 76}