<commit_before>.card
  .card-body
    %h2= t(".heading")
    %p= t(".body")

    %h3= t(".section.general")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.profile")

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.screen_name")
        %p.text-muted= current_user.screen_name

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.display_name")
        %p.text-muted
          - if current_user.profile.display_name.blank?
            None set!
          - else
            = current_user.profile.display_name

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.description")
        %p.text-muted
          - if current_user.profile.description.blank?
            None set!
          - else
            = current_user.profile.description

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.location")
        %p.text-muted
          - if current_user.profile.location.blank?
            None set!
          - else
            = current_user.profile.location

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.website")
        %p.text-muted
          - if current_user.profile.website.blank?
            None set!
          - else
            = current_user.profile.website
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.pictures")
        %p.font-weight-bold.mb-0= t(".pictures.profile_picture.heading")
        .media
          .pull-left
            %img.profile--img{ src: current_user.profile_picture.url(:medium) }
          .media-body
            %ul
              %li
                %a{ href: current_user.profile_picture.url(:small) }= t(".pictures.profile_picture.size.small")
              %li
                %a{ href: current_user.profile_picture.url(:medium) }= t(".pictures.profile_picture.size.medium")
              %li
                %a{ href: current_user.profile_picture.url(:large) }= t(".pictures.profile_picture.size.large")
              %li
                %a{ href: current_user.profile_picture.url(:original) }= t(".pictures.profile_picture.size.original")

        %p.font-weight-bold.mb-0= t(".pictures.profile_header.heading")
        %img{ src: current_user.profile_header.url(:mobile), style: 'width: 100%' }
        %p
          %a{ href: current_user.profile_header.url(:mobile) }= t(".pictures.profile_header.size.mobile")
          |
          %a{ href: current_user.profile_header.url(:web) }= t(".pictures.profile_header.size.web")
          |
          %a{ href: current_user.profile_header.url(:retina) }= t(".pictures.profile_header.size.retina")
          |
          %a{ href: current_user.profile_header.url(:original) }= t(".pictures.profile_header.size.original")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.statistics")

        %p.font-weight-bold.mb-0 Answers
        %p.text-muted= current_user.answered_count

        %p.font-weight-bold.mb-0 Questions
        %p.text-muted= current_user.asked_count

        %p.font-weight-bold.mb-0 Following
        %p.text-muted= current_user.followings.count

        %p.font-weight-bold.mb-0 Followers
        %p.text-muted= current_user.followers.count

        %p.font-weight-bold.mb-0 Smiles
        %p.text-muted= current_user.smiled_count + current_user.comment_smiled_count

        %p.font-weight-bold.mb-0 Comments
        %p.text-muted= current_user.commented_count
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.badges")

        %p.font-weight-bold.mb-0 Admin
        %p
          - if current_user.has_role? :administrator
            %span.label.label-success
              %i.fa.fa-fw.fa-check
          - else
            %span.label.label-danger
              %i.fa.fa-fw.fa-close

        %p.font-weight-bold.mb-0 Moderator
        %p
          - if current_user.mod?
            %span.label.label-success
              %i.fa.fa-fw.fa-check
          - else
            %span.label.label-danger
              %i.fa.fa-fw.fa-close
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h3= t(".section.ip")
        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.current_sign_in_ip")
        %p.text-muted= current_user.current_sign_in_ip

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.last_sign_in_ip")
        %p.text-muted= current_user.last_sign_in_ip
      .col-md-6.col-sm-6.col-xs-12
        %h3= t(".section.miscellaneous")

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.locale")
        %p.text-muted
          - if current_user.locale.blank?
            None set!
          - else
            = current_user.locale

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.sign_in_count")
        %p.text-muted= current_user.sign_in_count
    %h3= t(".section.dates")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.sign_in")
<commit_msg>Remove statistics/badges section from data view<commit_after>.card
  .card-body
    %h2= t(".heading")
    %p= t(".body")

    %h3= t(".section.general")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.profile")

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.screen_name")
        %p.text-muted= current_user.screen_name

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.display_name")
        %p.text-muted
          - if current_user.profile.display_name.blank?
            None set!
          - else
            = current_user.profile.display_name

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.description")
        %p.text-muted
          - if current_user.profile.description.blank?
            None set!
          - else
            = current_user.profile.description

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.location")
        %p.text-muted
          - if current_user.profile.location.blank?
            None set!
          - else
            = current_user.profile.location

        %p.font-weight-bold.mb-0= t("activerecord.attributes.profile.website")
        %p.text-muted
          - if current_user.profile.website.blank?
            None set!
          - else
            = current_user.profile.website
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.pictures")
        %p.font-weight-bold.mb-0= t(".pictures.profile_picture.heading")
        .media
          .pull-left
            %img.profile--img{ src: current_user.profile_picture.url(:medium) }
          .media-body
            %ul
              %li
                %a{ href: current_user.profile_picture.url(:small) }= t(".pictures.profile_picture.size.small")
              %li
                %a{ href: current_user.profile_picture.url(:medium) }= t(".pictures.profile_picture.size.medium")
              %li
                %a{ href: current_user.profile_picture.url(:large) }= t(".pictures.profile_picture.size.large")
              %li
                %a{ href: current_user.profile_picture.url(:original) }= t(".pictures.profile_picture.size.original")

        %p.font-weight-bold.mb-0= t(".pictures.profile_header.heading")
        %img{ src: current_user.profile_header.url(:mobile), style: 'width: 100%' }
        %p
          %a{ href: current_user.profile_header.url(:mobile) }= t(".pictures.profile_header.size.mobile")
          |
          %a{ href: current_user.profile_header.url(:web) }= t(".pictures.profile_header.size.web")
          |
          %a{ href: current_user.profile_header.url(:retina) }= t(".pictures.profile_header.size.retina")
          |
          %a{ href: current_user.profile_header.url(:original) }= t(".pictures.profile_header.size.original")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h3= t(".section.ip")
        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.current_sign_in_ip")
        %p.text-muted= current_user.current_sign_in_ip

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.last_sign_in_ip")
        %p.text-muted= current_user.last_sign_in_ip
      .col-md-6.col-sm-6.col-xs-12
        %h3= t(".section.miscellaneous")

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.locale")
        %p.text-muted
          - if current_user.locale.blank?
            None set!
          - else
            = current_user.locale

        %p.font-weight-bold.mb-0= t("activerecord.attributes.user.sign_in_count")
        %p.text-muted= current_user.sign_in_count
    %h3= t(".section.dates")
    .row
      .col-md-6.col-sm-6.col-xs-12
        %h4= t(".section.sign_in")

{'fraction_non_alphanumeric': 0.14720989960308195, 'fraction_numerical': 0.011907541442913845, 'mean_word_length': 1.9777546054918318, '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': '5422837', 'n_tokens_mistral': 2994, 'n_tokens_neox': 2866, 'n_words': 344}