<commit_before>.media
  ul.media-list.people
    - @people.each do |person|
      li.media.well.well-sm
        = link_to person, class: 'pull-left' do
          img.media-object.img-rounded src=photo(person) alt="Photo of #{person.first_name}"
        .media-body
          h3.media-heading = link_to person.name, person, class: 'text-info'
          .text-muted
            - if person.affiliations?
              .affiliations
                =' fa_icon 'university'
                = person.affiliations
            - if person.department?
              .departments
                =' fa_icon 'building'
                = person.department
            - if person.groups?
              .groups
                =' fa_icon 'group'
                = person.groups
            - if person.university_email?
              .email
                = mail_to person.university_email_address do
                  =' fa_icon 'envelope'
                  = person.university_email_address
            - if person.biola_id?
              .biola_id
                =' fa_icon 'credit-card'
                = person.biola_id

.pagination = paginate @raw_people
<commit_msg>Alert when no results found<commit_after>- if params[:q] && @people.empty?
  .alert.alert-info = fa_icon('info-circle', text: %{No results found for "#{params[:q]}"})
- else
  .media
    ul.media-list.people
      - @people.each do |person|
        li.media.well.well-sm
          = link_to person, class: 'pull-left' do
            img.media-object.img-rounded src=photo(person) alt="Photo of #{person.first_name}"
          .media-body
            h3.media-heading = link_to person.name, person, class: 'text-info'
            .text-muted
              - if person.affiliations?
                .affiliations
                  =' fa_icon 'university'
                  = person.affiliations
              - if person.department?
                .departments
                  =' fa_icon 'building'
                  = person.department
              - if person.groups?
                .groups
                  =' fa_icon 'group'
                  = person.groups
              - if person.university_email?
                .email
                  = mail_to person.university_email_address do
                    =' fa_icon 'envelope'
                    = person.university_email_address
              - if person.biola_id?
                .biola_id
                  =' fa_icon 'credit-card'
                  = person.biola_id

  .pagination = paginate @raw_people

{'fraction_non_alphanumeric': 0.09625246548323471, 'fraction_numerical': 0.0007889546351084812, 'mean_word_length': 1.3394833948339484, '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': '1663511', 'n_tokens_mistral': 734, 'n_tokens_neox': 682, 'n_words': 137}