<commit_before><!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("button").click(function(){
        $.getJSON("/pet", function(result){
        	
            $.each(result, function(i, pet){
                //$("div").append("(" + pet.name + ", " + pet.imageUrl + ") ");
                var elem = document.createElement("img");
                //elem.setAttribute("src", pet.imageUrl);
				elem.src = pet.imageUrl;
                elem.title = pet.name;

				//var src = $(document).getElementById("header");
				//src.appendChild(img);

				document.getElementById("placehere").appendChild(elem);
            });
        });
    });
});
</script>
</head>
<body>

<button>Get JSON data</button>

<div id="placehere"></div>

</body>
</html>
<commit_msg>--getting url hopefuly<commit_after><!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("button").click(function(){
        $.getJSON("/pet", function(result){
        	
            $.each(result, function(i, pet){
                //$("div").append("(" + pet.name + ", " + pet.imageUrl + ") ");
                var elem = document.createElement("img");
                //elem.setAttribute("src", pet.imageUrl);
				elem.src = pet.imageUrl;
                elem.title = pet.name;

				//var src = $(document).getElementById("header");
				//src.appendChild(img);

				document.getElementById("placehere").appendChild(elem);
                var sPageURL = window.location.search.substring(1); 
                var sURLVariables = sPageURL.split('&'); 
                for (var i = 0; i < sURLVariables.length; i++) { 
                    var sParameterName = sURLVariables[i].split('='); 
                    if (sParameterName[0] == sParam) { 
                        console.log(sParameterName[1]); 
                    } 
                }
            });
        });
    });
});
</script>
</head>
<body>

<button>Get JSON data</button>

<div id="placehere"></div>

</body>
</html>

{'fraction_non_alphanumeric': 0.19694868238557559, 'fraction_numerical': 0.005547850208044383, 'mean_word_length': 2.1316931982633864, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 33, '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': '6092898', 'n_tokens_mistral': 699, 'n_tokens_neox': 637, 'n_words': 104}