<commit_before>class UsersController < ApplicationController
  respond_to :json, :html
  def show
    @user = User.find_by_sha(params[:id])
    @ideas = @user.ideas.paginate(:page => params[:page], :per_page => 10)
    respond_with @ideas
  end

  def lookup
    @results = User.fuzzy_search(params[:name]).limit(10)
    respond_with @results
  end
end<commit_msg>changing the query param key to make it more standard<commit_after>class UsersController < ApplicationController
  respond_to :json, :html
  def show
    @user = User.find_by_sha(params[:id])
    @ideas = @user.ideas.paginate(:page => params[:page], :per_page => 10)
    respond_with @ideas
  end

  def lookup
    @results = User.fuzzy_search(params[:query]).limit(10)
    respond_with @results
  end
end
{'fraction_non_alphanumeric': 0.11703511053315994, 'fraction_numerical': 0.010403120936280884, 'mean_word_length': 4.347222222222222, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4720621', 'n_tokens_mistral': 260, 'n_tokens_neox': 249, 'n_words': 60}