<commit_before>class CMS::UsersController < ApplicationController
  before_filter :signed_in!
  before_filter :admin!, only: [:sign_in]

  def index
    raise 'stop'
    @users = if params[:q].present?
      User.basic_search(params[:q]).order(:id).page(params[:page]).per(100)
    else
      User.order(:id).page(params[:page]).per(100)
    end
  end

  def new
    @user = User.new
  end

  def sign_in
    session[:admin_id] = current_user.id
    super(User.find(params[:id]))
    redirect_to profile_path
  end<commit_msg>cleanup<commit_after>class CMS::UsersController < ApplicationController
  before_filter :signed_in!
  before_filter :admin!, only: [:sign_in]

  def index
    @users = if params[:q].present?
      User.basic_search(params[:q]).order(:id).page(params[:page]).per(100)
    else
      User.order(:id).page(params[:page]).per(100)
    end
  end

  def new
    @user = User.new
  end

  def sign_in
    session[:admin_id] = current_user.id
    super(User.find(params[:id]))
    redirect_to profile_path
  end
{'fraction_non_alphanumeric': 0.1379980563654033, 'fraction_numerical': 0.011661807580174927, 'mean_word_length': 3.7465437788018434, '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': '3817760', 'n_tokens_mistral': 363, 'n_tokens_neox': 344, 'n_words': 65}