<commit_before><h3>
  Filters <span class="btn btn-default btn-light pull-right" ng-click="clustersFilters.clearFilters()">Clear All</span>
</h3>
    <filter-section heading="Search" expanded="true">
        <form class="form-horizontal" role="form">
            <div class="form-group nav-search">
                <input type="search" autofocus class="form-control input-sm" ng-model="sortFilter.filter" ng-change="clustersFilters.updateClusterGroups()" style="width: 85%; display: inline-block">
                <help-field key="cluster.search" placement="right"></help-field>
            </div>
        </form>
    </filter-section>

    <filter-section heading="Account" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.accountHeadings">
            <label>
                <input type="checkbox" ng-model="sortFilter.account[heading]" ng-change="clustersFilters.updateClusterGroups()"/>{{heading}}
            </label>
        </div>
    </filter-section>

    <filter-section heading="Region" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.regionHeadings">
            <label>
                <input type="checkbox" ng-model="sortFilter.region[heading]" ng-change="clustersFilters.updateClusterGroups()"/>{{heading}}
            </label>
        </div>
    </filter-section>



    <filter-section heading="Status" expanded="true">
        <div class="form">
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.healthy"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Healthy
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.unhealthy"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Unhealthy
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.disabled"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Disabled
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.unknown"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Unknown
                </label>
            </div>
        </div>
    </filter-section>


    <filter-section heading="Instance Types" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.instanceTypeHeadings">
            <label>
                <input type="checkbox" ng-model="sortFilter.instanceType[heading]" ng-change="clustersFilters.updateClusterGroups()"/> {{heading}}
            </label>
        </div>
    </filter-section>

    <filter-section heading="Provider" expanded="true" ng-if="clustersFilters.providerTypeHeadings.length > 1">
        <div class="checkbox" ng-repeat="heading in clustersFilters.providerTypeHeadings">
            <label>
                <input type="checkbox" ng-model="sortFilter.providerType[heading]" ng-change="clustersFilters.updateClusterGroups()"/> {{heading}}
            </label>
        </div>
    </filter-section>
<commit_msg>fixing a sorting issue on the cluster filters<commit_after><h3>
  Filters <span class="btn btn-default btn-light pull-right" ng-click="clustersFilters.clearFilters()">Clear All</span>
</h3>
    <filter-section heading="Search" expanded="true">
        <form class="form-horizontal" role="form">
            <div class="form-group nav-search">
                <input type="search" autofocus class="form-control input-sm" ng-model="sortFilter.filter" ng-change="clustersFilters.updateClusterGroups()" style="width: 85%; display: inline-block">
                <help-field key="cluster.search" placement="right"></help-field>
            </div>
        </form>
    </filter-section>

    <filter-section heading="Account" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.accountHeadings | orderBy:'toString()'  ">
            <label>
                <input type="checkbox" ng-model="sortFilter.account[heading]" ng-change="clustersFilters.updateClusterGroups()"/>{{heading}}
            </label>
        </div>
    </filter-section>

    <filter-section heading="Region" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.regionHeadings | orderBy: 'toString()' ">
            <label>
                <input type="checkbox" ng-model="sortFilter.region[heading]" ng-change="clustersFilters.updateClusterGroups()"/>{{heading}}
            </label>
        </div>
    </filter-section>



    <filter-section heading="Status" expanded="true">
        <div class="form">
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.healthy"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Healthy
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.unhealthy"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Unhealthy
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.disabled"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Disabled
                </label>
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox"
                           ng-model="sortFilter.status.unknown"
                           ng-change="clustersFilters.updateClusterGroups()"/>
                    Unknown
                </label>
            </div>
        </div>
    </filter-section>


    <filter-section heading="Instance Types" expanded="true">
        <div class="checkbox" ng-repeat="heading in clustersFilters.instanceTypeHeadings| orderBy: 'toString()' ">
            <label>
                <input type="checkbox" ng-model="sortFilter.instanceType[heading]" ng-change="clustersFilters.updateClusterGroups()"/> {{heading}}
            </label>
        </div>
    </filter-section>

    <filter-section heading="Provider" expanded="true" ng-if="clustersFilters.providerTypeHeadings.length > 1">
        <div class="checkbox" ng-repeat="heading in clustersFilters.providerTypeHeadings | orderBy: 'toString()'">
            <label>
                <input type="checkbox" ng-model="sortFilter.providerType[heading]" ng-change="clustersFilters.updateClusterGroups()"/> {{heading}}
            </label>
        </div>
    </filter-section>

{'fraction_non_alphanumeric': 0.13558855885588558, 'fraction_numerical': 0.0013751375137513752, 'mean_word_length': 1.9161988773055332, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 135, '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': '6881175', 'n_tokens_mistral': 1865, 'n_tokens_neox': 1803, 'n_words': 318}