<commit_before>- content_for :breadcrumbs do
  = link_to "Continuities", boards_path
  &raquo;
  = link_to @post.board.name, board_path(@post.board)
  - if @post.section
    &raquo;
    = link_to @post.section.name, board_section_path(@post.section)
  &raquo;
  = link_to @post.subject, post_path(@post)
  &raquo;
  %b Stats

%table#stats
  %thead
    %tr
      %th{colspan: 2}
        Stats:
        = link_to @post.subject, post_path(@post)
  %tbody
    %tr
      %td.sub.width-150 Authors
      %td.even= @post.authors.sort_by { |author| author.username.downcase }.map { |author| link_to author.username, user_path(author) }.join(', ').html_safe
    - if @post.settings.present?
      %tr
        %td.sub.width-150 Setting
        %td{class: cycle('odd', 'even')}= @post.settings.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    %tr
      %td.sub.width-150.vtop Characters
      %td{class: cycle('odd', 'even')}
        - if @post.characters.count > 2
          %ul
            - @post.characters.each do |character|
              %li= link_to character.name, character_path(character)
        - else
          = @post.characters.map { |character| link_to character.name, character_path(character) }.join(', ').html_safe
    - if @post.content_warnings.present?
      %tr
        %td.sub.width-150 Content Warnings
        %td{class: cycle('odd', 'even')}= @post.content_warnings.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    - if @post.labels.present?
      %tr
        %td.sub.width-150 Tags
        %td{class: cycle('odd', 'even')}= @post.labels.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    %tr
      %td.sub.width-150 Word Count
      %td{class: cycle('odd', 'even')}= @post.total_word_count
    %tr
      %td.sub.width-150 Audience
      %td{class: cycle('odd', 'even')}
        - case @post.privacy
        - when Post::PRIVACY_PUBLIC
          = image_tag "/images/world.png", class: 'vmid', title: "Public"
          Public
        - when Post::PRIVACY_REGISTERED
          = image_tag "/images/star.png", class: 'vmid', title: "Constellation Users"
          Constellation Users
        - when Post::PRIVACY_LIST
          = image_tag "/images/group.png", class: 'vmid', title: "Access list"
          Access List -
          - @post.post_viewers.each_with_index do |viewer, i|
            - if i < @post.post_viewers.count - 1
              = succeed ',' do
                = link_to viewer.user.username, user_path(viewer.user)
            - else
              = link_to viewer.user.username, user_path(viewer.user)
        - else
          = image_tag "/images/lock.png", class: 'vmid', title: "Private"
          Private
    %tr
      %td.sub.width-150 Time Begun
      %td{class: cycle('odd', 'even')}= pretty_time(@post.created_at)<commit_msg>Fix one more title for Tag/Label<commit_after>- content_for :breadcrumbs do
  = link_to "Continuities", boards_path
  &raquo;
  = link_to @post.board.name, board_path(@post.board)
  - if @post.section
    &raquo;
    = link_to @post.section.name, board_section_path(@post.section)
  &raquo;
  = link_to @post.subject, post_path(@post)
  &raquo;
  %b Stats

%table#stats
  %thead
    %tr
      %th{colspan: 2}
        Stats:
        = link_to @post.subject, post_path(@post)
  %tbody
    %tr
      %td.sub.width-150 Authors
      %td.even= @post.authors.sort_by { |author| author.username.downcase }.map { |author| link_to author.username, user_path(author) }.join(', ').html_safe
    - if @post.settings.present?
      %tr
        %td.sub.width-150 Setting
        %td{class: cycle('odd', 'even')}= @post.settings.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    %tr
      %td.sub.width-150.vtop Characters
      %td{class: cycle('odd', 'even')}
        - if @post.characters.count > 2
          %ul
            - @post.characters.each do |character|
              %li= link_to character.name, character_path(character)
        - else
          = @post.characters.map { |character| link_to character.name, character_path(character) }.join(', ').html_safe
    - if @post.content_warnings.present?
      %tr
        %td.sub.width-150 Content Warnings
        %td{class: cycle('odd', 'even')}= @post.content_warnings.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    - if @post.labels.present?
      %tr
        %td.sub.width-150 Labels
        %td{class: cycle('odd', 'even')}= @post.labels.map { |tag| link_to tag.name, tag_path(tag) }.join(', ').html_safe
    %tr
      %td.sub.width-150 Word Count
      %td{class: cycle('odd', 'even')}= @post.total_word_count
    %tr
      %td.sub.width-150 Audience
      %td{class: cycle('odd', 'even')}
        - case @post.privacy
        - when Post::PRIVACY_PUBLIC
          = image_tag "/images/world.png", class: 'vmid', title: "Public"
          Public
        - when Post::PRIVACY_REGISTERED
          = image_tag "/images/star.png", class: 'vmid', title: "Constellation Users"
          Constellation Users
        - when Post::PRIVACY_LIST
          = image_tag "/images/group.png", class: 'vmid', title: "Access list"
          Access List -
          - @post.post_viewers.each_with_index do |viewer, i|
            - if i < @post.post_viewers.count - 1
              = succeed ',' do
                = link_to viewer.user.username, user_path(viewer.user)
            - else
              = link_to viewer.user.username, user_path(viewer.user)
        - else
          = image_tag "/images/lock.png", class: 'vmid', title: "Private"
          Private
    %tr
      %td.sub.width-150 Time Begun
      %td{class: cycle('odd', 'even')}= pretty_time(@post.created_at)
{'fraction_non_alphanumeric': 0.15099314466514327, 'fraction_numerical': 0.009492002109333802, 'mean_word_length': 2.4256472004816376, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1651572', 'n_tokens_mistral': 2020, 'n_tokens_neox': 1954, 'n_words': 402}