<commit_before>'use strict';

import templ18n from '../lib/templ18n';

import Promise from 'bluebird';
import expect from 'unexpected';

const readFile = Promise.promisify(require("fs").readFile);<commit_msg>test against the src file, not the compiled version<commit_after>'use strict';

import templ18n from '../src/templ18n';

import Promise from 'bluebird';
import expect from 'unexpected';

const readFile = Promise.promisify(require("fs").readFile);
{'fraction_non_alphanumeric': 0.1299559471365639, 'fraction_numerical': 0.01762114537444934, 'mean_word_length': 6.459016393442623, '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': '6835301', 'n_tokens_mistral': 138, 'n_tokens_neox': 135, 'n_words': 41}