<commit_before>class User
  include Mongoid::Document
  include Mongoid::Timestamps

  validates :email, :presence => true, :email => true

  field :principal_name, type: String
  field :first_name, type: String
  field :last_name, type: String
  field :univesity_domain, type: String
  field :email, type: String
  field :phone, type: String
  field :role, type: String
  field :edu_data, type: Hash

  has_many :position_applications
  has_many :members

  def full_name
    [first_name, last_name].reject(&:blank?).join(' ')
  end

  def university<commit_msg>fix typo in user field name<commit_after>class User
  include Mongoid::Document
  include Mongoid::Timestamps

  validates :email, :presence => true, :email => true

  field :principal_name, type: String
  field :first_name, type: String
  field :last_name, type: String
  field :university_domain, type: String
  field :email, type: String
  field :phone, type: String
  field :role, type: String
  field :edu_data, type: Hash

  has_many :position_applications
  has_many :members

  def full_name
    [first_name, last_name].reject(&:blank?).join(' ')
  end

  def university
{'fraction_non_alphanumeric': 0.09815950920245399, 'fraction_numerical': 0.0, 'mean_word_length': 4.543689320388349, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5274312', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 114}