<commit_before>__author__ = 'terry'

import sys
from elasticsearch import Elasticsearch
import time

if __name__ == '__main__':

    time.sleep(5)
    # create a connection to the Elasticsearch database
    client = Elasticsearch(['pureelk-elasticsearch:9200'], retry_on_timeout=True)

    if client.indices.exists(index='pureelk-global-arrays'):
        sys.exit(0)
    else:<commit_msg>Change the test for pureelk in elasticsearch<commit_after>__author__ = 'terry'

import sys
from elasticsearch import Elasticsearch
import time

if __name__ == '__main__':

    time.sleep(5)
    # create a connection to the Elasticsearch database
    client = Elasticsearch(['pureelk-elasticsearch:9200'], retry_on_timeout=True)

    if client.exists(index='.kibana', doc_type='index-pattern',id='pureelk-global-arrays'):
        sys.exit(0)
    else:
{'fraction_non_alphanumeric': 0.10620525059665871, 'fraction_numerical': 0.014319809069212411, 'mean_word_length': 4.630872483221476, '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': '6316592', 'n_tokens_mistral': 269, 'n_tokens_neox': 262, 'n_words': 62}