<commit_before>var live_update = function(){
  var live_update = $('#live-update');
  var update_fragment = document.createDocumentFragment();
  $.get( "live_update.js", function( data ) {
    console.log(data);
    // $("#live-update-contents").html(
    eval(data);
  });
};

$(function () {
  if ($('#live-update')[0] != undefined) {
    setInterval(live_update, 1000);
  };
});<commit_msg>disable eval<commit_after>var live_update = function(){
  var live_update = $('#live-update');
  var update_fragment = document.createDocumentFragment();
  $.get( "live_update.js", function( data ) {
    console.log(data);
    // $("#live-update-contents").html(
    // eval(data);
  });
};

$(function () {
  if ($('#live-update')[0] != undefined) {
    setInterval(live_update, 1000);
  };
});
{'fraction_non_alphanumeric': 0.2131979695431472, 'fraction_numerical': 0.012690355329949238, 'mean_word_length': 4.090322580645161, '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': '7133713', 'n_tokens_mistral': 263, 'n_tokens_neox': 254, 'n_words': 45}