<commit_before><html>
<head>
</head>
<body>

<div>
  <h2>Hi, We are testing your browser for Sha2 compatibility.</h2>
  <p>If this messaage fails to change after a few seconds, your browser may not be supported.</p>
</div>

<script type="text/javascript">
(function() {
  var COOKIE_NAME, createCookie, getCookie, notsupported, sha2support, testImage;

  COOKIE_NAME = "sha2supported";

  if (typeof window.console === 'undefined') {
    window.console = {
      log: function() {}
    };
  }

  setSupported = function(status) {
      expires = "; expires=" + Infinity;
      document.cookie = COOKIE_NAME + "=" + status + expires + "; path=/";
  }

  getSupported = function() {
    if (document.cookie.length > 0) {
      c_start = document.cookie.indexOf(COOKIE_NAME + "=");
      if (c_start != -1) {
          c_start = c_start + COOKIE_NAME.length + 1;
          c_end = document.cookie.indexOf(";", c_start);
          if (c_end == -1) {
              c_end = document.cookie.length;
          }
          return unescape(document.cookie.substring(c_start, c_end));
      }
    }
    return "";
  }

  notsupported = function(){
    alert("This is a bad browser! No SHA2 support!");
  }

  sha2support = getSupported();

  if(sha2support === "supported"){
    console.log("already tested, you're supported");
  }
  else if(sha2support === "notsupported"){
    console.log("already teseted, you are fucked");
  }
  else {
    console.log("testing now");
    testImage = new Image()
    testImage.onload = function(){
      setSupported("supported");
      console.log("supported");
    }
    testImage.onerror = function(){
      setSupported("notsupported");
      notsupported();
    }
    testImage.src = "https://www.zendesk.com/public/assets/images/favicon.png"
  }

})();
</script>
</body>
<html>
<commit_msg>switch the order of some testing things<commit_after><html>
<head>
</head>
<body>

<div>
  <h2>Hi, We are testing your browser for Sha2 compatibility.</h2>
  <p>If this messaage fails to change after a few seconds, your browser may not be supported.</p>
</div>

<script type="text/javascript">
(function() {
  var COOKIE_NAME, createCookie, getCookie, notsupported, sha2support, testImage;

  COOKIE_NAME = "sha2supported";

  if (typeof window.console === 'undefined') {
    window.console = {
      log: function() {}
    };
  }

  setSupported = function(status) {
      expires = "; expires=" + Infinity;
      document.cookie = COOKIE_NAME + "=" + status + expires + "; path=/";
  }

  getSupported = function() {
    if (document.cookie.length > 0) {
      c_start = document.cookie.indexOf(COOKIE_NAME + "=");
      if (c_start != -1) {
          c_start = c_start + COOKIE_NAME.length + 1;
          c_end = document.cookie.indexOf(";", c_start);
          if (c_end == -1) {
              c_end = document.cookie.length;
          }
          return unescape(document.cookie.substring(c_start, c_end));
      }
    }
    return "";
  }

  notsupported = function(){
    alert("This is a bad browser! No SHA2 support!");
  }

  sha2support = getSupported();

  if(sha2support === "supported"){
    console.log("already tested, you're supported");
  }
  else if(sha2support === "notsupported"){
    console.log("already teseted, you are fucked");
  }
  else {
    alert("testing now");
    testImage = new Image()
    testImage.onload = function(){
      setSupported("supported");
      console.log("supported");
    }
    testImage.onerror = function(){
      notsupported();
      setSupported("notsupported");
    }
    testImage.src = "https://www.zendesk.com/public/assets/images/favicon.png"
  }

})();
</script>
</body>
<html>

{'fraction_non_alphanumeric': 0.15365720524017468, 'fraction_numerical': 0.007096069868995633, 'mean_word_length': 2.923982869379015, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3767234', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1166, 'n_words': 268}