<commit_before>import collections

from eth_utils import (
    big_endian_to_int,
    int_to_big_endian,
    is_bytes,
)


from rlp.exceptions import EncodingError, DecodingError
from rlp.sedes.binary import Binary as BinaryClass
from rlp.sedes import big_endian_int, binary, boolean, text
from rlp.sedes.lists import List, is_sedes, is_sequence
from rlp.sedes.serializable import Serializable
from rlp.utils import ALL_BYTES


try:
    import rusty_rlp
except ImportError as e:
    import logging
    from rlp.atomic import (
        Atomic,
    )
    logger = logging.getLogger()
    logger.warning(
        "Consider installing rusty-rlp to improve pyrlp performance with a rust based backend"
    )

    def encode_raw(item):
        """RLP encode (a nested sequence of) :class:`Atomic`s."""
        if isinstance(item, Atomic):<commit_msg>remove log noise<commit_after>import collections

from eth_utils import (
    big_endian_to_int,
    int_to_big_endian,
    is_bytes,
)


from rlp.exceptions import EncodingError, DecodingError
from rlp.sedes.binary import Binary as BinaryClass
from rlp.sedes import big_endian_int, binary, boolean, text
from rlp.sedes.lists import List, is_sedes, is_sequence
from rlp.sedes.serializable import Serializable
from rlp.utils import ALL_BYTES


try:
    import rusty_rlp
except ImportError as e:
    import logging
    from rlp.atomic import (
        Atomic,
    )

    def encode_raw(item):
        """RLP encode (a nested sequence of) :class:`Atomic`s."""
        if isinstance(item, Atomic):
{'fraction_non_alphanumeric': 0.07026675341574495, 'fraction_numerical': 0.0, 'mean_word_length': 3.732307692307692, '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': '4064511', 'n_tokens_mistral': 497, 'n_tokens_neox': 481, 'n_words': 146}