<commit_before>class DashboardPresenter
  include ActionView::Helpers::TagHelper
  include ActionView::Helpers::UrlHelper
  include ActionView::Context

  attr_reader :user

  def initialize(user)
    @user = user
  end

  def application_links
    applications.map do |application|
      content_tag :li do
        link_to application.name, application.url
      end
    end.join.html_safe
  end

  def has_applications?
    applications.count > 0
  end

  private
<commit_msg>open new applications from the dashboard in new tabs<commit_after>class DashboardPresenter
  include ActionView::Helpers::TagHelper
  include ActionView::Helpers::UrlHelper
  include ActionView::Context

  attr_reader :user

  def initialize(user)
    @user = user
  end

  def application_links
    applications.map do |application|
      content_tag :li do
        link_to application.name, application.url, target: "_blank"
      end
    end.join.html_safe
  end

  def has_applications?
    applications.count > 0
  end

  private

{'fraction_non_alphanumeric': 0.0631786771964462, 'fraction_numerical': 0.0019743336623889436, 'mean_word_length': 3.5470852017937218, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5268978', 'n_tokens_mistral': 297, 'n_tokens_neox': 292, 'n_words': 80}