<commit_before>from sympy.core import Set, Dict, Tuple
from cartan_type import Standard_Cartan, CartanType
from sympy.matrices import eye


class CartanType(Standard_Cartan):
    """
    This class contains the information about
    the A series of simple Lie algebras.
    ====
    """

    def __init__(self, n):
        assert n >= 1
        Standard_Cartan.__init__(self, "A", n)


    def dimension(self):
        """
        Return the dimension of the vector space
        V underlying the Lie algebra
        Example
        ========
        >>> c = CartanType("A4")
        >>> c.dimension()
        4
        """
        return self.n+1


    def basic_root(self, i, j):
        """
        This is a method just to generate roots
        with a 1 iin the ith position and a -1
        in the jth postion.

        """

        n = self.n<commit_msg>Changed to strict import, seeing if that fixes doctests<commit_after>from sympy.core import Set, Dict, Tuple
from sympy.liealgebras.cartan_type import Standard_Cartan, CartanType
from sympy.matrices import eye


class CartanType(Standard_Cartan):
    """
    This class contains the information about
    the A series of simple Lie algebras.
    ====
    """

    def __init__(self, n):
        assert n >= 1
        Standard_Cartan.__init__(self, "A", n)


    def dimension(self):
        """
        Return the dimension of the vector space
        V underlying the Lie algebra
        Example
        ========
        >>> c = CartanType("A4")
        >>> c.dimension()
        5
        """
        return self.n+1


    def basic_root(self, i, j):
        """
        This is a method just to generate roots
        with a 1 iin the ith position and a -1
        in the jth postion.

        """

        n = self.n
{'fraction_non_alphanumeric': 0.0949438202247191, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 1.973288814691152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '2823367', 'n_tokens_mistral': 535, 'n_tokens_neox': 498, 'n_words': 183}