<commit_before>var topFilms =[{
          title: "Don't Breath",
          tomatoMeter: 86,
          boxOffice: 15.7
        },{
          title: "Suicide Squad",
          tomatoMeter: 26,
          boxOffice: 73.2
        },{
          title: "Top Gun Part 2",
          tomatoMeter: 87,
          boxOffice: 222.2
        },{
          title: "Kubo and the Two Strings",
          tomatoMeter: 96,
          boxOffice: 23.1
        },{
          title: "Sausage Party Redux",
          tomatoMeter: 92,
          boxOffice: 1.2
        }];

function grabBoxOfficeData(arr){
  // var results = [];

//   method 2
//   arr.forEach(function(value){
//     results.push("$" + value.boxOffice);
//   });
//
//
//   Method 1
//   for (var i = 0; i < arr.length; i++) {
//     results.push("$"+arr[i].boxOffice);
//   };
//
//   return results;
// }

// In node... use the console.log
// console.log(grabBoxOfficeData(topFilms));


//We have the original repo in Github
//I forked the repo and cloned it locally
//after typing git remote -v
//we can see where we can upate to
//to have changes updated to the main repo on my repo
//submit a change<commit_msg>added git comments<commit_after>var topFilms =[{
          title: "Don't Breath",
          tomatoMeter: 86,
          boxOffice: 15.7
        },{
          title: "Suicide Squad",
          tomatoMeter: 26,
          boxOffice: 73.2
        },{
          title: "Top Gun Part 2",
          tomatoMeter: 87,
          boxOffice: 222.2
        },{
          title: "Kubo and the Two Strings",
          tomatoMeter: 96,
          boxOffice: 23.1
        },{
          title: "Sausage Party Redux",
          tomatoMeter: 92,
          boxOffice: 1.2
        }];

function grabBoxOfficeData(arr){
  // var results = [];

// Is there another less code way?

//   method 2
//   arr.forEach(function(value){
//     results.push("$" + value.boxOffice);
//   });
//
//
//   Method 1
//   for (var i = 0; i < arr.length; i++) {
//     results.push("$"+arr[i].boxOffice);
//   };
//
  return results;
}

// In node... use the console.log
// console.log(grabBoxOfficeData(topFilms));


//We have the original repo in Github
//I forked the repo and cloned it locally
//after typing git remote -v
//we can see where we can upate to
//to have changes updated to the main repo on my repo
//submit a change
{'fraction_non_alphanumeric': 0.14103110353642948, 'fraction_numerical': 0.024712398806987643, 'mean_word_length': 1.7591069330199764, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1158782', 'n_tokens_mistral': 829, 'n_tokens_neox': 742, 'n_words': 231}