<commit_before><div class="panel panel-default">
    <div class="panel-heading clearfix">
        <div ng-show="showSearch">
            <div ng-repeat="searchField in searchFields">
                <div ng-class-even="row">
                    <div ng-switch data-on="searchField.type">
                        <div ng-switch-when="select">
                            <div class="col-md-3">
                                <label class="control-label" for="SearchSelectField{{searchField.name}}">{{searchField.name}}</label>
                                <select id="SearchSelectField{{searchField.name}}" class="form-control" data-ng-model="searchParams[searchField.field]" ng-options="searchFieldOption._id as searchFieldOption.name for searchFieldOption in searchField.options"></select>
                            </div>
                        </div>
                        <div ng-switch-when="selectRangeSingle">
                            <div class="col-md-3">
                                <label class="control-label" for="SearchSelectRangeField{{searchField.name}}">{{searchField.name}}</label>
                                <select id="SearchSelectRangeField{{searchField.name}}"
                                        data-ng-change="searchParams[searchField.fieldStart]=selected[searchField.name][searchField.selectedStart]; searchParams[searchField.fieldEnd]=selected[searchField.name][searchField.selectedEnd]"
                                        class="form-control"
                                        data-ng-model="selected[searchField.name]"
                                        ng-options="searchFieldOption._id as searchFieldOption.name for searchFieldOption in searchField.options">
                                </select>
                            </div>
                        </div>
                        <div ng-switch-when="text">
                            <div class="col-md-3">
                                <div class="form-group">
                                    <label for="SearchTextField{{searchField.name}}">{{searchField.name}}</label>
                                    <input id="SearchTextField{{searchField.name}}" class="form-control" type="text" data-ng-model="searchParams[searchField.field]" autocomplete="off"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div ng-if="$index == 0" class="col-md-2 pull-right">
                        Show <label><select id="perPageCountSelection" class="form-control input-sm" data-ng-model="searchParams.per_page" ng-options="perPageOption.value as perPageOption.name for perPageOption in perPageOptions"></select></label> items
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div ng-show="noRecords">
        <h4>{{messageEmpty}}</h4>
    </div>
    <table ng-hide="noRecords" border="0" class="table table-striped table-bordered">
        <thead>
        <tr>
            <th data-ng-repeat="column in columnInfo">{{column.title}}</th>
        </tr>
        </thead>
        <tbody>
        <tr data-ng-repeat="model in models">
            <td data-ng-repeat="column in columnInfo">
                <div ng-switch data-on="column.type">
                    <div ng-switch-when="link">
                        <a data-ng-href="{{column.baseLink}}{{getValueFromModel(model, column.linkField)}}">{{getFieldValue(model,column)}}</a>
                    </div>
                    <div ng-switch-default>{{getFieldValue(model,column)}}</div>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="panel-footer clearfix">
        <div class="row">
            <div class="col-md-3">
                Displaying {{calculatePageRange(searchParams.page,searchParams.per_page, totalItems)}} of {{totalItems}} items
            </div>
            <div class="col-md-6 pull-right">
                <div data-pagination
                     class="pull-right pagination-no-margin"
                     data-on-select-page="changePage(page)"
                     data-direction-links="true"
                     data-boundary-links="true"
                     data-total-items="totalItems"
                     data-items-per-page="searchParams.per_page"
                     data-page="searchParams.page"
                     data-max-size="5">
                </div>
            </div><commit_msg>Added template views to sb table<commit_after><div class="panel panel-default">
    <div class="panel-heading clearfix">
        <div ng-show="showSearch">
            <div ng-repeat="searchField in searchFields">
                <div ng-class-even="row">
                    <div ng-switch data-on="searchField.type">
                        <div ng-switch-when="select">
                            <div class="col-md-3">
                                <label class="control-label" for="SearchSelectField{{searchField.name}}">{{searchField.name}}</label>
                                <select id="SearchSelectField{{searchField.name}}" class="form-control" data-ng-model="searchParams[searchField.field]" ng-options="searchFieldOption._id as searchFieldOption.name for searchFieldOption in searchField.options"></select>
                            </div>
                        </div>
                        <div ng-switch-when="selectRangeSingle">
                            <div class="col-md-3">
                                <label class="control-label" for="SearchSelectRangeField{{searchField.name}}">{{searchField.name}}</label>
                                <select id="SearchSelectRangeField{{searchField.name}}"
                                        data-ng-change="searchParams[searchField.fieldStart]=selected[searchField.name][searchField.selectedStart]; searchParams[searchField.fieldEnd]=selected[searchField.name][searchField.selectedEnd]"
                                        class="form-control"
                                        data-ng-model="selected[searchField.name]"
                                        ng-options="searchFieldOption._id as searchFieldOption.name for searchFieldOption in searchField.options">
                                </select>
                            </div>
                        </div>
                        <div ng-switch-when="text">
                            <div class="col-md-3">
                                <div class="form-group">
                                    <label for="SearchTextField{{searchField.name}}">{{searchField.name}}</label>
                                    <input id="SearchTextField{{searchField.name}}" class="form-control" type="text" data-ng-model="searchParams[searchField.field]" autocomplete="off"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div ng-if="$index == 0" class="col-md-2 pull-right">
                        Show <label><select id="perPageCountSelection" class="form-control input-sm" data-ng-model="searchParams.per_page" ng-options="perPageOption.value as perPageOption.name for perPageOption in perPageOptions"></select></label> items
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div ng-show="noRecords">
        <h4>{{messageEmpty}}</h4>
    </div>
    <table ng-hide="noRecords" border="0" class="table table-striped table-bordered">
        <thead>
        <tr>
            <th data-ng-repeat="column in columnInfo">{{column.title}}</th>
        </tr>
        </thead>
        <tbody>
        <tr data-ng-repeat="model in models">
            <td data-ng-repeat="column in columnInfo">
                <div ng-switch data-on="column.type">
                    <div ng-switch-when="link">
                        <a data-ng-href="{{column.baseLink}}{{getValueFromModel(model, column.linkField)}}">{{getFieldValue(model,column)}}</a>
                    </div>
                    <div ng-switch-when="template">
                        <div ng-include="column.template"></div>
                    </div>
                    <div ng-switch-default>{{getFieldValue(model,column)}}</div>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="panel-footer clearfix">
        <div class="row">
            <div class="col-md-3">
                Displaying {{calculatePageRange(searchParams.page,searchParams.per_page, totalItems)}} of {{totalItems}} items
            </div>
            <div class="col-md-6 pull-right">
                <div data-pagination
                     class="pull-right pagination-no-margin"
                     data-on-select-page="changePage(page)"
                     data-direction-links="true"
                     data-boundary-links="true"
                     data-total-items="totalItems"
                     data-items-per-page="searchParams.per_page"
                     data-page="searchParams.page"
                     data-max-size="5">
                </div>
            </div>
{'fraction_non_alphanumeric': 0.13336234091156315, 'fraction_numerical': 0.0023931252039595344, 'mean_word_length': 1.4922743290864733, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '968874', 'n_tokens_mistral': 2333, 'n_tokens_neox': 2219, 'n_words': 359}