<commit_before>#!/usr/bin/env ruby
require "test/unit"
require "fileutils"
require "rubygems"
# require "diff/lcs"
# require "diff/lcs/hunk"

# require "ruby-debug"
# Debugger.start

SRC_DIR = File.expand_path(File.dirname(__FILE__)) + "/" unless 
  defined?(SRC_DIR)

%w(ext lib cli).each do |dir|
  $: <<  SRC_DIR + "../#{dir}"
end
require SRC_DIR + "../cli/ruby-debug.rb"

def run_debugger(testname, args='', outfile=nil)
  rightfile = "#{SRC_DIR}#{testname}.right"

  unless outfile
    outfile = "#{SRC_DIR}#{testname}.out"
  end<commit_msg>Simplify even more.<commit_after>#!/usr/bin/env ruby
require "test/unit"
require "fileutils"
require "rubygems"
# require "diff/lcs"
# require "diff/lcs/hunk"

# require "ruby-debug"
# Debugger.start

SRC_DIR = File.expand_path(File.dirname(__FILE__)) + "/" unless 
  defined?(SRC_DIR)

def run_debugger(testname, args='', outfile=nil)
  rightfile = "#{SRC_DIR}#{testname}.right"

  unless outfile
    outfile = "#{SRC_DIR}#{testname}.out"
  end
{'fraction_non_alphanumeric': 0.17457114026236126, 'fraction_numerical': 0.0, 'mean_word_length': 4.8011695906432745, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4972893', 'n_tokens_mistral': 392, 'n_tokens_neox': 383, 'n_words': 72}