<commit_before><%# encoding: utf-8 %>

function loadTask(id) {
  if (window.taskTimer) window.taskTimer.destroy();

  jQuery.getJSON("/tasks/edit/" + id, function(data) {
    jQuery("#task").html(data.html);
    document.title = "Task " + data.task_num + ":" + data.task_name;
    jQuery("#task [rel=tooltip]").tooltip();
    jQuery("#task").show();
  }, "html");
}
<commit_msg>tentativas de mudança de código, funciona<commit_after><%# encoding: utf-8 %>

function loadTask(id) {
  if (window.taskTimer) {
    window.taskTimer.destroy();
  }
  jQuery("#task").empty();

  jQuery.getJSON("/tasks/edit/" + id).done(function(data) {
    document.title = "Task " + data.task_num + ":" + data.task_name;
    jQuery("#task [rel=tooltip]").tooltip();
    jQuery("div#task").append(data.html);
    jQuery("div#task").show();
  });
}

{'fraction_non_alphanumeric': 0.21670702179176757, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 4.20125786163522, 'pattern_counts': {'":': 2, '<': 5, '<?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': '4635111', 'n_tokens_mistral': 290, 'n_tokens_neox': 285, 'n_words': 44}