<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>QUnit Example</title>
  <link rel="stylesheet" href="vendor/qunit.css">
  <style type="text/css">
  /* show all assertions for failed tests, even when hiding passed tests */
  #qunit-tests.hidepass li.fail li.pass {
    display: list-item;
  }
  </style>
  <script src="vendor/qunit.js"></script>
  <script src="vendor/jquery-1.9.1.js"></script>
  <script src="test.js"></script>
</head>
<body>
  <div id="qunit"></div>
  <script type="text/javascript">
    var n = 0;
    // hacky setTimeout approach because of problems with jquery's delegate in
    // ie8.
    function hidePassedTestsByDefault() {
      var qt = $('#qunit-tests'),
          qfp = $('#qunit-filter-pass');

      if (qt.length && qfp.length) {
        qt.addClass('hidepass');
        qfp.prop('checked', true);
      } else if (++n < 10) {
        setTimeout(hidePassedTestsByDefault, 100);
      }
    }
    $(document).ready(hidePassedTestsByDefault);

    // 500 is a perfectly reasonable timeout for local testing.  We use the
    // larger value because the SauceLabs VMs can be slow.
    //QUnit.config.testTimeout = 500;
    QUnit.config.testTimeout = 5000;

    // uncomment for debugging
    //QUnit.config.testTimeout = 60 * 1000;

    var Oasis = new requireModule('oasis'),
        oasis = null;

    // load all tests
    for (var moduleName in define.registry) {
      if (!define.registry.hasOwnProperty(moduleName)) { continue; }

      if (/_tests$/.test(moduleName)) {
        requireModule(moduleName);
      }
    }
  </script>
</body>
</html>
<commit_msg>Log test start & finish.<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>QUnit Example</title>
  <link rel="stylesheet" href="vendor/qunit.css">
  <style type="text/css">
  /* show all assertions for failed tests, even when hiding passed tests */
  #qunit-tests.hidepass li.fail li.pass {
    display: list-item;
  }
  </style>
  <script src="vendor/qunit.js"></script>
  <script src="vendor/jquery-1.9.1.js"></script>
  <script src="test.js"></script>
</head>
<body>
  <div id="qunit"></div>
  <script type="text/javascript">
    var n = 0;
    // hacky setTimeout approach because of problems with jquery's delegate in
    // ie8.
    function hidePassedTestsByDefault() {
      var qt = $('#qunit-tests'),
          qfp = $('#qunit-filter-pass');

      if (qt.length && qfp.length) {
        qt.addClass('hidepass');
        qfp.prop('checked', true);
      } else if (++n < 10) {
        setTimeout(hidePassedTestsByDefault, 100);
      }
    }
    $(document).ready(hidePassedTestsByDefault);


    // 500 is a perfectly reasonable timeout for local testing.  We use the
    // larger value because the SauceLabs VMs can be slow.
    //QUnit.config.testTimeout = 500;
    QUnit.config.testTimeout = 5000;

    // uncomment for debugging
    //QUnit.config.testTimeout = 60 * 1000;

    var Oasis = new requireModule('oasis'),
        oasis = null;

    if (window.console && window.console.log) {
      QUnit.testStart(function (details) {
        console.log("TEST Start", details.module, details.name);
      });
      QUnit.testDone(function (details) {
        console.log("TEST End (", details.runtime, "ms)", details.module, details.name);
      });
    }

    // load all tests
    for (var moduleName in define.registry) {
      if (!define.registry.hasOwnProperty(moduleName)) { continue; }

      if (/_tests$/.test(moduleName)) {
        requireModule(moduleName);
      }
    }
  </script>
</body>
</html>

{'fraction_non_alphanumeric': 0.15363128491620112, 'fraction_numerical': 0.015083798882681564, 'mean_word_length': 2.781414994720169, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 49, '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': '1725657', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1132, 'n_words': 280}