<commit_before>const byID = {
	'0': 'checkmark', // green checkmark ✔
	'1': '?', // blue question mark ❓
	'2': '!', // red exclamation mark ❗
	'3': 'star', // orange star 🟊
	'4': 'crossmark', // bright red crossmark ❌
	'5': 'cross', // dark red cross 🕇
	'6': 'mouth', // mouth with red lips 👄
	'7': 'shovel', // shovel ⛏
	'8': 'sword', // sword ⚔
	'9': 'flag', // blue flag ⚑
	'10': 'lock', // golden lock 🔒
	'11': 'bag', // brown bag 👛
	'12': 'skull', // skull 💀
	'13': '$', // green dollar sign 💰💲
	'14': 'red up', // red arrow up ⬆️🔺
	'15': 'red down', // red arrow down ⬇🔻
	'16': 'red right', // red arrow right ➡️
	'17': 'red left', // red arrow left ⬅️
	'18': 'up', // green arrow up ⬆
	'19': 'down' // green arrow down ⬇
};

const byName = {};
Object.keys(byID).forEach(function(id) {
	const name = byID[id];
	byName[name] = id;
});

module.exports = {
	byID: byID,
	byName: byName
};<commit_msg>Ensure icon IDs are numeric<commit_after>const byID = {
	'0': 'checkmark', // green checkmark ✔
	'1': '?', // blue question mark ❓
	'2': '!', // red exclamation mark ❗
	'3': 'star', // orange star 🟊
	'4': 'crossmark', // bright red crossmark ❌
	'5': 'cross', // dark red cross 🕇
	'6': 'mouth', // mouth with red lips 👄
	'7': 'shovel', // shovel ⛏
	'8': 'sword', // sword ⚔
	'9': 'flag', // blue flag ⚑
	'10': 'lock', // golden lock 🔒
	'11': 'bag', // brown bag 👛
	'12': 'skull', // skull 💀
	'13': '$', // green dollar sign 💰💲
	'14': 'red up', // red arrow up ⬆️🔺
	'15': 'red down', // red arrow down ⬇🔻
	'16': 'red right', // red arrow right ➡️
	'17': 'red left', // red arrow left ⬅️
	'18': 'up', // green arrow up ⬆
	'19': 'down' // green arrow down ⬇
};

const byName = {};
Object.keys(byID).forEach(function(id) {
	const name = byID[id];
	byName[name] = Number(id);
});

module.exports = {
	byID: byID,
	byName: byName
};
{'fraction_non_alphanumeric': 0.24835886214442013, 'fraction_numerical': 0.03282275711159737, 'mean_word_length': 2.9503239740820733, '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': '597620', 'n_tokens_mistral': 870, 'n_tokens_neox': 814, 'n_words': 256}