<commit_before>module SiebelDonations
  class Address < Base

    attr_reader :id, :primary, :seasonal, :address1, :address2, :address3, :address4, :city,
                :state, :zip


    def type
      case @type.to_s.downcase
      when 'mailing address', 'ship to', 'ma', 'mailng', 'm', 'billing', 'mailin', 'mailig', 'mailing', 'maling', 'mailign', ''
        'Mailing'
      else
        @type
      end
    end
  end
end


<commit_msg>Another messed up address type<commit_after>module SiebelDonations
  class Address < Base

    attr_reader :id, :primary, :seasonal, :address1, :address2, :address3, :address4, :city,
                :state, :zip


    def type
      case @type.to_s.downcase
      when 'mailing address', 'ship to', 'ma', 'mailng', 'm', 'billing', 'mailin', 'mailig',
           'mailing', 'maling', 'mailign', 'mailingf', ''
        'Mailing'
      else
        @type
      end
    end
  end
end



{'fraction_non_alphanumeric': 0.14146868250539957, 'fraction_numerical': 0.008639308855291577, 'mean_word_length': 2.5517241379310347, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3928354', 'n_tokens_mistral': 322, 'n_tokens_neox': 307, 'n_words': 87}