<commit_before>var createWhere = require('../index');
var test = createWhere({
  a: 'a',
  b: {$gte: 'b'},
  c: {$lte: 'c'},
  d: {$lt: 'd'},
  e: {$gt: 'e'},
  f: {$ne: 'f'}
});
var result = "`a` = 'a' AND `b` >= 'b' AND `c` <= 'c' AND `d` < 'd' AND `e` > 'e' AND `f` != 'f'";
console.log(test===result ? '\x1b[32m passed!' : '\x1b[31m failed!');
console.log(createWhere({
  category: 'blog',
  date: {$gte: '2016-01-12', $lte: '2016-01-14'},
  author: {$ne: 'steve'}
}))<commit_msg>removed extra console log<commit_after>var createWhere = require('../index');
var test = createWhere({
  a: 'a',
  b: {$gte: 'b'},
  c: {$lte: 'c'},
  d: {$lt: 'd'},
  e: {$gt: 'e'},
  f: {$ne: 'f'}
});
var result = "`a` = 'a' AND `b` >= 'b' AND `c` <= 'c' AND `d` < 'd' AND `e` > 'e' AND `f` != 'f'";
console.log(test===result ? '\x1b[32m passed!' : '\x1b[31m failed!');
{'fraction_non_alphanumeric': 0.3146198830409357, 'fraction_numerical': 0.03274853801169591, 'mean_word_length': 3.782122905027933, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4687896', 'n_tokens_mistral': 403, 'n_tokens_neox': 390, 'n_words': 108}