<commit_before>require 'concurrent'
require_relative 'stresstest/support/word_sec.rb'

namespace :stresstest do

  DEFAULT_NUM_TESTS = 1000
  DEFAULT_NUM_THREADS = Concurrent::AbstractThreadPool::MAX_POOL_SIZE
  SPEC_DIR = File.join(File.dirname(__FILE__), 'stresstest')

  def rspec_command(args, glob)
    cmd = <<-CMD<commit_msg>Fixed broken rake.<commit_after>require 'concurrent'
require_relative 'stresstest/support/word_sec.rb'

namespace :stresstest do

  DEFAULT_NUM_TESTS = 1000
  DEFAULT_NUM_THREADS = Concurrent::FixedThreadPool::MAX_POOL_SIZE
  SPEC_DIR = File.join(File.dirname(__FILE__), 'stresstest')

  def rspec_command(args, glob)
    cmd = <<-CMD
{'fraction_non_alphanumeric': 0.1036036036036036, 'fraction_numerical': 0.012012012012012012, 'mean_word_length': 6.411111111111111, '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': '6776446', 'n_tokens_mistral': 244, 'n_tokens_neox': 229, 'n_words': 39}