<commit_before>(function(window, document) {
  function insert_table_header() {
    var label_th = document.createElement('th');
    label_th.innerHTML = "Label";
    label_th.className += "mdl-data-table__cell--non-numeric";

    var tags_th = document.createElement('th');
    tags_th.innerHTML = "Tags";
    tags_th.className += " mdl-data-table__cell--non-numeric";
    tags_th.className += "all-clicks";

    var thead = document.querySelector("body > div.main > div.shorten.content.constrain > table > thead > tr");
    thead.appendChild(label_th);
    thead.appendChild(tags_th);
  }

  function insert_data(element) {
    var short_url = element.querySelector(".short-url > a").textContent;
    var id = short_url.split('/')[1];

    var label = document.createElement("td");
    label.innerHTML = id;
    label.className += " mdl-data-table__cell--non-numeric";
    element.appendChild(label);

    var tags = document.createElement("td");
    tags.innerHTML = "tags, tags";
    tags.className += " mdl-data-table__cell--non-numeric";
    element.appendChild(tags);
  }

  console.log("Working on it :)");
  window.onload = function() {<commit_msg>Added saveable values for name/tags<commit_after>(function(window, document) {
  function insert_table_header() {
    var label_th = document.createElement('th');
    label_th.innerHTML = "Label";
    label_th.className += "mdl-data-table__cell--non-numeric";

    var tags_th = document.createElement('th');
    tags_th.innerHTML = "Tags";
    tags_th.className += " mdl-data-table__cell--non-numeric";
    tags_th.className += "all-clicks";

    var thead = document.querySelector("body > div.main > div.shorten.content.constrain > table > thead > tr");
    thead.appendChild(label_th);
    thead.appendChild(tags_th);
  }

  function insert_data(element) {
    var short_url = element.querySelector(".short-url > a").textContent;
    var id = short_url.split('/')[1];

    var label = document.createElement("td");

    var label_input = document.createElement("input");
    label_input.type = "text";
    label_input.placeholder = "Click to set...";
    var result = localStorage.getItem("sticky_" + id + "_name");
    if (result !== null) {
      label_input.value = result;
    }
    label_input.onchange = function() {
      localStorage.setItem("sticky_" + id + "_name", this.value);
    }
    label.className += " mdl-data-table__cell--non-numeric";
    label.appendChild(label_input);
    element.appendChild(label);

    var tags = document.createElement("td");
    var tags_input = document.createElement("input");
    tags_input.type = "text";
    tags_input.placeholder = "Separate with commas...";
    var result = localStorage.getItem("sticky_" + id + "_tags");
    if (result !== null) {
      tags_input.value = result;
    }
    tags_input.onchange = function() {
      localStorage.setItem("sticky_" + id + "_tags", this.value);
    }
    tags.className += " mdl-data-table__cell--non-numeric";
    tags.appendChild(tags_input)
    element.appendChild(tags);
  }


  console.log("Working on it :)");
  window.onload = function() {
{'fraction_non_alphanumeric': 0.1535242999678146, 'fraction_numerical': 0.000643707756678468, 'mean_word_length': 3.5908419497784343, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '6999965', 'n_tokens_mistral': 974, 'n_tokens_neox': 952, 'n_words': 173}