<commit_before>var Conversations = (function(){
    var currentSearchTerm = "";
    var currentlyDisplayedConversations = [];
    var currentConversation = {};
    var currentServerConfigName = "external";
    var currentSlide = 0;
    var targetConversationJid = "";
    var currentTeacherSlide = 0;
    var isSyncedToTeacher = false;

    var conversationTemplate = undefined;
    var conversationSearchListing = undefined;

		var BannedState = (function(){
			var haveCheckedBanned = false;
			var bannedState = false;
			var pushBannedMessage = function(){
				alert("you're banned!");
			};
			var pushUnbannedMessage = function(){
				alert("you're unbanned!");
			};
			var updateBannedVisualState = function(){
				console.log("bannedState:",bannedState);
				if (bannedState){
				} else {
				}
			};
			return {
				checkIsBanned:function(conversation,freshCheck){
					var originalBannedState = bannedState;
					var newBannedState = getIsBannedFunction(conversation);
					if (freshCheck == true){
						haveCheckedBanned = false;
						bannedState = false;
					}
					if (!haveCheckedBanned && newBannedState){
						haveCheckedBanned = true;
						bannedState = true;
						pushBannedMessage();
					}
					if (originalBannedState == true && newBannedState == false){
						bannedState = false;
						pushUnbannedMessage();
					}
					updateBannedVisualState();
				},
				reset:function(){
					haveCheckedBanned = false;
					bannedState = false;
				}	<commit_msg>put in Gordon's wording on ban messages so that we can get used to the idea of them<commit_after>var Conversations = (function(){
    var currentSearchTerm = "";
    var currentlyDisplayedConversations = [];
    var currentConversation = {};
    var currentServerConfigName = "external";
    var currentSlide = 0;
    var targetConversationJid = "";
    var currentTeacherSlide = 0;
    var isSyncedToTeacher = false;

    var conversationTemplate = undefined;
    var conversationSearchListing = undefined;

		var BannedState = (function(){
			var haveCheckedBanned = false;
			var bannedState = false;
			var pushBannedMessage = function(){
				alert("You have been banned from contributing publically to this class because you published some inappropriate content that is deemed to be contrary to the expectations of the university.\r\nThe content has been deleted on every screen, but the instructor has a record of your action.\r\nYou must contact your instructor in order to be reinstated as a contributing member of the classroom community.");
			};
			var pushUnbannedMessage = function(){
				alert("The instructor has unbanned you.  You are once again permitted to contribute publicly in this class.");
			};
			var updateBannedVisualState = function(){
				console.log("bannedState:",bannedState);
				if (bannedState){
				} else {
				}
			};
			return {
				checkIsBanned:function(conversation,freshCheck){
					var originalBannedState = bannedState;
					var newBannedState = getIsBannedFunction(conversation);
					if (freshCheck == true){
						haveCheckedBanned = false;
						bannedState = false;
					}
					if (!haveCheckedBanned && newBannedState){
						haveCheckedBanned = true;
						bannedState = true;
						pushBannedMessage();
					}
					if (originalBannedState == true && newBannedState == false){
						bannedState = false;
						pushUnbannedMessage();
					}
					updateBannedVisualState();
				},
				reset:function(){
					haveCheckedBanned = false;
					bannedState = false;
				}	
{'fraction_non_alphanumeric': 0.09225935447015139, 'fraction_numerical': 0.0011425307055127106, 'mean_word_length': 3.3939774153074027, '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': '4728506', 'n_tokens_mistral': 1232, 'n_tokens_neox': 948, 'n_words': 274}