<commit_before>ENV['RACK_ENV'] = 'test'

require 'minitest/autorun'
require 'minitest/reporters'
require 'capybara'
require 'capybara/dsl'
require 'byebug'

require File.expand_path('../example/config/environment.rb',  __FILE__)
require 'rails/test_help'

Capybara.app = Example::Application
Capybara.current_driver = :selenium
Capybara.default_wait_time = 5

Minitest::Reporters.use!(Minitest::Reporters::DefaultReporter.new(color: true))

Dir[File.dirname(__FILE__) + '/../lib/*.rb'].each do |file|
  require File.basename(file, File.extname(file))<commit_msg>increase capybara wait time to see if that helps tests<commit_after>ENV['RACK_ENV'] = 'test'

require 'minitest/autorun'
require 'minitest/reporters'
require 'capybara'
require 'capybara/dsl'
require 'byebug'

require File.expand_path('../example/config/environment.rb',  __FILE__)
require 'rails/test_help'

Capybara.app = Example::Application
Capybara.current_driver = :selenium
Capybara.default_wait_time = 7

Minitest::Reporters.use!(Minitest::Reporters::DefaultReporter.new(color: true))

Dir[File.dirname(__FILE__) + '/../lib/*.rb'].each do |file|
  require File.basename(file, File.extname(file))
{'fraction_non_alphanumeric': 0.14763948497854076, 'fraction_numerical': 0.0017167381974248926, 'mean_word_length': 6.773333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5175031', 'n_tokens_mistral': 416, 'n_tokens_neox': 410, 'n_words': 72}