<commit_before># == Schema Information
#
# Table name: wiki_wikis
#
#  id         :integer          not null, primary key
#  project_id :integer
#  created_at :datetime
#  updated_at :datetime
#  repo       :string(255)
#
# Indexes
#
#  index_wiki_wikis_on_project_id  (project_id)
#

class Wiki::Wiki < ActiveRecord::Base
  belongs_to :project

  validates_presence_of :project, on: :update
  validates_presence_of :repo
  validates_format_of :repo, :with => /(.*)\/(.*)/

  after_initialize :init

  def init
    self.repo ||= "HeisenBugDev/HeisenBugDev-content"
  end
end<commit_msg>wiki has many articles<commit_after># == Schema Information
#
# Table name: wiki_wikis
#
#  id         :integer          not null, primary key
#  project_id :integer
#  created_at :datetime
#  updated_at :datetime
#  repo       :string(255)
#
# Indexes
#
#  index_wiki_wikis_on_project_id  (project_id)
#

class Wiki::Wiki < ActiveRecord::Base
  belongs_to :project
  has_many :articles

  validates_presence_of :project, on: :update
  validates_presence_of :repo
  validates_format_of :repo, :with => /(.*)\/(.*)/

  after_initialize :init

  def init
    self.repo ||= "HeisenBugDev/HeisenBugDev-content"
  end
end
{'fraction_non_alphanumeric': 0.11231281198003328, 'fraction_numerical': 0.004991680532445923, 'mean_word_length': 3.736220472440945, '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': '7521522', 'n_tokens_mistral': 446, 'n_tokens_neox': 424, 'n_words': 94}