<commit_before>class Color(tuple):

    """
    An color object. This follows the :ref:`type-color`.
    """

    def _get_r(self):
        return _stringToSequence(self)[0]

    r = property(_get_r, "The color's red component as :ref:`type-int-float`.")

    def _get_g(self):
        return _stringToSequence(self)[1]

    g = property(_get_g, "The color's green component as :ref:`type-int-float`.")

    def _get_b(self):
        return _stringToSequence(self)[2]

    b = property(_get_b, "The color's blue component as :ref:`type-int-float`.")

    def _get_a(self):
        return _stringToSequence(self)[3]

    a = property(_get_a, "The color's alpha component as :ref:`type-int-float`.")
    
    def _stringToSequence(value):
        r, g, b, a = [i.strip() for i in value.split(",")]
        value = []
        for component in (r, g, b, a):
            try:
                v = int(component)
                value.append(v)<commit_msg>formatting<commit_after>class Color(tuple):

    """
    An color object. This follows the :ref:`type-color`.
    """

    def _get_r(self):
        return _stringToSequence(self)[0]

    r = property(_get_r, "The color's red component as :ref:`type-int-float`.")

    def _get_g(self):
        return _stringToSequence(self)[1]

    g = property(_get_g, "The color's green component as :ref:`type-int-float`.")

    def _get_b(self):
        return _stringToSequence(self)[2]

    b = property(_get_b, "The color's blue component as :ref:`type-int-float`.")

    def _get_a(self):
        return _stringToSequence(self)[3]

    a = property(_get_a, "The color's alpha component as :ref:`type-int-float`.")

    def _stringToSequence(value):
        r, g, b, a = [i.strip() for i in value.split(",")]
        value = []
        for component in (r, g, b, a):
            try:
                v = int(component)
                value.append(v)
{'fraction_non_alphanumeric': 0.14489687995769435, 'fraction_numerical': 0.004230565838180857, 'mean_word_length': 2.5364485981308413, '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': '1523643', 'n_tokens_mistral': 641, 'n_tokens_neox': 610, 'n_words': 159}