<commit_before>$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

class Rantly
end

require 'rantly/generator'
require 'rantly/shrinks'

def Rantly(n=1,&block)
  if n > 1
    Rantly.map(n,&block)
  else
    Rantly.value(&block)
  end
end<commit_msg>Make shrink's monkey patching opt-in<commit_after>$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

class Rantly
end

require 'rantly/generator'

def Rantly(n=1,&block)
  if n > 1
    Rantly.map(n,&block)
  else
    Rantly.value(&block)
  end
end
{'fraction_non_alphanumeric': 0.1626865671641791, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 5.271028037383178, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1400846', 'n_tokens_mistral': 256, 'n_tokens_neox': 249, 'n_words': 43}