<commit_before>require "activerecord_preload_economizer/version"

activerecord_version = ActiveRecord.version.to_s
case activerecord_version
when /\A4\.2/
  require 'activerecord_preload_economizer/rails4-2/associations'
else
  puts "activerecord_preload_economizer doesn't yet do anything on ActiveRecord #{activerecord_version}"
end<commit_msg>Fix version comparation<commit_after>require "activerecord_preload_economizer/version"

activerecord_version = ActiveRecord.version
case activerecord_version
when Gem::Requirement.create(['>= 4.2', '< 5'])
  require 'activerecord_preload_economizer/rails4-2/associations'
else
  puts "activerecord_preload_economizer doesn't yet do anything on ActiveRecord #{activerecord_version}"
end
{'fraction_non_alphanumeric': 0.08207934336525308, 'fraction_numerical': 0.012311901504787962, 'mean_word_length': 8.631578947368421, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '657083', 'n_tokens_mistral': 243, 'n_tokens_neox': 212, 'n_words': 45}