<commit_before>require 'bundler'
Bundler.setup

require 'cucumber'
require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support

require 'sniff'

root = File.join(File.dirname(__FILE__), '..', '..')
$:.unshift File.join(root, 'lib')
Sniff::Database.init root

## How to clean your database when transactions are turned off. See<commit_msg>Simplified Sniff loading<commit_after>require 'bundler'
Bundler.setup

require 'cucumber'
require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support

require 'sniff'

Sniff::Database.init File.join(File.dirname(__FILE__), '..', '..')

## How to clean your database when transactions are turned off. See
{'fraction_non_alphanumeric': 0.11961057023643949, 'fraction_numerical': 0.0, 'mean_word_length': 5.486486486486487, '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': '4084763', 'n_tokens_mistral': 230, 'n_tokens_neox': 221, 'n_words': 70}