<commit_before>module AdvisorsCommandClient
  module Models
    class Contact < Base
      attribute :id, Integer
      attribute :nickname, String
      attribute :first_name, String
      attribute :middle_name, String
      attribute :last_name, String
      attribute :gender
      attribute :birthday
      attribute :created_at, DateTime
      attribute :updated_at, DateTime

      attribute :emails, Array[String]
      attribute :phones, Array[String]


      def full_name
        [first_name, middle_name, last_name].compact.join(' ')
      end
    end
  end
end<commit_msg>Improved model attributes for contacts.<commit_after>module AdvisorsCommandClient
  module Models
    class Contact < Base
      attribute :id, Integer
      attribute :nickname, String
      attribute :first_name, String
      attribute :middle_name, String
      attribute :last_name, String
      attribute :gender, String
      attribute :birthday, DateTime
      attribute :email, String
      attribute :created_at, DateTime
      attribute :updated_at, DateTime

      attribute :emails, Array[Hash]
      attribute :phones, Array[Hash]
      attribute :addresses, Array[Hash]


      def full_name
        [first_name, middle_name, last_name].compact.join(' ')
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.0663544106167057, 'fraction_numerical': 0.0, 'mean_word_length': 2.908536585365854, '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': '6531543', 'n_tokens_mistral': 345, 'n_tokens_neox': 331, 'n_words': 105}