<commit_before>require 'csv'
require 'date'
require 'net/http'
require 'openssl'
require 'ostruct'
require 'set'
require 'time'
require 'uri'

%w[pg mysql2].each { |gem| begin; require gem; rescue LoadError; end }
abort 'Could not load the `pg` or `mysql2` gem' unless defined?(PG) || defined?(Mysql2)

require 'purview/mixins'
require 'purview/refinements'

require 'purview/columns'
require 'purview/connections'
require 'purview/databases'
require 'purview/exceptions'
require 'purview/loaders'
require 'purview/loggers'
require 'purview/parsers'
require 'purview/pullers'
require 'purview/structs'<commit_msg>Attempt to load `mysql2` before `pg`<commit_after>require 'csv'
require 'date'
require 'net/http'
require 'openssl'
require 'ostruct'
require 'set'
require 'time'
require 'uri'

%w[mysql2 pg].each { |gem| begin; require gem; rescue LoadError; end }
abort 'Could not load the `mysql2` or `pg` gem' unless defined?(Mysql2) || defined?(PG)

require 'purview/mixins'
require 'purview/refinements'

require 'purview/columns'
require 'purview/connections'
require 'purview/databases'
require 'purview/exceptions'
require 'purview/loaders'
require 'purview/loggers'
require 'purview/parsers'
require 'purview/pullers'
require 'purview/structs'
{'fraction_non_alphanumeric': 0.12810248198558846, 'fraction_numerical': 0.005604483586869495, 'mean_word_length': 6.8125, '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': '2170805', 'n_tokens_mistral': 426, 'n_tokens_neox': 426, 'n_words': 122}