<commit_before>from abc import ABCMeta, abstractmethod

class capability(metaclass=ABCMeta):

    # used during initialization. returns a string for the single catergory
    # of information the capability will extract, or a list of strings for
    # each category the capability will extract.
    @abstractmethod
    def getColumns(x):
        raise NotImplementedError()

    # analyzes the database for specific information
    @abstractmethod
    def analyze(projectFolderPath):
        raise NotImplementedError()

    # updates the database once the info is extracted
    @abstractmethod
    def updateDb(dbConnection, py_name, value):
        raise NotImplementedError()

#
#
#
#
#
#
#<commit_msg>Update capability.py<commit_after>from abc import ABCMeta, abstractmethod

class capability(metaclass=ABCMeta):

    # used during initialization. returns a string for the single catergory
    # of information the capability will extract, or a list of strings for
    # each category the capability will extract.
    @abstractmethod
    def getColumns(x):
        raise NotImplementedError()

    # analyzes the database for specific information
    @abstractmethod
    def analyze(projectFolderPath):
        raise NotImplementedError()

    # updates the database once the info is extracted
    @abstractmethod
    def updateDb(dbConnection, py_name, value):
        raise NotImplementedError()
{'fraction_non_alphanumeric': 0.05714285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 3.68561872909699, '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': '3805656', 'n_tokens_mistral': 351, 'n_tokens_neox': 346, 'n_words': 133}