<commit_before>require "java"
require "pathname"
require "set"
require "yaml"

$:.unshift(Pathname(__FILE__).dirname)

require("doubleshot.jar") if Pathname("target/doubleshot.jar").exist?

require "ruby/gem/requirement"
require "ruby/string"
require "ruby/blank"
require "ruby/pathname"
require "ruby/kernel"
require "ruby/time"
require "doubleshot/readonly_collection"
require "doubleshot/configuration"
require "doubleshot/compiler"
require "doubleshot/lockfile"

class Doubleshot

  attr_accessor :path
  attr_reader   :config
  attr_reader   :lockfile
  attr_reader   :classpath

  def initialize<commit_msg>@sam broke the build. Idiot.<commit_after>require "java"
require "pathname"
require "set"
require "yaml"

$:.unshift(Pathname(__FILE__).dirname)

doubleshot_jar = Pathname(__FILE__).dirname.parent + "target/doubleshot.jar"
require doubleshot_jar if doubleshot_jar.exist?

require "ruby/gem/requirement"
require "ruby/string"
require "ruby/blank"
require "ruby/pathname"
require "ruby/kernel"
require "ruby/time"
require "doubleshot/readonly_collection"
require "doubleshot/configuration"
require "doubleshot/compiler"
require "doubleshot/lockfile"

class Doubleshot

  attr_accessor :path
  attr_reader   :config
  attr_reader   :lockfile
  attr_reader   :classpath

  def initialize
{'fraction_non_alphanumeric': 0.10493827160493827, 'fraction_numerical': 0.0, 'mean_word_length': 6.286516853932584, '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': '870085', 'n_tokens_mistral': 451, 'n_tokens_neox': 418, 'n_words': 95}