<commit_before>require 'active_record'

require "drafting/version"
require "drafting/base_class_methods"
require "drafting/class_methods"
require "drafting/instance_methods"
require "drafting/draft"

module Drafting
  def self.included base
    base.class_exec do
      extend BaseClassMethods
    end
  end
end

ActiveRecord::Base.send :include, Drafting<commit_msg>Simplify extending ActiveRecord<commit_after>require 'active_record'

require "drafting/version"
require "drafting/base_class_methods"
require "drafting/class_methods"
require "drafting/instance_methods"
require "drafting/draft"

ActiveRecord::Base.extend Drafting::BaseClassMethods
{'fraction_non_alphanumeric': 0.08012326656394453, 'fraction_numerical': 0.0, 'mean_word_length': 7.227848101265823, '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': '4462764', 'n_tokens_mistral': 197, 'n_tokens_neox': 190, 'n_words': 42}