<commit_before><div class="row scientilla-toolbar">
    <div class="col-sm-1">
        <a href="">
            Scientilla
        </a>
    </div>
    <div class="col-sm-6">
        <span class="displayname">{{vm.researchEntity.getDisplayName()}}</span>
        <div uib-dropdown class="btn-group" is-open="status.isopen">
            <button id="single-button" type="button" class="btn" uib-dropdown-toggle ng-disabled="disabled">
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">
                <li role="menuitem">
                    <a ng-click="vm.changeContextToUser(vm.user)">{{vm.user.getDisplayName()}}</a>
                </li>
                <li role="menuitem" ng-repeat="g in vm.user.administratedGroups">
                    <a ng-click="vm.changeContextToGroup(g)">{{g.getDisplayName()}}</a>
                </li>
            </ul>
        </div>

    </div>
    <div class="col-sm-5 text-right">
        <div ng-if="!vm.isLogged">
            <a ng-href="#/register" aria-label="Register" ng-if="vm.isRegisterEnabled">
                Register
            </a>
            <a ng-href="#/login" aria-label="Login">
                Login
            </a>
        </div>
        <div ng-if="vm.isLogged">
            <a ng-href="#/logout" aria-label="Logout">
                Logout
            </a>
        </div>
    </div>
</div>
<commit_msg>Context selection disabled if there are no administrated groups.<commit_after><div class="row scientilla-toolbar">
    <div class="col-sm-1">
        <a href="">
            Scientilla
        </a>
    </div>
    <div class="col-sm-6">
        <span class="displayname">{{vm.researchEntity.getDisplayName()}}</span>
        <div uib-dropdown class="btn-group" is-open="status.isopen" ng-if="vm.user.administratedGroups.length">
            <button id="single-button" type="button" class="btn" uib-dropdown-toggle ng-disabled="disabled">
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">
                <li role="menuitem">
                    <a ng-click="vm.changeContextToUser(vm.user)">{{vm.user.getDisplayName()}}</a>
                </li>
                <li role="menuitem" ng-repeat="g in vm.user.administratedGroups">
                    <a ng-click="vm.changeContextToGroup(g)">{{g.getDisplayName()}}</a>
                </li>
            </ul>
        </div>

    </div>
    <div class="col-sm-5 text-right">
        <div ng-if="!vm.isLogged">
            <a ng-href="#/register" aria-label="Register" ng-if="vm.isRegisterEnabled">
                Register
            </a>
            <a ng-href="#/login" aria-label="Login">
                Login
            </a>
        </div>
        <div ng-if="vm.isLogged">
            <a ng-href="#/logout" aria-label="Logout">
                Logout
            </a>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.17519685039370078, 'fraction_numerical': 0.001968503937007874, 'mean_word_length': 1.7844748858447488, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '4433164', 'n_tokens_mistral': 958, 'n_tokens_neox': 923, 'n_words': 159}