<commit_before>- if current_user
  li.nav-item.dropdown
    a.nav-link.dropdown-toggle data-bs-toggle='dropdown' href='#'
      i.fa-solid.fa-user
      = current_user
      span.caret
    ul.dropdown-menu.p-0.mt-1 role='menu'
      li = link_to(t('request_for_comments.index.all'), request_for_comments_path, class: 'dropdown-item') if policy(:request_for_comment).index?
      li = link_to(t('request_for_comments.index.my_rfc_activity'), my_rfc_activity_path, class: 'dropdown-item')
      li = link_to(t('request_for_comments.index.my_comment_requests'), my_request_for_comments_path, class: 'dropdown-item')
      - if current_user.try(:admin?) or current_user.try(:teacher?)
        li = link_to(t('consumers.show.link'), current_user.consumer, class: 'dropdown-item') if current_user.consumer and policy(current_user.consumer).show?<commit_msg>Always show sign-out button profile for internal users<commit_after>- if current_user
  li.nav-item.dropdown
    a.nav-link.dropdown-toggle data-bs-toggle='dropdown' href='#'
      i.fa-solid.fa-user
      = current_user
      span.caret
    ul.dropdown-menu.p-0.mt-1 role='menu'
      li = link_to(t('request_for_comments.index.all'), request_for_comments_path, class: 'dropdown-item') if policy(:request_for_comment).index?
      li = link_to(t('request_for_comments.index.my_rfc_activity'), my_rfc_activity_path, class: 'dropdown-item')
      li = link_to(t('request_for_comments.index.my_comment_requests'), my_request_for_comments_path, class: 'dropdown-item')
      - if current_user.try(:admin?) or current_user.try(:teacher?) or current_user.try(:internal_user?)
        li = link_to(t('consumers.show.link'), current_user.consumer, class: 'dropdown-item') if current_user.consumer and policy(current_user.consumer).show?
{'fraction_non_alphanumeric': 0.13595505617977527, 'fraction_numerical': 0.0022471910112359553, 'mean_word_length': 4.782467532467533, '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': '1774539', 'n_tokens_mistral': 596, 'n_tokens_neox': 584, 'n_words': 92}