<commit_before>fs = require 'fs'
path = require 'path'
_ = require 'lodash'
chai = require 'chai'
chai.Assertion.includeStack = true

module.exports = {
  _
  assert: chai.assert
  chai: chai
  expect: chai.expect
  should: chai.should()
}

customUtilsFile = path.resolve './test/_utils.custom.coffee'
if fs.existsSync customUtilsFile<commit_msg>make this compatible with node 0.6, although not advertised<commit_after>fs = require 'fs'
path = require 'path'
_ = require 'lodash'
chai = require 'chai'
chai.Assertion.includeStack = true
existsSync = path.existsSync or fs.existsSync

module.exports = {
  _
  assert: chai.assert
  chai: chai
  expect: chai.expect
  should: chai.should()
}

customUtilsFile = path.resolve './test/_utils.custom.coffee'
if existsSync customUtilsFile
{'fraction_non_alphanumeric': 0.11011523687580026, 'fraction_numerical': 0.002560819462227913, 'mean_word_length': 4.507042253521127, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6230244', 'n_tokens_mistral': 271, 'n_tokens_neox': 264, 'n_words': 67}