<commit_before>{% extends 'LadbCoreBundle:Common:_list-topbar.part.html.twig' %}

{% set heading = '<i class="ladb-icon-statistics"></i> OpenCutList Stats' %}

{% block listTopbarRightInner %}
    <div class="ladb-header-tools" style="padding-top: 0;">
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <i class="ladb-icon-history"></i> {{ days }}<span class="ladb-hidden-mobile"> derniers jours</span>
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right">
            <li{% if days == '7' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':7, 'continent':continent, 'language':language, 'locale':locale }) }}">7 derniers jours</a></li>
            <li{% if days == '28' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':28, 'continent':continent, 'language':language, 'locale':locale }) }}">28 derniers jours</a></li>
            <li{% if days == '368' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':365, 'continent':continent, 'language':language, 'locale':locale }) }}">365 derniers jours</a></li>
        </ul>
    </div>
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <span class="text-muted">OCL</span> {{ language ? language : '*' }} | <span class="text-muted">SU</span> {{ locale ? locale : '*' }}
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right">
            <li class="dropdown-header">Langue OCL</li>
            <li{% if language is null %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':null, 'locale':locale }) }}">Toutes</a></li>
            <li{% if language == 'fr' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'fr', 'locale':locale }) }}">Français</a></li>
            <li{% if language == 'en' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'en', 'locale':locale }) }}">Anglais</a></li>
            <li{% if language == 'de' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'de', 'locale':locale }) }}">Allemand</a></li>
            <li{% if language == 'ru' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'ru', 'locale':locale }) }}">Russe</a></li>
            <li{% if language == 'it' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'it', 'locale':locale }) }}">Italien</a></li>
            <li{% if language == 'pt' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'pt', 'locale':locale }) }}">Portugais</a></li>
            <li role="separator" class="divider"></li>
            <li class="dropdown-header">Langue SU</li>
            <li{% if locale is null %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':language, 'locale':null }) }}">Toutes</a></li>
        </ul>
    </div>
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <i class="ladb-icon-globe"></i> {{ continent }}<commit_msg>+ OCL "es" filter<commit_after>{% extends 'LadbCoreBundle:Common:_list-topbar.part.html.twig' %}

{% set heading = '<i class="ladb-icon-statistics"></i> OpenCutList Stats' %}

{% block listTopbarRightInner %}
    <div class="ladb-header-tools" style="padding-top: 0;">
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <i class="ladb-icon-history"></i> {{ days }}<span class="ladb-hidden-mobile"> derniers jours</span>
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right">
            <li{% if days == '7' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':7, 'continent':continent, 'language':language, 'locale':locale }) }}">7 derniers jours</a></li>
            <li{% if days == '28' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':28, 'continent':continent, 'language':language, 'locale':locale }) }}">28 derniers jours</a></li>
            <li{% if days == '368' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':365, 'continent':continent, 'language':language, 'locale':locale }) }}">365 derniers jours</a></li>
        </ul>
    </div>
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <span class="text-muted">OCL</span> {{ language ? language : '*' }} | <span class="text-muted">SU</span> {{ locale ? locale : '*' }}
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right">
            <li class="dropdown-header">Langue OCL</li>
            <li{% if language is null %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':null, 'locale':locale }) }}">Toutes</a></li>
            <li{% if language == 'fr' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'fr', 'locale':locale }) }}">Français</a></li>
            <li{% if language == 'en' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'en', 'locale':locale }) }}">Anglais</a></li>
            <li{% if language == 'de' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'de', 'locale':locale }) }}">Allemand</a></li>
            <li{% if language == 'ru' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'ru', 'locale':locale }) }}">Russe</a></li>
            <li{% if language == 'it' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'it', 'locale':locale }) }}">Italien</a></li>
            <li{% if language == 'pt' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'pt', 'locale':locale }) }}">Portugais</a></li>
            <li{% if language == 'es' %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':'es', 'locale':locale }) }}">Espagnol</a></li>
            <li role="separator" class="divider"></li>
            <li class="dropdown-header">Langue SU</li>
            <li{% if locale is null %} class="active"{% endif %}><a href="{{ path('core_opencutlist_stats', { 'env':env, 'days':days, 'continent':continent, 'language':language, 'locale':null }) }}">Toutes</a></li>
        </ul>
    </div>
    <div class="btn-group">
        <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <i class="ladb-icon-globe"></i> {{ continent }}
{'fraction_non_alphanumeric': 0.238603900136629, 'fraction_numerical': 0.004719910570115514, 'mean_word_length': 4.37875751503006, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, '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': '378169', 'n_tokens_mistral': 2761, 'n_tokens_neox': 2613, 'n_words': 540}