<commit_before>$:<< File.join(File.dirname(__FILE__), '..', 'lib')

require 'json'
require 'rack/test'
require 'winnings-tracker/APIv1.rb'
require 'winnings-tracker/location.rb'
require 'winnings-tracker/tracked_visit.rb'
require 'winnings-tracker/user.rb'

DataMapper.auto_upgrade!<commit_msg>Fixed tests so that db is wiped out each time<commit_after>$:<< File.join(File.dirname(__FILE__), '..', 'lib')

require 'json'
require 'rack/test'
require 'winnings-tracker/APIv1.rb'
require 'winnings-tracker/location.rb'
require 'winnings-tracker/tracked_visit.rb'
require 'winnings-tracker/user.rb'

DataMapper.auto_migrate!
{'fraction_non_alphanumeric': 0.15483870967741936, 'fraction_numerical': 0.0032258064516129032, 'mean_word_length': 6.573170731707317, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3056331', 'n_tokens_mistral': 226, 'n_tokens_neox': 223, 'n_words': 40}