<commit_before>class Valuator < ActiveRecord::Base
  belongs_to :user, touch: true
  delegate :name, :email, to: :user

  has_many :valuation_assignments, dependent: :destroy
  has_many :spending_proposals, through: :valuation_assignments

  validates :user_id, presence: true, uniqueness: true
end<commit_msg>adds name and email for valuators<commit_after>class Valuator < ActiveRecord::Base
  belongs_to :user, touch: true
  delegate :name, :email, to: :user

  has_many :valuation_assignments, dependent: :destroy
  has_many :spending_proposals, through: :valuation_assignments

  validates :user_id, presence: true, uniqueness: true

  def name_and_email
    "#{name} (#{email})"
  end
end
{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.0, 'mean_word_length': 6.081632653061225, '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': '5733935', 'n_tokens_mistral': 230, 'n_tokens_neox': 225, 'n_words': 63}