<commit_before><html>
  <head>
    <title>Mocha</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/node_modules/mocha/mocha.css" />
    <style>
      .headless .suite > h1,
      .headless .test.pass {
        display: none;
      }
    </style>

    <script>
      // Show only errors in "headless", non-interactive mode.
      if (/headless=true/.test(location.href)) {
        document.documentElement.className = 'headless';
      }
    </script>
    <script src="/node_modules/mocha/mocha.js"></script>
    <script>
      mocha.setup('bdd');
    </script>
    <script src="/dist/handlebars.js"></script>

    <script src="/spec/env/common.js"></script>
    <script>
      var CompilerContext = {
        compile: function(template, options) {
          var templateSpec = handlebarsEnv.precompile(template, options);
          return handlebarsEnv.template(safeEval(templateSpec));
        },
        compileWithPartial: function(template, options) {
          return handlebarsEnv.compile(template, options);
        }
      };

      function safeEval(templateSpec) {
        var ret;
        eval('ret = ' + templateSpec);
        return ret;
      }
    </script>
    <script src="/tmp/tests.js"></script>
    <script>
      onload = function(){
        mocha.checkLeaks();
        mocha.run();
      };
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>
<commit_msg>Skip leak check under FF<commit_after><html>
  <head>
    <title>Mocha</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="/node_modules/mocha/mocha.css" />
    <style>
      .headless .suite > h1,
      .headless .test.pass {
        display: none;
      }
    </style>

    <script>
      // Show only errors in "headless", non-interactive mode.
      if (/headless=true/.test(location.href)) {
        document.documentElement.className = 'headless';
      }
    </script>
    <script src="/node_modules/mocha/mocha.js"></script>
    <script>
      mocha.setup('bdd');
    </script>
    <script src="/dist/handlebars.js"></script>

    <script src="/spec/env/common.js"></script>
    <script>
      var CompilerContext = {
        compile: function(template, options) {
          var templateSpec = handlebarsEnv.precompile(template, options);
          return handlebarsEnv.template(safeEval(templateSpec));
        },
        compileWithPartial: function(template, options) {
          return handlebarsEnv.compile(template, options);
        }
      };

      function safeEval(templateSpec) {
        var ret;
        eval('ret = ' + templateSpec);
        return ret;
      }
    </script>
    <script src="/tmp/tests.js"></script>
    <script>
      onload = function(){
        // The test harness leaks under FF. We should have decent global leak coverage from other tests
        if (!navigator.userAgent.match(/Firefox\/([\d.]+)/)) {
          mocha.checkLeaks();
        }
        mocha.run();
      };
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>

{'fraction_non_alphanumeric': 0.15668906536346977, 'fraction_numerical': 0.002443494196701283, 'mean_word_length': 2.372811534500515, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 67, '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': '6224940', 'n_tokens_mistral': 1035, 'n_tokens_neox': 1006, 'n_words': 194}