<commit_before>require 'turn/reporter'
require 'ansi/progressbar'
require 'facets/string/tab'

module Turn

  #
  class ProgressReporter < Reporter

    def start_suite(suite)
      @pbar = ::Ansi::Progressbar.new('Testing', suite.size)
      @pbar.inc
    end

    #def start_case(kase)
    #end

    #def start_test(test)
    #end

    #def pass(message=nil)
    #  #@<EMAIL>
    #end

    #def fail(message=nil)
    #  #@pbar.inc
    #end

    #def error(message=nil)<commit_msg>ANSI class is all caps<commit_after>require 'turn/reporter'
require 'ansi/progressbar'
require 'facets/string/tab'

module Turn

  #
  class ProgressReporter < Reporter

    def start_suite(suite)
      @pbar = ::ANSI::Progressbar.new('Testing', suite.size)
      @pbar.inc
    end

    #def start_case(kase)
    #end

    #def start_test(test)
    #end

    #def pass(message=nil)
    #  #@<EMAIL>
    #end

    #def fail(message=nil)
    #  #@<EMAIL>
    #end

    #def error(message=nil)
{'fraction_non_alphanumeric': 0.13065843621399176, 'fraction_numerical': 0.0, 'mean_word_length': 2.861111111111111, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 6, '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': '4612304', 'n_tokens_mistral': 374, 'n_tokens_neox': 356, 'n_words': 71}