<commit_before>'use strict';

var mongoose = require ('mongoose');
var Project = mongoose.model ('Project');



module.exports = function (Projects, app) {
	// -------------------------------------------------------------------------
	//
	// get a brand new empty project
	//
	// -------------------------------------------------------------------------
	app.get ('/esm/project/new', function (req, res) {
		var project = new Project ();
		project = project.toJSON ();
		res.status(200).send (project);
	});
};
<commit_msg>not passing package name ?<commit_after>'use strict';

var mongoose = require ('mongoose');
var Project = mongoose.model ('Project');



module.exports = function (app) {
	// -------------------------------------------------------------------------
	//
	// get a brand new empty project
	//
	// -------------------------------------------------------------------------
	app.get ('/esm/project/new', function (req, res) {
		var project = new Project ();
		project = project.toJSON ();
		res.status(200).send (project);
	});
};

{'fraction_non_alphanumeric': 0.40800762631077214, 'fraction_numerical': 0.005719733079122974, 'mean_word_length': 1.2340425531914894, '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': '3427992', 'n_tokens_mistral': 268, 'n_tokens_neox': 259, 'n_words': 69}