<commit_before>module Swat
  module Capybara
    module RspecSetup

      require 'rspec'
      require 'rspec/core/formatters'
      require 'rspec/core/formatters/base_formatter'

      class SwatFormatter < RSpec::Core::Formatters::BaseFormatter
        require 'tarvit-helpers/extensions/colored_string'
        require 'tarvit-helpers/modules/conditional_logger'

        RSpec::Core::Formatters.register self, :example_started, :example_passed, :example_failed, :start, :stop

        START_MESSAGE = <<STM
-------------------------------
 [ SW2AT-CAPYBARA initialized ]
-------------------------------
STM

        def initialize(arg)
          super<commit_msg>add better welcome message<commit_after>module Swat
  module Capybara
    module RspecSetup

      require 'rspec'
      require 'rspec/core/formatters'
      require 'rspec/core/formatters/base_formatter'

      class SwatFormatter < RSpec::Core::Formatters::BaseFormatter
        require 'tarvit-helpers/extensions/colored_string'
        require 'tarvit-helpers/modules/conditional_logger'

        RSpec::Core::Formatters.register self, :example_started, :example_passed, :example_failed, :start, :stop

        START_MESSAGE = <<STM

   _|_|_|  _|          _|    _|_|    _|_|_|_|_|
 _|        _|          _|  _|    _|      _|
   _|_|    _|    _|    _|  _|_|_|_|      _|
       _|    _|  _|  _|    _|    _|      _|
 _|_|_|        _|  _|      _|    _|      _|
STM

        def initialize(arg)
          super
{'fraction_non_alphanumeric': 0.14189189189189189, 'fraction_numerical': 0.0006756756756756757, 'mean_word_length': 2.13107822410148, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3845850', 'n_tokens_mistral': 481, 'n_tokens_neox': 445, 'n_words': 68}