<commit_before>'use strict';

// Tasks controller
angular.module('tasks')
  .controller('TasksController', ['$http', '$scope', '$stateParams', '$location', '$timeout', 'Authentication','$log','Sample','moment', '$modal', 'Persons', 'Projects', 'Tasks', 'SwitchViews',
    function($http, $scope, $stateParams, $location, $timeout, Authentication, $log, Sample, moment, $modal, Persons, Projects, Tasks, SwitchViews) {

      $scope.authentication = Authentication;
      $scope.globalRowData = {};
            var assignment = {};
            var autoView = {
              resource: Persons,
              param: {
                personId: null
              },
              paramKey: 'personId'
            };
            SwitchViews.state = 'Person';
            $scope.dataView = SwitchViews.state;

            /* Function to open Assignment modal windows */
            $scope.triggerModal = function(size) {
              var modalInstance = $modal.open({
                templateUrl: '/modules/core/views/assign_task_modal.client.view.html',
                controller: 'ModalInstanceCtrl',
                size: 'sm',
                resolve: {}
              });
<commit_msg>pulled test case from feature/upgrade branch<commit_after>'use strict';

// Tasks controller
angular.module('tasks')
  .controller('TaskxController', ['$http', '$scope', '$stateParams', '$location', '$timeout', 'Authentication','$log','Sample','moment', '$modal', 'Persons', 'Projects', 'Tasks', 'SwitchViews',
    function($http, $scope, $stateParams, $location, $timeout, Authentication, $log, Sample, moment, $modal, Persons, Projects, Tasks, SwitchViews) {

      $scope.authentication = Authentication;
      $scope.globalRowData = {};
            var assignment = {};
            var autoView = {
              resource: Persons,
              param: {
                personId: null
              },
              paramKey: 'personId'
            };
            SwitchViews.state = 'Person';
            $scope.dataView = SwitchViews.state;

            /* Function to open Assignment modal windows */
            $scope.triggerModal = function(size) {
              var modalInstance = $modal.open({
                templateUrl: '/modules/core/views/assign_task_modal.client.view.html',
                controller: 'ModalInstanceCtrl',
                size: 'sm',
                resolve: {}
              });

{'fraction_non_alphanumeric': 0.14095634095634096, 'fraction_numerical': 0.0, 'mean_word_length': 2.161629434954008, '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': '4937813', 'n_tokens_mistral': 617, 'n_tokens_neox': 599, 'n_words': 139}