<commit_before>module Web::Controllers::Contributors
  class Show
    include Web::Action
    include Hanami::Pagination::Action

    expose :contributor, :commits

    def call(params)
      @contributor = ContributorRepository.new.find_by_github(params[:id])
      @commits = all_for_page(CommitRepository.new.all_for_contributor(@contributor.id))
    end

    private

    def limit
      100
    end
  end
end<commit_msg>Delete unnecessary code<commit_after>module Web::Controllers::Contributors
  class Show
    include Web::Action
    include Hanami::Pagination::Action

    expose :contributor, :commits

    def call(params)
      @contributor = ContributorRepository.new.find_by_github(params[:id])
      @commits = all_for_page(CommitRepository.new.all_for_contributor(@contributor.id))
    end
  end
end
{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.0036855036855036856, 'mean_word_length': 4.2243589743589745, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4140231', 'n_tokens_mistral': 258, 'n_tokens_neox': 247, 'n_words': 46}