<commit_before>- content_for :content do
  .row
    .content-wrap.columns.medium-10.large-10
      .panel
        %dl.tabs
          %select.forum-tag-select.right{onchange: "this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"}
            %option{value: "/discuss/", selected: ("selected" unless @category.present?)} All Categories
            - @categories.each do |category|
              %option{value: "/discuss/topics/tagged/#{category.parameterize}", selected: ("selected" if @category.present? && @category == category.parameterize)}= category
          %dd{ class: ("active" unless params[:order_by] == 'top') }
            = link_to "Latest", "/discuss/latest"
          %dd{ class: ("active" if params[:order_by] == 'top') }
            = link_to "Top", "/discuss/top"
        .content
          %table.borderless.forum-table
            %thead
              %tr
                %th Topic
                %th.text-center Replies
                %th.text-center Views
                / %th{:colspan => "3"}
            %tbody
              - @topics.each do |topic|
                %tr
                  %td
                    .topic-tags.right
                      - topic.tags.each do |tag|
                        = link_to tag.name, "/discuss/topics/tagged/#{tag}", class: "label secondary"
                    .topic-title
                      = link_to topic.title, topic
                    .topic-meta
                      - if topic.user.present?
                        Started by
                        = link_to topic.user.nickname, main_app.user_path(topic.user)
                  %td.text-center
                    = topic.comments.count
                  %td.text-center
                    Views
                  / %td= link_to 'Show', topic<commit_msg>Adding view count to topics<commit_after>- content_for :content do
  .row
    .content-wrap.columns.medium-10.large-10
      .panel
        %dl.tabs
          %select.forum-tag-select.right{onchange: "this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"}
            %option{value: "/discuss/", selected: ("selected" unless @category.present?)} All Categories
            - @categories.each do |category|
              %option{value: "/discuss/topics/tagged/#{category.parameterize}", selected: ("selected" if @category.present? && @category == category.parameterize)}= category
          %dd{ class: ("active" unless params[:order_by] == 'top') }
            = link_to "Latest", "/discuss/latest"
          %dd{ class: ("active" if params[:order_by] == 'top') }
            = link_to "Top", "/discuss/top"
        .content
          %table.borderless.forum-table
            %thead
              %tr
                %th Topic
                %th.text-center Replies
                %th.text-center Views
                / %th{:colspan => "3"}
            %tbody
              - @topics.each do |topic|
                %tr
                  %td
                    .topic-tags.right
                      - topic.tags.each do |tag|
                        = link_to tag.name, "/discuss/topics/tagged/#{tag}", class: "label secondary"
                    .topic-title
                      = link_to topic.title, topic
                    .topic-meta
                      - if topic.user.present?
                        Started by
                        = link_to topic.user.nickname, main_app.user_path(topic.user)
                  %td.text-center
                    = topic.comments.count
                  %td.text-center
                    = topic.hits
                  / %td= link_to 'Show', topic
{'fraction_non_alphanumeric': 0.1250338294993234, 'fraction_numerical': 0.0027063599458728013, 'mean_word_length': 1.3922330097087379, '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': '2267673', 'n_tokens_mistral': 1033, 'n_tokens_neox': 962, 'n_words': 199}