<commit_before>'use strict';

var path     = require('path');
var fs       = require('fs');
var which    = require('which');
var expect   = require('expect.js');
var buffered = require('./util/buffered');
var spawn    = require('../');

var isWin    = process.platform === 'win32';

// Fix AppVeyor tests because Git bin folder is in PATH and it has a "echo" program there
if (isWin) {
    process.env.PATH = process.env.PATH
    .split(path.delimiter)
    .filter(function (entry) {
        return /\\git\\bin$/i.test(path.normalize(entry));
    })
    .join(path.delimiter);
}<commit_msg>Attempt to fix tests again, third try.<commit_after>'use strict';

var path     = require('path');
var fs       = require('fs');
var which    = require('which');
var expect   = require('expect.js');
var buffered = require('./util/buffered');
var spawn    = require('../');

var isWin    = process.platform === 'win32';

// Fix AppVeyor tests because Git bin folder is in PATH and it has a "echo" program there
if (isWin) {
    process.env.PATH = process.env.PATH
    .split(path.delimiter)
    .filter(function (entry) {
        return !/\\git\\bin$/i.test(path.normalize(entry));
    })
    .join(path.delimiter);
}
{'fraction_non_alphanumeric': 0.16832504145936983, 'fraction_numerical': 0.003316749585406302, 'mean_word_length': 3.1054421768707483, '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': '1010805', 'n_tokens_mistral': 388, 'n_tokens_neox': 375, 'n_words': 108}