<commit_before>require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require "sqlite3"
require "active_record"
require "sequel"
require "graphql/relay"
require "minitest/autorun"
require "minitest/focus"
require "minitest/reporters"
require 'pry'
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
# Filter out Minitest backtrace while allowing backtrace from other libraries to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }


def query(string, variables={})
  GraphQL::Query.new(StarWarsSchema, string, variables: variables, debug: true).result
end<commit_msg>remove stupid debug option<commit_after>require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require "sqlite3"
require "active_record"
require "sequel"
require "graphql/relay"
require "minitest/autorun"
require "minitest/focus"
require "minitest/reporters"
require 'pry'
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
# Filter out Minitest backtrace while allowing backtrace from other libraries to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }


def query(string, variables={})
  GraphQL::Query.new(StarWarsSchema, string, variables: variables).result
end
{'fraction_non_alphanumeric': 0.12091038406827881, 'fraction_numerical': 0.001422475106685633, 'mean_word_length': 7.475903614457831, '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': '7015948', 'n_tokens_mistral': 450, 'n_tokens_neox': 449, 'n_words': 106}