<commit_before>class SourceFactory:
    """
    The factory method to support multiple datasources in getters and savers
    """
    sources = {
        "input-read": [],
        "sheet-write": [],
        "book-write": [],
        "book-read": [],
        "sheet-read": []
    }

    @classmethod
    def register_sources(self, sources):
        for source in sources:
            for target in source.targets:
                for action in source.actions:
                    self.register_a_source(target, action, source)

    @classmethod
    def register_a_source(self, target, action, source):
        key = "%s-%s" % (target, action)
        print key, source<commit_msg>get rid of debug print2<commit_after>class SourceFactory:
    """
    The factory method to support multiple datasources in getters and savers
    """
    sources = {
        "input-read": [],
        "sheet-write": [],
        "book-write": [],
        "book-read": [],
        "sheet-read": []
    }

    @classmethod
    def register_sources(self, sources):
        for source in sources:
            for target in source.targets:
                for action in source.actions:
                    self.register_a_source(target, action, source)

    @classmethod
    def register_a_source(self, target, action, source):
        key = "%s-%s" % (target, action)
{'fraction_non_alphanumeric': 0.11865671641791045, 'fraction_numerical': 0.0007462686567164179, 'mean_word_length': 2.0756880733944953, 'pattern_counts': {'":': 10, '<': 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': '6229806', 'n_tokens_mistral': 376, 'n_tokens_neox': 363, 'n_words': 102}