<commit_before>module AuthsHelper
  def current_user
    if session[:id]
      @current_user ||= User.find(session[:id])
    end
  end

  def logged_in?
    !current_user.nil?
  end

  def current_admin
  	p "*" * 20
  	p session[:id]
  	p "*" * 20
  	p "*" * 20
  	User.find(session[:id]).is_admin
  end
end<commit_msg>removing Ps<commit_after>module AuthsHelper
  def current_user
    if session[:id]
      @current_user ||= User.find(session[:id])
    end
  end

  def logged_in?
    !current_user.nil?
  end

  def current_admin
  	User.find(session[:id]).is_admin
  end
end
{'fraction_non_alphanumeric': 0.11937716262975778, 'fraction_numerical': 0.010380622837370242, 'mean_word_length': 3.0208333333333335, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3597330', 'n_tokens_mistral': 228, 'n_tokens_neox': 216, 'n_words': 46}