<commit_before>module Devise
  autoload :Schema, 'devise/schema'
  autoload :Mapping, 'devise/mapping'
  autoload :FailureApp, 'devise/failure_app'

  ALL = [:authenticatable, :confirmable, :recoverable, :rememberable,
         :timeoutable, :trackable, :validatable]

  # Maps controller names to devise modules
  CONTROLLERS = {
    :sessions => [:authenticatable],
    :passwords => [:recoverable],
    :confirmations => [:confirmable]
  }.freeze

  STRATEGIES  = [:authenticatable]
  SERIALIZERS = [:authenticatable, :rememberable]
  TRUE_VALUES = [true, 1, '1', 't', 'T', 'true', 'TRUE']

  # Maps the messages types that are used in flash message. This array is not
  # frozen, so you can add messages from your own strategies.
  FLASH_MESSAGES = [ :unauthenticated, :unconfirmed, :invalid, :timeout ]

  # Declare encryptors length which are used in migrations.
  ENCRYPTORS_LENGTH = {
    :sha1   => 40,
    :sha512 => 128,
    :clearance_sha1 => 40,
    :restful_authentication_sha1 => 40,
    :authlogic_sha512 => 128
  }

  # Used to encrypt password. Please generate one with rake secret.
  mattr_accessor :pepper
  @@pepper = nil

  # The number of times to encrypt password.
  mattr_accessor :stretches
  @@stretches = 10

  # Keys used when authenticating an user.
  mattr_accessor :authentication_keys<commit_msg>Unfreeze Devise::CONTROLLERS as well.<commit_after>module Devise
  autoload :Schema, 'devise/schema'
  autoload :Mapping, 'devise/mapping'
  autoload :FailureApp, 'devise/failure_app'

  ALL = [:authenticatable, :confirmable, :recoverable, :rememberable,
         :timeoutable, :trackable, :validatable]

  # Maps controller names to devise modules
  CONTROLLERS = {
    :sessions => [:authenticatable],
    :passwords => [:recoverable],
    :confirmations => [:confirmable]
  }

  STRATEGIES  = [:authenticatable]
  SERIALIZERS = [:authenticatable, :rememberable]
  TRUE_VALUES = [true, 1, '1', 't', 'T', 'true', 'TRUE']

  # Maps the messages types that are used in flash message. This array is not
  # frozen, so you can add messages from your own strategies.
  FLASH_MESSAGES = [ :unauthenticated, :unconfirmed, :invalid, :timeout ]

  # Declare encryptors length which are used in migrations.
  ENCRYPTORS_LENGTH = {
    :sha1   => 40,
    :sha512 => 128,
    :clearance_sha1 => 40,
    :restful_authentication_sha1 => 40,
    :authlogic_sha512 => 128
  }

  # Used to encrypt password. Please generate one with rake secret.
  mattr_accessor :pepper
  @@pepper = nil

  # The number of times to encrypt password.
  mattr_accessor :stretches
  @@stretches = 10

  # Keys used when authenticating an user.
  mattr_accessor :authentication_keys
{'fraction_non_alphanumeric': 0.10766355140186916, 'fraction_numerical': 0.018691588785046728, 'mean_word_length': 3.9925373134328357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '1819318', 'n_tokens_mistral': 959, 'n_tokens_neox': 861, 'n_words': 255}