<commit_before>RSpec.configure do |config|
  config.after :each do
    ObjectSpace.each_object(File) do |file|
      next if file.closed?
      next if file.path == '/dev/null'
      next if file.path.end_with? '.pry_history'
      next if file.path.end_with? 'zxcvbn.js'
      next if file.path =~ /^#{Rails.root.join('log')}.*.log/
      next if file.path =~ /^#{Rails.root.join('app')}.*/

      raise "You have not closed #{file.path}"
    end
  end

  config.after :each do
    expect(Delayed::Job.count).to eq 0
  end

  config.after :suite do
    expect(GetProcessMem.new.mb.to_i).to be < 512
  end

  config.after :suite do
    expect(Time.zone.now - config.start_time).to be < 8.minutes
  end
end<commit_msg>Stop checking for open zxcvbn.js files in specs<commit_after>RSpec.configure do |config|
  config.after :each do
    ObjectSpace.each_object(File) do |file|
      next if file.closed?
      next if file.path == '/dev/null'
      next if file.path.end_with? '.pry_history'
      next if file.path =~ /^#{Rails.root.join('log')}.*.log/
      next if file.path =~ /^#{Rails.root.join('app')}.*/

      raise "You have not closed #{file.path}"
    end
  end

  config.after :each do
    expect(Delayed::Job.count).to eq 0
  end

  config.after :suite do
    expect(GetProcessMem.new.mb.to_i).to be < 512
  end

  config.after :suite do
    expect(Time.zone.now - config.start_time).to be < 8.minutes
  end
end
{'fraction_non_alphanumeric': 0.14135021097046413, 'fraction_numerical': 0.007032348804500703, 'mean_word_length': 2.7447368421052634, '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': '6318724', 'n_tokens_mistral': 526, 'n_tokens_neox': 512, 'n_words': 128}