<commit_before>var rimraf = require('rimraf');
var fs = require('fs');

var dir = '../build';

rimraf(dir, function (err) {
	if (err) {
		throw err;
	}
	
	if (process.argv.indexOf("createdir") >= 0) {
		fs.mkdirSync(dir);
	}
});<commit_msg>make clean dir right<commit_after>var rimraf = require('rimraf');
var path = require('path');
var fs = require('fs');

var dir = path.resolve(__dirname,'../build');

rimraf(dir, function (err) {
	if (err) {
		throw err;
	}
	
	if (process.argv.indexOf("createdir") >= 0) {
		fs.mkdirSync(dir);
	}
});
{'fraction_non_alphanumeric': 0.2077922077922078, 'fraction_numerical': 0.0037105751391465678, 'mean_word_length': 4.242718446601942, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6362809', 'n_tokens_mistral': 212, 'n_tokens_neox': 199, 'n_words': 46}