<commit_before>/**
 * Module dependencies.
 */

var Structure = require('../Structure'),
    BitField = require('../base_structures/BitField').BitField;
    crc32 = require('../Crc32').crc32;

/**
 * A Simple BloomFilter
 *
 * Usage:
 *    `redback.createBloomFilter(key [, size, hashes]);`
 *
 */

var BloomFilter = exports.BloomFilter = Structure.new();

BloomFilter.prototype.init = function(size, num_hashes) {
  this.num_hashes = num_hashes || 2;
  this.size = size || 101;
  this.client.setbit(this.key, this.size+1, 0);
};<commit_msg>Minor syntax fix<commit_after>/**
 * Module dependencies.
 */

var Structure = require('../Structure'),
    BitField = require('../base_structures/BitField').BitField,
    crc32 = require('../Crc32').crc32;

/**
 * A Simple BloomFilter
 *
 * Usage:
 *    `redback.createBloomFilter(key [, size, hashes]);`
 *
 */

var BloomFilter = exports.BloomFilter = Structure.new();

BloomFilter.prototype.init = function(size, num_hashes) {
  this.num_hashes = num_hashes || 2;
  this.size = size || 101;
  this.client.setbit(this.key, this.size+1, 0);
};
{'fraction_non_alphanumeric': 0.17880184331797236, 'fraction_numerical': 0.022119815668202765, 'mean_word_length': 3.8266666666666667, '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': '6704455', 'n_tokens_mistral': 400, 'n_tokens_neox': 375, 'n_words': 68}