<commit_before>var angle,
    jump,
    left,
    right,
    tiny;

// Joystick  for angle//
// function joystick(angle) {
//
//       if(angle !== 0 && (angle > -90 && angle < 90)) {
//         right = true;
//         left =  false;
//       }else if (angle === 0){
//         right = false;
//         left =  false;
//       }else{
//         right = false;
//         left =  true;
//       }
// }

// joystick for hour
function joystick(hour) {
      switch (hour) {
        case 0:
          right = false;
          left =  false;
          break;
        case 1: case 2: case 3: case 4: case 5: case 6:
          right = true;
          left =  false;
          break;
        case 7: case 8: case 9: case 10: case 11: case 12:
          right = false;
          left =  true;
          break;
        default:
          right = false;
          left =  false;
          break;

      }
      var n = new Date();
      buttTime = (n.getTime() - buttTime);
      console.log("joystick: " + buttTime+" ms");
      buttTime = 0;
}


// 'B' Button //
function button1() {

   tiny = true;


}
// 'A' Button //
function button2() {
  if (jump === true) {
    jump = false;
  }else{
    jump = true;
  }
}<commit_msg>preparing to test button time<commit_after>var angle,
    jump,
    left,
    right,
    tiny;

// Joystick  for angle//
// function joystick(angle) {
//
//       if(angle !== 0 && (angle > -90 && angle < 90)) {
//         right = true;
//         left =  false;
//       }else if (angle === 0){
//         right = false;
//         left =  false;
//       }else{
//         right = false;
//         left =  true;
//       }
// }

// joystick for hour
function joystick(hour) {
      switch (hour) {
        case 0:
          right = false;
          left =  false;
          break;
        case 1: case 2: case 3: case 4: case 5: case 6:
          right = true;
          left =  false;
          break;
        case 7: case 8: case 9: case 10: case 11: case 12:
          right = false;
          left =  true;
          break;
        default:
          right = false;
          left =  false;
          break;

      }

}


// 'B' Button //
function button1() {

   tiny = true;


}
// 'A' Button //
function button2() {
  if (jump === true) {
    jump = false;
    var n = new Date();
    buttTime = (n.getTime() - buttTime);
    console.log("button 1 & 2: " + buttTime+" ms");
    buttTime = 0;
  }else{
    jump = true;
  }
}
{'fraction_non_alphanumeric': 0.14961271911944557, 'fraction_numerical': 0.02119853240929474, 'mean_word_length': 1.2999062792877225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '338000', 'n_tokens_mistral': 861, 'n_tokens_neox': 797, 'n_words': 242}