<commit_before># == Schema Information
#
# Table name: posts
#
#  id         :integer          not null, primary key
#  type       :string(255)
#  title      :string(255)
#  slug       :string(255)
#  content    :text(65535)
#  online     :boolean          default(TRUE)
#  position   :integer
#  user_id    :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#
# Indexes
#
#  index_posts_on_slug     (slug) UNIQUE
#  index_posts_on_user_id  (user_id)
#

DEFAULTS: &DEFAULTS
  created_at: <%= 1.weeks.ago.to_s(:db) %>
  updated_at: <%= 1.weeks.ago.to_s(:db) %>
  content: ''
  user: anthony

# Home posts
home:
  <<: *DEFAULTS
  type: Home
  title: Home article !
  online: true

home_offline:
  <<: *DEFAULTS
  type: Home
  title: Home article !
  online: false

# About posts
about:
  <<: *DEFAULTS
  type: About
  title: Développement et Hébergement
  online: true

about_2:
  <<: *DEFAULTS
  type: About
  title: About article 2 !<commit_msg>Add user reference for Post fixtures<commit_after># == Schema Information
#
# Table name: posts
#
#  id         :integer          not null, primary key
#  type       :string(255)
#  title      :string(255)
#  slug       :string(255)
#  content    :text(65535)
#  online     :boolean          default(TRUE)
#  position   :integer
#  user_id    :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#
# Indexes
#
#  index_posts_on_slug     (slug) UNIQUE
#  index_posts_on_user_id  (user_id)
#

DEFAULTS: &DEFAULTS
  created_at: <%= 1.weeks.ago.to_s(:db) %>
  updated_at: <%= 1.weeks.ago.to_s(:db) %>
  content: ''
  user: bob

# Home posts
home:
  <<: *DEFAULTS
  type: Home
  title: Home article !
  online: true

home_offline:
  <<: *DEFAULTS
  type: Home
  title: Home article !
  online: false

# About posts
about:
  <<: *DEFAULTS
  type: About
  title: Développement et Hébergement
  online: true
  user: anthony

about_2:
  <<: *DEFAULTS
  type: About
  title: About article 2 !
{'fraction_non_alphanumeric': 0.1172069825436409, 'fraction_numerical': 0.017955112219451373, 'mean_word_length': 2.7849056603773583, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 7, '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': '4477152', 'n_tokens_mistral': 768, 'n_tokens_neox': 744, 'n_words': 187}