<commit_before><div class="navbar navbar-fixed-top navbar-default notransition {% if not active_page == 'index' and not has_splash == 'true' %}opaque{% endif %}">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="fa fa-bars"></span>
            </button>

            <!-- Set logo -->
            <var id="logo-black" data-src="{{url_for('static',filename='img/logo-dark-plain.png')}}"></var>
            <var id="logo-white" data-src="{{url_for('static',filename='img/logo-white-plain.png')}}"></var>
            <a class="navbar-brand" href="{{ url_for('home.home') }}">
                <img id="navbar-logo"
                {% if not active_page == 'index' and not has_splash == 'true' %}
                        src="{{url_for('static',filename='img/logo-dark-plain.png')}}"
                {% else %}
                        src="{{url_for('static',filename='img/logo-white-plain.png')}}"
                {% endif %} alt="{{brand}} logo" />
            </a>

        </div>
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
            <li class="nav-link {% if active_page == 'about' %} active{% endif %}">
                <a href="{{ url_for('home.about')}}">About</a>
            </li>
            <li class="nav-link {% if active_page == 'projects' %} active{% endif %}">
                <a href="{{ url_for('project.index') }}">Projects</a>
            </li>
            <li class="nav-link {% if active_page == 'statistics' %} active{% endif %}">
                <a href="{{ url_for('stats.index')}}">Statistics</a>
            </li>

            <!-- Use pybossa-discourse plugin if available -->
            {% if 'pybossa_discourse' in plugins %}
            <li class="nav-link">
                <a href="{{ url_for('discourse.index')}}">Community

                {% if current_user.info.notification_count and current_user.info.notification_count > 0 %}
                <span id="discourse-notifications" class="badge badge-danger">
                    {{current_user.info.notification_count}}
                </span>
                {% else %}
                <span id="discourse-notifications" class="badge badge-danger"></span>
                {% endif %}

                </a>
            </li>
            {% endif %}

            <!-- Use the libcrowds-data-repo plugin, if available -->
            {% if 'libcrowds_data_repo' in plugins %}
            <li class="nav-link {% if active_page == 'data' %} active{% endif %}">
                <a href="{{ url_for('data.index')}}">Data</a>
            </li>
            {% endif %}
        </ul>

        <!-- Optional search form -->
        {% include '_gcs_form.html' ignore missing %}

        {% if current_user.is_authenticated() %}
        <ul class="nav navbar-nav navbar-right">
            <li class="nav-link">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                    <i class="icon fa fa-user"></i> {{ current_user.name | truncate(10,true) }} <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                <li class="nav-link">
                    <a href="{{ url_for('account.profile', name=current_user.name) }}"><i class="fa fa-user"></i> Profile</a></li>
                <li class="nav-link">
                    <a href="{{ url_for('account.update_profile', name=current_user.name) }}"><i class="fa fa-cog"></i> Settings</a></li>

                {% if current_user.admin %}
                <li class="divider" />
                <li class="nav-link">
                    <a href="{{ url_for('admin.index') }}"><i class="fa fa-cog"></i> Admin</a>
                </li>
                <li class="nav-link">
                    <a href="{{ url_for('projects.new') }}"><i class="fa fa-plus"></i> New Project</a>
                </li>
                <li class="nav-link">
                    <a href="{{ url_for('account.projects', name=current_user.name) }}"><i class="fa fa-folder-open"></i> Open Project</a>
                </li>
                {% endif %}

                <li class="divider"></li>

                <!-- Also sign out from Discourse, if plugin is available -->
                {% if 'pybossa_discourse' in plugins %}
                <li class="nav-link">
                    <a href="{{ url_for('discourse.signout') }}"><i class="fa fa-power-off"></i> Sign Out</a>
                </li>
                {% else %}
                <li class="nav-link">
                    <a href="{{ url_for('account.signout') }}"><i class="fa fa-power-off"></i> Sign Out</a>
                </li>
                {% endif %}

              </ul>
            </li>
        </ul>
        {% else %}
        <ul class="nav navbar-nav navbar-right">
            <li class="nav-link"><a href="{{ url_for('account.signin') }}">Sign in</a></li><commit_msg>Fix endpoint<commit_after><div class="navbar navbar-fixed-top navbar-default notransition {% if not active_page == 'index' and not has_splash == 'true' %}opaque{% endif %}">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="fa fa-bars"></span>
            </button>

            <!-- Set logo -->
            <var id="logo-black" data-src="{{url_for('static',filename='img/logo-dark-plain.png')}}"></var>
            <var id="logo-white" data-src="{{url_for('static',filename='img/logo-white-plain.png')}}"></var>
            <a class="navbar-brand" href="{{ url_for('home.home') }}">
                <img id="navbar-logo"
                {% if not active_page == 'index' and not has_splash == 'true' %}
                        src="{{url_for('static',filename='img/logo-dark-plain.png')}}"
                {% else %}
                        src="{{url_for('static',filename='img/logo-white-plain.png')}}"
                {% endif %} alt="{{brand}} logo" />
            </a>

        </div>
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
            <li class="nav-link {% if active_page == 'about' %} active{% endif %}">
                <a href="{{ url_for('home.about')}}">About</a>
            </li>
            <li class="nav-link {% if active_page == 'projects' %} active{% endif %}">
                <a href="{{ url_for('project.index') }}">Projects</a>
            </li>
            <li class="nav-link {% if active_page == 'statistics' %} active{% endif %}">
                <a href="{{ url_for('stats.index')}}">Statistics</a>
            </li>

            <!-- Use pybossa-discourse plugin if available -->
            {% if 'pybossa_discourse' in plugins %}
            <li class="nav-link">
                <a href="{{ url_for('discourse.index')}}">Community

                {% if current_user.info.notification_count and current_user.info.notification_count > 0 %}
                <span id="discourse-notifications" class="badge badge-danger">
                    {{current_user.info.notification_count}}
                </span>
                {% else %}
                <span id="discourse-notifications" class="badge badge-danger"></span>
                {% endif %}

                </a>
            </li>
            {% endif %}

            <!-- Use the libcrowds-data-repo plugin, if available -->
            {% if 'libcrowds_data_repo' in plugins %}
            <li class="nav-link {% if active_page == 'data' %} active{% endif %}">
                <a href="{{ url_for('data.index')}}">Data</a>
            </li>
            {% endif %}
        </ul>

        <!-- Optional search form -->
        {% include '_gcs_form.html' ignore missing %}

        {% if current_user.is_authenticated() %}
        <ul class="nav navbar-nav navbar-right">
            <li class="nav-link">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                    <i class="icon fa fa-user"></i> {{ current_user.name | truncate(10,true) }} <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                <li class="nav-link">
                    <a href="{{ url_for('account.profile', name=current_user.name) }}"><i class="fa fa-user"></i> Profile</a></li>
                <li class="nav-link">
                    <a href="{{ url_for('account.update_profile', name=current_user.name) }}"><i class="fa fa-cog"></i> Settings</a></li>

                {% if current_user.admin %}
                <li class="divider" />
                <li class="nav-link">
                    <a href="{{ url_for('admin.index') }}"><i class="fa fa-cog"></i> Admin</a>
                </li>
                <li class="nav-link">
                    <a href="{{ url_for('project.new') }}"><i class="fa fa-plus"></i> New Project</a>
                </li>
                <li class="nav-link">
                    <a href="{{ url_for('account.projects', name=current_user.name) }}"><i class="fa fa-folder-open"></i> Open Project</a>
                </li>
                {% endif %}

                <li class="divider"></li>

                <!-- Also sign out from Discourse, if plugin is available -->
                {% if 'pybossa_discourse' in plugins %}
                <li class="nav-link">
                    <a href="{{ url_for('discourse.signout') }}"><i class="fa fa-power-off"></i> Sign Out</a>
                </li>
                {% else %}
                <li class="nav-link">
                    <a href="{{ url_for('account.signout') }}"><i class="fa fa-power-off"></i> Sign Out</a>
                </li>
                {% endif %}

              </ul>
            </li>
        </ul>
        {% else %}
        <ul class="nav navbar-nav navbar-right">
            <li class="nav-link"><a href="{{ url_for('account.signin') }}">Sign in</a></li>
{'fraction_non_alphanumeric': 0.18772206869324912, 'fraction_numerical': 0.0005921831819976313, 'mean_word_length': 1.7416125541125542, 'pattern_counts': {'":': 0, '<': 221, '<?xml version=': 0, '>': 223, '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': '6502716', 'n_tokens_mistral': 3105, 'n_tokens_neox': 2798, 'n_words': 600}