<commit_before>// Require library 
var Jimp = require('jimp');
var baseImage;
var pieces;
var coords = {
	"wK": {x: 0,   y: 0}, "bK":{x: 0,   y: 110},
	"wQ": {x: 110, y: 0}, "bQ":{x: 110, y: 110},
	"wB": {x: 220, y: 0}, "bB":{x: 220, y: 110},
	"wN": {x: 330, y: 0}, "bN":{x: 330, y: 110},
	"wR": {x: 440, y: 0}, "bR":{x: 440, y: 110},
	"wP": {x: 550, y: 0}, "bP":{x: 550, y: 110}
}
(function init(){
	var baseImageP = Jimp.read("./assets/base_board.png");
	var chessPieceP = Jimp.read("./assets/chess_pieces.png");
	Promise.all([baseImageP, chessPieceP]).then(function(values){
		baseImage = values[0];
		pieces = values[1];
	}).catch(function(err){
		console.log("ERROR LOADING PICTURES: " + err);
	});
})();

module.exports.createTestImage = function(){
	return new Promise(function (resolve, reject){<commit_msg>Ok fixd stupid names still dont know why broke<commit_after>// Require library 
var Jimp = require('jimp');
var baseImage;
var pieces;
var coords = {
	"wK": {x: 0,   y: 0}, "bK":{x: 0,   y: 110},
	"wQ": {x: 110, y: 0}, "bQ":{x: 110, y: 110},
	"wB": {x: 220, y: 0}, "bB":{x: 220, y: 110},
	"wN": {x: 330, y: 0}, "bN":{x: 330, y: 110},
	"wR": {x: 440, y: 0}, "bR":{x: 440, y: 110},
	"wP": {x: 550, y: 0}, "bP":{x: 550, y: 110}
}
	var baseImageP = Jimp.read("./assets/base_board.png");
	var chessPieceP = Jimp.read("./assets/chess_pieces.png");
	Promise.all([baseImageP, chessPieceP]).then(function(values){
		baseImage = values[0];
		pieces = values[1];
	}).catch(function(err){
		console.log("ERROR LOADING PICTURES: " + err);
	});
module.exports.createTestImage = function(){
	return new Promise(function (resolve, reject){
{'fraction_non_alphanumeric': 0.24114774114774115, 'fraction_numerical': 0.07081807081807082, 'mean_word_length': 4.518518518518518, 'pattern_counts': {'":': 24, '<': 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': '3170877', 'n_tokens_mistral': 837, 'n_tokens_neox': 694, 'n_words': 189}