<commit_before>//  enable runtime transpilation to use ES6/7 in node

require('babel-core/register')({
  //-- uncomment if `require`ing or `import`ing .scss files server-side
  // extensions: ['.scss']
});<commit_msg>hotfix<commit_after>//  enable runtime transpilation to use ES6/7 in node
var config = {};

/*
 * If testing use simpler .babelrc with no plugins and the following presets:
 *   - es2015
 *   - stage-0
 */
if (process.env.NODE_ENV === 'test') {
  var fs = require('fs');
  var path = require('path');
  var babelrc = fs.readFileSync(path.resolve(__dirname, 'scripts', 'test', '.babelrc'));

  try {
    config = JSON.parse(babelrc);
  } catch (err) {
    console.error('==>     ERROR: Error parsing your .babelrc.');
    console.error(err);
  }
}

require('babel-core/register')(config);
// -- uncomment if `require`ing or `import`ing .scss files server-side
require.extensions['.scss'] = () => {
  return;
};
{'fraction_non_alphanumeric': 0.1717062634989201, 'fraction_numerical': 0.009719222462203024, 'mean_word_length': 3.5665024630541873, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6838003', 'n_tokens_mistral': 316, 'n_tokens_neox': 306, 'n_words': 83}