<commit_before>$(document).ready(function() {

 	//console.log(getMenuStatus());
 	//console.log("cookie is " + document.cookie + " --- end cookie");


 	// if cookie contains conflicting values defer to show and erase the rest
	if (	(document.cookie.indexOf("buellcenter-org-menu=hidden") > -1) && 
				(document.cookie.indexOf("buellcenter-org-menu=showing") > -1)) {
		//console.log("cookie is confused");
		// show the menu
		$("#rp_showhide").html("Research &amp; Programs <span style=\"font-weight: normal;\">[ + ]</span>");
  	$("div.view-display-id-block_1").show();
		document.cookie = "buellcenter-org-menu" + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
		//console.log('wiped cookie');
		//console.log(document.cookie);
	}



	$("#block-views-research_programs-block_1 h2").html(
		"<a href=\"#\" id=\"rp_showhide\">Research &amp; Programs <span style=\"font-weight: normal;\">[ - ]</span></a>");

	if(window.location.pathname.split('/')[1] != 'conferences'){
		$("div.view-display-id-block_2").hide();
	}

	$("#block-views-research_programs-block_2 h2").html(
		"<a href=\"#\" id=\"conf_showhide\">Conferences <span style=\"font-weight: normal;\">[ + ]</span></a>");


	$('a.show-conf').bind('click', function() {
		// find element to show
		var element_id = $(this).attr('id');
		$('div.conf-teaser-end.' + element_id).hide();
		$('a#' + element_id).hide().hasClass('show-conf');
		// remove linebreak		
		$('.conf-teaser p:last-child').css('display', 'inline');
		$('span.conf-hidden.' + element_id).fadeIn(200);
	});

	$('a.hide-conf').bind('click', function() {
		// find element to show<commit_msg>set + to -<commit_after>$(document).ready(function() {

 	//console.log(getMenuStatus());
 	//console.log("cookie is " + document.cookie + " --- end cookie");


 	// if cookie contains conflicting values defer to show and erase the rest
	if (	(document.cookie.indexOf("buellcenter-org-menu=hidden") > -1) && 
				(document.cookie.indexOf("buellcenter-org-menu=showing") > -1)) {
		//console.log("cookie is confused");
		// show the menu
		$("#rp_showhide").html("Research &amp; Programs <span style=\"font-weight: normal;\">[ + ]</span>");
  	$("div.view-display-id-block_1").show();
		document.cookie = "buellcenter-org-menu" + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
		//console.log('wiped cookie');
		//console.log(document.cookie);
	}



	$("#block-views-research_programs-block_1 h2").html(
		"<a href=\"#\" id=\"rp_showhide\">Research &amp; Programs <span style=\"font-weight: normal;\">[ - ]</span></a>");

	if(window.location.pathname.split('/')[1] != 'conferences'){
		$("div.view-display-id-block_2").hide();
		$("#block-views-research_programs-block_2 h2").html(
		"<a href=\"#\" id=\"conf_showhide\">Conferences <span style=\"font-weight: normal;\">[ - ]</span></a>");
	}else{
		$("#block-views-research_programs-block_2 h2").html(
		"<a href=\"#\" id=\"conf_showhide\">Conferences <span style=\"font-weight: normal;\">[ + ]</span></a>");
	}

	$('a.show-conf').bind('click', function() {
		// find element to show
		var element_id = $(this).attr('id');
		$('div.conf-teaser-end.' + element_id).hide();
		$('a#' + element_id).hide().hasClass('show-conf');
		// remove linebreak		
		$('.conf-teaser p:last-child').css('display', 'inline');
		$('span.conf-hidden.' + element_id).fadeIn(200);
	});

	$('a.hide-conf').bind('click', function() {
		// find element to show
{'fraction_non_alphanumeric': 0.2457327839905827, 'fraction_numerical': 0.014714537963507945, 'mean_word_length': 4.165653495440729, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 31, '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': '5166682', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1198, 'n_words': 207}