<commit_before>

$(document).ready(function(){
      // navbar is escaped by http://www.freeformatter.com/javascript-escape.html
      // used to add navbar in every single page
      var navbar = '<nav class=\"navbar navbar-default\">\r\n      <a class=\"navbar-brand\" href=\"index.html\">\u5DE5\u5BEE\u5373\u6642\u72C0\u614B\u7CFB\u7D71<\/a>\r\n      <ul class=\"nav navbar-nav\">\r\n        <li><a href=\"index.html\">\u9996\u9801<\/a><\/li>\r\n        <li><a href=\"login.html\">\u7C3D\u5230\/\u8A3B\u518A<\/a><\/li>\r\n        <li><a href=\"logout.html\">\u7C3D\u51FA<\/a><\/li>\r\n        <li><a href=\"profile.html\">\u5E33\u865F\u8A2D\u5B9A<\/a><\/li>\r\n        <li><a href=\"status.html\">\u5373\u6642\u72C0\u614B<\/a><\/li>\r\n      <\/ul>\r\n    <\/nav>'


      $('body').prepend(navbar);

      var url = location.pathname
      if (url == '') {
        $('nav ul li').filter(':first').addClass('active');
      } else {
        $('nav ul li a').each(function(){
          if ($(this).attr('href') == url.substring(url.lastIndexOf('/')+1)) {
            $(this).parent().addClass('active');
          }
        });
      };

      $('#append').click(function(){
        $($(this).attr('data-append')).toggle();<commit_msg>fix last commit<commit_after>

$(document).ready(function(){
      // navbar is escaped by http://www.freeformatter.com/javascript-escape.html
      // used to add navbar in every single page
      var navbar = '<nav class=\"navbar navbar-default\">\r\n      <a class=\"navbar-brand\" href=\"index.html\">\u5DE5\u5BEE\u5373\u6642\u72C0\u614B\u7CFB\u7D71<\/a>\r\n      <ul class=\"nav navbar-nav\">\r\n        <li><a href=\"index.html\">\u9996\u9801<\/a><\/li>\r\n        <li><a href=\"login.html\">\u7C3D\u5230\/\u8A3B\u518A<\/a><\/li>\r\n        <li><a href=\"logout.html\">\u7C3D\u51FA<\/a><\/li>\r\n        <li><a href=\"profile.html\">\u5E33\u865F\u8A2D\u5B9A<\/a><\/li>\r\n        <li><a href=\"status.html\">\u5373\u6642\u72C0\u614B<\/a><\/li>\r\n      <\/ul>\r\n    <\/nav>'


      $('body').prepend(navbar);

      var url = location.pathname
      if (url.substring(url.lastIndexOf('/')+1) == '') {
        $('nav ul li').filter(':first').addClass('active');
      } else {
        $('nav ul li a').each(function(){
          if ($(this).attr('href') == url.substring(url.lastIndexOf('/')+1)) {
            $(this).parent().addClass('active');
          }
        });
      };

      $('#append').click(function(){
        $($(this).attr('data-append')).toggle();
{'fraction_non_alphanumeric': 0.25657370517928285, 'fraction_numerical': 0.055378486055776895, 'mean_word_length': 2.356951871657754, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1941656', 'n_tokens_mistral': 1036, 'n_tokens_neox': 985, 'n_words': 117}