<commit_before>class Identity < ActiveRecord::Base
  belongs_to :user

  def self.create_with_omniauth(auth)
    Identity.create({
      provider: auth[:provider],
      uid: auth[:uid],
      token: auth[:some_hash],
      first_name: auth[:info][:first_name],
      last_name: auth[:info][:last_name],
      email: auth[:info][:email]<commit_msg>fixed identities hash, i think<commit_after>class Identity < ActiveRecord::Base
  belongs_to :user

  def self.create_with_omniauth(auth)
    Identity.create({
      provider: auth[:provider],
      uid: auth[:uid],
      token: auth[:token],
      first_name: auth[:info][:first_name],
      last_name: auth[:info][:last_name],
      email: auth[:info][:email]
{'fraction_non_alphanumeric': 0.14527503526093088, 'fraction_numerical': 0.0, 'mean_word_length': 4.107913669064748, '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': '5793661', 'n_tokens_mistral': 226, 'n_tokens_neox': 222, 'n_words': 43}