<commit_before>$(function() {
	var jumboTron = {
		$headerField: $("#jHeader"),
		$bodyField: $("#jBody"),
		init: function(header, body) {
			this.header = header;
			this.body = body;
			this.render();
		},
		render: function() {
			this.$headerField.html(this.header);
			this.$bodyField.html(this.body);
		}
	}

	var historyTable = {
		$panel: $("#historyPanel"),
		$tableBody: $("#historyTableBody"),
		init: function(name, histories) {
			this.name = name;
			this.histories = histories;
			this.render();
		},
 		render: function() {
			if(this.histories.length == 0) {
				this.$panel.css("display", "none");	
			} else {
				this.$panel.css("display", "block");	
				this.$tableBody.empty();
				for(var a = 0; a < Math.min(4, this.histories.length); a++) {
					this.$tableBody.append(this.getTableRow(this.histories[a]));
				}
			}
		},
		getTableRow: function(history) {
			return "<tr><td>"+this.name+" v"+history.versionNumber+"</td><td>"+history.lastRank+" of "+history.lastNumPlayers+"</td><td>"+(history.lastNumGames != null ? history.lastNumGames : "Not Recorded")+"</td></tr>";
		}
	}

	var statTable = {<commit_msg>switch to last 5 histories<commit_after>$(function() {
	var jumboTron = {
		$headerField: $("#jHeader"),
		$bodyField: $("#jBody"),
		init: function(header, body) {
			this.header = header;
			this.body = body;
			this.render();
		},
		render: function() {
			this.$headerField.html(this.header);
			this.$bodyField.html(this.body);
		}
	}

	var historyTable = {
		$panel: $("#historyPanel"),
		$tableBody: $("#historyTableBody"),
		init: function(name, histories) {
			this.name = name;
			this.histories = histories;
			this.render();
		},
 		render: function() {
			if(this.histories.length == 0) {
				this.$panel.css("display", "none");	
			} else {
				this.$panel.css("display", "block");	
				this.$tableBody.empty();
				for(var a = 0; a < Math.min(5, this.histories.length); a++) {
					this.$tableBody.append(this.getTableRow(this.histories[a]));
				}
			}
		},
		getTableRow: function(history) {
			return "<tr><td>"+this.name+" v"+history.versionNumber+"</td><td>"+history.lastRank+" of "+history.lastNumPlayers+"</td><td>"+(history.lastNumGames != null ? history.lastNumGames : "Not Recorded")+"</td></tr>";
		}
	}

	var statTable = {
{'fraction_non_alphanumeric': 0.20919037199124726, 'fraction_numerical': 0.003063457330415755, 'mean_word_length': 3.8329809725158563, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, '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': '1168187', 'n_tokens_mistral': 933, 'n_tokens_neox': 800, 'n_words': 132}