<commit_before>require 'redmine'

require 'redmine_sympa/hooks/project_hooks'

require 'dispatcher'
Dispatcher.to_prepare :redmine_sympa do
  require_dependency 'project'
  require_dependency 'enabled_module'

  Project.send(:include, RedmineSympa::Patches::ProjectPatch)
  EnabledModule.send(:include, RedmineSympa::Patches::EnabledModulePatch)

end

Redmine::Plugin.register :redmine_sympa do<commit_msg>updated init.rb so it respects the Chiliproject Dispatcher protocol<commit_after># encoding: utf-8
require 'redmine'
require 'dispatcher'

Dispatcher.to_prepare :redmine_sympa do
  require_dependency 'project'
  require_dependency 'redmine_sympa/patches/project_patch'
  Project.send(:include, RedmineSympa::Patches::ProjectPatch)

  require_dependency 'enabled_module'
  require_dependency 'redmine_sympa/patches/enabled_module_patch'
  EnabledModule.send(:include, RedmineSympa::Patches::EnabledModulePatch)

  require_dependency 'redmine_sympa/hooks/project_hooks'
end

Redmine::Plugin.register :redmine_sympa do
{'fraction_non_alphanumeric': 0.0881488736532811, 'fraction_numerical': 0.0009794319294809011, 'mean_word_length': 8.733333333333333, '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': '838189', 'n_tokens_mistral': 330, 'n_tokens_neox': 316, 'n_words': 56}