<commit_before><h2>Routing for "{{ request.pathinfo }}"</h2>

<ul>
    <li><strong>Route:&nbsp;</strong>{{ request.route }}</li>
    <li>
        <strong>Route parameters:</strong>
        {% if request.routeParams|length %}
            {% include 'WebProfilerBundle:Profiler:table.html.twig' with { 'data': request.routeParams, 'class': 'inline' } only %}
        {% else %}
            <em>No parameters</em>
        {% endif %}
    </li>
    {% if router.redirect %}
    <li>
        <strong>Redirecting to:&nbsp;</strong> "{{ router.targetUrl }}" {% if router.targetRoute %}(route: "{{ router.targetRoute }}"){% endif %}
    <li>
    {% endif %}
    <li>
        <strong>Route matching:</strong>
        <table class="routing inline">
            <tr>
                <th>Route name</th>
                <th>Pattern</th>
                <th>Log</th>
            </tr>
            {% for trace in traces %}
                <tr class="{{ 1 == trace.level ? 'almost' : 2 == trace.level ? 'matches' : '' }}">
                    <td>{{ trace.name }}</td>
                    <td>{{ trace.pattern }}</td>
                    <td>{{ trace.log }}</td>
                </tr><commit_msg>fixed exception in the profile/WDT when no route matches<commit_after><h2>Routing for "{{ request.pathinfo }}"</h2>

<ul>
    <li>
        <strong>Route:&nbsp;</strong>
        {% if request.route %}
            {{ request.route }}
        {% else %}
            <em>No matching route</em>
        {% endif %}
    </li>
    <li>
        <strong>Route parameters:&nbsp;</strong>
        {% if request.routeParams|length %}
            {% include 'WebProfilerBundle:Profiler:table.html.twig' with { 'data': request.routeParams, 'class': 'inline' } only %}
        {% else %}
            <em>No parameters</em>
        {% endif %}
    </li>
    {% if router.redirect %}
    <li>
        <strong>Redirecting to:&nbsp;</strong> "{{ router.targetUrl }}" {% if router.targetRoute %}(route: "{{ router.targetRoute }}"){% endif %}
    <li>
    {% endif %}
    <li>
        <strong>Route matching logs</strong>
        <table class="routing inline">
            <tr>
                <th>Route name</th>
                <th>Pattern</th>
                <th>Log</th>
            </tr>
            {% for trace in traces %}
                <tr class="{{ 1 == trace.level ? 'almost' : 2 == trace.level ? 'matches' : '' }}">
                    <td>{{ trace.name }}</td>
                    <td>{{ trace.pattern }}</td>
                    <td>{{ trace.log }}</td>
                </tr>
{'fraction_non_alphanumeric': 0.1872307089698394, 'fraction_numerical': 0.003133568350959655, 'mean_word_length': 1.7315508021390373, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '5270905', 'n_tokens_mistral': 822, 'n_tokens_neox': 746, 'n_words': 162}