<commit_before><table class="table table-bordered table-condensed">
    <thead>
        <tr>
            <th>Rank</th>
            <th>Pick Name (user)</th>
            <th>Points Won</th>
            <th>Record</th>
            <th>Points Possible</th>
        </tr>
    </thead>
    <tbody>
        {% set rank = 1 %}
        {% set lastPoints = 0 %}
        {% for user in users %}
            {% set pickSet = league.getPicksetForUser(user) %}
            {% set rank = (lastPoints == pickSet.points) ? '-' : loop.index %}
            {% set lastPoints = pickSet.points %}
            <tr>
                <td>{{ rank }}</td>
                <td>
                    {% if picks_locked %}
                        <a href="{{ path('pickset_view', {'picksetId': pickSet.id, 'leagueId': league.id}) }}">{{ pickSet.name|default('Not Named') }} ({{ user.username }})</a>
                    {% else %}
                        <a href="{{ path('user_profile', {'username': user.username}) }}">{{ pickSet.name|default('Not Named') }} ({{ user.username }})</a>
                    {% endif %}
                    {% if not picks_locked and (is_granted('ROLE_ADMIN') or user == app.user %}
                        <a href="{{ path('pickset_edit', {'picksetId': pickSet.id}) }}" class="label notice">edit</a>
                    {% endif %}
                </td>
                <td>{{ pickSet.points }}</td>
                <td>{{ pickSet.wins|length }} - {{ pickSet.loses|length }}</td>
                <td>{{ pickSet.pointsPossible }}</td>
            </tr>
        {% endfor %}
    </tbody>
</table><commit_msg>Fix twig error<commit_after><table class="table table-bordered table-condensed">
    <thead>
        <tr>
            <th>Rank</th>
            <th>Pick Name (user)</th>
            <th>Points Won</th>
            <th>Record</th>
            <th>Points Possible</th>
        </tr>
    </thead>
    <tbody>
        {% set rank = 1 %}
        {% set lastPoints = 0 %}
        {% for user in users %}
            {% set pickSet = league.getPicksetForUser(user) %}
            {% set rank = (lastPoints == pickSet.points) ? '-' : loop.index %}
            {% set lastPoints = pickSet.points %}
            <tr>
                <td>{{ rank }}</td>
                <td>
                    {% if picks_locked %}
                        <a href="{{ path('pickset_view', {'picksetId': pickSet.id, 'leagueId': league.id}) }}">{{ pickSet.name|default('Not Named') }} ({{ user.username }})</a>
                    {% else %}
                        <a href="{{ path('user_profile', {'username': user.username}) }}">{{ pickSet.name|default('Not Named') }} ({{ user.username }})</a>
                    {% endif %}
                    {% if not picks_locked and (is_granted('ROLE_ADMIN') or user == app.user) %}
                        <a href="{{ path('pickset_edit', {'picksetId': pickSet.id}) }}" class="label notice">edit</a>
                    {% endif %}
                </td>
                <td>{{ pickSet.points }}</td>
                <td>{{ pickSet.wins|length }} - {{ pickSet.loses|length }}</td>
                <td>{{ pickSet.pointsPossible }}</td>
            </tr>
        {% endfor %}
    </tbody>
</table>
{'fraction_non_alphanumeric': 0.1860248447204969, 'fraction_numerical': 0.0012422360248447205, 'mean_word_length': 1.5382190701339638, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '379802', 'n_tokens_mistral': 1026, 'n_tokens_neox': 929, 'n_words': 199}