<commit_before>{% extends 'layout/base.html' %}

{% block title %}
    {%- trans %}Logs{% endtrans -%}
{% endblock %}

{% block content %}
    <div class="follow-scroll">
        <div class="toolbar">
            <div class="group i-selection left">
                <span class="i-button label">
                    {% trans %}Show{% endtrans %}
                </span>
                {% for realm in realms|sort(attribute='name') %}
                    <input type="checkbox" id="realm-{{ realm.name }}" data-realm="{{ realm.name }}" checked>
                    <label for="realm-{{ realm.name }}" class="i-button">{{ realm.title }}</label>
                {% endfor %}
            </div>
            <div class="group left">
                <a href="#" id="expand-all" class="i-button" title="{% trans %}Expand all{% endtrans %}">
                    <span class="icon-stack-plus"></span>
                </a>
                <a href="#" id="collapse-all" class="i-button" title="{% trans %}Collapse all{% endtrans %}">
                    <span class="icon-stack-minus"></span>
                </a>
            </div>
            <div class="group right">
                <span class="i-button label">
                    <span class="icon-search"></span>
                </span>
                <input type="text" id="search-input">
            </div>
        </div>
    </div>

    {% if not entries %}
        <h3 class="i-table emphasis border"><commit_msg>Hide realm selector if only one realm is present<commit_after>{% extends 'layout/base.html' %}

{% block title %}
    {%- trans %}Logs{% endtrans -%}
{% endblock %}

{% block content %}
    <div class="follow-scroll">
        <div class="toolbar">
            {% if realms|length > 1 %}
                <div class="group i-selection left">
                    <span class="i-button label">
                        {% trans %}Show{% endtrans %}
                    </span>
                    {% for realm in realms|sort(attribute='name') %}
                        <input type="checkbox" id="realm-{{ realm.name }}" data-realm="{{ realm.name }}" checked>
                        <label for="realm-{{ realm.name }}" class="i-button">{{ realm.title }}</label>
                    {% endfor %}
                </div>
            {% endif %}
            <div class="group left">
                <a href="#" id="expand-all" class="i-button" title="{% trans %}Expand all{% endtrans %}">
                    <span class="icon-stack-plus"></span>
                </a>
                <a href="#" id="collapse-all" class="i-button" title="{% trans %}Collapse all{% endtrans %}">
                    <span class="icon-stack-minus"></span>
                </a>
            </div>
            <div class="group right">
                <span class="i-button label">
                    <span class="icon-search"></span>
                </span>
                <input type="text" id="search-input">
            </div>
        </div>
    </div>

    {% if not entries %}
        <h3 class="i-table emphasis border">
{'fraction_non_alphanumeric': 0.1761252446183953, 'fraction_numerical': 0.0009784735812133072, 'mean_word_length': 1.5305280528052805, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 62, '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': '3519695', 'n_tokens_mistral': 912, 'n_tokens_neox': 809, 'n_words': 201}