<commit_before><div class="faceting-container">
    <div class="columns-container">
        <div class="panel-group" id="ft-cols-1">
            <div class="panel panel-default" ng-repeat="fc in vm.facetColumns track by $index">
                <div class="panel-heading">
                    <h4 class="panel-title accordion-toggle collapsed" data-toggle="collapse" href="#ft-col-1-{{$index}}" ng-click="toggleFacet($index)">
                        <!-- data-parent="#ft-cols-1" -->
                        <a ng-attr-uib-tooltip="{{::(fc.comment) ? fc.comment : undefined}}" ng-attr-tooltip-placement="{{::(fc.comment) ? 'top' : undefined}}" title="{{fc.comment}}">
                            <span ng-if="::fc.displayname.isHTML" ng-bind-html="::fc.displayname.value"></span>
                            <span ng-if="::!fc.displayname.isHTML" ng-bind="::fc.displayname.value"></span> [{{fc.column.type.name}}]
                        </a>
                    </h4>
                    <span class="applied-filters" ng-show="hasFilter(fc)">
                        <span class="label label-primary">
                            <a class="remove-link" ng-click="removeFilter(fc)">clear all</a>
                        </span>
                        <span class="label label-primary" ng-repeat="filter in fc.filters track by $index">
                            <a class="remove-link" ng-click="removeFilter(fc, $index)"><i class="glyphicon glyphicon-remove"></i></a>
                            <span ng-bind="filter.toString()"></span>
                        </span>
                    </span>
                </div>
                <div id="ft-col-1-{{$index}}" class="panel-collapse collapse">
                    <div class="panel-body">
                        <range-picker ng-if="fc.column.type.name.indexOf('text') == -1" vm="vm" facet-column="fc" is-open="isOpen[$index]"></range-picker>
                        <string-picker ng-if="fc.column.type.name.indexOf('text') > -1" vm="vm" facet-column="fc" is-open="isOpen[$index]"></string-picker>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<commit_msg>prefered mode changes<commit_after><div class="faceting-container">
    <div class="columns-container">
        <div class="panel-group" id="ft-cols-1">
            <div class="panel panel-default" ng-repeat="fc in vm.facetColumns track by $index">
                <div class="panel-heading">
                    <h4 class="panel-title accordion-toggle collapsed" data-toggle="collapse" href="#ft-col-1-{{$index}}" ng-click="toggleFacet($index)">
                        <!-- data-parent="#ft-cols-1" -->
                        <a ng-attr-uib-tooltip="{{::(fc.comment) ? fc.comment : undefined}}" ng-attr-tooltip-placement="{{::(fc.comment) ? 'top' : undefined}}" title="{{fc.comment}}">
                            <span ng-if="::fc.displayname.isHTML" ng-bind-html="::fc.displayname.value"></span>
                            <span ng-if="::!fc.displayname.isHTML" ng-bind="::fc.displayname.value"></span> [{{fc.preferredMode}}]
                        </a>
                    </h4>
                    <span class="applied-filters" ng-show="hasFilter(fc)">
                        <span class="label label-primary">
                            <a class="remove-link" ng-click="removeFilter(fc)">clear all</a>
                        </span>
                        <span class="label label-primary" ng-repeat="filter in fc.filters track by $index">
                            <a class="remove-link" ng-click="removeFilter(fc, $index)"><i class="glyphicon glyphicon-remove"></i></a>
                            <span ng-bind="filter.toString()"></span>
                        </span>
                    </span>
                </div>
                <div id="ft-col-1-{{$index}}" class="panel-collapse collapse">
                    <div class="panel-body" ng-switch="fc.preferredMode">
                        <range-picker ng-switch-when="range" vm="vm" facet-column="fc" is-open="isOpen[$index]"></range-picker>
                        <string-picker ng-switch-when="choices" vm="vm" facet-column="fc" is-open="isOpen[$index]"></string-picker>
                        <vocab-picker ng-switch-when="entity" vm="vm" facet-column="fc" is-open="isOpen[$index]"></vocab-picker>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.18214445939883356, 'fraction_numerical': 0.0031404217137729925, 'mean_word_length': 1.7355828220858895, 'pattern_counts': {'":': 8, '<': 87, '<?xml version=': 0, '>': 88, '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': '5436381', 'n_tokens_mistral': 1298, 'n_tokens_neox': 1240, 'n_words': 202}