<commit_before># Copyright 2009 <NAME>. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

"""Execute computations asynchronously using threads or processes."""

__author__ = '<NAME> (<EMAIL>)'

from concurrent.futures._base import (FIRST_COMPLETED,
                                      FIRST_EXCEPTION,
                                      ALL_COMPLETED,
                                      CancelledError,
                                      TimeoutError,
                                      Future,
                                      Executor,
                                      wait,
                                      as_completed)
try:
    from concurrent.futures.process import ProcessPoolExecutor
except ImportError:
    import sys
    if sys.platform != 'uwp':
        raise

from concurrent.futures.thread import ThreadPoolExecutor<commit_msg>Address code review feedback<commit_after># Copyright 2009 <NAME>. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

"""Execute computations asynchronously using threads or processes."""

__author__ = '<NAME> (<EMAIL>)'

import sys
from concurrent.futures._base import (FIRST_COMPLETED,
                                      FIRST_EXCEPTION,
                                      ALL_COMPLETED,
                                      CancelledError,
                                      TimeoutError,
                                      Future,
                                      Executor,
                                      wait,
                                      as_completed)
if sys.platform != 'uwp':
    from concurrent.futures.process import ProcessPoolExecutor

from concurrent.futures.thread import ThreadPoolExecutor
{'fraction_non_alphanumeric': 0.05606407322654462, 'fraction_numerical': 0.004576659038901602, 'mean_word_length': 1.2655440414507773, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6333612', 'n_tokens_mistral': 403, 'n_tokens_neox': 356, 'n_words': 104}