<commit_before>#this breaks seed scripts

unless !ActiveRecord::Base.connection.table_exists?('people') || Rails.env == 'test' || AppConfig[:featured_users].count == Person.featured_users.count
  print "Fetching featured users from remote servers"
  AppConfig[:featured_users].each do |x|
    Webfinger.new(x).fetch
    print "."
  end
  puts " done!"
end<commit_msg>dont run if you do not have featured users set<commit_after>#this breaks seed scripts

unless !ActiveRecord::Base.connection.table_exists?('people') || Rails.env == 'test' || AppConfig[:featured_users].nil? || AppConfig[:featured_users].count == Person.featured_users.count
  print "Fetching featured users from remote servers"
  AppConfig[:featured_users].each do |x|
    Webfinger.new(x).fetch
    print "."
  end
  puts " done!"
end
{'fraction_non_alphanumeric': 0.13092269326683292, 'fraction_numerical': 0.0, 'mean_word_length': 5.224806201550388, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3509556', 'n_tokens_mistral': 250, 'n_tokens_neox': 247, 'n_words': 61}