<commit_before><table class="table table-bordered table-striped">
    <tr>
        <th>&nbsp;</th>
        <th>Name</th>
        <th>Matches on</th>
        <th colspan="2">Matching amount</th>
        <th>Last seen match</th>
        <th>Next expected match</th>
        <th>Is active</th>
        <th>Will be automatched</th>
        <th>Repeats every</th>
        <th>&nbsp;</th>
    </tr>
    {% for entry in bills %}
    <tr>
        <td>
            <div class="btn-group btn-group-xs">
                <a href="{{route('bills.edit',entry.id)}}" class="btn btn-default btn-xs"><i class="fa fa-fw fa-pencil"></i></a>
                <a href="{{route('bills.delete',entry.id)}}" class="btn btn-danger btn-xs"><i class="fa fa-fw fa-trash-o"></i></a>
            </div>
        </td>
        <td>
            <a href="{{route('bills.show',entry.id)}}" title="{{ entry.name }}">{{ entry.name }}</a>
        </td>
        <td>
            {% for match in entry.match|split(',') %}
            <span class="label label-info">{{ match }}</span>
            {% endfor %}
        </td>
        <td>
            {{  entry.amount_min|formatAmount  }}
        </td>
        <td>
            {{  entry.amount_max|formatAmount  }}
        </td>
        <td>
            {% if entry.lastFoundMatch %}
                {{entry.lastFoundMatch.format('j F Y')}}
            {% else %}
                <em>Unknown</em>
            {% endif %}
        </td>
        <td>
            {% if entry.nextExpectedMatch%}
                {{entry.nextExpectedMatch.format('j F Y')}}
            {% else %}
                <em>Unknown</em>
            {% endif %}
        </td>
        <td>
            {% if entry.active %}
                <i class="fa fa-fw fa-check"></i>
            {% else %}
                <i class="fa fa-fw fa-ban"></i>
            {% endif %}
        </td>
        <td>
            {% if entry.automatch %}
                 <i class="fa fa-fw fa-check"></i>
            {% else %}
                 <i class="fa fa-fw fa-ban"></i>
             {% endif %}
         </td>
         <td>
            {{ entry.repeat_freq }}
             {% if entry.skip > 0 %}
                skips over {{entry.skip}}
             {% endif %}
         </td>
        <td>
            {% if entry.active %}
                <a href="{{route('bills.add',entry.id)}}" class="btn btn-success btn-xs"><i class="fa fa-fw fa-plus-circle"></i></a>
            {% endif %}
        </td>
    </tr>

    {% endfor %}<commit_msg>Add sort options. [skip ci]<commit_after><table class="table table-bordered table-striped sortable">
    <tr>
        <th data-defaultsort="disabled">&nbsp;</th>
        <th>Name</th>
        <th>Matches on</th>
        <th colspan="2">Matching amount</th>
        <th>Last seen match</th>
        <th>Next expected match</th>
        <th>Is active</th>
        <th>Will be automatched</th>
        <th>Repeats every</th>
        <th data-defaultsort="disabled">&nbsp;</th>
    </tr>
    {% for entry in bills %}
    <tr>
        <td>
            <div class="btn-group btn-group-xs">
                <a href="{{route('bills.edit',entry.id)}}" class="btn btn-default btn-xs"><i class="fa fa-fw fa-pencil"></i></a>
                <a href="{{route('bills.delete',entry.id)}}" class="btn btn-danger btn-xs"><i class="fa fa-fw fa-trash-o"></i></a>
            </div>
        </td>
        <td>
            <a href="{{route('bills.show',entry.id)}}" title="{{ entry.name }}">{{ entry.name }}</a>
        </td>
        <td data-value="{{ entry.match }}">
            {% for match in entry.match|split(',') %}
            <span class="label label-info">{{ match }}</span>
            {% endfor %}
        </td>
        <td data-value="{{ entry.amount_min }}">
            {{  entry.amount_min|formatAmount  }}
        </td>
        <td data-value="{{ entry.amount_max }}">
            {{  entry.amount_max|formatAmount  }}
        </td>
            {% if entry.lastFoundMatch %}
            <td data-value="{{ entry.lastFoundMatch.format('U') }}">
                {{entry.lastFoundMatch.format('j F Y')}}
            </td>
            {% else %}
            <td data-value="0">
                <em>Unknown</em>
            </td>
            {% endif %}

            {% if entry.nextExpectedMatch%}
            <td data-value="{{entry.nextExpectedMatch.format('U')}}">
                {{entry.nextExpectedMatch.format('j F Y')}}
            </td>
            {% else %}
            <td data-value="0">
                <em>Unknown</em>
            </td>
            {% endif %}

        <td data-value="{{ entry.active }}">
            {% if entry.active %}
                <i class="fa fa-fw fa-check"></i>
            {% else %}
                <i class="fa fa-fw fa-ban"></i>
            {% endif %}
        </td>
        <td data-value="{{ entry.automatch }}">
            {% if entry.automatch %}
                 <i class="fa fa-fw fa-check"></i>
            {% else %}
                 <i class="fa fa-fw fa-ban"></i>
             {% endif %}
         </td>
        <td data-value="{{ entry.repeat_freq }}{{ entry.skip }}">
            {{ entry.repeat_freq }}
             {% if entry.skip > 0 %}
                skips over {{entry.skip}}
             {% endif %}
         </td>
        <td>
            {% if entry.active %}
                <a href="{{route('bills.add',entry.id)}}" class="btn btn-success btn-xs"><i class="fa fa-fw fa-plus-circle"></i></a>
            {% endif %}
        </td>
    </tr>

    {% endfor %}
{'fraction_non_alphanumeric': 0.19420289855072465, 'fraction_numerical': 0.0010869565217391304, 'mean_word_length': 1.4225537516454585, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 163, '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': '4914215', 'n_tokens_mistral': 1794, 'n_tokens_neox': 1673, 'n_words': 335}