<commit_before>class Api::V2::PeopleController < Api::V2::BaseController
  def index
    @entities = EntitiesProvider.new(current_user, :people).for(get_document_ids)
    render 'api/v2/shared/entities'
  end

  def show
    @person = Person.find(params[:id])
    render 'api/v2/shared/entity'
  end
end<commit_msg>[aphrodite] Fix show people bug<commit_after>class Api::V2::PeopleController < Api::V2::BaseController
  def index
    @entities = EntitiesProvider.new(current_user, :people).for(get_document_ids)
    render 'api/v2/shared/entities'
  end

  def show
    @entity = Person.find(params[:id])
    render 'api/v2/shared/entity'
  end
end
{'fraction_non_alphanumeric': 0.12654320987654322, 'fraction_numerical': 0.012345679012345678, 'mean_word_length': 4.643478260869565, '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': '931180', 'n_tokens_mistral': 221, 'n_tokens_neox': 225, 'n_words': 41}