<commit_before>$(document).ready(function() {
  $('.alert-close').click(function() {
    $('.alert').addClass('fade-out');
  })

  function removeAlert() {
    $('.alert').addClass('fade-out');
  }
  window.setTimeout(removeAlert, 8000);
  
  // initiates the randomGif maker that we use
  // in the admin panel
  if ($('#gifModal').length) {
    randomGif.init();
  }

  // ==> Tabs (see groups#show)
  $('.group-tab a').click(function(e) {
    $('.tab.active, .group-tab a.active').removeClass('active');
    $(this).addClass('active');
    $($(this).attr('href')).addClass('active');
  });
});
<commit_msg>remove flash message from DOM (#669)<commit_after>$(document).ready(function() {
  $('.alert-close').click(function() {
    removeAlert();
  })

  function removeAlert() {
    $('.alert').fadeOut(500, function() {
      $(this).remove();
    });
  }
  window.setTimeout(removeAlert, 8000);
  
  // initiates the randomGif maker that we use
  // in the admin panel
  if ($('#gifModal').length) {
    randomGif.init();
  }

  // ==> Tabs (see groups#show)
  $('.group-tab a').click(function(e) {
    $('.tab.active, .group-tab a.active').removeClass('active');
    $(this).addClass('active');
    $($(this).attr('href')).addClass('active');
  });
});

{'fraction_non_alphanumeric': 0.2368839427662957, 'fraction_numerical': 0.011128775834658187, 'mean_word_length': 3.545126353790614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3687738', 'n_tokens_mistral': 433, 'n_tokens_neox': 418, 'n_words': 71}