<commit_before>{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block toolbar %}
    {% set icon %}
        {# Content displayed as a panel in the toolbar #}
        <span class='icon'>{{ include('@FlexModelBundle/Resources/svg/icon.svg') }}</span>
    {% endset %}

    {% set text %}
        {# Content displayed when hovering the mouse over the toolbar panel #}
        <div class='sf-toolbar-info-piece'>
            <b>Loaded objects</b>
            <span class='sf-toolbar-status'>{{ collector.objects|length }}</span>
        </div>
    {% endset %}

    {# the 'link' value set to 'false' means that this panel doesn't
       show a section in the web profiler #}
    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }}
{% endblock %}

{% block menu %}
    {# Left-hand menu in the full-screen profiler. #}
    <span class='label'>
        <span class='icon'>{{ include('@FlexModelBundle/Resources/svg/icon.svg') }}</span>
        <strong>FlexModel</strong>
    </span>
{% endblock %}

{% block panel %}
    <h2>FlexModel</h2>
    <h3>Loaded objects</h3>
    <table>
        <tr>
            <th>Name</th>
            <th>Fields</th>
        </tr>

        {% for object in collector.objects %}
        <tr><commit_msg>Add link to profiler toolbar<commit_after>{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block toolbar %}
    {% set icon %}
        {# Content displayed as a panel in the toolbar #}
        <span class='icon'>{{ include('@FlexModelBundle/Resources/svg/icon.svg') }}</span>
    {% endset %}

    {% set text %}
        {# Content displayed when hovering the mouse over the toolbar panel #}
        <div class='sf-toolbar-info-piece'>
            <b>Loaded objects</b>
            <span class='sf-toolbar-status'>{{ collector.objects|length }}</span>
        </div>
    {% endset %}

    {# the 'link' value set to 'false' means that this panel doesn't
       show a section in the web profiler #}
    {{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
{% endblock %}

{% block menu %}
    {# Left-hand menu in the full-screen profiler. #}
    <span class='label'>
        <span class='icon'>{{ include('@FlexModelBundle/Resources/svg/icon.svg') }}</span>
        <strong>FlexModel</strong>
    </span>
{% endblock %}

{% block panel %}
    <h2>FlexModel</h2>
    <h3>Loaded objects</h3>
    <table>
        <tr>
            <th>Name</th>
            <th>Fields</th>
        </tr>

        {% for object in collector.objects %}
        <tr>
{'fraction_non_alphanumeric': 0.16482649842271294, 'fraction_numerical': 0.0031545741324921135, 'mean_word_length': 2.508990318118949, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '6338723', 'n_tokens_mistral': 849, 'n_tokens_neox': 785, 'n_words': 193}