<commit_before>module Spec
  module Example
    module ExampleMethods
      
      class << self
        # FIXME - this is defined on ExampleGroupMethods too - why in both places?
        attr_reader :description_args
      end
      
      # FIXME - this is included in ExampleGroupMethods too - why in both places?
      extend BeforeAndAfterHooks
      extend ModuleReopeningFix
      
      def execute(options, instance_variables)
        options.reporter.example_started(self)
        set_instance_variables_from_hash(instance_variables)
        
        execution_error = nil
        Timeout.timeout(options.timeout) do
          begin
            before_each_example
            eval_block
          rescue Exception => e
            execution_error ||= e
          end
          begin
            after_each_example<commit_msg>ExampleMethods no longer needs to extend the before and after hooks (since they are included in ExampleGroupMethods)<commit_after>module Spec
  module Example
    module ExampleMethods
      
      class << self
        # FIXME - this is defined on ExampleGroupMethods too - why in both places?
        attr_reader :description_args
      end
      
      extend ModuleReopeningFix
      
      def execute(options, instance_variables)
        options.reporter.example_started(self)
        set_instance_variables_from_hash(instance_variables)
        
        execution_error = nil
        Timeout.timeout(options.timeout) do
          begin
            before_each_example
            eval_block
          rescue Exception => e
            execution_error ||= e
          end
          begin
            after_each_example
{'fraction_non_alphanumeric': 0.03855421686746988, 'fraction_numerical': 0.0, 'mean_word_length': 2.014519056261343, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6420463', 'n_tokens_mistral': 395, 'n_tokens_neox': 392, 'n_words': 116}