<commit_before>module AlchemyTagGalleryEssence
  class ViewsGenerator < Rails::Generators::Base

    source_root File.expand_path('../../../../app/views/alchemy/essences', __FILE__)

    desc ''
    def copy_views_files
      # create_file "config/initializers/initializer.rb", "# Add initialization content here"
      puts 'test'
      puts source_root
      filename_pattern = File.join self.class.source_root, '*.html.erb'
      puts filename_pattern
      Dir.glob(filename_pattern).map {|f| File.basename f}.each do |f|
        puts f
        copy_file f, "app/views/alchemy/essences/#{f}"
      end
    end
  end
end<commit_msg>fixes typo<commit_after>module AlchemyTagGalleryEssence
  class ViewsGenerator < Rails::Generators::Base

    source_root File.expand_path('../../../../app/views/alchemy/essences', __FILE__)

    desc ''
    def copy_views_files
      # create_file "config/initializers/initializer.rb", "# Add initialization content here"
      puts 'test'
      puts self.class.source_root
      filename_pattern = File.join self.class.source_root, '*.html.erb'
      puts filename_pattern
      Dir.glob(filename_pattern).map {|f| File.basename f}.each do |f|
        puts f
        copy_file f, "app/views/alchemy/essences/#{f}"
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.1189358372456964, 'fraction_numerical': 0.0, 'mean_word_length': 2.996875, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3434380', 'n_tokens_mistral': 410, 'n_tokens_neox': 401, 'n_words': 84}