<commit_before>chrome.storage.sync.get(null, function(retVal) {
//	console.log("retVal: ", retVal);

	if (retVal["boostSessionTable"]) { // If user has option enabled
		if ($("form#frm").attr("action").match(/gamingsession\.aspx/)[0]) { // Checks if page is a boosting session
			if ($(".sessionachievements .friendfeeditem span a[href$='achievement.htm'").length > 1) { // Checks for more than 1 achievement
				$("#h1Messages").before("<div id=\"boostAchievementTable\" class=\"xb\"><a id=\"boostAchievementTableButton\" class=\"xbbutton\" href=\"#\">View This Session's Achievement Matrix</a></div>");
				
				// On click, do this
				$("#main .session").on("click","#boostAchievementTableButton",function(event) {
					event.preventDefault();
					
					$("#boostAchievementTable").empty().before("<h1 class=\"block\">Achievement Matrix</h1>").append("<div class=\"spinner\">Loading<br/><div class=\"bounce1\"></div><div class=\"bounce2\"></div><div class=\"bounce3\"></div><div class=\"bounce4\"></div></div>");

					setTimeout(function(){
						// Get achievement info
						// 0 = Achievement ID
						// 1 = Achievement name
						// 2 = Achievement Link
						var sessionAchievements = $(".sessionachievements .friendfeeditem span a[href$='achievement.htm'");

						for (i=0;i<sessionAchievements.length;i++) {
							sessionAchievements[i] = [
								sessionAchievements[i].href.match(/(a\d*)(?=\/)/)[0].match(/\d.*/)[0],
								sessionAchievements[i].text,
								sessionAchievements[i].href
							];
						}
<commit_msg>Changed some text in button from "view" to "build"<commit_after>chrome.storage.sync.get(null, function(retVal) {
//	console.log("retVal: ", retVal);

	if (retVal["boostSessionTable"]) { // If user has option enabled
		if ($("form#frm").attr("action").match(/gamingsession\.aspx/)[0]) { // Checks if page is a boosting session
			if ($(".sessionachievements .friendfeeditem span a[href$='achievement.htm'").length > 1) { // Checks for more than 1 achievement
				$("#h1Messages").before("<div id=\"boostAchievementTable\" class=\"xb\"><a id=\"boostAchievementTableButton\" class=\"xbbutton\" href=\"#\">Build This Session's Achievement Matrix</a></div>");
				
				// On click, do this
				$("#main .session").on("click","#boostAchievementTableButton",function(event) {
					event.preventDefault();
					
					$("#boostAchievementTable").empty().before("<h1 class=\"block\">Achievement Matrix</h1>").append("<div class=\"spinner\">Loading<br/><div class=\"bounce1\"></div><div class=\"bounce2\"></div><div class=\"bounce3\"></div><div class=\"bounce4\"></div></div>");

					setTimeout(function(){
						// Get achievement info
						// 0 = Achievement ID
						// 1 = Achievement name
						// 2 = Achievement Link
						var sessionAchievements = $(".sessionachievements .friendfeeditem span a[href$='achievement.htm'");

						for (i=0;i<sessionAchievements.length;i++) {
							sessionAchievements[i] = [
								sessionAchievements[i].href.match(/(a\d*)(?=\/)/)[0].match(/\d.*/)[0],
								sessionAchievements[i].text,
								sessionAchievements[i].href
							];
						}

{'fraction_non_alphanumeric': 0.20539152759948653, 'fraction_numerical': 0.010269576379974325, 'mean_word_length': 3.773353751914242, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '2174821', 'n_tokens_mistral': 1209, 'n_tokens_neox': 984, 'n_words': 172}