<commit_before>// Chai setup
//
var chai = require('chai');

chai.use(require('chai-as-promised'));

// http://derpturkey.com/testing-asyncawait-with-babel-and-mocha
//
var STAGE = require('../package.json').config.babel_stage;

require('babel/register')({
  stage: STAGE,
  sourceMaps: 'inline',
  optional: ['runtime']
});

// Unhandled rejection handling
//
/* istanbul ignore next */
process.on('unhandledRejection', function(reason) {
  console.log('Unhandled Rejection, reason:', reason);
  if (reason.stack) {
    console.err(reason.stack);
  }
});<commit_msg>[mocha-babel] Don’t include sourceMaps to make error stack trace line numbers work. Ref: https://github.com/babel/babel/issues/481<commit_after>// Chai setup
//
var chai = require('chai');

chai.use(require('chai-as-promised'));

// http://derpturkey.com/testing-asyncawait-with-babel-and-mocha
//
var STAGE = require('../package.json').config.babel_stage;

require('babel/register')({
  stage: STAGE,
  optional: ['runtime']
});

// Unhandled rejection handling
//
/* istanbul ignore next */
process.on('unhandledRejection', function(reason) {
  console.log('Unhandled Rejection, reason:', reason);
  if (reason.stack) {
    console.err(reason.stack);
  }
});
{'fraction_non_alphanumeric': 0.18418907905460472, 'fraction_numerical': 0.0024449877750611247, 'mean_word_length': 4.409691629955947, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2091218', 'n_tokens_mistral': 434, 'n_tokens_neox': 420, 'n_words': 77}