<commit_before><div class="btn-group">
    <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"
            ng-class="{
                        'btn-warning': currentBuildFilterResource,
                        'btn-default': !currentBuildFilterResource
                        }">
        Filter<span ng-show="currentBuildFilterResource.name">: {{currentBuildFilterResource.name}}</span>
        <span class="caret"></span>
    </button>
    <ul class="dropdown-menu ot-buildfilter-list" role="menu">
        <li role="presentation" class="dropdown-header" ng-if="buildFilterResources">Existing filters:</li>
        <li ng-repeat="buildFilterResource in buildFilterResources">
            <a>
                            <span ng-click="buildFilterApply(buildFilterResource)"
                                  ng-class="{'ot-buildfilter-local': !buildFilterResource._update, 'ot-buildfilter-remote': buildFilterResource._update}">
                                {{buildFilterResource.name}}
                                <span ng-if="!buildFilterResource._update"> (local)</span>
                            </span>
                <!-- Saving only if local and logged -->
                <span class="glyphicon glyphicon-save ot-command" ng-if="!buildFilterResource._update && logged()"
                      title="Save this filter in your preferences"
                      ng-click="buildFilterSave(buildFilterResource)"></span>
                <!-- Deletion always available -->
                <span class="glyphicon glyphicon-trash ot-command"
                      title="Delete this filter"
                      ng-click="buildFilterRemove(buildFilterResource)"></span>
            </a>
        </li>
        <li class="divider" ng-if="buildFilterResources"></li>
        <li ng-if="currentBuildFilterResource">
            <a ng-click="buildFilterErase()">Erase filter</a>
        </li>
        <li class="divider" ng-if="currentBuildFilterResource"></li>
        <!-- New filters -->
        <li role="presentation" class="dropdown-header">New filter:</li>
        <li ng-repeat="buildFilterForm in buildFilterForms.resources">
            <a>
                <span ng-click="buildFilterNew(buildFilterForm)">
                    <span ng-if="!buildFilterForm.predefined">{{buildFilterForm.typeName}}...</span>
                    <span class="ot-buildfilter-remote"
                          ng-if="buildFilterForm.predefined"
                          title="This filter does not need any configuration">
                        {{buildFilterForm.typeName}}
                        <span class="glyphicon glyphicon-star"></span>
                    </span>
                </span>

            </a>
        </li><commit_msg>Build filter: explicit style for the saved filters<commit_after><div class="btn-group">
    <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"
            ng-class="{
                        'btn-warning': currentBuildFilterResource,
                        'btn-default': !currentBuildFilterResource
                        }">
        Filter<span ng-show="currentBuildFilterResource.name">: {{currentBuildFilterResource.name}}</span>
        <span class="caret"></span>
    </button>
    <ul class="dropdown-menu ot-buildfilter-list" role="menu">
        <li role="presentation" class="dropdown-header" ng-if="buildFilterResources">Existing filters:</li>
        <li ng-repeat="buildFilterResource in buildFilterResources">
            <a>
                            <span ng-click="buildFilterApply(buildFilterResource)"
                                  ng-class="{'ot-buildfilter-local': !buildFilterResource._update, 'ot-buildfilter-remote': buildFilterResource._update}">
                                {{buildFilterResource.name}}
                                <span ng-if="!buildFilterResource._update"> (local)</span>
                            </span>
                <!-- Saving only if local and logged -->
                <span class="glyphicon glyphicon-star-empty ot-command" ng-if="!buildFilterResource._update && logged()"
                      title="Save this filter in your preferences"
                      ng-click="buildFilterSave(buildFilterResource)"></span>
                <!-- Saved filter -->
                <span class="glyphicon glyphicon-star ot-command" ng-if="buildFilterResource._update"
                      title="This filter has been saved in your preferences"
                      ng-click="buildFilterApply(buildFilterResource)"></span>
                <!-- Deletion always available -->
                <span class="glyphicon glyphicon-trash ot-command"
                      title="Delete this filter"
                      ng-click="buildFilterRemove(buildFilterResource)"></span>
            </a>
        </li>
        <li class="divider" ng-if="buildFilterResources"></li>
        <li ng-if="currentBuildFilterResource">
            <a ng-click="buildFilterErase()">Erase filter</a>
        </li>
        <li class="divider" ng-if="currentBuildFilterResource"></li>
        <!-- New filters -->
        <li role="presentation" class="dropdown-header">New filter:</li>
        <li ng-repeat="buildFilterForm in buildFilterForms.resources">
            <a>
                <span ng-click="buildFilterNew(buildFilterForm)">
                    <span ng-if="!buildFilterForm.predefined">{{buildFilterForm.typeName}}...</span>
                    <span class="ot-buildfilter-remote"
                          ng-if="buildFilterForm.predefined"
                          title="This filter does not need any configuration">
                        {{buildFilterForm.typeName}}
                        <span class="glyphicon glyphicon-star"></span>
                    </span>
                </span>

            </a>
        </li>
{'fraction_non_alphanumeric': 0.1280477408354646, 'fraction_numerical': 0.0, 'mean_word_length': 1.8489558037882468, 'pattern_counts': {'":': 0, '<': 100, '<?xml version=': 0, '>': 100, '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': '826469', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1380, 'n_words': 262}