<commit_before>if defined?(DataMapper)
  module AttrEncrypted
    module Adapters
      module DataMapper
        def self.extended(base) # :nodoc:
          class << base
            alias_method :included_without_attr_encrypted, :included
            alias_method :included, :included_with_attr_encrypted
          end
        end

        def included_with_attr_encrypted(base)
          included_without_attr_encrypted(base)
          base.extend AttrEncrypted
          base.attr_encrypted_options[:encode] = true
        end
      end
    end
  end

  DataMapper::Resource.extend AttrEncrypted::Adapters::DataMapper
end<commit_msg>Attempt conversion of data mapper<commit_after>if defined?(DataMapper)
  module AttrRedactor
    module Adapters
      module DataMapper
        def self.extended(base) # :nodoc:
          class << base
            alias_method :included_without_attr_redactor, :included
            alias_method :included, :included_with_attr_redactor
          end
        end

        def included_with_attr_redactor(base)
          included_without_attr_redactor(base)
          base.extend AttrRedactor
        end
      end
    end
  end

  DataMapper::Resource.extend AttrRedactor::Adapters::DataMapper
end
{'fraction_non_alphanumeric': 0.05596107055961071, 'fraction_numerical': 0.0, 'mean_word_length': 2.6187683284457477, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6332875', 'n_tokens_mistral': 356, 'n_tokens_neox': 338, 'n_words': 71}