<commit_before>// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt Creative Commons Zero

	var base = 'https://www.googleapis.com/blogger/v3/blogs/';

function loadBlogs() {
	var request = new XMLHttpRequest();
	request.open('GET', "/config.json", true);

	request.onload = function buttonsOnLoad() {
		// Populate Mustache data.
		var r = JSON.parse(request.responseText),
			template = document.getElementById("buttons-template").innerHTML,
			rendered;
		Mustache.parse(template);   // optional, speeds up future uses
		rendered = Mustache.render(template, r);
		document.getElementById("buttons").innerHTML = rendered;
	};

	request.onerror = function buttonsOnError () {
		alert("There was a big connection error. :(");
	};
	
	request.send();
}

function getBloggerStats(api_key, blog_id) {
	var pages = [],
		json_resp = "",<commit_msg>Don't use absolute path for config file<commit_after>// @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt Creative Commons Zero

	var base = 'https://www.googleapis.com/blogger/v3/blogs/';

function loadBlogs() {
	var request = new XMLHttpRequest();
	request.open('GET', "config.json", true);

	request.onload = function buttonsOnLoad() {
		// Populate Mustache data.
		var r = JSON.parse(request.responseText),
			template = document.getElementById("buttons-template").innerHTML,
			rendered;
		Mustache.parse(template);   // optional, speeds up future uses
		rendered = Mustache.render(template, r);
		document.getElementById("buttons").innerHTML = rendered;
	};

	request.onerror = function buttonsOnError () {
		alert("There was a big connection error. :(");
	};
	
	request.send();
}

function getBloggerStats(api_key, blog_id) {
	var pages = [],
		json_resp = "",
{'fraction_non_alphanumeric': 0.1410039481105471, 'fraction_numerical': 0.03158488437676255, 'mean_word_length': 4.8355263157894735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1582297', 'n_tokens_mistral': 631, 'n_tokens_neox': 563, 'n_words': 120}