<commit_before>class AddPublishedAtToQuestionnaires < ActiveRecord::Migration
  def self.up
  end

  def self.down
  end
end<commit_msg>oops, actually include the published_at migration<commit_after>class AddPublishedAtToQuestionnaires < ActiveRecord::Migration
  def self.up
    add_column :questionnaires, :published_at, :timestamp
    Questionnaire.all(:conditions => { :is_open => true }).each do |q|
      q.published_at = q.created_at
      q.save :validate => false
    end
  end

  def self.down
    remove_column :questionnaires, :published_at
  end
end
{'fraction_non_alphanumeric': 0.08185053380782918, 'fraction_numerical': 0.0, 'mean_word_length': 4.3619047619047615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '2403335', 'n_tokens_mistral': 174, 'n_tokens_neox': 171, 'n_words': 43}