<commit_before>class Spork::TestFramework::MiniTest < Spork::TestFramework
  DEFAULT_PORT = 8988

  def self.helper_file
    ENV['HELPER_FILE'] || "test/test_helper.rb"
  end

  def run_tests(argv, stderr, stdout)
    require "minitest/unit"
    ::MiniTest::Unit.output = stdout

    paths, opts = parse_options(argv)
<commit_msg>Add 2 more frequently used helper files to lookup. #3<commit_after>class Spork::TestFramework::MiniTest < Spork::TestFramework
  DEFAULT_PORT = 8988
  DEFAULT_HELPER_FILES = %w[test/minitest_helper.rb test/test_helper.rb spec/spec_helper.rb]

  def self.helper_file
    ENV['HELPER_FILE'] || DEFAULT_HELPER_FILES.find{ |f| File.exist?(f) }
  end

  def run_tests(argv, stderr, stdout)
    require "minitest/unit"
    ::MiniTest::Unit.output = stdout

    paths, opts = parse_options(argv)

{'fraction_non_alphanumeric': 0.115995115995116, 'fraction_numerical': 0.01221001221001221, 'mean_word_length': 4.734265734265734, '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': '1064465', 'n_tokens_mistral': 305, 'n_tokens_neox': 284, 'n_words': 57}