<commit_before>(ns cmr.search.api.request-context-user-augmenter
 "Adds data to the context for the current user for performance improvements. Adds user id and sids
 as well as caches for those. "
 (:require
  [cmr.acl.core :as acl]
  [cmr.common.cache :as cache]
  [cmr.common.cache.in-memory-cache :as mem-cache]
  [cmr.common.log :refer (info)]
  [cmr.common.services.errors :as errors]
  [cmr.common.util :as util]
  [cmr.search.data.sids-retriever :as sids-retriever]
  [cmr.transmit.echo.tokens :as tokens]))

(def CACHE_TIME
  "The number of milliseconds token information will be cached for."
  (* 5 60 1000))

(def token-sid-cache-name
  :token-sid)<commit_msg>CMR-3839 Fix indentation<commit_after>(ns cmr.search.api.request-context-user-augmenter
 "Adds data to the context for the current user for performance improvements. Adds user id and sids
 as well as caches for those. "
 (:require
  [cmr.acl.core :as acl]
  [cmr.common.cache :as cache]
  [cmr.common.cache.in-memory-cache :as mem-cache]
  [cmr.common.log :refer (info)]
  [cmr.common.services.errors :as errors]
  [cmr.common.util :as util]
  [cmr.search.data.sids-retriever :as sids-retriever]
  [cmr.transmit.echo.tokens :as tokens]))

(def CACHE_TIME
 "The number of milliseconds token information will be cached for."
 (* 5 60 1000))

(def token-sid-cache-name
 :token-sid)
{'fraction_non_alphanumeric': 0.12537091988130564, 'fraction_numerical': 0.013353115727002967, 'mean_word_length': 4.014869888475836, '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': '5563026', 'n_tokens_mistral': 503, 'n_tokens_neox': 483, 'n_words': 137}