<commit_before>function addNotification(notificationText, typeClass) {
   notification = $("#notificationsDiv .notification.prototype").clone(); 
   notification.removeClass("prototype");
   notification.find(".text").text(notificationText);
   notification.addClass(typeClass);
   $("#notificationsDiv").append(notification);
}
<commit_msg>make popups dissapear after 4 seconds<commit_after>function addNotification(notificationText, typeClass) {
   notification = $("#notificationsDiv .notification.prototype").clone(); 
   notification.removeClass("prototype");
   notification.find(".text").text(notificationText);
   notification.addClass(typeClass);
   $("#notificationsDiv").append(notification);
   window.setTimeout(function() {
       notification.alert().alert("close");
   }, 
   5000);
}

{'fraction_non_alphanumeric': 0.149812734082397, 'fraction_numerical': 0.006242197253433208, 'mean_word_length': 6.4953271028037385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1295921', 'n_tokens_mistral': 199, 'n_tokens_neox': 195, 'n_words': 28}