<commit_before>{#
 Copyright (c) 2014 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% macro render_log(entries) -%}
    {% if logs %}
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>Zeit</th>
                    <th>Benutzer</th>
                    <th>Nachricht</th>
                </tr>
            </thead>
            <tbody>
                {% for entry in entries %}
                    <tr>
                        <td class="shrink">{{ entry.timestamp|datetime }}</td>
                        <td class="shrink"><a href="{{ url_for(".user_show", user_id=entry.author.id) }}">{{ entry.author.name }}</a></td>
                        <td class="grow">{{ entry.message }}</td>
                    </tr><commit_msg>Fix checking if no logs given<commit_after>{#
 Copyright (c) 2014 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% macro render_log(entries) -%}
    {% if entries %}
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>Zeit</th>
                    <th>Benutzer</th>
                    <th>Nachricht</th>
                </tr>
            </thead>
            <tbody>
                {% for entry in entries %}
                    <tr>
                        <td class="shrink">{{ entry.timestamp|datetime }}</td>
                        <td class="shrink"><a href="{{ url_for(".user_show", user_id=entry.author.id) }}">{{ entry.author.name }}</a></td>
                        <td class="grow">{{ entry.message }}</td>
                    </tr>
{'fraction_non_alphanumeric': 0.13911182450508294, 'fraction_numerical': 0.006420545746388443, 'mean_word_length': 1.4801061007957559, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2989812', 'n_tokens_mistral': 553, 'n_tokens_neox': 496, 'n_words': 148}