<commit_before>.card.inbox-actions
  .card-body
    .d-md-flex
      = bootstrap_form_tag url: inbox_path, method: :get, html: { class: "d-block" } do |f|
        = f.text_field :author, value: params[:author], placeholder: t(".author.placeholder"), prepend: "@", hide_label: true,
          append: f.button(t(".author.button"), name: nil, class: "btn btn-light", id: "ib-author")
      .d-flex.ml-auto.mt-2.mt-md-0
        %button.btn.btn-info.mr-auto{ type: :button, id: "ib-generate-question" }
          = t(".questions.button")
        .button-group.ml-1
          %button.btn.btn-default{ data: { toggle: :dropdown }, aria: { expanded: false } }
            %i.fa.fa-fw.fa-share-alt
            %span.sr-only= t(".share.heading")
          .dropdown-menu.dropdown-menu-right{ role: :menu }
            %a.dropdown-item{ href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything%21&url=#{user_url(current_user)}", target: "_blank" }
              %i.fa.fa-fw.fa-twitter
              = t(".share.button", service: "Twitter")
            %a.dropdown-item{ href: "https://www.tumblr.com/share/link?url=#{user_url(current_user)}&name=Ask%20me%20anything%21", target: "_blank" }
              %i.fa.fa-fw.fa-tumblr
              = t(".share.button", service: "Tumblr")
        %button.btn.btn-danger.ml-1{ type: :button, id: delete_id, disabled: (disabled ? :disabled : nil), data: { ib_count: inbox_count } }
          %i.fa.fa-fw.fa-trash-o
          %span.sr-only= t(".actions.delete")
<commit_msg>Apply review suggestions from @nilsding<commit_after>.card.inbox-actions
  .card-body
    .d-md-flex
      = bootstrap_form_tag url: inbox_path, method: :get, html: { class: "d-block" } do |f|
        = f.text_field :author, value: params[:author], placeholder: t(".author.placeholder"), prepend: "@", hide_label: true,
          append: f.button(t(".author.button"), name: nil, class: "btn btn-light", id: "ib-author")
      .d-flex.ml-auto.mt-2.mt-md-0
        %button.btn.btn-info.mr-auto{ type: :button, id: "ib-generate-question" }
          = t(".questions.button")
        .button-group.ml-1
          %button.btn.btn-default{ title: t(".share.heading"), data: { toggle: :dropdown }, aria: { expanded: false } }
            %i.fa.fa-fw.fa-share-alt
            %span.sr-only= t(".share.heading")
          .dropdown-menu.dropdown-menu-right{ role: :menu }
            %a.dropdown-item{ href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything%21&url=#{user_url(current_user)}", target: "_blank" }
              %i.fa.fa-fw.fa-twitter
              = t(".share.button", service: "Twitter")
            %a.dropdown-item{ href: "https://www.tumblr.com/share/link?url=#{user_url(current_user)}&name=Ask%20me%20anything%21", target: "_blank" }
              %i.fa.fa-fw.fa-tumblr
              = t(".share.button", service: "Tumblr")
        %button.btn.btn-danger.ml-1{ type: :button, title: t(".actions.delete"), id: delete_id, disabled: (disabled ? :disabled : nil), data: { ib_count: inbox_count } }
          %i.fa.fa-fw.fa-trash-o
          %span.sr-only= t(".actions.delete")

{'fraction_non_alphanumeric': 0.1898163067998711, 'fraction_numerical': 0.0103126007089913, 'mean_word_length': 2.62193698949825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '6619247', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1071, 'n_words': 178}