<commit_before>class UsersController < ApplicationController
  before_filter :authenticate_user!, only: :index
 
  def index
    @users = User.paginate(page: params[:page])
  end

  def show
    @user = User.find_by_username(params[:id])
    @points = @user.points.paginate(page: params[:page])
  end
end<commit_msg>Let's only show a few points per page on the user's page<commit_after>class UsersController < ApplicationController
  before_filter :authenticate_user!, only: :index
 
  def index
    @users = User.paginate(page: params[:page])
  end

  def show
    @user = User.find_by_username(params[:id])
    @points = @user.points.paginate(page: params[:page], :per_page => 5)
  end
end
{'fraction_non_alphanumeric': 0.11577424023154848, 'fraction_numerical': 0.001447178002894356, 'mean_word_length': 4.626016260162602, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5197872', 'n_tokens_mistral': 228, 'n_tokens_neox': 214, 'n_words': 56}