<commit_before><header id="header" class="header header--fixed hide-from-print" role="banner">
<div class="navbar navbar-main-menu navbar-default xnavbar-inverse navbar-static-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-menu .navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="/">TOVP Database</a>
      </div>
      <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
              <li class="{{ active_link_class(request, "^/$") }}"><a href="/">Home</a></li>
              {% if user.has_perm('contacts.change_person') %}
                  <li><a href="{{ url('contacts:person:create') }}">Add new person</a></li>
              {% endif %}
              {% if user.has_perm('gitfs.add_gift') %}
                  <li><a href="{{ url('gifts:gift:index') }}">Manage Gifts</a></li>
              {% endif %}
              {% if user.is_authenticated() %}
                  <li><a href="{{ url('users:logout') }}">Logout ({{ user }})</a></li>
              {% endif %}
              {# <li class="{{ active_link_class(request, "^/search/") }}"><a href="/">Search</a></li> #}
          </ul>
      </div><!--/.nav-collapse -->
  </div>
</div>

</header><commit_msg>Correct permission for showing gifts.<commit_after><header id="header" class="header header--fixed hide-from-print" role="banner">
<div class="navbar navbar-main-menu navbar-default xnavbar-inverse navbar-static-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-menu .navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="/">TOVP Database</a>
      </div>
      <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
              <li class="{{ active_link_class(request, "^/$") }}"><a href="/">Home</a></li>
              {% if user.has_perm('contacts.change_person') %}
                  <li><a href="{{ url('contacts:person:create') }}">Add new person</a></li>
              {% endif %}
              {% if user.has_perm('gifts.add_gift') %}
                  <li><a href="{{ url('gifts:gift:index') }}">Manage Gifts</a></li>
              {% endif %}
              {% if user.is_authenticated() %}
                  <li><a href="{{ url('users:logout') }}">Logout ({{ user }})</a></li>
              {% endif %}
              {# <li class="{{ active_link_class(request, "^/search/") }}"><a href="/">Search</a></li> #}
          </ul>
      </div><!--/.nav-collapse -->
  </div>
</div>

</header>
{'fraction_non_alphanumeric': 0.21405648267008986, 'fraction_numerical': 0.0, 'mean_word_length': 2.432819383259912, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '5510358', 'n_tokens_mistral': 993, 'n_tokens_neox': 931, 'n_words': 177}