<commit_before>{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% endblock %}

{% block menu %}
    <span class="label {{ not collector.sentMessages ? 'disabled' }}">
        <strong>Message Queue</strong>
    </span>
{% endblock %}

{% block panel %}
    <h2>Sent messages</h2>
    <table>
        <thead>
            <tr>
                <th>#</th>
                <th>Topic</th>
                <th>Message</th>
                <th>Priority</th>
            </tr>
        </thead>
        <tbody>
            {% for sentMessage in collector.sentMessages %}
                <tr>
                    <td>{{ loop.index }}</td>
                    <td>{{ sentMessage.topic }}</td>
                    <td style="width: 70%">
                        <span class="metadata">
                            <span>{{ sentMessage.body[0:40] }}... </span><a class="btn btn-link text-small sf-toggle" data-toggle-selector="#message-body-{{ loop.index }}" data-toggle-alt-content="Hide trace">Show trace</a>

                            <div id="message-body-{{ loop.index }}" class="context sf-toggle-content sf-toggle-hidden">
                                {{ profiler_dump(sentMessage.body, maxDepth=1) }}
                            </div><commit_msg>Remove maxDepth option on profiler dump.<commit_after>{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% endblock %}

{% block menu %}
    <span class="label {{ not collector.sentMessages ? 'disabled' }}">
        <strong>Message Queue</strong>
    </span>
{% endblock %}

{% block panel %}
    <h2>Sent messages</h2>
    <table>
        <thead>
            <tr>
                <th>#</th>
                <th>Topic</th>
                <th>Message</th>
                <th>Priority</th>
            </tr>
        </thead>
        <tbody>
            {% for sentMessage in collector.sentMessages %}
                <tr>
                    <td>{{ loop.index }}</td>
                    <td>{{ sentMessage.topic }}</td>
                    <td style="width: 70%">
                        <span class="metadata">
                            <span>{{ sentMessage.body[0:40] }}... </span><a class="btn btn-link text-small sf-toggle" data-toggle-selector="#message-body-{{ loop.index }}" data-toggle-alt-content="Hide trace">Show trace</a>

                            <div id="message-body-{{ loop.index }}" class="context sf-toggle-content sf-toggle-hidden">
                                {{ profiler_dump(sentMessage.body) }}
                            </div>
{'fraction_non_alphanumeric': 0.164388910581804, 'fraction_numerical': 0.005857087075361187, 'mean_word_length': 1.5416666666666667, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '825979', 'n_tokens_mistral': 774, 'n_tokens_neox': 707, 'n_words': 139}