<commit_before>from service import Service


class BasePluginService(Service):

    def count(self):
        raise NotImplementedError()

    def get_plugins(self):
        raise NotImplementedError()

    def get_plugin_by_name(self):
        raise NotImplementedError()

    def get_plugin_by_id(self):
        raise NotImplementedError()

    def add(self, plugin):
        raise NotImplementedError()

    def process(self, _object, _data):
        raise NotImplementedError()
<commit_msg>Forgot this file in previous commit. Defines base PluginService class.<commit_after>from service import Service


class BasePluginService(Service):

    def count(self):
        raise NotImplementedError()

    def add(self, plugin):
        raise NotImplementedError()

    def retrieve_by_id(self, id):
        raise NotImplementedError()

    def retrieve(self, offset=0, limit=10):
        raise NotImplementedError()

    def retrieve_by_name(self, name, offset=0, limit=10):
        raise NotImplementedError()

{'fraction_non_alphanumeric': 0.08217821782178218, 'fraction_numerical': 0.005940594059405941, 'mean_word_length': 3.493333333333333, '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': '6626872', 'n_tokens_mistral': 292, 'n_tokens_neox': 274, 'n_words': 75}