<commit_before>var asyncTesting = require("async_testing");
var solr = require("../solr");

var suite = new asyncTesting.TestSuite();
suite.setup(function () {
  this.client = solr.createClient();
});
suite.teardown(function () {
  // clean up by deleting all records
  var id = null;
  var query = "*:*";
  this.client.del(id, query);
});
suite.addTests({
  add1: function (assert, finished) {
    var doc = {<commit_msg>Added commit on teardown delete<commit_after>var asyncTesting = require("async_testing");
var solr = require("../solr");

var suite = new asyncTesting.TestSuite();
suite.setup(function () {
  this.client = solr.createClient();
});
suite.teardown(function () {
  // clean up by deleting all records
  var id = null;
  var query = "*:*";
  this.client.del(id, query);
  this.client.commit();
});
suite.addTests({
  add1: function (assert, finished) {
    var doc = {
{'fraction_non_alphanumeric': 0.16817155756207675, 'fraction_numerical': 0.002257336343115124, 'mean_word_length': 4.2176470588235295, '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': '7178998', 'n_tokens_mistral': 287, 'n_tokens_neox': 286, 'n_words': 73}