<commit_before>var exec = require('child_process').exec;
var async = require('async');

var next = function(callback) {
	return function(error, stdout, stderr) {
		if (stderr) {
			callback(new Error(stderr));
		}
		console.log(stdout);
		callback(null);
	};
};

async.waterfall([

	function(callback) {
		exec('jekyll build', next(callback));
	},
	function(callback) {
		exec('cd _site', next(callback));
	},
	function(callback) {
		exec('git init', next(callback));
	},
	function(callback) {
		exec('git add .', next(callback));
	},
	function(callback) {
		exec('git init', next(callback));
	},
	function(callback) {
		exec('git commit -m "Site updated at ' + Date.now + '"', next(callback));
	},
	function(callback) {
		exec('git remote add origin <EMAIL>:SPF-Team/SPF-Team.github.io.git', next(callback));
	}
], function(err) {
	if (err) {
		console.log(err.message);
	}
	console.log("All done!");
});<commit_msg>Site updated at function now() { [native code] }<commit_after>var exec = require('child_process').exec;
var async = require('async');

var next = function(callback) {
	return function(error, stdout, stderr) {
		if (stderr) {
			callback(new Error(stderr));
		}
		console.log(stdout);
		callback(null);
	};
};

async.waterfall([

	function(callback) {
		exec('jekyll build', next(callback));
	},
	function(callback) {
		exec('cd _site', next(callback));
	},
	function(callback) {
		exec('git init', next(callback));
	},
	function(callback) {
		exec('git add .', next(callback));
	},
	function(callback) {
		exec('git init', next(callback));
	},
	function(callback) {
		exec('git commit -m "Site updated at ' + Date.now + '"', next(callback));
	},
	function(callback) {
		exec('git remote add origin <EMAIL>:SPF-Team/SPF-Team.github.io.git', next(callback));
	},
	function(callback) {
		exec('git push origin master:refs/heads/master --force', next(callback));
	}
], function(err) {
	if (err) {
		console.log(err.message);
	}
	console.log("All done!");
});
{'fraction_non_alphanumeric': 0.1948249619482496, 'fraction_numerical': 0.0, 'mean_word_length': 4.766081871345029, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1917728', 'n_tokens_mistral': 711, 'n_tokens_neox': 678, 'n_words': 138}