<commit_before>window.overview = {};

$(document).ready(function() {
	$("#overview").on("tabOpened", function() {
		$(".overview-date").text(window.utils.formatDate_english(new Date()));
	});
	window.api.get('overview/announcements/get/', function(data) {
		var response = data.feedback;
		for(feed in response) {
			if(moment(response[feed].time).add(response[feed].days, "days").isBefore(moment())) {
				var $feedLi = $("<li></li>");
					$feedLi.text(response[feed].msg);
					$("#announcementList").append($feedLi);
			}
		}
		if($("#announcementList").children().size() > 1) {
			$("#noAnnouncements").remove()
		}
	});
});<commit_msg>oops<commit_after>window.overview = {};

$(document).ready(function() {
	$("#overview").on("tabOpened", function() {
		$(".overview-date").text(window.utils.formatDate_english(new Date()));
	});
	window.api.get('overview/announcements/get/', function(data) {
		var response = data.feedback;
		for(feed in response) {
			if(moment(response[feed].time).toDate().add(response[feed].days, "days").isAfter(moment())) {
				var $feedLi = $("<li></li>");
					$feedLi.text(response[feed].msg);
					$("#announcementList").append($feedLi);
			}
		}
		if($("#announcementList").children().size() > 1) {
			$("#noAnnouncements").remove()
		}
	});
});
{'fraction_non_alphanumeric': 0.2459016393442623, 'fraction_numerical': 0.00156128024980484, 'mean_word_length': 5.047169811320755, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4505469', 'n_tokens_mistral': 493, 'n_tokens_neox': 440, 'n_words': 48}