<commit_before>module ModerationHelper
  # @param report [Report]
  def content_url(report)
    target = report.target
    case report.type
      when 'Reports::Answer'
        answer_path target.user.screen_name, target.id
      when 'Reports::Comment'
        answer_path target.answer.user.screen_name, target.answer.id
      when 'Reports::Question'
        question_path 'user', target.id
      when 'Reports::User'
        user_path target
      else
        '#'
    end
  end
end<commit_msg>appease the Cyber Canine 9000<commit_after># frozen_string_literal: true

module ModerationHelper
  # @param report [Report]
  def content_url(report)
    target = report.target
    case report.type
    when "Reports::Answer"
      answer_path target.user.screen_name, target.id
    when "Reports::Comment"
      answer_path target.answer.user.screen_name, target.answer.id
    when "Reports::Question"
      question_path "user", target.id
    when "Reports::User"
      user_path target
    else
      "#"
    end
  end
end
{'fraction_non_alphanumeric': 0.08993157380254155, 'fraction_numerical': 0.0039100684261974585, 'mean_word_length': 2.9536679536679538, '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': '2953566', 'n_tokens_mistral': 320, 'n_tokens_neox': 312, 'n_words': 74}