<commit_before>from __future__ import (absolute_import, division, print_function,
                        unicode_literals)
from .retrieve import HandlerBase
from .readers.spe import PrincetonSPEFile
from collections import deque
import six
from six.moves import range
import logging
import h5py
import numpy as np
import os.path

logger = logging.getLogger(__name__)


class IntegrityError(Exception):
    pass
<commit_msg>MNT : clean up import order, remove unused imports<commit_after>from __future__ import (absolute_import, division, print_function,
                        unicode_literals)
import six

import logging
import h5py
import numpy as np
import os.path

from .retrieve import HandlerBase
from .readers.spe import PrincetonSPEFile

logger = logging.getLogger(__name__)


class IntegrityError(Exception):
    pass

{'fraction_non_alphanumeric': 0.04945717732207479, 'fraction_numerical': 0.0024125452352231603, 'mean_word_length': 4.253164556962025, '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': '2446601', 'n_tokens_mistral': 227, 'n_tokens_neox': 216, 'n_words': 79}