<commit_before>.span-20.last
  #profile.span-19.last
    .profile_photo
      = person_image_link(@person)

    %h1
      = @person.real_name
      - unless @person.id == current_user.person.id
        .right
          = link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"
    
    %ul
      -unless @posts.first.nil?
        %li
          %i= "last seen: #{how_long_ago(@posts.first)}"
      - if @person != current_user.person && current_user.friends.include?(@person)
        %li
          %i= "friends since: #{how_long_ago(@person)}"
        %li
          = form_tag move_person_path
          = select :to, :to,  @all_groups
          = hidden_field_tag :from, :from, :value => @groups_with_person.first.id
          = hidden_field_tag :friend_id, :friend_id, :value => @person.id
          = submit_tag "save"
      %li
        url:
        = @person.url
    
    - unless @latest_status_message.nil?
      %h1.pinched
        %span
          = "\"#{@latest_status_message.message}\""
        %span="posted: #{how_long_ago(@latest_status_message)}"
  
  .span-20.last
    - if @posts
      %h3= "stream - #{@post_count} item(s)" 
      %ul#stream<commit_msg>Take out remove friend button on stranger, there should be an add friend<commit_after>.span-20.last
  #profile.span-19.last
    .profile_photo
      = person_image_link(@person)

    %h1
      = @person.real_name
      - if @person != current_user.person && current_user.friends.include?(@person)
        .right
          = link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"
    
    %ul
      -unless @posts.first.nil?
        %li
          %i= "last seen: #{how_long_ago(@posts.first)}"
      - if @person != current_user.person && current_user.friends.include?(@person)
        %li
          %i= "friends since: #{how_long_ago(@person)}"
        %li
          = form_tag move_person_path
          = select :to, :to,  @all_groups
          = hidden_field_tag :from, :from, :value => @groups_with_person.first.id
          = hidden_field_tag :friend_id, :friend_id, :value => @person.id
          = submit_tag "save"
      %li
        url:
        = @person.url
    
    - unless @latest_status_message.nil?
      %h1.pinched
        %span
          = "\"#{@latest_status_message.message}\""
        %span="posted: #{how_long_ago(@latest_status_message)}"
  
  .span-20.last
    - if @posts
      %h3= "stream - #{@post_count} item(s)" 
      %ul#stream
{'fraction_non_alphanumeric': 0.14478381594605316, 'fraction_numerical': 0.007140023800079333, 'mean_word_length': 2.2374839537869065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '4308913', 'n_tokens_mistral': 857, 'n_tokens_neox': 839, 'n_words': 164}