<commit_before>require 'tescha/result_set'

module Tescha
  class Pack
    def initialize test_summary, &block
      @test_summary = test_summary
      @description_block = block
    end
    def run_tests
      puts self.judge_results
    end
    def judge_results
      # Fake implementation
      Tescha::ResultSet.new
    end
  end
end

if __FILE__ == $PROGRAM_NAME
  this_file = File.readlines( __FILE__ )

  instance_in_test = Tescha::Pack.new 'An empty test pack' do
  end

  assertion_line = this_file[ __LINE__ ].sub( /if/, ''.freeze ).strip
  if instance_in_test.judge_results.instance_of? Tescha::ResultSet
    puts 'OK'
  else
    fail "Assertion failed: '#{assertion_line}'"
  end
end<commit_msg>rename instance variables name<commit_after>require 'tescha/result_set'

module Tescha
  class Pack
    def initialize description, &block
      @description = description
      @test_block = block
    end
    def run_tests
      puts self.judge_results
    end
    def judge_results
      # Fake implementation
      Tescha::ResultSet.new
    end
  end
end

if __FILE__ == $PROGRAM_NAME
  this_file = File.readlines( __FILE__ )

  instance_in_test = Tescha::Pack.new 'An empty test pack' do
  end

  assertion_line = this_file[ __LINE__ ].sub( /if/, ''.freeze ).strip
  if instance_in_test.judge_results.instance_of? Tescha::ResultSet
    puts 'OK'
  else
    fail "Assertion failed: '#{assertion_line}'"
  end
end
{'fraction_non_alphanumeric': 0.08151791988756149, 'fraction_numerical': 0.0, 'mean_word_length': 3.289156626506024, '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': '2084676', 'n_tokens_mistral': 482, 'n_tokens_neox': 470, 'n_words': 124}