<commit_before><nav class="ncl-main-side-menu">
    <div class="top-container" data-ng-style="{height: $ctrl.isNamespacesExist() ? '176px' : '119px'}">
        <div class="main-logo"></div>
        <div class="namespace-container" data-ng-if="$ctrl.isNamespacesExist()">
            <div class="namespace-label">Namespace</div>
            <div class="namespace-dropdown-container">
                <igz-default-dropdown
                        data-selected-item="$ctrl.namespaceData.selectedNamespace"
                        data-values-array="$ctrl.namespaceData.namespaces"
                        data-item-select-callback="$ctrl.onDataChange(item)"
                        data-placeholder="Namespace"
                        data-icon-class="igz-icon-down">
                </igz-default-dropdown>
            </div>
        </div>
    </div>

    <div class="main-container">
        <div class="side-menu-scrollable-area-wrapper" data-ng-style="{top: $ctrl.isNamespacesExist() ? '176px' : '119px'}"
             data-ng-scrollbars>
            <div class="side-menu-scrollable-area">
                <a class="side-menu-item"
                   data-ui-sref="app.projects"
                   data-ng-class="{'active': $ctrl.isActiveState(['app.projects', 'app.project'])}">
                    <span class="menu-item-title">Projects</span>
                </a>
                <a class="side-menu-item"
                   data-ng-if="$ctrl.isDemoMode()">
                    <div class="menu-item-title">Configuration</div>
                </a>
                <a class="side-menu-item"
                   data-ng-if="$ctrl.isDemoMode()">
                    <div class="menu-item-title">Monitoring</div>
                </a>
            </div>
        </div><commit_msg>UI: Projects is falsely inactive when in create function screen (#1039)<commit_after><nav class="ncl-main-side-menu">
    <div class="top-container" data-ng-style="{height: $ctrl.isNamespacesExist() ? '176px' : '119px'}">
        <div class="main-logo"></div>
        <div class="namespace-container" data-ng-if="$ctrl.isNamespacesExist()">
            <div class="namespace-label">Namespace</div>
            <div class="namespace-dropdown-container">
                <igz-default-dropdown
                        data-selected-item="$ctrl.namespaceData.selectedNamespace"
                        data-values-array="$ctrl.namespaceData.namespaces"
                        data-item-select-callback="$ctrl.onDataChange(item)"
                        data-placeholder="Namespace"
                        data-icon-class="igz-icon-down">
                </igz-default-dropdown>
            </div>
        </div>
    </div>

    <div class="main-container">
        <div class="side-menu-scrollable-area-wrapper" data-ng-style="{top: $ctrl.isNamespacesExist() ? '176px' : '119px'}"
             data-ng-scrollbars>
            <div class="side-menu-scrollable-area">
                <a class="side-menu-item"
                   data-ui-sref="app.projects"
                   data-ng-class="{'active': $ctrl.isActiveState(['app.projects', 'app.project', 'app.create-function'])}">
                    <span class="menu-item-title">Projects</span>
                </a>
                <a class="side-menu-item"
                   data-ng-if="$ctrl.isDemoMode()">
                    <div class="menu-item-title">Configuration</div>
                </a>
                <a class="side-menu-item"
                   data-ng-if="$ctrl.isDemoMode()">
                    <div class="menu-item-title">Monitoring</div>
                </a>
            </div>
        </div>
{'fraction_non_alphanumeric': 0.15948394180620368, 'fraction_numerical': 0.0076859730990941535, 'mean_word_length': 1.7194029850746269, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '6963114', 'n_tokens_mistral': 1073, 'n_tokens_neox': 993, 'n_words': 132}