<commit_before>var fs = require('fs');
var path = require('path');
var cp = require('child_process');
var imba = require('./lib/compiler');

if(require.extensions) {
	var Module = require('module');
	
	require.extensions['.imba'] = function (mod,filename){
		var content = imba.compile(fs.readFileSync(filename,'utf8'),{
			filename: filename,<commit_msg>Include sourcePath in register.js<commit_after>var fs = require('fs');
var path = require('path');
var cp = require('child_process');
var imba = require('./lib/compiler');

if(require.extensions) {
	var Module = require('module');
	
	require.extensions['.imba'] = function (mod,filename){
		var content = imba.compile(fs.readFileSync(filename,'utf8'),{
			filename: filename,
			sourcePath: filename,
{'fraction_non_alphanumeric': 0.17350993377483442, 'fraction_numerical': 0.0026490066225165563, 'mean_word_length': 6.0, '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': '1587486', 'n_tokens_mistral': 240, 'n_tokens_neox': 227, 'n_words': 52}