<commit_before>module BlogConverter
  class Article
    attr_accessor :title, :content, :summary, :published_at, :created_at, :author, :comments, :categories, :tags

    def initialize(params = {})
      %w( title content summary published_at created_at author categories tags).each do |column|
        send("#{column}=", params[column.to_sym])
      end
      @categories ||= []
      @tags       ||= []
      @comments   ||= []
    end
  end
end
<commit_msg>add status column in Article.<commit_after>module BlogConverter
  class Article
    attr_accessor :title, :content, :summary, :published_at, :created_at, :author, :comments, :categories, :tags, :status

    module Status
      Publish = :publish
      Draft   = :draft
      Hide    = :hide
    end

    def initialize(params = {})
      %w( title content summary published_at created_at author categories tags status ).each do |column|
        send("#{column}=", params[column.to_sym])
      end
      @categories ||= []
      @tags       ||= []
      @comments   ||= []
    end
  end
end

{'fraction_non_alphanumeric': 0.12476190476190477, 'fraction_numerical': 0.0, 'mean_word_length': 2.878228782287823, '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': '3924936', 'n_tokens_mistral': 307, 'n_tokens_neox': 307, 'n_words': 88}