<commit_before>module AssetHat
  module Version
    MAJOR = 0
    MINOR = 1
    TINY  = 0

    STRING = [MAJOR, MINOR, TINY].join('.')
  end

  VERSION = Version::STRING
end<commit_msg>Rewrote AssetHat::VERSION to be based on VERSION.yml<commit_after>module AssetHat
  def self.version
    data_filepath = File.join(File.dirname(__FILE__), %w[.. .. VERSION.yml])
    data = YAML.load(File.open(data_filepath, 'r'))
    [:major, :minor, :patch, :build].
      map { |x| data[x] }.reject(&:blank?).join('.')
  end

  VERSION = self.version

end
{'fraction_non_alphanumeric': 0.15313653136531366, 'fraction_numerical': 0.005535055350553505, 'mean_word_length': 3.344, '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': '4116942', 'n_tokens_mistral': 217, 'n_tokens_neox': 201, 'n_words': 46}