<commit_before><!DOCTYPE html>
<html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1" t:render="main">

  <head>
    <title><t:slot name="title" /></title>
    <link t:render="stylesheet" />

    <script type="text/javascript">

      window.onload = function() {
        var registerForEvents = function(eventSource, eventClass, statusElement, logViewElement) {
          statusElement.innerHTML = "Connecting...";

          eventSource.addEventListener(
            "open",
            function(e) {
              statusElement.innerHTML = "Connected.";
            },
            false
          );

          eventSource.addEventListener(
            "error",
            function(e) {
              if (e.readyState == EventSource.CLOSED) {
                statusElement.innerHTML = "Conneciton closed.";
              }
              else {
                statusElement.innerHTML = "Polling...";
              }
            },
            false
          );

          eventSource.addEventListener(
            eventClass,
            function(e) {
              // Append text

              if (e.lastEventId == 0) {
                logViewElement.appendChild(document.createElement("hr"))
              } else {
                logViewElement.appendChild(document.createTextNode(e.data))
                logViewElement.appendChild(document.createElement("br"))
              }


              // Scroll to bottom
              logViewElement.scrollTop = logViewElement.scrollHeight;
            },
            false<commit_msg>speling<commit_after><!DOCTYPE html>
<html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1" t:render="main">

  <head>
    <title><t:slot name="title" /></title>
    <link t:render="stylesheet" />

    <script type="text/javascript">

      window.onload = function() {
        var registerForEvents = function(eventSource, eventClass, statusElement, logViewElement) {
          statusElement.innerHTML = "Connecting...";

          eventSource.addEventListener(
            "open",
            function(e) {
              statusElement.innerHTML = "Connected.";
            },
            false
          );

          eventSource.addEventListener(
            "error",
            function(e) {
              if (e.readyState == EventSource.CLOSED) {
                statusElement.innerHTML = "Connection closed.";
              }
              else {
                statusElement.innerHTML = "Polling...";
              }
            },
            false
          );

          eventSource.addEventListener(
            eventClass,
            function(e) {
              // Append text

              if (e.lastEventId == 0) {
                logViewElement.appendChild(document.createElement("hr"))
              } else {
                logViewElement.appendChild(document.createTextNode(e.data))
                logViewElement.appendChild(document.createElement("br"))
              }


              // Scroll to bottom
              logViewElement.scrollTop = logViewElement.scrollHeight;
            },
            false
{'fraction_non_alphanumeric': 0.11297611362169141, 'fraction_numerical': 0.001936733376371853, 'mean_word_length': 1.542247744052502, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '953464', 'n_tokens_mistral': 780, 'n_tokens_neox': 741, 'n_words': 119}