<commit_before>/**
 * CareWheels - Individual Status Controller
 *
 */
angular.module('careWheels')

.controller('individualStatusController', function($scope){

  $scope.getPings = function(time, type) {
    switch(time) {
    case 'midnight':
        if (type === 'meals'){
          //This is where you put the function call to get the pings for this time.
          return "";
        }
        else if (type === 'meds'){
          //This is where you put the function call to get the pings for this time.
          return "* * * * * *";
        }
        //code block
        //break;
    case 'one':
        //Do the same here
        break;
    default:
        return 'error';
    }
    //if ( === 3){
    //  return "* * *";
    //}
    //else {
    //  return "boo";
    //}
  };


  $scope.trevor = {
    name: 'Trevor',
    midnight: {
      presence: {
        status: 'yellow'
      },
      meals: {
        status: 'yellow',
        pings: ''
      },
      meds: {
      	status: 'yellow',
        //pings = $scope.getPings(3)
        pings: ''
      }
    },
    one: {
      presence: {
        status: 'blue'
      },
      meals: {
        status: 'yellow',
        pings: ''
      },<commit_msg>has midnight, black stars<commit_after>/**
 * CareWheels - Individual Status Controller
 *
 */
angular.module('careWheels')

.controller('individualStatusController', function($scope){

  $scope.getPings = function(time, type) {
    switch(time) {
    case 'midnight':
        if (type === 'meals'){
          //This is where you put the function call to get the pings for this time.
          return "";
        }
        else if (type === 'meds'){
          //This is where you put the function call to get the pings for this time.
          return "* * * * * *";
        }
        //code block
        //break;
    case 'one':
        //Do the same here
        break;
    default:
        return 'error';
    }
    //if ( === 3){
    //  return "* * *";
    //}
    //else {
    //  return "boo";
    //}
  };


  $scope.trevor = {
    name: 'Trevor',
    midnight: {
      presence: {
        status: 'blue'
      },
      meals: {
        status: 'yellow',
        pings: ''
      },
      meds: {
      	status: 'blue',
        //pings = $scope.getPings(midnight, meds)
        //pings: ''
      }
    },
    one: {
      presence: {
        status: 'blue'
      },
      meals: {
        status: 'yellow',
        pings: ''
      },
{'fraction_non_alphanumeric': 0.15547415547415547, 'fraction_numerical': 0.001221001221001221, 'mean_word_length': 1.4555444555444554, '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': '2348477', 'n_tokens_mistral': 788, 'n_tokens_neox': 779, 'n_words': 198}