<commit_before>- reply ||= false
.update
  .byline
    %a.author{:href => "/users/#{update.author.username}"}
      .avatar
        %img{:alt => "avatar", :src => update.author.avatar_url}/
      = update.author.username
  .update-text
    .content
      != update.to_html
    .update-date
      - if reply
        %a{:href => "/updates/#{update.id}"}= update.created_at.ago_in_words
      - else
        = time_ago_in_words(update.created_at)

    .end-links
      -unless current_user.nil? or (current_user.author.id == update.author.id)
        %a.share{:href => "/?share=#{update.id}"} share
        |
        %a.reply{:href => "/?reply=#{update.id}"} reply

      - if current_user and update.author.id == current_user.author.id
        %form{:method => "post", :action => "/updates/#{update.id}"}
          %input{:type => "hidden", :name => "_method", :value => "delete"}
          %input.remove-update{:type => "submit", :value => "I Regret This"}
<commit_msg>Using time_ago_in_words instead of ago_in_words<commit_after>- reply ||= false
.update
  .byline
    %a.author{:href => "/users/#{update.author.username}"}
      .avatar
        %img{:alt => "avatar", :src => update.author.avatar_url}/
      = update.author.username
  .update-text
    .content
      != update.to_html
    .update-date
      - if reply
        %a{:href => "/updates/#{update.id}"}= time_ago_in_words(update.created_at)
      - else
        = time_ago_in_words(update.created_at)

    .end-links
      -unless current_user.nil? or (current_user.author.id == update.author.id)
        %a.share{:href => "/?share=#{update.id}"} share
        |
        %a.reply{:href => "/?reply=#{update.id}"} reply

      - if current_user and update.author.id == current_user.author.id
        %form{:method => "post", :action => "/updates/#{update.id}"}
          %input{:type => "hidden", :name => "_method", :value => "delete"}
          %input.remove-update{:type => "submit", :value => "I Regret This"}

{'fraction_non_alphanumeric': 0.1867408906882591, 'fraction_numerical': 0.0, 'mean_word_length': 2.6076642335766422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '4014818', 'n_tokens_mistral': 680, 'n_tokens_neox': 673, 'n_words': 118}