<commit_before>/*
 * __run__.test.js
 */
/* global it */

const fs = require('fs')
const path = require('path')
const child_process = require('child_process')

const files = fs.readdirSync(__dirname).filter(f => !path.basename(f).startsWith('__'))

files.forEach(file => {

  it(file, function(done) {
    const currentTest = this
    currentTest.timeout(15000)<commit_msg>tests: set a 10 minutes limit<commit_after>/*
 * __run__.test.js
 */
/* global it */

const fs = require('fs')
const path = require('path')
const child_process = require('child_process')

const files = fs.readdirSync(__dirname).filter(f => !path.basename(f).startsWith('__'))

setTimeout(() => {
  console.error('Error: 10 minutes timeout reached')
  process.exit(1)
}, 10 * 60 * 1000)

files.forEach(file => {

  it(file, function(done) {
    const currentTest = this
    currentTest.timeout(15000)
{'fraction_non_alphanumeric': 0.16399082568807338, 'fraction_numerical': 0.026376146788990827, 'mean_word_length': 4.596153846153846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '1152841', 'n_tokens_mistral': 303, 'n_tokens_neox': 283, 'n_words': 62}