<commit_before># if current_user.id > 0
  <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
      {{current_user.name}}
      <b class="caret"></b>
    </a>
    <ul class="dropdown-menu">
      <li><a href="{{url_for('profile')}}">Profile Settings</a></li>
      <li><a href="{{url_for('signout')}}">Sign out</a></li>
      # if current_user.admin
        <li class="divider"></li>
        <li class="nav-header">Admin Only</li>
        <li><a href="{{url_for('admin_config_update')}}">Config</a></li>
        <li><a href="{{url_for('user_list', order='-created')}}">User List</a></li>
      # endif
    </ul>
  </li>
# else
  <li class="{% if html_class == 'signin' %} active {% endif %}">
    <a href="{{url_for('signin')}}">Sign in</a>
  </li>
# endif<commit_msg>Added icons to the user menu and rearranged the admin menu<commit_after># if current_user.id > 0
  <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
      <i class="icon-user"></i>
      {{current_user.name}}
      <b class="caret"></b>
    </a>
    <ul class="dropdown-menu">
      <li><a href="{{url_for('profile')}}"><i class="icon-edit"></i> Profile Settings</a></li>
      # if current_user.admin
        <li class="divider"></li>
        <li><a href="{{url_for('admin_config_update')}}"><i class="icon-cog"></i> Admin Config</a></li>
        <li><a href="{{url_for('user_list', order='-created')}}"><i class="icon-group"></i> User List</a></li>
        <li class="divider"></li>
      # endif
      <li><a href="{{url_for('signout')}}"><i class="icon-signout"></i> Sign out</a></li>
    </ul>
  </li>
# else
  <li class="{% if html_class == 'signin' %} active {% endif %}">
    <a href="{{url_for('signin')}}"><i class="icon-signin"></i> Sign in</a>
  </li>
# endif
{'fraction_non_alphanumeric': 0.2504145936981758, 'fraction_numerical': 0.001105583195135434, 'mean_word_length': 3.5477386934673367, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 81, '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': '4492035', 'n_tokens_mistral': 655, 'n_tokens_neox': 634, 'n_words': 123}