<commit_before>require 'selenium/client'

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

require 'pyrite/pyrite_test'

module Pyrite
  # The port on which the test server will be booted
  mattr_accessor :server_port
  @@server_port = 2222

  # The ip address the RC is running on
  mattr_accessor :rc_host
  @@rc_host = ENV['RC_HOST'] || '0.0.0.0'

  # The url on which the test server will be booted
  mattr_accessor :sever_url
  @@sever_url = ENV['SERVER_URL'] || 'http://0.0.0.0'

  # The browser that selenium will drive
  mattr_accessor :browser
  @@browser = ENV['BROWSER'] || '*chrome'

  # The timeout for Selenium::Client<commit_msg>added env var for server port<commit_after>require 'selenium/client'

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

require 'pyrite/pyrite_test'

module Pyrite

  # The ip address the RC is running on
  mattr_accessor :rc_host
  @@rc_host = ENV['RC_HOST'] || '0.0.0.0'

  # The url on which the test server will be booted
  mattr_accessor :sever_url
  @@sever_url = ENV['SERVER_URL'] || 'http://0.0.0.0'

  # The port on which the test server will be booted
  mattr_accessor :server_port
  @@server_port = ENV['SERVER_PORT'] || 2222

  # The browser that selenium will drive
  mattr_accessor :browser
  @@browser = ENV['BROWSER'] || '*chrome'

  # The timeout for Selenium::Client
{'fraction_non_alphanumeric': 0.10858400586940573, 'fraction_numerical': 0.01760821716801174, 'mean_word_length': 4.349019607843137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '3251341', 'n_tokens_mistral': 509, 'n_tokens_neox': 467, 'n_words': 139}