<commit_before>%row

  .large-3.columns
    = image_tag @user.profile_pic, :size => "128x128"
    %hr
    - if signed_in?
      %section
        =render 'users/stats'

    %hr
    %h4 New Workout:
    = form_for @completion do |f|
      .field
        = f.label :milliseconds
        = f.number_field :milliseconds
      .field
        = f.collection_select :wod_id, Wod.all.collect, :id, :name, include_blank: true
      .actions
        = f.submit "Save"


    / - @user.followed_user_posts.each do |fuposts|
    /   - fuposts.each do |post|
    /     %p= post.user.name + " -> " + post.time

  .large-6.columns
    - @user.followed_user_posts.each do |followed_user_post|
      - followed_user_post.each do |completion|
        .timeline-block
          .large-3.small-3.columns
            =image_tag completion.user.profile_pic
          .large-9.small-9.columns
            = "#{completion.user.name} completed #{Wod.find(completion.wod_id).name} in #{completion.time}"
            .timeline-details= completion.created_at.asctime
            %input{:type => "text"}
            .button.upvote "High five!"
            - completion
            %span= "#{User.vote_count(completion.votes, 'High-Five')} people high fived you!"
            %br/
            .button.downvote "Shame"
            %span= "#{User.vote_count(completion.votes, 'Shame')} people shamed you!"
            %hr/
            .timeline-comments
              - completion.comments.each do |comment|
                .timeline-comment
                  .large-2.small-2.columns
                    =image_tag comment.user.profile_pic
                  .large-10.small-10.columns
                    .timeline-comment= comment.text<commit_msg>change buttons to links; add class for styling<commit_after>%row

  .large-3.columns
    = image_tag @user.profile_pic, :size => "128x128"
    %hr
    - if signed_in?
      %section
        =render 'users/stats'

    %hr
    %h4 New Workout:
    = form_for @completion do |f|
      .field
        = f.label :milliseconds
        = f.number_field :milliseconds
      .field
        = f.collection_select :wod_id, Wod.all.collect, :id, :name, include_blank: true
      .actions
        = f.submit "Save"


    / - @user.followed_user_posts.each do |fuposts|
    /   - fuposts.each do |post|
    /     %p= post.user.name + " -> " + post.time

  .large-6.columns
    - @user.followed_user_posts.each do |followed_user_post|
      - followed_user_post.each do |completion|
        .timeline-block
          .large-3.small-3.columns
            =image_tag completion.user.profile_pic
          .large-9.small-9.columns
            = "#{completion.user.name} completed #{Wod.find(completion.wod_id).name} in #{completion.time}"
            .timeline-details= completion.created_at.asctime
            %input{:type => "text"}
            =link_to "High five!", completion.vote, class: "upvote"
            - completion
            %span= "#{User.vote_count(completion.votes, 'High-Five')} people high fived you!"
            %br/
            =link_to "Shame", completion.vote, class: "downvote"
            %span= "#{User.vote_count(completion.votes, 'Shame')} people shamed you!"
            %hr/
            .timeline-comments
              - completion.comments.each do |comment|
                .timeline-comment
                  .large-2.small-2.columns
                    =image_tag comment.user.profile_pic
                  .large-10.small-10.columns
                    .timeline-comment= comment.text
{'fraction_non_alphanumeric': 0.12361466325660699, 'fraction_numerical': 0.010798522307473715, 'mean_word_length': 1.825040128410915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '903488', 'n_tokens_mistral': 1149, 'n_tokens_neox': 1101, 'n_words': 208}