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

{% block menu %}
<span class="label">
    <span class="icon">
        <img width=30 src="{{ asset('bundles/webprofilerextra/images/container.png') }}" />
    </span>
    <strong>Container</strong>
    <span class="count">
        <span>{{ collector.servicecount }}</span>
    </span>
</span>
{% endblock %}

{% macro display_array(var, padding) %}
    {% if var.length %}
        {% for key, value in var %}
        <ul style="padding-left: {{ padding }}px;">
            <li>
                <code>{{ key }}</code>: 
                {{ _self.display_array(value, 20) }}
            </li>
        </ul>
        {% endfor %}
    {% else %}
        <code>{{ var }}</code>
    {% endif %}
{% endmacro %}

{% block panel %}
    <h2>Container Parameters</h2>
    <table>
        {% for service, parameters in collector.parameters %}
        <tr>
            <th>{{ service }}</th>
            <td>
                <table>
                {% for key, value in parameters %}
                    <tr>
                        <th width="420"><code>{{ key }}</code></th>
                        <td>
                            {{ value|dump }}
                        </td>
                    </tr>
                {% endfor %}
                </table>
            </td>                                
        </tr>
        {% endfor %}
    </table>
    <h2>Container Services:</h2>
    <table>
    {% for i, service in collector.services %}
        <tr class="{{ i is odd ? 'odd' : 'even' }}">
            <th><code>{{ service.service_id }}</code></th><commit_msg>Twig filter dump replace by yaml_dump<commit_after>{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block menu %}
<span class="label">
    <span class="icon">
        <img width=30 src="{{ asset('bundles/webprofilerextra/images/container.png') }}" />
    </span>
    <strong>Container</strong>
    <span class="count">
        <span>{{ collector.servicecount }}</span>
    </span>
</span>
{% endblock %}

{% macro display_array(var, padding) %}
    {% if var.length %}
        {% for key, value in var %}
        <ul style="padding-left: {{ padding }}px;">
            <li>
                <code>{{ key }}</code>: 
                {{ _self.display_array(value, 20) }}
            </li>
        </ul>
        {% endfor %}
    {% else %}
        <code>{{ var }}</code>
    {% endif %}
{% endmacro %}

{% block panel %}
    <h2>Container Parameters</h2>
    <table>
        {% for service, parameters in collector.parameters %}
        <tr>
            <th>{{ service }}</th>
            <td>
                <table>
                {% for key, value in parameters %}
                    <tr>
                        <th width="420"><code>{{ key }}</code></th>
                        <td>
                            {{ value | yaml_dump }}
                        </td>
                    </tr>
                {% endfor %}
                </table>
            </td>                                
        </tr>
        {% endfor %}
    </table>
    <h2>Container Services:</h2>
    <table>
    {% for i, service in collector.services %}
        <tr class="{{ i is odd ? 'odd' : 'even' }}">
            <th><code>{{ service.service_id }}</code></th>
{'fraction_non_alphanumeric': 0.1770233404061837, 'fraction_numerical': 0.006668687481054865, 'mean_word_length': 1.4193548387096775, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '924517', 'n_tokens_mistral': 1050, 'n_tokens_neox': 929, 'n_words': 217}