<commit_before>class Object
  def self.const_missing(c)
    require c.to_s.to_snake_case
    Object.const_get(c)
  end
end<commit_msg>slightly robustify magical autoloader<commit_after>class Object
  def self.const_missing(c)
    return nil if @calling_const_missing

    @calling_const_missing = true
    require c.to_s.to_snake_case
    klass = Object.const_get(c)
    @calling_const_missing = false

    klass
  end
end
{'fraction_non_alphanumeric': 0.06635071090047394, 'fraction_numerical': 0.0, 'mean_word_length': 4.096385542168675, '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': '1750710', 'n_tokens_mistral': 153, 'n_tokens_neox': 151, 'n_words': 30}