<commit_before>{% if current_user.username == None %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Sign up</h4>
    <h6 class="card-subtitle mb-3 text-muted">Create a profile to save your progress.</h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.register') }}" role="button">Create a profile</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.login') }}" role="button">
      Sign in
    </a>
  </div>
{% endif %}<commit_msg>Add account confirmation buttons to dashboard<commit_after>{% if (current_user.is_authenticated and current_user.username != None) %}
  {% if not current_user.confirmed %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Confirm your account</h4>
    <h6 class="card-subtitle mb-3 text-muted">
      We'll send you an email with a link to confirm your account.
    </h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.resend_confirmation') }}" role="button">Confirm account</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.change_email_request') }}" role="button">
      Change email address
    </a>
  </div>
  {% endif %}
{% else %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Sign up</h4>
    <h6 class="card-subtitle mb-3 text-muted">Create a profile to save your progress.</h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.register') }}" role="button">Create a profile</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.login') }}" role="button">Sign in</a>
  </div>
{% endif %}
{'fraction_non_alphanumeric': 0.18546845124282982, 'fraction_numerical': 0.01338432122370937, 'mean_word_length': 3.9683544303797467, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '2344217', 'n_tokens_mistral': 548, 'n_tokens_neox': 528, 'n_words': 142}