<commit_before>angular.module('foodGenerator')
    .controller("LoginCtrl", function ($scope, $uibModalInstance) {
        $scope.login = login;
        $scope.cancel = cancel;

        function login() {
            console.log("Performing login with email '" + $scope.email + "' and password '" + $scope.password + "'.");
            // var currUser = {};
            // currUser.login($scope.username, $scope.password).then(function () {
            //     $uibModal.close();
            // }, function (response) {
            //     if (response.status == 400 || response.status == 401) {
            //         $scope.errorText = "Wrong username or password.";
            //     } else {
            //         $scope.errorText = "An unknown error occured. please try again later.";
            //     }<commit_msg>fixed minor bug in commented code<commit_after>angular.module('foodGenerator')
    .controller("LoginCtrl", function ($scope, $uibModalInstance) {
        $scope.login = login;
        $scope.cancel = cancel;

        function login() {
            console.log("Performing login with email '" + $scope.email + "' and password '" + $scope.password + "'.");
            // var currUser = {};
            // currUser.login($scope.username, $scope.password).then(function () {
            //     $uibModalInstance.close();
            // }, function (response) {
            //     if (response.status == 400 || response.status == 401) {
            //         $scope.errorText = "Wrong username or password.";
            //     } else {
            //         $scope.errorText = "An unknown error occured. please try again later.";
            //     }
{'fraction_non_alphanumeric': 0.1519138755980861, 'fraction_numerical': 0.007177033492822967, 'mean_word_length': 1.7607260726072607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4616608', 'n_tokens_mistral': 437, 'n_tokens_neox': 425, 'n_words': 97}