<commit_before>(function (angular) {
    'use strict';

    //// JavaScript Code ////
    function projectMenuCtrl($scope, $routeParams, $window, $location, LoginService, CodeineService,AlertService) {
        /*jshint validthis:true */
        var vm = this;

        vm.projectName = $routeParams.project_name;
        vm.permissions = LoginService.getSessionInfo().permissions;

        vm.deleteProject = function() {
            if ($window.confirm('Are you sure you would like to delete project ' + $scope.projectName + ' ? THIS IS NOT REVERSIBLE!!!')) {
                CodeineService.deleteProject($scope.projectName).success(function() {
                    AlertService.addAlert('success','Project ' + $scope.projectName + ' was deleted successfully',3000);
                    $location.path('/codeine');
                });<commit_msg>fixed project delete<commit_after>(function (angular) {
    'use strict';

    //// JavaScript Code ////
    function projectMenuCtrl($scope, $routeParams, $window, $location, LoginService, CodeineService,AlertService) {
        /*jshint validthis:true */
        var vm = this;

        vm.projectName = $routeParams.project_name;
        vm.permissions = LoginService.getSessionInfo().permissions;

        vm.deleteProject = function() {
            if ($window.confirm('Are you sure you would like to delete project ' + vm.projectName + ' ? THIS IS NOT REVERSIBLE!!!')) {
                CodeineService.deleteProject(vm.projectName).success(function() {
                    AlertService.addAlert('success','Project ' + vm.projectName + ' was deleted successfully',3000);
                    $location.path('/codeine');
                });
{'fraction_non_alphanumeric': 0.12966252220248667, 'fraction_numerical': 0.004736530491415038, 'mean_word_length': 2.6344086021505375, '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': '5628338', 'n_tokens_mistral': 449, 'n_tokens_neox': 424, 'n_words': 94}