<commit_before>(ns advent2018.day5
  "https://adventofcode.com/2018/day/5"
  (:require [clojure.string :as str]
            [advent2018.core :refer [read-puzzle]]))

(def puzzle (read-puzzle "day5" str/trim))

(defn reacting-pair [^Character c]
  (let [pair (str (Character/toLowerCase c)
                  (Character/toUpperCase c))]
    (format "%s|%s" pair (clojure.string/join (reverse pair)))))

(def letters "abcdefghijklmnopqrstuvwxyz")

(defn reacts? [^Character a ^Character b]<commit_msg>Remove vestigial function.<commit_after>(ns advent2018.day5
  "https://adventofcode.com/2018/day/5"
  (:require [clojure.string :as str]
            [advent2018.core :refer [read-puzzle]]))

(def puzzle (read-puzzle "day5" str/trim))

(def letters "abcdefghijklmnopqrstuvwxyz")

(defn reacts? [^Character a ^Character b]
{'fraction_non_alphanumeric': 0.15403422982885084, 'fraction_numerical': 0.03667481662591687, 'mean_word_length': 4.150943396226415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6791531', 'n_tokens_mistral': 328, 'n_tokens_neox': 296, 'n_words': 66}