<commit_before>class CreateCurrencyTypes < ActiveRecord::Migration
  def self.up
    create_table :currency_types do |t|
      t.string :currency

      t.timestamps
    end

    currencies = ["USD", "EUR", "GBP", "TRY", "CAD", "XDR", "DKK", "SEK", "CHF", "NOK",
                  "JPY", "SAR", "KWD", "AUD", "RUB", "RON", "PKR", "IRR", "CNY", "BGN"]
    currencies.each do |c|
      CurrencyType.create(:currency => c.to_s)
    end
  end

  def self.down
    drop_table :currency_types
  end

end<commit_msg>migration error restored<commit_after>class CreateCurrencyTypes < ActiveRecord::Migration
  def self.up
    create_table :currency_types do |t|
      t.string :currency

      t.timestamps
    end

    currencies = ["USD", "EUR", "GBP", "TRY", "CAD", "XDR", "DKK", "SEK", "CHF", "NOK",
                  "JPY", "SAR", "KWD", "AUD", "RUB", "RON", "PKR", "IRR", "CNY", "BGN"]
    currencies.each do |c|
      CURRENCY_TYPE.create(:currency => c.to_s)
    end
  end

  def self.down
    drop_table :currency_types
  end

end
{'fraction_non_alphanumeric': 0.16893203883495145, 'fraction_numerical': 0.0, 'mean_word_length': 2.9806949806949805, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3633105', 'n_tokens_mistral': 404, 'n_tokens_neox': 386, 'n_words': 95}