<commit_before>.row
  .col-sm-12
    .card.card-default
      = smart_listing_controls_for(:contacts, { class: 'form-control' }) do
        .row
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputQuery'}
                %i.fa.fa-search
                Name
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "You can enter either a first, or a last name here! We will look for anyone with a name that is similar to what you enter here."}
              = text_field_tag :name, params[:name], class: "search form-control"
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputTitle'}
                %i.fa.fa-asterisk
                Titles
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "Start typing a title you want to search by, and we'll show you an option! You can even include multiple. The options are populated by the titles you assigned to your actual contacts. The search is additive -- we'll return any contact with a title in this box."}
              = select_tag :title, options_for_select(current_user.organization.contacts.where.not(title: '').pluck(:title).uniq.sort, selected: params[:title]), { multiple: true, include_blank: true, class: 'search form-control select2', id: 'inputTitle' }
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputQuery'}
                %i.fa.fa-tag
                Tagged With
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "Start typing a tag you want to search by, and we'll show you an option! You can even include multiple. The options are populated by your actual contacts' tags. The search is additive -- we'll return any contact with any of these tags."}
              = select_tag :tags, options_for_select(current_user.organization.contacts.tag_counts.pluck(:name).sort, selected: params[:tags]), { multiple: true, include_blank: true, class: 'search form-control select2', id: 'inputTags' }<commit_msg>dont include titles for removed contacts<commit_after>.row
  .col-sm-12
    .card.card-default
      = smart_listing_controls_for(:contacts, { class: 'form-control' }) do
        .row
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputQuery'}
                %i.fa.fa-search
                Name
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "You can enter either a first, or a last name here! We will look for anyone with a name that is similar to what you enter here."}
              = text_field_tag :name, params[:name], class: "search form-control"
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputTitle'}
                %i.fa.fa-asterisk
                Titles
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "Start typing a title you want to search by, and we'll show you an option! You can even include multiple. The options are populated by the titles you assigned to your actual contacts. The search is additive -- we'll return any contact with a title in this box."}
              = select_tag :title, options_for_select(current_user.organization.contacts.not_removed.where.not(title: '').pluck(:title).uniq.sort, selected: params[:title]), { multiple: true, include_blank: true, class: 'search form-control select2', id: 'inputTitle' }
          .col-sm-12.col-md-3
            .form-group
              %label.control-label{for: 'inputQuery'}
                %i.fa.fa-tag
                Tagged With
                %i.fa.fa-question-circle{"data-placement" => "bottom", "data-toggle" => "tooltip", :title => "Start typing a tag you want to search by, and we'll show you an option! You can even include multiple. The options are populated by your actual contacts' tags. The search is additive -- we'll return any contact with any of these tags."}
              = select_tag :tags, options_for_select(current_user.organization.contacts.not_removed.tag_counts.pluck(:name).sort, selected: params[:tags]), { multiple: true, include_blank: true, class: 'search form-control select2', id: 'inputTags' }
{'fraction_non_alphanumeric': 0.12355736591989137, 'fraction_numerical': 0.005883684091423399, 'mean_word_length': 2.536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '122238', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1240, 'n_words': 395}