<commit_before>require 'rails/generators'
require 'rails/generators/migration'
require 'rails/generators/active_record/migration'

module TaiwanCityDistsHelper
  module Generators
    class TableGenerator < ::Rails::Generators::Base
      #include ::Rails::Generators::Migration

      self.source_paths << File.join(File.dirname(__FILE__), 'templates')

      def create_migration_file
        migration_template "migration.rb", "db/migrate/create_cities_and_dists.rb"
      end

      def self.next_migration_number(path)
        @migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i.to_s
      end
    end
  end
end<commit_msg>include<commit_after>require 'rails/generators'
require 'rails/generators/migration'
require 'rails/generators/active_record/migration'

module TaiwanCityDistsHelper
  module Generators
    class TableGenerator < ::Rails::Generators::Base
      include ::Rails::Generators::Migration

      self.source_paths << File.join(File.dirname(__FILE__), 'templates')

      def create_migration_file
        migration_template "migration.rb", "db/migrate/create_cities_and_dists.rb"
      end

      def self.next_migration_number(path)
        @migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i.to_s
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.1093627065302911, 'fraction_numerical': 0.0, 'mean_word_length': 4.234567901234568, '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': '3227342', 'n_tokens_mistral': 424, 'n_tokens_neox': 415, 'n_words': 63}