<commit_before>class NewSettings < ActiveRecord::Migration
  def up
    Settings.admin_users = Settings.admin_users.split(",")
  end

  def down
    Settings.admin_users = Settings.admin_users.join(",")
  end
end<commit_msg>Fixed the migration to new settings<commit_after>class NewSettings < ActiveRecord::Migration
  def up
    Settings.admin_users = Settings.admin_users.split(",").map{|x| Person.find_by_username(x).id}
  end

  def down
    Settings.admin_users = Settings.admin_users.map{|x| Person.find(x).username}.join(",")
  end
end
{'fraction_non_alphanumeric': 0.12177121771217712, 'fraction_numerical': 0.0, 'mean_word_length': 4.9021739130434785, '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': '2221964', 'n_tokens_mistral': 170, 'n_tokens_neox': 171, 'n_words': 34}