<commit_before>include Helpers::ModuleHelper

def init
  options[:objects] = objects = run_verifier(options[:objects])
  options[:files] = ([options[:readme]] + options[:files]).uniq.compact
  options[:readme] = options[:files].first
  
  return serialize_onefile if options[:onefile]
  generate_assets
  serialize('_index.html')
  options[:files].each_with_index do |file, i| 
    serialize_file(file, file.title) 
  end

  options.delete(:objects)
  options.delete(:files)
  
  objects.each do |object| 
    begin
      serialize(object)
    rescue => e<commit_msg>No longer need to add files/readmes in templates (done inside CLI::Yardoc)<commit_after>include Helpers::ModuleHelper

def init
  options[:objects] = objects = run_verifier(options[:objects])
  
  return serialize_onefile if options[:onefile]
  generate_assets
  serialize('_index.html')
  options[:files].each_with_index do |file, i| 
    serialize_file(file, file.title) 
  end

  options.delete(:objects)
  options.delete(:files)
  
  objects.each do |object| 
    begin
      serialize(object)
    rescue => e
{'fraction_non_alphanumeric': 0.11851851851851852, 'fraction_numerical': 0.0, 'mean_word_length': 4.543589743589743, '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': '4612712', 'n_tokens_mistral': 350, 'n_tokens_neox': 333, 'n_words': 72}