<commit_before>{% block field_group %}
    {{ field|render_errors }}
    {% for child in field %}
        {% if not child.ishidden %}
            <div>
                {{ child|render_label }}
                {{ child|render_errors }}
                {{ child|render }}
            </div>
        {% endif %}
    {% endfor %}
    {{ field|render_hidden }}
{% endblock field_group %}

{% block errors %}
    {% if errors %}
    <ul>
        {% for error in errors %}
            <li>{% trans error.0 with error.1 from validators %}</li>
        {% endfor %}
    </ul>
    {% endif %}
{% endblock errors %}

{% block hidden %}
    {% for child in field.allHiddenFields %}
        {{ child|render }}<commit_msg>[TwigBundle] Fixed variable reference in the errors block of the form.twig template<commit_after>{% block field_group %}
    {{ field|render_errors }}
    {% for child in field %}
        {% if not child.ishidden %}
            <div>
                {{ child|render_label }}
                {{ child|render_errors }}
                {{ child|render }}
            </div>
        {% endif %}
    {% endfor %}
    {{ field|render_hidden }}
{% endblock field_group %}

{% block errors %}
    {% if field.hasErrors %}
    <ul>
        {% for error in field.errors %}
            <li>{% trans error.0 with error.1 from validators %}</li>
        {% endfor %}
    </ul>
    {% endif %}
{% endblock errors %}

{% block hidden %}
    {% for child in field.allHiddenFields %}
        {{ child|render }}
{'fraction_non_alphanumeric': 0.1525649566955363, 'fraction_numerical': 0.002664890073284477, 'mean_word_length': 1.839319470699433, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '7656443', 'n_tokens_mistral': 483, 'n_tokens_neox': 416, 'n_words': 111}