<commit_before>(ns cmr.access-control.data.group-json-results-handler
  "Handles extracting elasticsearch group results and converting them into a JSON search response."
  (:require [cmr.common-app.services.search.elastic-results-to-query-results :as elastic-results]
            [cmr.common-app.services.search.elastic-search-index :as elastic-search-index]
            [cmr.common-app.services.search :as qs]
            [cmr.common.util :as util]
            [cheshire.core :as json]))

(def base-fields
  "The base set of fields to select from Elasticsearch"
  ["concept-id" "revision-id" "name" "provider-id" "description" "legacy-guid" "member-count"]

(def fields-with-members
  "The fields to select from Elasticsearch if members should be included"
  (conj base-fields "members"))
<commit_msg>CMR-3387: Fixing missing paren<commit_after>(ns cmr.access-control.data.group-json-results-handler
  "Handles extracting elasticsearch group results and converting them into a JSON search response."
  (:require [cmr.common-app.services.search.elastic-results-to-query-results :as elastic-results]
            [cmr.common-app.services.search.elastic-search-index :as elastic-search-index]
            [cmr.common-app.services.search :as qs]
            [cmr.common.util :as util]
            [cheshire.core :as json]))

(def base-fields
  "The base set of fields to select from Elasticsearch"
  ["concept-id" "revision-id" "name" "provider-id" "description" "legacy-guid" "member-count"])

(def fields-with-members
  "The fields to select from Elasticsearch if members should be included"
  (conj base-fields "members"))

{'fraction_non_alphanumeric': 0.1189889025893958, 'fraction_numerical': 0.002466091245376079, 'mean_word_length': 3.7043478260869565, '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': '5454346', 'n_tokens_mistral': 503, 'n_tokens_neox': 488, 'n_words': 133}