<commit_before>'use strict';

var request = require('request');

module.exports.run = function(callback) {
  request('http://www.yahoo.com', function(error,response){
    if(response.statusCode === 200) {
      return callback('Received expected status');
    } else {
      return callback('Unexpected status ' + response.statusCode);
    }
  });
};

module.exports.run(function(result){
  console.log(result);
});<commit_msg>Add question to module-05<commit_after>'use strict';

var request = require('request');

module.exports.run = function(callback) {
  request('http://www.yahoo.com', function(error,response){
    if(response.statusCode === 200) {
      return callback('Received expected status');
    } else {
      // Would "npm test" still run okay if "callback" was changed
      // to "ballback" in the line below?
      return callback('Unexpected status ' + response.statusCode);
    }
  });
};

module.exports.run(function(result){
  console.log(result);
});
{'fraction_non_alphanumeric': 0.15794871794871795, 'fraction_numerical': 0.008205128205128205, 'mean_word_length': 4.005128205128205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6577063', 'n_tokens_mistral': 288, 'n_tokens_neox': 277, 'n_words': 63}