<commit_before>module WavesUtilities
  class Customer
    attr_accessor(
      :id,
      :name,
      :address_1,
      :address_2,
      :address_3,
      :town,
      :county,
      :postcode,
      :country,
      :nationality,
      :email,
      :phone_number,
      :declared_at,
      :registered_customer_id,
      :imo_number,
      :eligibility_status,
      :date_of_incorporation,
      :registration_number,
      :managing_owner,
      :correspondent,
      :shares_held
    )

    def initialize(params = {})
      params.reject! { |param| !respond_to?(param) }
      assign_attributes(params)
    end

    def to_s
      name
    end

    def assign_attributes(params = {})
      params.each { |key, value| instance_variable_set("@#{key}", value) }
    end

    def inline_address
      [
        address_1,<commit_msg>Add attributes to the Customer class<commit_after>module WavesUtilities
  class Customer
    attr_accessor(
      :id,
      :name,
      :address_1,
      :address_2,
      :address_3,
      :town,
      :county,
      :postcode,
      :country,
      :nationality,
      :email,
      :phone_number,
      :declared_at,
      :registered_customer_id,
      :imo_number,
      :eligibility_status,
      :date_of_incorporation,
      :registration_number,
      :managing_owner,
      :correspondent,
      :shares_held,
      :entity_type,
      :eligibility_status
    )

    def initialize(params = {})
      params.reject! { |param| !respond_to?(param) }
      assign_attributes(params)
    end

    def to_s
      name
    end

    def assign_attributes(params = {})
      params.each { |key, value| instance_variable_set("@#{key}", value) }
    end

    def inline_address
      [
        address_1,
{'fraction_non_alphanumeric': 0.09988518943742825, 'fraction_numerical': 0.004592422502870264, 'mean_word_length': 2.169090909090909, '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': '644689', 'n_tokens_mistral': 580, 'n_tokens_neox': 570, 'n_words': 102}