<commit_before>$(function () {
  window.disown_run = function (run) {
    $("#run_" + run.id).fadeOut(300, function () { $(this).remove(); });
    $.ajax({
      url: "/api/v3/runs/" + run.id + "/user",
      type: "DELETE",
      error: function (response) {
        console.log("Run disown failed with response: " + JSON.stringify(response));
      }
    });
  };
});

<commit_msg>Fix run disowning from frontpage<commit_after>$(function () {
  window.disown_run = function (run) {
    $("#run_" + run.id).fadeOut(300, function () { $(this).remove(); });
    $.ajax({
      url: "/api/v2/runs/" + run.id + "/user",
      type: "DELETE",
      error: function (response) {
        console.log("Run disown failed with response: " + JSON.stringify(response));
      }
    });
  };
});


{'fraction_non_alphanumeric': 0.21146496815286625, 'fraction_numerical': 0.01019108280254777, 'mean_word_length': 2.7251184834123223, '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': '6595653', 'n_tokens_mistral': 268, 'n_tokens_neox': 260, 'n_words': 52}