<commit_before>{# (c) Crown Owned Copyright, 2016. Dstl. #}
<div class="header-proposition" style="position:relative">
  <div id="user-details">
    {% if request.user.is_authenticated %}
      {% if user.username %}
        <span class="user_id" data-slug="{{user.slug}}">{{user.username}}</span> | <a href="{% url 'logout' %}">Logout</a>
      {% else %}
        <span class="user_id" data-slug="{{user.slug}}">{{user.slug}}</span> | <a href="{% url 'logout' %}">Logout</a><commit_msg>Turn slug/username into link.<commit_after>{# (c) Crown Owned Copyright, 2016. Dstl. #}
<div class="header-proposition" style="position:relative">
  <div id="user-details">
    {% if request.user.is_authenticated %}
      {% if user.username %}
        <span class="user_id" data-slug="{{user.slug}}"><a href="{% url 'user-detail' user.slug %}">{{user.username}}</a></span> | <a href="{% url 'logout' %}">Logout</a>
      {% else %}
        <span class="user_id" data-slug="{{user.slug}}">{{user.slug}}</span> | <a href="{% url 'logout' %}">Logout</a>
{'fraction_non_alphanumeric': 0.24277456647398843, 'fraction_numerical': 0.007707129094412331, 'mean_word_length': 4.247474747474747, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '2536892', 'n_tokens_mistral': 387, 'n_tokens_neox': 362, 'n_words': 73}