<commit_before>%w(base filter builder auto_html_for).each do |f|
  require File.expand_path("../auto_html/#{f}", __FILE__)
end

Dir["#{File.dirname(__FILE__) + '/auto_html/filters'}/**/*"].each do |filter|
  require "#{filter}"
end

ActiveRecord::Base.send :include, AutoHtmlFor
<commit_msg>Make auto_html work without activerecord.<commit_after>%w(base filter builder auto_html_for).each do |f|
  require File.expand_path("../auto_html/#{f}", __FILE__)
end

Dir["#{File.dirname(__FILE__) + '/auto_html/filters'}/**/*"].each do |filter|
  require "#{filter}"
end

if defined?(ActiveRecord::Base)
  ActiveRecord::Base.send :include, AutoHtmlFor
end

{'fraction_non_alphanumeric': 0.17901234567901234, 'fraction_numerical': 0.0, 'mean_word_length': 6.131868131868132, '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': '4845411', 'n_tokens_mistral': 216, 'n_tokens_neox': 218, 'n_words': 47}