<commit_before>.col-md-6.col-sm-12
  = image_tag officer.warrant_badge if officer.warrant_badge?
  = link_to officer.name, officer_path(officer)
<commit_msg>Only show office badge for Great Officers<commit_after>.col-md-6.col-sm-12
  - if [0, nil].include?(officer.superior_warrant_id) && officer.warrant_badge?
    = image_tag officer.warrant_badge
  - else
    | &bullet;&nbsp;
  = link_to officer.name, officer_path(officer)
  - who = Warrant.current_holders_by_type(officer)
  -if who.present? && who.last.person.present? && who.last.person.personas_primary.present?
    | &mdash;
    = link_to who.last.person.personas_primary.name, who.last.person.personas_primary


{'fraction_non_alphanumeric': 0.12797619047619047, 'fraction_numerical': 0.010416666666666666, 'mean_word_length': 4.516393442622951, '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': '5086301', 'n_tokens_mistral': 257, 'n_tokens_neox': 245, 'n_words': 36}