<commit_before>require 'core/connection_factory'
require 'core/registries/connection'
require 'core/registries/repository'
require 'core/repositories/action_plans/public_website'
require 'core/repositories/articles/public_website'
require 'core/repositories/categories/public_website'

Core::Registries::Connection[:public_website] =
  Core::ConnectionFactory.build(ENV['MAS_PUBLIC_WEBSITE_URL'])

Core::Registries::Repository[:action_plan] =
  Core::Repositories::ActionPlans::PublicWebsite.new

Core::Registries::Repository[:article] =
  Core::Repositories::Articles::PublicWebsite.new

Core::Registries::Repository[:category] =
  Core::Repositories::Categories::PublicWebsite.new<commit_msg>Add the search repository to the registry on load.<commit_after>require 'core/connection_factory'
require 'core/registries/connection'
require 'core/registries/repository'
require 'core/repositories/action_plans/public_website'
require 'core/repositories/articles/public_website'
require 'core/repositories/categories/public_website'
require 'core/repositories/search/public_website'

Core::Registries::Connection[:public_website] =
  Core::ConnectionFactory.build(ENV['MAS_PUBLIC_WEBSITE_URL'])

Core::Registries::Repository[:action_plan] =
  Core::Repositories::ActionPlans::PublicWebsite.new

Core::Registries::Repository[:article] =
  Core::Repositories::Articles::PublicWebsite.new

Core::Registries::Repository[:category] =
  Core::Repositories::Categories::PublicWebsite.new

Core::Registries::Repository[:search] =
  Core::Repositories::Search::PublicWebsite.new
{'fraction_non_alphanumeric': 0.12979539641943735, 'fraction_numerical': 0.0, 'mean_word_length': 11.2265625, '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': '2944716', 'n_tokens_mistral': 493, 'n_tokens_neox': 463, 'n_words': 51}