<commit_before>(function($) {
  $('pre').each(function() {
    var contents = $(this).html();
    if (contents.length > 500) {
      $(this).attr('data-contents', contents).text('- Click to show -').one('click', function() {
        $(this).html($(this).attr('data-contents')).removeAttr('data-contents');
      });
    }
  });
})(jQuery);<commit_msg>Hide <pre> blocks by # of lines rather than # of characters.<commit_after>(function($) {
  $('pre').each(function() {
    if ($(this).text().split("\n").length > 15) {
      $(this).attr('data-contents', $(this).html()).text('- Click to show -').one('click', function() {
        $(this).html($(this).attr('data-contents')).removeAttr('data-contents');
      });
    }
  });
})(jQuery);
{'fraction_non_alphanumeric': 0.2645861601085482, 'fraction_numerical': 0.0067842605156037995, 'mean_word_length': 3.670886075949367, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '3778171', 'n_tokens_mistral': 237, 'n_tokens_neox': 230, 'n_words': 39}