<commit_before>path = require 'path'
chai = require("chai")
global.should = chai.should()
global.assert = chai.assert
root = path.normalize(path.join(__dirname,"..")) + "/"

test = root + "test/"
global.SRC = root + "src/"
global.FIXTURES = test + "fixtures"
<commit_msg>spec: add help require function<commit_after>path = require 'path'
chai = require("chai")
global.should = chai.should()
global.assert = chai.assert
root = path.normalize(path.join(__dirname,"..")) + "/"

TESTROOT = root + "test/"
global.SRC = root + "src/"
# global.FIXTURES = test + "fixtures"

global.require_test = (file) ->
  module_path = file.replace(TESTROOT,"")
  require path.join(SRC,module_path)

{'fraction_non_alphanumeric': 0.17846607669616518, 'fraction_numerical': 0.0, 'mean_word_length': 4.754237288135593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4477162', 'n_tokens_mistral': 237, 'n_tokens_neox': 238, 'n_words': 50}