<commit_before>class UsersController < ApplicationController
  before_filter :authenticate

  def feed
    response = client.user_media_feed params
    @photos = response.data
    @pagination = response.pagination
    @user = client.user
  end

  def self
    redirect_to recent_url(id: session[:user][:id])
  end

  def recent
    id = params.delete :id
    response = client.user_recent_media id, params
    @photos = response.data
    @pagination = response.pagination
    @user = client.user id
    unless mine? id
      @relationship = client.user_relationship id
    end
  end

  def liked
    response = client.user_liked_media params
    @photos = response.data
    @pagination = response.pagination
    @user = client.user
  end

end<commit_msg>Change users photos load count to 100.<commit_after>class UsersController < ApplicationController
  before_filter :authenticate

  def feed
    response = client.user_media_feed params.merge(count: 100)
    @photos = response.data
    @pagination = response.pagination
    @user = client.user
  end

  def self
    redirect_to recent_url(id: session[:user][:id])
  end

  def recent
    id = params.delete :id
    response = client.user_recent_media id, params.merge(count: 100)
    @photos = response.data
    @pagination = response.pagination
    @user = client.user id
    unless mine? id
      @relationship = client.user_relationship id
    end
  end

  def liked
    response = client.user_liked_media params.merge(count: 100)
    @photos = response.data
    @pagination = response.pagination
    @user = client.user
  end

end
{'fraction_non_alphanumeric': 0.07750472589792061, 'fraction_numerical': 0.007561436672967864, 'mean_word_length': 3.223404255319149, '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': '3085865', 'n_tokens_mistral': 498, 'n_tokens_neox': 461, 'n_words': 128}