<commit_before>print "Using native SQLite3\n"

gem 'sqlite3-ruby'
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

class SqliteError < StandardError
end

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')<commit_msg>Don't explicitly require sqlite3-ruby gem.<commit_after>print "Using native SQLite3\n"

require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

class SqliteError < StandardError
end

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.010714285714285714, 'mean_word_length': 7.5, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5927709', 'n_tokens_mistral': 180, 'n_tokens_neox': 171, 'n_words': 37}