<commit_before>require 'sequel'
require 'sqlite3'
require 'yaml'

module Taps
	def self.version_yml
		@@version_yml ||= YAML.load(File.read(File.dirname(__FILE__) + '/../../VERSION.yml'))
	end

	def self.version
		version = "#{version_yml[:major]}.#{version_yml[:minor]}.#{version_yml[:patch]}"
		version += ".#{version_yml[:build]}" if version_yml[:build]
		version<commit_msg>default to using DateTime instead of Time when Sequel fetches time/date data from the db<commit_after>require 'sequel'
require 'sqlite3'
require 'yaml'

Sequel.datetime_class = DateTime

module Taps
	def self.version_yml
		@@version_yml ||= YAML.load(File.read(File.dirname(__FILE__) + '/../../VERSION.yml'))
	end

	def self.version
		version = "#{version_yml[:major]}.#{version_yml[:minor]}.#{version_yml[:patch]}"
		version += ".#{version_yml[:build]}" if version_yml[:build]
		version
{'fraction_non_alphanumeric': 0.1722543352601156, 'fraction_numerical': 0.0023121387283236996, 'mean_word_length': 5.6106870229007635, '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': '2712450', 'n_tokens_mistral': 317, 'n_tokens_neox': 292, 'n_words': 61}