<commit_before>  /**
  	* Standard DX javascript that would be inclided in a page
  	*/

  	// Set a cookie for user, if one is not present
  	

  	var userId;
  	setUser();

    if(mixpanel !== null && mixpanel !== undefined)
    {
    	var idx = document.URL.indexOf("#campaign=");
		var campaignName = idx != -1 ? document.URL.substring(idx+10) : "NONE";

		var trackedData = {
	        "title" : document.title, 
	        "campaign" : campaignName, 
	        "user" : userId
	    };

	    mixpanel.track("Page View", trackedData);
    }

    function setUser()
    {
    	if(document.cookie.indexOf("dxUserCookie") == -1)
    	{
    		// set a cookie with user id
    		document.cookie = "dxUserCookie=" + guid();	
    	}
    	userId = getCookie("dxUserCookie");
    }

    function getCookie(cname) 
    {
	    var name = cname + "=";
	    var ca = document.cookie.split(';');
	    for(var i=0; i<ca.length; i++) {<commit_msg>Debug data from optimizely<commit_after>  /**
  	* Standard DX javascript that would be inclided in a page
  	*/

  	// Set a cookie for user, if one is not present


  	var userId;
  	setUser();


  	console.log(window.optimizely.data);

    if(mixpanel !== null && mixpanel !== undefined)
    {
    	var idx = document.URL.indexOf("#campaign=");
		var campaignName = idx != -1 ? document.URL.substring(idx+10) : "NONE";

		var trackedData = {
	        "title" : document.title, 
	        "campaign" : campaignName, 
	        "user" : userId
	    };

	    mixpanel.track("Page View", trackedData);
    }

    function setUser()
    {
    	if(document.cookie.indexOf("dxUserCookie") == -1)
    	{
    		// set a cookie with user id
    		document.cookie = "dxUserCookie=" + guid();	
    	}
    	userId = getCookie("dxUserCookie");
    }

    function getCookie(cname) 
    {
	    var name = cname + "=";
	    var ca = document.cookie.split(';');
	    for(var i=0; i<ca.length; i++) {
{'fraction_non_alphanumeric': 0.14629049111807732, 'fraction_numerical': 0.00522466039707419, 'mean_word_length': 2.3017241379310347, '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': '5839434', 'n_tokens_mistral': 679, 'n_tokens_neox': 625, 'n_words': 154}