<commit_before>﻿<md-toolbar>
    <div class="md-toolbar-tools">
        <h1 class="md-display-1">
            <span>Vote On</span>
        </h1>
        <span flex></span>

        <div ng-hide="isLoggedIn">
            <div hide-gt-sm>
                <md-menu md-position-mode="target-right target">
                    <md-button class="md-icon-button" ng-click="$mdOpenMenu()" aria-label="Open menu">
                        <md-icon md-font-icon="fa-bars fa-2x" class="fa"></md-icon>
                    </md-button>
                    <md-menu-content width="2">
                        <md-menu-item>
                            <md-button ng-click="login()">
                                <md-icon md-font-icon="fa-sign-in" class="fa fa-lg" md-menu-align-target></md-icon>
                                Log in
                            </md-button>
                        </md-menu-item>
                        <md-menu-item>
                            <md-button ng-click="register()">
                                <md-icon md-font-icon="fa-user" class="fa fa-lg" md-menu-align-target></md-icon>
                                Register
                            </md-button>
                        </md-menu-item>
                    </md-menu-content>
                </md-menu>
            </div>

            <div hide-sm>
                <md-button ng-click="login()">Log in</md-button>
                <md-button ng-click="register()">Register</md-button>
            </div>

        </div>

        <div ng-show="isLoggedIn">
            <div hide-gt-sm>
                <md-menu md-position-mode="target-right target">
                    <md-button class="md-icon-button" ng-click="$mdOpenMenu()" aria-label="Open menu">
                        <md-icon md-font-icon="fa-bars fa-2x" class="fa"></md-icon>
                    </md-button>
                    <md-menu-content width="2">
                        <md-menu-item>
                            <md-button ng-click="myPolls()">
                                <md-icon md-font-icon="fa-user" class="fa fa-lg" md-menu-align-target></md-icon>
                                My polls
                            </md-button>
                        </md-menu-item>
                        <md-menu-item>
                            <md-button ng-click="logout()">
                                <md-icon md-font-icon="fa-sign-out" class="fa fa-lg" md-menu-align-target></md-icon>
                                Log out
                            </md-button>
                        </md-menu-item>
                    </md-menu-content>
                </md-menu>
            </div>

            <div hide-sm>
                <md-button ng-click="myPolls()">My polls</md-button>
                <md-button ng-click="logout()">Log out</md-button>
            </div>

        </div>

    </div>
</md-toolbar><commit_msg>"Vote On" links to homepage<commit_after>﻿<md-toolbar>
    <div class="md-toolbar-tools">
        <h1 class="md-display-1">
            <span>
                <a href="/">Vote On</a>
            </span>
        </h1>
        <span flex></span>

        <div ng-hide="isLoggedIn">
            <div hide-gt-sm>
                <md-menu md-position-mode="target-right target">
                    <md-button class="md-icon-button" ng-click="$mdOpenMenu()" aria-label="Open menu">
                        <md-icon md-font-icon="fa-bars fa-2x" class="fa"></md-icon>
                    </md-button>
                    <md-menu-content width="2">
                        <md-menu-item>
                            <md-button ng-click="login()">
                                <md-icon md-font-icon="fa-sign-in" class="fa fa-lg" md-menu-align-target></md-icon>
                                Log in
                            </md-button>
                        </md-menu-item>
                        <md-menu-item>
                            <md-button ng-click="register()">
                                <md-icon md-font-icon="fa-user" class="fa fa-lg" md-menu-align-target></md-icon>
                                Register
                            </md-button>
                        </md-menu-item>
                    </md-menu-content>
                </md-menu>
            </div>

            <div hide-sm>
                <md-button ng-click="login()">Log in</md-button>
                <md-button ng-click="register()">Register</md-button>
            </div>

        </div>

        <div ng-show="isLoggedIn">
            <div hide-gt-sm>
                <md-menu md-position-mode="target-right target">
                    <md-button class="md-icon-button" ng-click="$mdOpenMenu()" aria-label="Open menu">
                        <md-icon md-font-icon="fa-bars fa-2x" class="fa"></md-icon>
                    </md-button>
                    <md-menu-content width="2">
                        <md-menu-item>
                            <md-button ng-click="myPolls()">
                                <md-icon md-font-icon="fa-user" class="fa fa-lg" md-menu-align-target></md-icon>
                                My polls
                            </md-button>
                        </md-menu-item>
                        <md-menu-item>
                            <md-button ng-click="logout()">
                                <md-icon md-font-icon="fa-sign-out" class="fa fa-lg" md-menu-align-target></md-icon>
                                Log out
                            </md-button>
                        </md-menu-item>
                    </md-menu-content>
                </md-menu>
            </div>

            <div hide-sm>
                <md-button ng-click="myPolls()">My polls</md-button>
                <md-button ng-click="logout()">Log out</md-button>
            </div>

        </div>

    </div>
</md-toolbar>
{'fraction_non_alphanumeric': 0.15040788579197825, 'fraction_numerical': 0.002379333786539769, 'mean_word_length': 0.9669117647058824, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3526201', 'n_tokens_mistral': 1708, 'n_tokens_neox': 1599, 'n_words': 250}