<commit_before><section data-ng-controller="OffersController">
    <div class="page-header">
        <h1>Offers</h1>
    </div>

    <div class="pull-right">
      <a type="button" class="btn btn-success" href="/#!/offers/create">
        <i class="glyphicon glyphicon-open"></i> New Offer
      </a>
    </div>

    <div>
        <table ng-table="tableParams" show-filter="true">
            <tr ng-repeat="offer in $data">
                <td data-title="'Title'" sortable="'title'" filter="{ 'title': 'text' }">{{offer.title}}</td>
                <td data-title="'Price'" sortable="'sales'" filter="{ 'sales': 'text' }">{{offer.sales}}</td>
                <td data-title="'Site'" sortable="'site'" filter="{'site': 'select'}" filter-data="sites($column)">{{offer.site}}</td>
                <td data-title="''" sortable="'active'" filter="{ 'active': 'text' }">{{offer.active}}</td>
                <td>
                    <div class="table-actions">
                <td>
                   <div class="table-actions">
                        <a class="btn btn-default" title="View" href="/#!/offers/{{offer._id}}">
                            <span class="glyphicon glyphicon-eye-open"></span>
                        </a>
                        <a class="btn btn-default" title="Edit" href="/#!/offers/{{offer._id}}/edit">
                            <span class="glyphicon glyphicon-edit"></span>
                        </a>
                        <a class="btn btn-danger" title="Remove" ng-really-message="Are you sure ?" ng-really-click="remove(offer)" item="offer">
                  				<span class="glyphicon glyphicon-remove-circle"></span>
                  			</a>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</section>
<commit_msg>Add filter by language to offers list<commit_after><section data-ng-controller="OffersController">
    <div class="page-header">
        <h1>Offers</h1>
    </div>

    <div class="pull-right">
      <a type="button" class="btn btn-success" href="/#!/offers/create">
        <i class="glyphicon glyphicon-open"></i> New Offer
      </a>
    </div>

    <div>
        <table ng-table="tableParams" show-filter="true">
            <tr ng-repeat="offer in $data">
                <td data-title="'Title'" sortable="'title'" filter="{ 'title': 'text' }">{{offer.title}}</td>
                <td data-title="'Price'" sortable="'sales'" filter="{ 'sales': 'text' }">{{offer.sales}}</td>
                <td data-title="'Language'" sortable="'language'" filter="{'language': 'select'}">{{offer.language}}</td>
                <td data-title="'Site'" sortable="'site'" filter="{'site': 'select'}" filter-data="sites($column)">{{offer.site}}</td>
                <td data-title="''" sortable="'active'" filter="{ 'active': 'select' }">{{offer.active}}</td>
                <td>
                    <div class="table-actions">
                <td>
                   <div class="table-actions">
                        <a class="btn btn-default" title="View" href="/#!/offers/{{offer._id}}">
                            <span class="glyphicon glyphicon-eye-open"></span>
                        </a>
                        <a class="btn btn-default" title="Edit" href="/#!/offers/{{offer._id}}/edit">
                            <span class="glyphicon glyphicon-edit"></span>
                        </a>
                        <a class="btn btn-danger" title="Remove" ng-really-message="Are you sure ?" ng-really-click="remove(offer)" item="offer">
                  				<span class="glyphicon glyphicon-remove-circle"></span>
                  			</a>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</section>

{'fraction_non_alphanumeric': 0.1929000261028452, 'fraction_numerical': 0.0010441138084051162, 'mean_word_length': 1.733238231098431, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '977113', 'n_tokens_mistral': 1191, 'n_tokens_neox': 1046, 'n_words': 207}