<commit_before><md-toolbar class="pip-nav {{ class }}" ng-class="{'pip-visible': show(), 'pip-shadow': showShadow()}">
    <md-tabs ng-if="media('gt-xs')" md-selected="activeTab" ng-class="{'disabled': disabled()}"
             md-stretch-tabs="true" md-dynamic-height="true">
        <md-tab ng-repeat="tab in tabs track by $index" ng-disabled="tabDisabled($index)"
                md-on-select="onSelect($index)">
            <md-tab-label>
                {{::tab.nameLocal }}
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 0 && tab.newCounts <= 99">
                    {{::tab.newCounts }}
                </div>
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 99">!</div>
            </md-tab-label>
        </md-tab>
    </md-tabs>
    <div class="md-subhead pip-tabs-content color-primary-bg  " ng-if="media('xs')">
        <div class="pip-divider position-top m0"></div>
        <md-select ng-model="activeIndex" ng-disabled="disabled()"
                   md-container-class="pip-full-width-dropdown" aria-label="SELECT" md-ink-ripple
                   md-on-close="onSelect(activeIndex)">
            <md-option ng-repeat="tab in tabs track by $index" value="{{ ::$index }}">
                {{ ::tab.nameLocal }}
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 0 && tab.newCounts <= 99">
                    {{ ::tab.newCounts }}
                </div>
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 99">!</div>
            </md-option>
        </md-select>
    </div>
</md-toolbar><commit_msg>fix badge updating<commit_after><md-toolbar class="pip-nav {{ class }}" ng-class="{'pip-visible': show(), 'pip-shadow': showShadow()}">
    <md-tabs ng-if="media('gt-xs')" md-selected="activeTab" ng-class="{'disabled': disabled()}"
             md-stretch-tabs="true" md-dynamic-height="true">
        <md-tab ng-repeat="tab in tabs track by $index" ng-disabled="tabDisabled($index)"
                md-on-select="onSelect($index)">
            <md-tab-label>
                {{::tab.nameLocal }}
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 0 && tab.newCounts <= 99">
                    {{ tab.newCounts }}
                </div>
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 99">!</div>
            </md-tab-label>
        </md-tab>
    </md-tabs>
    <div class="md-subhead pip-tabs-content color-primary-bg  " ng-if="media('xs')">
        <div class="pip-divider position-top m0"></div>
        <md-select ng-model="activeIndex" ng-disabled="disabled()"
                   md-container-class="pip-full-width-dropdown" aria-label="SELECT" md-ink-ripple
                   md-on-close="onSelect(activeIndex)">
            <md-option ng-repeat="tab in tabs track by $index" value="{{ ::$index }}">
                {{ ::tab.nameLocal }}
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 0 && tab.newCounts <= 99">
                    {{ tab.newCounts }}
                </div>
                <div class="pip-tabs-badge color-badge-bg" ng-if="tab.newCounts > 99">!</div>
            </md-option>
        </md-select>
    </div>
</md-toolbar>
{'fraction_non_alphanumeric': 0.1913730255164034, 'fraction_numerical': 0.006682867557715674, 'mean_word_length': 2.0604089219330857, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 59, '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': '5729870', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1043, 'n_words': 173}