<commit_before>document.getElementsByClassName("form-torrent-name")[0].onkeyup = function(){
    document.getElementsByClassName("table-torrent-name")[0].innerText = document.getElementsByClassName("form-torrent-name")[0].value;
};

document.getElementsByClassName("form-torrent-category")[0].onchange = function(){
    document.getElementsByClassName("table-torrent-category")[0].className = "table-torrent-category nyaa-cat nyaa-cat-" + Categorylist[document.getElementsByClassName("form-torrent-category")[0].selectedIndex];
};

document.getElementsByClassName("form-torrent-remake")[0].onchange = function(){
    document.getElementsByClassName("table-torrent-category")[0].className = "table-torrent-category nyaa-cat nyaa-cat-" + Categorylist[document.getElementsByClassName("form-torrent-category")[0].selectedIndex] + (document.getElementsByClassName("table-torrent-category")[0] == on) ? "remake" : "");
};

document.getElementsByClassName("torrent-preview-table")[0].display = "block";

var CategoryList = [
    5
    12,
    5,
    13,
    6,
    3,
    4,
    7,<commit_msg>Update kilo.js<commit_after>document.getElementsByClassName("form-torrent-name")[0].onkeyup = function(){
    document.getElementsByClassName("table-torrent-name")[0].innerText = document.getElementsByClassName("form-torrent-name")[0].value;
};

document.getElementsByClassName("form-torrent-category")[0].onchange = function(){
    document.getElementsByClassName("table-torrent-category")[0].className = "table-torrent-category nyaa-cat nyaa-cat-" + Categorylist[document.getElementsByClassName("form-torrent-category")[0].selectedIndex];
};

document.getElementsByClassName("form-torrent-remake")[0].onchange = function(){
    document.getElementsByClassName("table-torrent-category")[0].className = "table-torrent-category nyaa-cat nyaa-cat-" + Categorylist[document.getElementsByClassName("form-torrent-category")[0].selectedIndex] + (document.getElementsByClassName("torrent-form-remake")[0].value == "on" ? "remake" : "");
};

document.getElementsByClassName("torrent-preview-table")[0].display = "block";

var CategoryList = [
    5
    12,
    5,
    13,
    6,
    3,
    4,
    7,
{'fraction_non_alphanumeric': 0.16766192007349565, 'fraction_numerical': 0.01929260450160772, 'mean_word_length': 6.071428571428571, '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': '2530114', 'n_tokens_mistral': 696, 'n_tokens_neox': 689, 'n_words': 66}