<commit_before>class AuthStrategy
  extend ConfigurableGlobal

  def protect_from_forgery(controller)
    controller.protect_from_forgery with: :exception
  end

  def logout_redirection_url(controller)
    controller.after_logout_redirection_url
  end

  def html_badge
    ''
  end

  def auth_init_partial
    'layouts/auth_partials/null_partial.html.erb'
  end

  def self.get_current
    auth_strategy = Rails.configuration.auth_provider.downcase
    case auth_strategy
      when 'developer'
        AuthStrategy::DeveloperStrategy.new
      when 'saml'
        AuthStrategy::SamlStrategy.new
      when 'auth0'<commit_msg>Remove unnecesary downcase<commit_after>class AuthStrategy
  extend ConfigurableGlobal

  def protect_from_forgery(controller)
    controller.protect_from_forgery with: :exception
  end

  def logout_redirection_url(controller)
    controller.after_logout_redirection_url
  end

  def html_badge
    ''
  end

  def auth_init_partial
    'layouts/auth_partials/null_partial.html.erb'
  end

  def self.get_current
    auth_strategy = Rails.configuration.auth_provider
    case auth_strategy
      when 'developer'
        AuthStrategy::DeveloperStrategy.new
      when 'saml'
        AuthStrategy::SamlStrategy.new
      when 'auth0'
{'fraction_non_alphanumeric': 0.056259904912836764, 'fraction_numerical': 0.001584786053882726, 'mean_word_length': 3.784090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4410601', 'n_tokens_mistral': 404, 'n_tokens_neox': 383, 'n_words': 71}