<commit_before>require "news/engine"

module News
  mattr_accessor :engine_routing
  @@engine_routing = false

  mattr_accessor :engine_active_admin
  @@engine_active_admin = true

  mattr_accessor :news_author_sweeper
  @@news_author_sweeper = false

  mattr_accessor :news_item_sweeper
  @@news_item_sweeper = false

  mattr_accessor :news_tag_sweeper
  @@news_tag_sweeper = false

  mattr_accessor :per_page
  @@per_page = 4

  mattr_accessor :image_sizes
  @@image_sizes = {
      :main => "200x200#",
      :secondary => "100x100#",
      :thumb => "70x70#"
    }

  class Engine < Rails::Engine
    isolate_namespace News

    initializer :news do<commit_msg>rename config<commit_after>require "news/engine"

module News
  mattr_accessor :engine_routing
  @@engine_routing = false

  mattr_accessor :engine_active_admin
  @@engine_active_admin = true

  mattr_accessor :news_author_sweeper
  @@news_author_sweeper = false

  mattr_accessor :news_item_sweeper
  @@news_item_sweeper = false

  mattr_accessor :news_tag_sweeper
  @@news_tag_sweeper = false

  mattr_accessor :per_page
  @@per_page = 4

  mattr_accessor :image_styles
  @@image_styles = {
      :main => "200x200#",
      :secondary => "100x100#",
      :thumb => "70x70#"
    }

  class Engine < Rails::Engine
    isolate_namespace News

    initializer :news do
{'fraction_non_alphanumeric': 0.09009009009009009, 'fraction_numerical': 0.025525525525525526, 'mean_word_length': 4.20703125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7336357', 'n_tokens_mistral': 532, 'n_tokens_neox': 470, 'n_words': 90}