<commit_before>module VCR
  # @private
  module VariableArgsBlockCaller
    def call_block(block, *args)
      if block.arity >= 0
        args = args.first([args.size, block.arity].min)
      end

      block.call(*args)
    end
  end
end
<commit_msg>BUGFIX for calling "to procable" filters in hooks<commit_after>module VCR
  # @private
  module VariableArgsBlockCaller
    def call_block(block, *args)
      first_n_args = block.arity == -1 ? 1 : [args.size, block.arity].min
      block.call(*args.first(first_n_args))
    end
  end
end

{'fraction_non_alphanumeric': 0.10536044362292052, 'fraction_numerical': 0.005545286506469501, 'mean_word_length': 3.075187969924812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5313771', 'n_tokens_mistral': 187, 'n_tokens_neox': 182, 'n_words': 44}