<commit_before>import os

CONNECT_ARGS = []
CONNECT_KWARGS = {}

LIVE_TEST = 'HOST' in os.environ
if LIVE_TEST:
    HOST = os.environ['HOST']
    DATABASE=os.environ['DATABASE']
    USER=os.environ['SQLUSER']
    PASSWORD=os.environ['<PASSWORD>']
    USE_MARS = bool(os.environ.get('USE_MARS'))
    SKIP_SQL_AUTH = bool(os.environ.get('SKIP_SQL_AUTH'))

    import pytds

    CONNECT_KWARGS = {
            'server': HOST,
            'database': DATABASE,
            'user': USER,
            'password': PASSWORD,
            'use_mars': USE_MARS,
            'bytes_to_unicode': True,
            }

    if 'tds_version' in os.environ:
        CONNECT_KWARGS['tds_version'] = getattr(pytds, os.environ['tds_version'])<commit_msg>test with MARS on by default<commit_after>import os

CONNECT_ARGS = []
CONNECT_KWARGS = {}

LIVE_TEST = 'HOST' in os.environ
if LIVE_TEST:
    HOST = os.environ['HOST']
    DATABASE=os.environ['DATABASE']
    USER=os.environ['SQLUSER']
    PASSWORD=<PASSWORD>['<PASSWORD>']
    USE_MARS = bool(os.environ.get('USE_MARS', True))
    SKIP_SQL_AUTH = bool(os.environ.get('SKIP_SQL_AUTH'))

    import pytds

    CONNECT_KWARGS = {
            'server': HOST,
            'database': DATABASE,
            'user': USER,
            'password': PASSWORD,
            'use_mars': USE_MARS,
            'bytes_to_unicode': True,
            }

    if 'tds_version' in os.environ:
        CONNECT_KWARGS['tds_version'] = getattr(pytds, os.environ['tds_version'])
{'fraction_non_alphanumeric': 0.13853396099529253, 'fraction_numerical': 0.0, 'mean_word_length': 2.7386934673366836, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '761639', 'n_tokens_mistral': 561, 'n_tokens_neox': 554, 'n_words': 87}