<commit_before>;; Utilities for creating and working with connections to IRC networks.
;;
;; Author: <NAME>
(ns clojurebot.irc
  (:require [clojure.string :as string])
  (:import [java.net Socket]
           [java.io PrintWriter InputStreamReader BufferedReader]))

(defrecord Connection [in             ;; IRC input stream
                       out            ;; IRC output stream
                       active?        ;; True if connection is open
                       channels       ;; Channels currently connected to
                       msg-handler])  ;; Private message handler
<commit_msg>Changed import to use lists rather than vectors<commit_after>;; Utilities for creating and working with connections to IRC networks.
;;
;; Author: <NAME>
(ns clojurebot.irc
  (:require [clojure.string :as string])
  (:import (java.net Socket)
           (java.io PrintWriter InputStreamReader BufferedReader)))

(defrecord Connection [in             ;; IRC input stream
                       out            ;; IRC output stream
                       active?        ;; True if connection is open
                       channels       ;; Channels currently connected to
                       msg-handler])  ;; Private message handler

{'fraction_non_alphanumeric': 0.07766990291262135, 'fraction_numerical': 0.0, 'mean_word_length': 1.903755868544601, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '79973', 'n_tokens_mistral': 304, 'n_tokens_neox': 273, 'n_words': 109}