<commit_before><!DOCTYPE html>
<html>
<head>
    <title>{% if title is defined %} {{ title }} | {% endif %}Criterion</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/css/bootstrap-responsive.min.css" rel="stylesheet"/>
    <link href="/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/css/application.css" rel="stylesheet"/>
    <script src="/js/jquery.min.js"></script>
    <script src="/js/jquery.timeago.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/application.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
    <link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
    <div class="navbar navbar-fixed-top navbar-inverse">
        <div class="navbar-inner">
            <div class="container">
                <div class="pull-right">

                    {% if app.user %}

                        <ul class="nav pull-right">
                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ app.user.username }} <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a href="#addProject" role="button" data-toggle="modal" class=" visible-phone">
                                            <i class="icon-plus"></i> Create Project
                                        </a>
                                    </li>
                                    <li>
                                        <a href="/auth/tokens"><i class="icon-lock"></i> Auth Tokens</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li><a href="/auth/logout"><i class="icon-off"></i> Logout</a></li>
                                </ul>
                            </li>
                        </ul>
                    {% else %}
                        <a class="btn btn-small btn-primary" href="/auth/login">Login</a>
                    {% endif %}

                    {% if app.user and app.user.isAdmin %}
                    <ul class="nav pull-right">
                        <a href="#addProject" role="button" data-toggle="modal" class="btn btn-info btn-small hidden-phone">
                            Create Project
                        </a>
                    </ul>
                    {% endif %}<commit_msg>Only show addProject link for admins<commit_after><!DOCTYPE html>
<html>
<head>
    <title>{% if title is defined %} {{ title }} | {% endif %}Criterion</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/css/bootstrap-responsive.min.css" rel="stylesheet"/>
    <link href="/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/css/application.css" rel="stylesheet"/>
    <script src="/js/jquery.min.js"></script>
    <script src="/js/jquery.timeago.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/application.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
    <link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
    <div class="navbar navbar-fixed-top navbar-inverse">
        <div class="navbar-inner">
            <div class="container">
                <div class="pull-right">
                    {% if app.user %}
                        <ul class="nav pull-right">
                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ app.user.username }} <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    {% if app.user.isAdmin %}
                                        <li>
                                            <a href="#addProject" role="button" data-toggle="modal" class=" visible-phone">
                                                <i class="icon-plus"></i> Create Project
                                            </a>
                                        </li>
                                    {% endif %}
                                    <li>
                                        <a href="/auth/tokens"><i class="icon-lock"></i> Auth Tokens</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li><a href="/auth/logout"><i class="icon-off"></i> Logout</a></li>
                                </ul>
                            </li>
                        </ul>

                        {% if app.user.isAdmin %}
                            <ul class="nav pull-right">
                                <a href="#addProject" role="button" data-toggle="modal" class="btn btn-info btn-small hidden-phone">
                                    Create Project
                                </a>
                            </ul>
                        {% endif %}
                    {% else %}
                        <a class="btn btn-small btn-primary" href="/auth/login">Login</a>
                    {% endif %}
{'fraction_non_alphanumeric': 0.15711052433044134, 'fraction_numerical': 0.002640513013956997, 'mean_word_length': 1.2151211361737677, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 33, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4532719', 'n_tokens_mistral': 1384, 'n_tokens_neox': 1289, 'n_words': 258}