<commit_before>class OrganisationalManualDocumentAttachmentServiceRegistry < AbstractManualDocumentAttachmentServiceRegistry
  def initialize(dependencies)
    @organisation_slug = dependencies.fetch(:organisation_slug)
  end

private
  attr_reader :organisation_slug

  def manual_repository_factory
    ManualsPublisherWiring.get(:repository_registry)
      .organisation_scoped_manual_repository_factory
  end

  def repository
    manual_repository_factory.call(organisation_slug)
  end
end<commit_msg>Use Ruby keyword args in OrganisationalManualDocumentAttachmentServiceRegistry<commit_after>class OrganisationalManualDocumentAttachmentServiceRegistry < AbstractManualDocumentAttachmentServiceRegistry
  def initialize(organisation_slug:)
    @organisation_slug = organisation_slug
  end

private
  attr_reader :organisation_slug

  def manual_repository_factory
    ManualsPublisherWiring.get(:repository_registry)
      .organisation_scoped_manual_repository_factory
  end

  def repository
    manual_repository_factory.call(organisation_slug)
  end
end
{'fraction_non_alphanumeric': 0.03672316384180791, 'fraction_numerical': 0.0, 'mean_word_length': 7.3700787401574805, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5630798', 'n_tokens_mistral': 281, 'n_tokens_neox': 284, 'n_words': 46}