<commit_before>{% extends 'AppBundle:Components/Page:page-admin.html.twig' %}

{% trans_default_domain "admin" %}

{% block pageTitle %}Administration - Upload users{% endblock %}
{% block contentClass %}{{ parent() }} admin-users{% endblock %}
{% block title %}Upload users{% endblock %}

{% block validationSummary %}
{% endblock %}

{% block pageNavigation %}
{% endblock %}

{% block pageBody %}

    <h1 class="heading-medium">Deputy's analysis</h1>

    <p class="text" id="loading">Please wait ...</p>
    <p class="text hidden" id="done">
        Data is being generated, Click here to <a href="{{ path('admin_stats_csv', {'timestamp': timestamp}) }}">download</a>
    </p>

    <script>
        $(document).ready(function () {
            setTimeout(function(){
                $('#loading').addClass('hidden');
                $('#done').removeClass('hidden');
            }, 10000);
        });
    </script>

{% endblock %}<commit_msg>DDPB-563 add comment<commit_after>{% extends 'AppBundle:Components/Page:page-admin.html.twig' %}

{% trans_default_domain "admin" %}

{% block pageTitle %}Administration - Upload users{% endblock %}
{% block contentClass %}{{ parent() }} admin-users{% endblock %}
{% block title %}Upload users{% endblock %}

{% block validationSummary %}
{% endblock %}

{% block pageNavigation %}
{% endblock %}

{% block pageBody %}

    <h1 class="heading-medium">Deputy's analysis</h1>

    <p class="text" id="loading">Please wait ...</p>
    <p class="text hidden" id="done">
        Data is being generated, Click here to <a href="{{ path('admin_stats_csv', {'timestamp': timestamp}) }}">download</a>
    </p>

    <script>
        $(document).ready(function () {
            // wait 10s to ensure the file has been generated
            setTimeout(function(){
                $('#loading').addClass('hidden');
                $('#done').removeClass('hidden');
            }, 10000);
        });
    </script>

{% endblock %}
{'fraction_non_alphanumeric': 0.1879775853285787, 'fraction_numerical': 0.00967906265919511, 'mean_word_length': 3.178723404255319, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6984088', 'n_tokens_mistral': 625, 'n_tokens_neox': 553, 'n_words': 137}