<commit_before>module Yuba
  class Service
    class_attribute :_properties
    self._properties = {}

    class << self
      def call(**args)
        service = args.empty? ? new : new(**args)
        service.call
        service
      end

      def setup(**args)
        return new.setup if args.empty?

        new(**args).setup
      end

      def property(name, options = {})
        _properties[name.to_sym] = options
      end
    end

    def initialize(**args)<commit_msg>we don’t need Yuba::Service.setup. use .new<commit_after>module Yuba
  class Service
    class_attribute :_properties
    self._properties = {}

    class << self
      def call(**args)
        service = args.empty? ? new : new(**args)
        service.call
        service
      end

      def property(name, options = {})
        _properties[name.to_sym] = options
      end
    end

    def initialize(**args)
{'fraction_non_alphanumeric': 0.10514541387024609, 'fraction_numerical': 0.0, 'mean_word_length': 2.086206896551724, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7418715', 'n_tokens_mistral': 267, 'n_tokens_neox': 251, 'n_words': 66}