<commit_before>require 'protoable/convert'
require 'protoable/errors'
require 'protoable/fields'
require 'protoable/persistence'
require 'protoable/serialization'

module Protoable
  def self.included(klass)
    klass.extend Protoable::ClassMethods
    klass.extend Protoable::Fields

    klass.__send__(:include, Protoable::Convert)
    klass.__send__(:include, Protoable::Persistence)
    klass.__send__(:include, Protoable::Serialization)
  end

  module ClassMethods
    def _protobuf_base_model
      self
    end
  end

  def _protobuf_base_model
    self.class._protobuf_base_model
  end
end<commit_msg>Don't need the base-model helpers any more.<commit_after>require 'protoable/convert'
require 'protoable/errors'
require 'protoable/fields'
require 'protoable/persistence'
require 'protoable/serialization'

module Protoable
  def self.included(klass)
    klass.extend Protoable::Fields

    klass.__send__(:include, Protoable::Convert)
    klass.__send__(:include, Protoable::Persistence)
    klass.__send__(:include, Protoable::Serialization)
  end
end
{'fraction_non_alphanumeric': 0.09227871939736347, 'fraction_numerical': 0.0, 'mean_word_length': 5.365269461077844, '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': '4285770', 'n_tokens_mistral': 323, 'n_tokens_neox': 330, 'n_words': 66}