<commit_before>- if (self.show_page_number)
  .pl-head= self.t('forum.page_separator', { page: self.show_page_number })

- each post in self.posts
  article.forum-post.clearfix(id='post#{post.id}', itemscope, itemtype='http://schema.org/WebPageElement')
    footer.post-meta.clearfix
      - if (self.users[post.user])
        a.usercard-popover.post-author.pull-left(
          href=self.link_to('users.member', self.users[post.user]),
          data-user-id=String(post.user)) #{self.users[post.user]._uname}
      .pull-right
        time.post-time(itemprop='datePublished', datetime=self.date(post.ts, 'iso')) #{self.date(post.ts, 'date')}
        - var _post_anchor = self.link_to('forum.thread', self.thread) + 'post' + post.id;
        a.post-permalink(href=_post_anchor) #
        input.post-check(type='checkbox')
    .post-aside
      - if (self.users[post.user])
        a.post-userpic(href='#')
          img.av-xl(alt='#{self.users[post.user]._uname}',src='http://lorempixel.com/150/150/sports/a' + '#{self.users[post.user].id}')
      - else
        .av-xl
    .post-content
      .message= post.text
      footer.post-controls.clearfix
        ul.pull-left
          li: a.post-action(href='#')= self.t('forum.post.report')
          li: a.post-action(href='#')= self.t('forum.post.ip_show')
        ul.pull-right
          li: a.post-action.icon-reply(href='#')= self.t('forum.post.reply')
          li: a.post-action(href='#')= self.t('forum.post.edit')
          li: a.post-action(href='#')= self.t('forum.post.delete')
          li
            a.vote-up.icon-vote-up(href='#')
            span.vote-count +47
            a.vote-down.icon-vote-down(href='#')
<commit_msg>partially fixed invalid posts anchors<commit_after>- if (self.show_page_number)
  .pl-head= self.t('forum.page_separator', { page: self.show_page_number })

- each post in self.posts
  article.forum-post.clearfix(id='post#{post.id}', itemscope, itemtype='http://schema.org/WebPageElement')
    footer.post-meta.clearfix
      - if (self.users[post.user])
        a.usercard-popover.post-author.pull-left(
          href=self.link_to('users.member', self.users[post.user]),
          data-user-id=String(post.user)) #{self.users[post.user]._uname}
      .pull-right
        time.post-time(itemprop='datePublished', datetime=self.date(post.ts, 'iso')) #{self.date(post.ts, 'date')}
        - var _post_anchor = self.link_to('forum.thread', self.thread) + '#post' + post.id;
        a.post-permalink(href=_post_anchor) #
        input.post-check(type='checkbox')
    .post-aside
      - if (self.users[post.user])
        a.post-userpic(href='#')
          img.av-xl(alt='#{self.users[post.user]._uname}',src='http://lorempixel.com/150/150/sports/a' + '#{self.users[post.user].id}')
      - else
        .av-xl
    .post-content
      .message= post.text
      footer.post-controls.clearfix
        ul.pull-left
          li: a.post-action(href='#')= self.t('forum.post.report')
          li: a.post-action(href='#')= self.t('forum.post.ip_show')
        ul.pull-right
          li: a.post-action.icon-reply(href='#')= self.t('forum.post.reply')
          li: a.post-action(href='#')= self.t('forum.post.edit')
          li: a.post-action(href='#')= self.t('forum.post.delete')
          li
            a.vote-up.icon-vote-up(href='#')
            span.vote-count +47
            a.vote-down.icon-vote-down(href='#')

{'fraction_non_alphanumeric': 0.19365265941816046, 'fraction_numerical': 0.0047017337643255955, 'mean_word_length': 2.6484458735262595, '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': '7650165', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1225, 'n_words': 144}