<commit_before>/* Controllers */
angular.module('myApp').controller('Admin/Questionnaire/CrudCtrl', function ($scope, $routeParams, $location, Restangular, Modal) {
    "use strict";

    $scope.status = [
        {text: 'New', value: 'new'}
    ];

    $scope.sending = false;

    // Default redirect
    var returnUrl = '/';
    var returnTab = '';

    if ($routeParams.returnUrl) {
        returnUrl = $routeParams.returnUrl;
        returnTab = $routeParams.returnTab;
    }

    var redirect = function () {
        $location.path(returnUrl).search({}).hash(returnTab);
    };

    $scope.cancel = function () {
        redirect();<commit_msg>Add more status values<commit_after>/* Controllers */
angular.module('myApp').controller('Admin/Questionnaire/CrudCtrl', function ($scope, $routeParams, $location, Restangular, Modal) {
    "use strict";

    $scope.status = [
        {text: 'New', value: 'new'},
        {text: 'Ongoing', value: 'ongoing'},
        {text: 'Completed', value: 'completed'},
        {text: 'Validated', value: 'validated'}
    ];

    $scope.sending = false;

    // Default redirect
    var returnUrl = '/';
    var returnTab = '';

    if ($routeParams.returnUrl) {
        returnUrl = $routeParams.returnUrl;
        returnTab = $routeParams.returnTab;
    }

    var redirect = function () {
        $location.path(returnUrl).search({}).hash(returnTab);
    };

    $scope.cancel = function () {
        redirect();
{'fraction_non_alphanumeric': 0.16391184573002754, 'fraction_numerical': 0.0, 'mean_word_length': 2.8236842105263156, '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': '3620345', 'n_tokens_mistral': 442, 'n_tokens_neox': 430, 'n_words': 88}