<commit_before>var Project = function(_heading, _description) {
	this.heading = _heading;
	this.description = _description;
	this.estimation = null;
	this.owner = null;
	this.children = [];
};

Project.prototype.setOwner = function(_owner) {
	this.owner = _owner;
};

Project.prototype.getOwner = function() {
	return this.owner;
};

Project.prototype.setHeading = function(_heading) {
	this.heading = _heading;
};

Project.prototype.getHeading = function() {
	return this.heading;
};

Project.prototype.setDescription = function(_description) {
	this.description = _description;
};

Project.prototype.getDescription = function() {
	return this.description;
};

Project.prototype.setEstimation = function(estimation) {
	this.estimation = estimation;
};

Project.prototype.getEstimation = function() {
	return this.estimation;
};

Project.prototype.addChild = function(childProject) {
	// TODO
	console.log('TODO project.addChild');
};

Project.prototype.getChildren = function() {
	return children;
};

exports.createProject = function(heading, description, callback) {
	if ((typeof heading) !== 'string') {
		throw 'Illegal heading format';
	}

	if ((typeof description) !== 'string') {
		throw 'Illegal description format';
	}

	var project = new Project(heading, description);
	this.persistProject(project, function(){

	});
	callback(project);
};

exports.persistProject = function(project, callback) {
	// TODO
	console.log('TODO persistProject');
	callback();
};

exports.getProject = function(callback) {<commit_msg>Formatting<commit_after>var Project = function(_heading, _description) {
	this.heading = _heading;
	this.description = _description;
	this.estimation = null;
	this.owner = null;
	this.children = [];
};

Project.prototype.setOwner = function(_owner) {
	this.owner = _owner;
};

Project.prototype.getOwner = function() {
	return this.owner;
};

Project.prototype.setHeading = function(_heading) {
	this.heading = _heading;
};

Project.prototype.getHeading = function() {
	return this.heading;
};

Project.prototype.setDescription = function(_description) {
	this.description = _description;
};

Project.prototype.getDescription = function() {
	return this.description;
};

Project.prototype.setEstimation = function(estimation) {
	this.estimation = estimation;
};

Project.prototype.getEstimation = function() {
	return this.estimation;
};

Project.prototype.addChild = function(childProject) {
	// TODO
	console.log('TODO project.addChild');
};

Project.prototype.getChildren = function() {
	return children;
};

exports.createProject = function(heading, description, callback) {
	if ((typeof heading) !== 'string') {
		throw 'Illegal heading format';
	}

	if ((typeof description) !== 'string') {
		throw 'Illegal description format';
	}

	var project = new Project(heading, description);
	this.persistProject(project, function() {

	});
	callback(project);
};

exports.persistProject = function(project, callback) {
	// TODO
	console.log('TODO persistProject');
	callback();
};

exports.getProject = function(callback) {
{'fraction_non_alphanumeric': 0.14126149802890933, 'fraction_numerical': 0.0, 'mean_word_length': 5.265432098765432, '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': '4189735', 'n_tokens_mistral': 921, 'n_tokens_neox': 908, 'n_words': 182}