<commit_before>class DashboardsController < ApplicationController
  def show
    @user = current_user
    @groups = @user.groups
    @relevant_issues = IssueDecorator.decorate(current_user.issues_near_locations.order("updated_at DESC"))
    @subscribed_threads = ThreadListDecorator.decorate(current_user.subscribed_threads.limit(4))
    involved_threads = ThreadList.recent_involved_with(current_user, 4)
    @involved_threads = ThreadListDecorator.decorate(involved_threads)

    group_threads = ThreadList.recent_from_groups(current_user.groups, 4)
    @group_threads = ThreadListDecorator.decorate(group_threads)
  end
end<commit_msg>Display double the number of issues and threads on the dashboard.<commit_after>class DashboardsController < ApplicationController
  def show
    @user = current_user
    @groups = @user.groups

    @relevant_issues = IssueDecorator.decorate(current_user.issues_near_locations.order("updated_at DESC"))

    @subscribed_threads = ThreadListDecorator.decorate(current_user.subscribed_threads.limit(8))

    involved_threads = ThreadList.recent_involved_with(current_user, 8)
    @involved_threads = ThreadListDecorator.decorate(involved_threads)

    group_threads = ThreadList.recent_from_groups(current_user.groups, 8)
    @group_threads = ThreadListDecorator.decorate(group_threads)
  end
end
{'fraction_non_alphanumeric': 0.07738542449286251, 'fraction_numerical': 0.004507888805409466, 'mean_word_length': 6.359116022099448, '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': '2875735', 'n_tokens_mistral': 421, 'n_tokens_neox': 394, 'n_words': 61}