<commit_before>module Dtime
  # Class for handling api configuration options
  # and making them available at Dtime.config
  module Configuration

    VALID_CONFIG_KEYS = [
      :adapter,
      :client_id,
      :client_secret,
      :oauth_token,
      :endpoint,
      :mime_type,
      :user_agent,
      :connection_options,
      :verbose_errors,
      :login,
      :caching_options,
      :password
    ].freeze

    # Other adapters are :typhoeus, :patron, :em_synchrony, :excon, :test
    DEFAULT_ADAPTER = :net_http_persistent

    # By default, set to dtime public api
    DEFAULT_CLIENT_ID = '4ee43e9abce748bebf000004'.freeze

    # By default, set to dtime public api
    DEFAULT_CLIENT_SECRET = 'b7eb9457239007ad77b66fb0dd32900027ad1b7eb9457d6fb0dd5412ae'.freeze

    # By default, don't set a user oauth access token
    DEFAULT_OAUTH_TOKEN = nil

    # By default, don't set a user login name
    DEFAULT_LOGIN = nil

    # By default, don't set a user password
    DEFAULT_PASSWORD = nil

    # The endpoint used to connect to Dtime if none is set
    DEFAULT_ENDPOINT = 'https://api.dtime.com'.freeze

    # The value sent in the http header for 'User-Agent' if none is set
    DEFAULT_USER_AGENT = "Dtime Ruby Gem #{Dtime::VERSION}".freeze

    # By default the <tt>Accept</tt> header will make a request for <tt>JSON</tt>
    DEFAULT_MIME_TYPE = :json<commit_msg>Defaulting to persistent bad idea<commit_after>module Dtime
  # Class for handling api configuration options
  # and making them available at Dtime.config
  module Configuration

    VALID_CONFIG_KEYS = [
      :adapter,
      :client_id,
      :client_secret,
      :oauth_token,
      :endpoint,
      :mime_type,
      :user_agent,
      :connection_options,
      :verbose_errors,
      :login,
      :caching_options,
      :password
    ].freeze

    # Other adapters are :typhoeus, :patron, :em_synchrony, :excon, :test
    DEFAULT_ADAPTER = :net_http

    # By default, set to dtime public api
    DEFAULT_CLIENT_ID = '4ee43e9abce748bebf000004'.freeze

    # By default, set to dtime public api
    DEFAULT_CLIENT_SECRET = 'b7eb9457239007ad77b66fb0dd32900027ad1b7eb9457d6fb0dd5412ae'.freeze

    # By default, don't set a user oauth access token
    DEFAULT_OAUTH_TOKEN = nil

    # By default, don't set a user login name
    DEFAULT_LOGIN = nil

    # By default, don't set a user password
    DEFAULT_PASSWORD = <PASSWORD>

    # The endpoint used to connect to Dtime if none is set
    DEFAULT_ENDPOINT = 'https://api.dtime.com'.freeze

    # The value sent in the http header for 'User-Agent' if none is set
    DEFAULT_USER_AGENT = "Dtime Ruby Gem #{Dtime::VERSION}".freeze

    # By default the <tt>Accept</tt> header will make a request for <tt>JSON</tt>
    DEFAULT_MIME_TYPE = :json
{'fraction_non_alphanumeric': 0.07614942528735633, 'fraction_numerical': 0.035201149425287355, 'mean_word_length': 3.138187221396731, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '1652178', 'n_tokens_mistral': 978, 'n_tokens_neox': 905, 'n_words': 267}