<commit_before>{% load i18n ideascube_tags %}
{% if available_kinds %}
<div class="card tinted">
    <h4><span class="theme discover">{% trans "browse" %}</span> {% trans 'by kind' %}</h4>
    {% for kind, label in available_kinds %}
        {% is_in_qs 'kind' kind as in_qs %}
        {% if in_qs %}
            <a href="{% remove_qs kind=kind %}" class="flatlist active">{{ label }}</a>
        {% else %}
            <a href="{% replace_qs kind=kind %}" class="flatlist">{{ label }}</a>
        {% endif %}
    {% endfor %}
</div>
{% endif %}
<commit_msg>Make the 'filter_by_kind' template's title configurable.<commit_after>{% load i18n ideascube_tags %}
{% if available_kinds %}
<div class="card tinted">
    <h4><span class="theme discover">{% trans "browse" %}</span> {% if title %}{{ title }}{% else %}{% trans 'by kind' %}{% endif %}</h4>
    {% for kind, label in available_kinds %}
        {% is_in_qs 'kind' kind as in_qs %}
        {% if in_qs %}
            <a href="{% remove_qs kind=kind %}" class="flatlist active">{{ label }}</a>
        {% else %}
            <a href="{% replace_qs kind=kind %}" class="flatlist">{{ label }}</a>
        {% endif %}
    {% endfor %}
</div>
{% endif %}

{'fraction_non_alphanumeric': 0.2074688796680498, 'fraction_numerical': 0.006639004149377593, 'mean_word_length': 2.9671052631578947, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2763503', 'n_tokens_mistral': 453, 'n_tokens_neox': 400, 'n_words': 112}