<commit_before>require 'ruby_warning_filter'
$stderr = RubyWarningFilter.new($stderr)
ENV['MT_NO_EXPECTATIONS'] = 'true'
require 'bundler/setup'
require 'minitest/autorun'
require 'minitest/focus'
require 'minitest/pride'
require 'bogus/minitest/spec'
require 'rack/test'
require 'kamerling'

Bogus.configure { |config| config.search_modules << Kamerling }

def run_all_threads
  Thread.list.each(&:run)
end<commit_msg>Tests: move run_all_threads where it belongs<commit_after>require 'ruby_warning_filter'
$stderr = RubyWarningFilter.new($stderr)
ENV['MT_NO_EXPECTATIONS'] = 'true'
require 'bundler/setup'
require 'minitest/autorun'
require 'minitest/focus'
require 'minitest/pride'
require 'bogus/minitest/spec'
require 'rack/test'
require 'kamerling'

Bogus.configure { |config| config.search_modules << Kamerling }

module Minitest
  class Spec
    private

    def run_all_threads
      Thread.list.each(&:run)
    end
  end
end
{'fraction_non_alphanumeric': 0.11468381564844587, 'fraction_numerical': 0.0, 'mean_word_length': 6.184615384615385, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1160454', 'n_tokens_mistral': 333, 'n_tokens_neox': 329, 'n_words': 67}