<commit_before><div class="qa-available-filters c-data-selection-available-filters">
    <div class="c-data-selection-available-filters__category"
         ng-show="vm.hasInactiveFilterOptions(filter)"
         ng-repeat="filter in vm.availableFilters">
        <h2 class="c-data-selection-available-filters__category-label qa-category-header">{{filter.label}}</h2>
        <ul>
            <li class="c-data-selection-available-filters__item"
                ng-repeat="option in filter.options | limitTo : vm.isExpandedFilter(filter.slug) ? undefined : vm.showMoreThreshold">
                <button class="o-btn o-btn--link o-btn--inline-block"
                        ng-click="vm.addFilter(filter.slug, option.id)"
                    ><span class="c-data-selection-available-filters__item-label--empty-value"
                          ng-class="{'c-data-selection-available-filters__item-label--empty-value': !option.label}"
                        ><span class="qa-option-label">{{option.label}}</span>
                        <span ng-if="vm.showOptionCounts">({{option.count}})</span>
                    </span>
                </button>
            </li>
        </ul>

        <div class="c-data-selection-available-filters__show-more"
             ng-if="vm.canExpandImplode(filter.slug) && vm.showExpandButton(filter.slug)">
            <button class="
                        c-data-selection-available-filters__show-more-button
                        c-show-more
                        c-show-more--gray
                        qa-show-more-button"
                    ng-click="vm.expandFilter(filter.slug)"
                >Toon meer
            </button>
        </div>

        <div class="c-data-selection-available-filters__show-more"
             ng-if="vm.canExpandImplode(filter.slug) && vm.isExpandedFilter(filter.slug)">
            <div ng-if="vm.nrHiddenOptions(filter) > 0"
                 class="c-data-selection-available-filters__hidden-options qa-hidden-options">
                ...nog {{vm.nrHiddenOptions(filter) | number}} waarden<commit_msg>fix for not showing (leeg) in available filters tg-4260<commit_after><div class="qa-available-filters c-data-selection-available-filters">
    <div class="c-data-selection-available-filters__category"
         ng-show="vm.hasInactiveFilterOptions(filter)"
         ng-repeat="filter in vm.availableFilters">
        <h2 class="c-data-selection-available-filters__category-label qa-category-header">{{filter.label}}</h2>
        <ul>
            <li class="c-data-selection-available-filters__item"
                ng-repeat="option in filter.options | limitTo : vm.isExpandedFilter(filter.slug) ? undefined : vm.showMoreThreshold">
                <button class="o-btn o-btn--link o-btn--inline-block"
                        ng-click="vm.addFilter(filter.slug, option.id)"
                    ><span class="c-data-selection-available-filters__item-label"
                          ng-class="{'c-data-selection-available-filters__item-label--empty-value': !option.label}"
                        ><span class="qa-option-label">{{option.label}}</span>
                        <span ng-if="vm.showOptionCounts">({{option.count}})</span>
                    </span>
                </button>
            </li>
        </ul>

        <div class="c-data-selection-available-filters__show-more"
             ng-if="vm.canExpandImplode(filter.slug) && vm.showExpandButton(filter.slug)">
            <button class="
                        c-data-selection-available-filters__show-more-button
                        c-show-more
                        c-show-more--gray
                        qa-show-more-button"
                    ng-click="vm.expandFilter(filter.slug)"
                >Toon meer
            </button>
        </div>

        <div class="c-data-selection-available-filters__show-more"
             ng-if="vm.canExpandImplode(filter.slug) && vm.isExpandedFilter(filter.slug)">
            <div ng-if="vm.nrHiddenOptions(filter) > 0"
                 class="c-data-selection-available-filters__hidden-options qa-hidden-options">
                ...nog {{vm.nrHiddenOptions(filter) | number}} waarden
{'fraction_non_alphanumeric': 0.13921334922526818, 'fraction_numerical': 0.0023837902264600714, 'mean_word_length': 1.9363191042687193, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 49, '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': '3318213', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1155, 'n_words': 143}