<commit_before>require "hashie"
require "yaml"

class Climine::Config < Hashie::Mash
  def initialize
    super YAML.load_file('config.yml')
  end
end<commit_msg>find config path in ENV<commit_after>require "hashie"
require "yaml"

class Climine::Config < Hashie::Mash
  def initialize
    super YAML.load_file(ENV['CLIMINE_CONF'] || 'config.yml')
  end
end
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.0, 'mean_word_length': 5.509090909090909, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5071507', 'n_tokens_mistral': 130, 'n_tokens_neox': 125, 'n_words': 30}