<commit_before>/*
 This file is used both by the server and client
 Keep that in mind, when making modifications
 */

// Websocket message codes and some other defines
const DEF = {
	// Pub/Sub
	INVALID: 0,
	INSERT_POST: 2,
	UPDATE_POST: 3,
	FINISH_POST: 4,
	INSERT_IMAGE: 6,

	// Pub/sub moderation
	SPOILER_IMAGES: 7,
	DELETE_IMAGES: 8,
	DELETE_POSTS: 9,
	LOCK_THREAD: 10,
	UNLOCK_THREAD: 11,
	BAN: 12,
	REPORT_POST: 13,

	// Miscellaneous
	IMAGE_STATUS: 31,
	SYNCHRONIZE: 32,
	EXECUTE_JS: 33,
	BACKLINK: 34,
	UPDATE_BANNER: 35,
	GET_TIME: 36,
	ONLINE_COUNT: 37,
	HOT_INJECTION: 38,
	NOTIFICATION: 39,
	RADIO: 40,<commit_msg>Log backlinks in pub/sub history<commit_after>/*
 This file is used both by the server and client
 Keep that in mind, when making modifications
 */

// Websocket message codes and some other defines
const DEF = {
	// Pub/Sub
	INVALID: 0,
	INSERT_POST: 2,
	UPDATE_POST: 3,
	FINISH_POST: 4,
	INSERT_IMAGE: 6,
	BACKLINK: 7,

	// Pub/sub moderation
	SPOILER_IMAGES: 7,
	DELETE_IMAGES: 8,
	DELETE_POSTS: 9,
	LOCK_THREAD: 10,
	UNLOCK_THREAD: 11,
	BAN: 12,
	REPORT_POST: 13,

	// Miscellaneous
	IMAGE_STATUS: 31,
	SYNCHRONIZE: 32,
	EXECUTE_JS: 33,
	UPDATE_BANNER: 35,
	GET_TIME: 36,
	ONLINE_COUNT: 37,
	HOT_INJECTION: 38,
	NOTIFICATION: 39,
	RADIO: 40,
{'fraction_non_alphanumeric': 0.10141509433962265, 'fraction_numerical': 0.05581761006289308, 'mean_word_length': 4.011811023622047, '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': '3254476', 'n_tokens_mistral': 605, 'n_tokens_neox': 519, 'n_words': 153}