<commit_before>%article
  .info
    %ul.date
      %li.month= @entry.created_at.strftime('%b')
      %li.day= @entry.created_at.day
      %li.year= @entry.created_at.year
    - unless @entry.category.nil?
      %p.category
        %a{ href: url(@entry.category.link) }= @entry.category.title
    - unless @entry.tags.size.zero?
      = @post.tags_to_html
    - if logged_in?
      .edit
        %a{ href: url(@entry.edit_link) }= t('edit')
  %header
    %h1= @entry.title
  .body
    = @entry.body
- unless page?
  %section.comments
    %h1.comment Comments
    - unless @entry.comments.empty
      %ul.comments
        - @entry.comments.reverse.each do |comment|
          %li.comment{ id: "comment-#{comment.id}" }
            .commenter
              %h2.name
                = link_to comment.name, comment.homepage, unless: comment.homepage.blank?
              %p.date
                = l(comment.created_at)
            .body
              = hbr comment.body
    .comment_form
      - if @comment && !@comment.errors.empty?
        #error
          .title= t('error')
          %ul
            - @comment.errors.full_messages.each do |error|
              %li= error
      = form_for @comment, request.path_info, method: :post do |f|
        :javascript
          document.write('<input type="hidden" name="check" value="check" />');
        .reader
          .name<commit_msg>Use `empty?` because undefined method "empty" for []:DataMapper::Collection<commit_after>%article
  .info
    %ul.date
      %li.month= @entry.created_at.strftime('%b')
      %li.day= @entry.created_at.day
      %li.year= @entry.created_at.year
    - unless @entry.category.nil?
      %p.category
        %a{ href: url(@entry.category.link) }= @entry.category.title
    - unless @entry.tags.size.zero?
      = @post.tags_to_html
    - if logged_in?
      .edit
        %a{ href: url(@entry.edit_link) }= t('edit')
  %header
    %h1= @entry.title
  .body
    = @entry.body
- unless page?
  %section.comments
    %h1.comment Comments
    - unless @entry.comments.empty?
      %ul.comments
        - @entry.comments.reverse.each do |comment|
          %li.comment{ id: "comment-#{comment.id}" }
            .commenter
              %h2.name
                = link_to comment.name, comment.homepage, unless: comment.homepage.blank?
              %p.date
                = l(comment.created_at)
            .body
              = hbr comment.body
    .comment_form
      - if @comment && !@comment.errors.empty?
        #error
          .title= t('error')
          %ul
            - @comment.errors.full_messages.each do |error|
              %li= error
      = form_for @comment, request.path_info, method: :post do |f|
        :javascript
          document.write('<input type="hidden" name="check" value="check" />');
        .reader
          .name
{'fraction_non_alphanumeric': 0.1402331331684917, 'fraction_numerical': 0.0021193924408336277, 'mean_word_length': 1.8663967611336032, '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': '5977407', 'n_tokens_mistral': 907, 'n_tokens_neox': 904, 'n_words': 174}