<commit_before>var Conduct = function() {
	var codes = ['answers to all levels will be my own work, unless otherwise instructed.',
				 'I will not share answers to any level.',
				 'I will not participate in, condone or encourage unlawful activity, including any breach of copyright, defamation, or contempt of court.',
				 'As the HackThis!! community’s first language is English, I will always post contributions in English to enable all to understand',
				 'I will not use HackThis!! to advertise products or services for profit or gain.',
				 'I will not use racist, sexist, homophobic, sexually explicit or abusive terms or images, or swear words or language that is likely to cause offence.'];
};

Conduct.prototype = {
	handle: function(from, chan, message) {
		var irc = global.irc;

		var matches;
		if (matches = message.match(/^!conduct (\d+)$/i)) {
			var index = parseInt(matches[1]) - 1;
			if (index < this.codes.length) {
				var msg = this.codes[index];

				if (index != 3) {<commit_msg>Added code of conduct module<commit_after>var Conduct = function() {
	this.codes = ['answers to all levels will be my own work, unless otherwise instructed.',
				 'I will not share answers to any level.',
				 'I will not participate in, condone or encourage unlawful activity, including any breach of copyright, defamation, or contempt of court.',
				 'As the HackThis!! community’s first language is English, I will always post contributions in English to enable all to understand',
				 'I will not use HackThis!! to advertise products or services for profit or gain.',
				 'I will not use racist, sexist, homophobic, sexually explicit or abusive terms or images, or swear words or language that is likely to cause offence.'];
};

Conduct.prototype = {
	handle: function(from, chan, message) {
		var irc = global.irc;

		var matches;
		if (matches = message.match(/^!conduct|rule (\d+)$/i)) {
			var index = parseInt(matches[1]) - 1;
			if (index < this.codes.length) {
				var msg = this.codes[index];

				if (index != 3) {
{'fraction_non_alphanumeric': 0.10093091621754043, 'fraction_numerical': 0.002939735423811857, 'mean_word_length': 3.7599067599067597, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5501256', 'n_tokens_mistral': 644, 'n_tokens_neox': 537, 'n_words': 265}