<commit_before>#require 'active-model'
require 'loggable'
require 'active_support/core_ext/hash'
require 'YAML'
require 'URI'
require 'rubyhorn/version'

module Rubyhorn
  autoload :MatterhornClient, "rubyhorn/matterhorn_client"
  autoload :Workflow, "rubyhorn/workflow"

  class << self
    attr_accessor :config, :config_path, :config_options
  end

  @config ||= {}
  @config_options ||= {}

  # Initializes Rubyhorn based on the info in matterhorn.yml
  # 
  # If Rails.env is set, it will use that environment.  Defaults to "development".
  # @param [Hash] options (optional) a list of options for the configuration of rubyhorn<commit_msg>Lowercased YAML and URI require statements to get tests to pass on CI server<commit_after>#require 'active-model'
require 'loggable'
require 'active_support/core_ext/hash'
require 'yaml'
require 'uri'
require 'rubyhorn/version'

module Rubyhorn
  autoload :MatterhornClient, "rubyhorn/matterhorn_client"
  autoload :Workflow, "rubyhorn/workflow"

  class << self
    attr_accessor :config, :config_path, :config_options
  end

  @config ||= {}
  @config_options ||= {}

  # Initializes Rubyhorn based on the info in matterhorn.yml
  # 
  # If Rails.env is set, it will use that environment.  Defaults to "development".
  # @param [Hash] options (optional) a list of options for the configuration of rubyhorn
{'fraction_non_alphanumeric': 0.09622501850481126, 'fraction_numerical': 0.0, 'mean_word_length': 4.777777777777778, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7342233', 'n_tokens_mistral': 445, 'n_tokens_neox': 415, 'n_words': 136}