<commit_before>class ApplicationController < ActionController::Base
  include Stormpath::Rails::Controller
  protect_from_forgery with: :exception
  before_filter :redirect_https

  def redirect_https
    redirect_to protocol: "https://" unless request.ssl?
    return true
  end

  def set_search
   @search_adie = Adie.search(params[:q])
   @search_company = Company.search(params[:q])
   @search_employee = Employee.search(params[:q])
  end

  # def require_login
  #   byebug
  #   require_authentication!
  # end
<commit_msg>removed redirect from application controller<commit_after>class ApplicationController < ActionController::Base
  include Stormpath::Rails::Controller
  protect_from_forgery with: :exception
  # before_filter :redirect_https
  #
  # def redirect_https
  #   # if Rails.env == :production
  #     redirect_to protocol: "https://" unless request.ssl?
  #     return true
  #   # end
  # end

  def set_search
   @search_adie = Adie.search(params[:q])
   @search_company = Company.search(params[:q])
   @search_employee = Employee.search(params[:q])
  end

  # def require_login
  #   byebug
  #   require_authentication!
  # end

{'fraction_non_alphanumeric': 0.0986159169550173, 'fraction_numerical': 0.0, 'mean_word_length': 4.211711711711712, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7046483', 'n_tokens_mistral': 361, 'n_tokens_neox': 353, 'n_words': 76}