<commit_before>class User < ActiveRecord::Base
  has_secure_password

  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  # has_many :interests
  has_many :problems
  has_many :solutions
  has_many :improvements
  has_many :votes, as: :voteable

  def voteables<commit_msg>overwriting user.rb<commit_after>class User < ActiveRecord::Base
  
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  # has_many :interests
  has_many :problems
  has_many :solutions
  has_many :improvements
  has_many :votes, as: :voteable

  def voteables
{'fraction_non_alphanumeric': 0.0803030303030303, 'fraction_numerical': 0.0, 'mean_word_length': 5.12037037037037, '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': '6392517', 'n_tokens_mistral': 225, 'n_tokens_neox': 211, 'n_words': 49}