<commit_before>require 'rails/generators/base'

module Bbs
  module Generators
    class InitializerGenerator < Rails::Generators::Base
      hide!

      source_root File.expand_path('../templates', __FILE__)

      def copy_initialier
        binding.pry
        copy_file 'bbs.rb', 'config/initializers/bbs.rb'
      end
    end

    class LocaleGenerator < Rails::Generators::Base
      hide!

      source_root Bbs::Engine.root.join('config/locales').to_s

      def copy_locales
        %w(bbs.en.yml bbs.ja.yml).each do |locale|
          copy_file locale, "config/locales/#{locale}"
        end
      end
    end

    class ConfigGenerator < Rails::Generators::Base
      invoke InitializerGenerator
      invoke LocaleGenerator
    end
  end
end<commit_msg>oops...<commit_after>require 'rails/generators/base'

module Bbs
  module Generators
    class InitializerGenerator < Rails::Generators::Base
      hide!

      source_root File.expand_path('../templates', __FILE__)

      def copy_initialier
        copy_file 'bbs.rb', 'config/initializers/bbs.rb'
      end
    end

    class LocaleGenerator < Rails::Generators::Base
      hide!

      source_root Bbs::Engine.root.join('config/locales').to_s

      def copy_locales
        %w(bbs.en.yml bbs.ja.yml).each do |locale|
          copy_file locale, "config/locales/#{locale}"
        end
      end
    end

    class ConfigGenerator < Rails::Generators::Base
      invoke InitializerGenerator
      invoke LocaleGenerator
    end
  end
end
{'fraction_non_alphanumeric': 0.09561752988047809, 'fraction_numerical': 0.0, 'mean_word_length': 2.640096618357488, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5201742', 'n_tokens_mistral': 477, 'n_tokens_neox': 452, 'n_words': 96}