<commit_before>function popularGenre() {
  jQuery.ajax({
    type:'POST',
    url:'/api/topGenre',
    data: {
      limit:15,
      lower_limit:'<?=date("Y-m-d", time() - (365 * 24 * 60 * 60))?>',
      username:'<?php echo !empty($_GET['u']) ? $_GET['u'] : ''?>'
    },
    success: function(data) {
      jQuery.ajax({
        type:'POST',
        url:'/ajax/popularTag',
        data: {
          json_data:data
        },
        success: function(data) {
          jQuery('#popularGenreLoader').hide();
          jQuery('#popularGenre').html(data);
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) {
        }
      });
    },
    error: function(XMLHttpRequest, textStatus, errorThrown) {
    }
  });
}
popularGenre();

function topAlbum() {
  jQuery.ajax({
    type:'POST',
    url:'/api/topAlbum',
    data: {
      limit:15,
      lower_limit:'<?=date("Y-m-d", time() - (183 * 24 * 60 * 60))?>',
      username:'<?php echo !empty($_GET['u']) ? $_GET['u'] : ''?>'
    },
    success: function(data) {
      jQuery.ajax({
        type:'POST',
        url:'/ajax/albumTable',
        data: {
          json_data:data,
          hide: {
            'count':true,
            'rank':true,
            'date':true
          }
        },
        success: function(data) {
          jQuery('#popularAlbumLoader').hide();
          jQuery('#popularAlbum').html(data);
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) {
        }
      });
    },
    error: function(XMLHttpRequest, textStatus, errorThrown) {
    }
  });
}<commit_msg>Removed unnecessary apostrophes from JS file.<commit_after>function popularGenre() {
  jQuery.ajax({
    type:'POST',
    url:'/api/topGenre',
    data: {
      limit:15,
      lower_limit:'<?=date("Y-m-d", time() - (365 * 24 * 60 * 60))?>',
      username:'<?php echo !empty($_GET['u']) ? $_GET['u'] : ''?>'
    },
    success: function(data) {
      jQuery.ajax({
        type:'POST',
        url:'/ajax/popularTag',
        data: {
          json_data:data
        },
        success: function(data) {
          jQuery('#popularGenreLoader').hide();
          jQuery('#popularGenre').html(data);
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) {
        }
      });
    },
    error: function(XMLHttpRequest, textStatus, errorThrown) {
    }
  });
}
popularGenre();

function topAlbum() {
  jQuery.ajax({
    type:'POST',
    url:'/api/topAlbum',
    data: {
      limit:15,
      lower_limit:'<?=date("Y-m-d", time() - (183 * 24 * 60 * 60))?>',
      username:'<?php echo !empty($_GET['u']) ? $_GET['u'] : ''?>'
    },
    success: function(data) {
      jQuery.ajax({
        type:'POST',
        url:'/ajax/albumTable',
        data: {
          json_data:data,
          hide: {
            count:true,
            rank:true,
            date:true
          }
        },
        success: function(data) {
          jQuery('#popularAlbumLoader').hide();
          jQuery('#popularAlbum').html(data);
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) {
        }
      });
    },
    error: function(XMLHttpRequest, textStatus, errorThrown) {
    }
  });
}
{'fraction_non_alphanumeric': 0.18508114856429464, 'fraction_numerical': 0.01373283395755306, 'mean_word_length': 2.043684710351377, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '185025', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1008, 'n_words': 159}