<commit_before># frozen_string_literal: true

# Preview all emails at http://localhost:3000/rails/mailers/devise/mailer
class Devise::MailerPreview < ActionMailer::Preview
  def confirmation_instructions
    user = FactoryBot.create(:user)

    token = SecureRandom.base58

    Devise::Mailer.confirmation_instructions(user, token)
  end

  def reset_password_instructions
    user = FactoryBot.create(:user)

    token = SecureRandom.base58

    Devise::Mailer.reset_password_instructions(user, token)
  end

  # def unlock_instructions
  #   user = FactoryBot.create(:user)
  #
  #   token = SecureRandom.base58
  #
  #   Devise::Mailer.unlock_instructions(user, token)
  # end
<commit_msg>Cleanup<commit_after># frozen_string_literal: true

# Preview all emails at http://localhost:3000/rails/mailers/devise/mailer
class Devise::MailerPreview < ActionMailer::Preview
  def confirmation_instructions
    user = FactoryBot.create(:user)

    token = SecureRandom.base58

    Devise::Mailer.confirmation_instructions(user, token)
  end

  def reset_password_instructions
    user = FactoryBot.create(:user)

    token = SecureRandom.base58

    Devise::Mailer.reset_password_instructions(user, token)
  end

{'fraction_non_alphanumeric': 0.09113504556752279, 'fraction_numerical': 0.014913007456503728, 'mean_word_length': 4.671361502347418, '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': '4931039', 'n_tokens_mistral': 400, 'n_tokens_neox': 370, 'n_words': 67}