<commit_before>const _ = require('lodash');
var Projects = require('../data/Projects.json');

//
// Enhance module
//
mapKeys();

//
// Export the modules
//
module.exports = Projects;

//
// Private functions
//
function mapKeys()
{
	_.forIn(Projects, function(project, key) {
		project.key = key;
	});
}<commit_msg>Projects.js: mapKeys fixed<commit_after>const _ = require('lodash');
var Projects = require('../data/Projects.json');

//
// Enhance module
//
_.each(_.keys(Projects), function(key) {
	Projects[key].key = key;
});

//
// Export the modules
//
module.exports = Projects;

//
// Private functions
//
{'fraction_non_alphanumeric': 0.1970684039087948, 'fraction_numerical': 0.0, 'mean_word_length': 3.392857142857143, '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': '7520974', 'n_tokens_mistral': 219, 'n_tokens_neox': 206, 'n_words': 42}