<commit_before>var selftest = require('../selftest.js');
var Sandbox = selftest.Sandbox;
var files = require('../files.js');

selftest.define("selftest-from-warehouse", ['checkout'], function () {
  var s = new Sandbox({
    warehouse: {
      v1: { recommended: true},
      v2: { recommended: true }
    }
  });
  var run;

  var toolsPackage;
  selftest.doOrThrow(function() {
    toolsPackage = selftest.getToolsPackage();
  });
  var toolsVersion = toolsPackage.name + '@' +
        toolsPackage.version;

  // Create an app with the latest release.
  run = s.run("self-test", "do-nothing");
  run.waitSecs(15);
  run.expectExit(0);
});

selftest.define("do-nothing", function () {
  selftest.expectEqual(true, true);
});<commit_msg>fix selftest-test<commit_after>var selftest = require('../selftest.js');
var Sandbox = selftest.Sandbox;
var files = require('../files.js');

selftest.define("selftest-from-warehouse", ['checkout'], function () {
  var s = new Sandbox({
    warehouse: {
      v1: { recommended: true }
    }
  });

  // Create an app with the latest release.
  var run = s.run("self-test", "do-nothing");
  run.waitSecs(15);
  run.expectExit(0);
});

selftest.define("do-nothing", function () {
  selftest.expectEqual(true, true);
});
{'fraction_non_alphanumeric': 0.17834394904458598, 'fraction_numerical': 0.007165605095541401, 'mean_word_length': 3.6383763837638377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3839937', 'n_tokens_mistral': 428, 'n_tokens_neox': 435, 'n_words': 88}