<commit_before>class User < ActiveRecord::Base
  belongs_to :group
  has_many :requests, as: :requester
  has_many :requests, as: :responder
  has_many :votes, as: :voter
  has_many :votes, as: :candidate

  validates :first_name, :last_name, presence: true
  validates :email, presence: true, uniqueness: true
  validates :username, :avatar, :uid, presence: true
  validates :uid, uniqueness: true
  validates :group, presence: true
end<commit_msg>Delete uid and username validations to satisify auth0 constraints<commit_after>class User < ActiveRecord::Base
  belongs_to :group
  has_many :requests, as: :requester
  has_many :requests, as: :responder
  has_many :votes, as: :voter
  has_many :votes, as: :candidate

  validates :first_name, :last_name, presence: true
  validates :email, presence: true, uniqueness: true
  validates :group, presence: true
end
{'fraction_non_alphanumeric': 0.0951276102088167, 'fraction_numerical': 0.001160092807424594, 'mean_word_length': 5.587786259541985, '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': '4966178', 'n_tokens_mistral': 283, 'n_tokens_neox': 279, 'n_words': 91}