<commit_before><div style="width:100%;height:100%">
    <!-- Extended layout (vertical orientation, description & legend options, etc.) -->
    <div ng-if="!data.minimalLayout">
        <div ng-repeat="b in $parent.buttons" ng-hide="b._disabled" class="s3d button-container" ng-class="{'button-container-down': b._active}">
            <div class="button-widget-content" ng-click="$parent.$parent.vm.click(b)">
                <img ng-if="b.image" ng-src="{{b.image}}" ng-class="{'button-widget-image': (!b._active || !b.showLegend), 'button-widget-image-active': (b._active && b.showLegend)}" ng-style="data.extStyle"></img>
                <div ng-show="b._featureIcon" ng-bind-html="b._featureIcon" style="float:left;margin:5px"></div>

                {{b.title}}
                <div ng-hide="(b.showLegend && b._active) || !b.description" class="button-widget-description">{{b.description}}</div>
                <div ng-show="b._layer.isLoading" class="spinner" style="position:absolute;right:3px;top:-10px">
                    <div class="bounce1" style="background:white"></div>
                    <div class="bounce2" style="background:white"></div>
                    <div class="bounce3" style="background:white"></div>
                </div>

                <layereditor ng-show="b._layer._gui['editing']" layer="b._layer" view="icons" class="button-layer-editor" />

                <div ng-if="b.showLegend" ng-show="b._active">
                    <div data-ng-if="b._legend" style="float:left;clear:left">

                        <div data-ng-if="b._legend.legendKind === 'discrete' || b._legend.legendKind === 'discreteStrings'">
                            <span class="button-legend-label">{{b._lastLegendLabel}}</span>

                            <div class="button-legend-entries" data-ng-repeat="le in b._legend.legendEntries " ng-click="$parent.$parent.$parent.$parent.$parent.$parent.vm.toggleFilter(le, b.group, b.property);$event.stopPropagation();">
                                <div class="button-legend-color-entry" ng-style="{'background-color': le.color}" uib-tooltip="{{le.label}}"></div>
                            </div>
                            <span class="button-legend-label">{{b._firstLegendLabel}}</span>

                        </div><commit_msg>Button visible fix (when using button groups)<commit_after><div style="width:100%;height:100%">
    <!-- Extended layout (vertical orientation, description & legend options, etc.) -->
    <div ng-if="!data.minimalLayout">
        <div ng-repeat="b in $parent.buttons" ng-hide="b._disabled || !b._visible" class="s3d button-container" ng-class="{'button-container-down': b._active}">
            <div class="button-widget-content" ng-click="$parent.$parent.vm.click(b)">
                <img ng-if="b.image" ng-src="{{b.image}}" ng-class="{'button-widget-image': (!b._active || !b.showLegend), 'button-widget-image-active': (b._active && b.showLegend)}" ng-style="data.extStyle"></img>
                <div ng-show="b._featureIcon" ng-bind-html="b._featureIcon" style="float:left;margin:5px"></div>

                {{b.title}}
                <div ng-hide="(b.showLegend && b._active) || !b.description" class="button-widget-description">{{b.description}}</div>
                <div ng-show="b._layer.isLoading" class="spinner" style="position:absolute;right:3px;top:-10px">
                    <div class="bounce1" style="background:white"></div>
                    <div class="bounce2" style="background:white"></div>
                    <div class="bounce3" style="background:white"></div>
                </div>

                <layereditor ng-show="b._layer._gui['editing']" layer="b._layer" view="icons" class="button-layer-editor" />

                <div ng-if="b.showLegend" ng-show="b._active">
                    <div data-ng-if="b._legend" style="float:left;clear:left">

                        <div data-ng-if="b._legend.legendKind === 'discrete' || b._legend.legendKind === 'discreteStrings'">
                            <span class="button-legend-label">{{b._lastLegendLabel}}</span>

                            <div class="button-legend-entries" data-ng-repeat="le in b._legend.legendEntries " ng-click="$parent.$parent.$parent.$parent.$parent.$parent.vm.toggleFilter(le, b.group, b.property);$event.stopPropagation();">
                                <div class="button-legend-color-entry" ng-style="{'background-color': le.color}" uib-tooltip="{{le.label}}"></div>
                            </div>
                            <span class="button-legend-label">{{b._firstLegendLabel}}</span>

                        </div>
{'fraction_non_alphanumeric': 0.18877660718125133, 'fraction_numerical': 0.006020210707374758, 'mean_word_length': 2.518910741301059, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '6887281', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1339, 'n_words': 192}