<commit_before><html>
  <head>
    <meta charset="UTF-8"></meta>
    <title>{{ title }}</title>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script>

      function clip() {
        // get the best clip we can find
        var c = getClip();

        // if we can't find a clip leave the page alone
        if (c.length == 0) {
          return;
        }

        // hide everything
        $('header').hide();
        $('.diff').children().hide();

        // show our clip and its immediate siblings
        c.show();
        c.next().show();
        c.prev().show();
      }

      function getClip() {
        var p = null;
        var largest = 0;
        $("p").each(function(i, e) {
          var len = changesLength(e);
          if (len > largest) {
            p = e;
            largest = len;
          }
        });
        return $(p);
      }

      function changesLength(p) {
        return count(p, 'del') + count(p, 'ins');
      }

      function count(e, sel) {
        var length = 0;
        $(e).children(sel).each(function(i, c) {
          length += $(c).text().length; 
        });
        return length;
      }
    </script>

    <style>

      body {
        font-size: 15pt;
        margin: 0px;
        background-color: white;
      }

      del {
          background-color: pink;
          text-decoration: none;
      }

      del p {
          background-color: pink;
          text-decoration: none;
      }

      ins {
          background-color: lightgreen;
          text-decoration: none;
      }

      ins p {
          background-color: lightgreen;
          text-decoration: none;
      }

      .diff {
          margin: 10%;
      }

      header {
          text-align: center;
          background-color: #eeeeee;
          padding: 10px;
          border-bottom: thin solid #dddddd;
      }

      header .archive {
          margin-top: 10px;
          vertical-align: middle;
      }

      .archive a {
          text-decoration: none;
      }
    </style>
  </head><commit_msg>try putting ins/del styling back<commit_after><html>
  <head>
    <meta charset="UTF-8"></meta>
    <title>{{ title }}</title>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script>

      function clip() {
        // get the best clip we can find
        var c = getClip();

        // if we can't find a clip leave the page alone
        if (c.length == 0) {
          return;
        }

        // hide everything
        $('header').hide();
        $('.diff').children().hide();

        // show our clip and its immediate siblings
        c.show();
        c.next().show();
        c.prev().show();
      }

      function getClip() {
        var p = null;
        var largest = 0;
        $("p").each(function(i, e) {
          var len = changesLength(e);
          if (len > largest) {
            p = e;
            largest = len;
          }
        });
        return $(p);
      }

      function changesLength(p) {
        return count(p, 'del') + count(p, 'ins');
      }

      function count(e, sel) {
        var length = 0;
        $(e).children(sel).each(function(i, c) {
          length += $(c).text().length; 
        });
        return length;
      }
    </script>

    <style>

      body {
        font-size: 15pt;
        margin: 0px;
        background-color: white;
      }

      del {
          background-color: pink;
      }

      del p {
          background-color: pink;
      }

      ins {
          background-color: lightgreen;
      }

      ins p {
          background-color: lightgreen;
      }

      .diff {
          margin: 10%;
      }

      header {
          text-align: center;
          background-color: #eeeeee;
          padding: 10px;
          border-bottom: thin solid #dddddd;
      }

      header .archive {
          margin-top: 10px;
          vertical-align: middle;
      }

      .archive a {
          text-decoration: none;
      }
    </style>
  </head>
{'fraction_non_alphanumeric': 0.14058223438666334, 'fraction_numerical': 0.007962179646678278, 'mean_word_length': 1.305045871559633, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, 'https://': 2, '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': '768269', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1177, 'n_words': 291}