<commit_before>#!/usr/bin/env bash

echo "Stalling for Elasticsearch"
while true; do
    sleep 1
    status=$(curl -s --head -w %{http_code} http://0.0.0.0:9200 -o /dev/null)
    if [ ${status} -eq 200 ]; then
        break
    fi
done

echo "Starting Vamp"
java -Dlogback.configurationFile=/usr/local/vamp/logback.xml -Dconfig.file=/usr/local/vamp/application.conf -jar /usr/local/vamp/vamp.jar<commit_msg>waiting for kibana instead of elasticseach (needs kibana index)<commit_after>#!/usr/bin/env bash

echo "Stalling for Kibana"
while true; do
    sleep 1
    status=$(curl -s --head -w %{http_code} http://0.0.0.0:9200/.kibana -o /dev/null)
    if [ ${status} -eq 200 ]; then
        break
    fi
done

echo "Starting Vamp"
java -Dlogback.configurationFile=/usr/local/vamp/logback.xml -Dconfig.file=/usr/local/vamp/application.conf -jar /usr/local/vamp/vamp.jar
{'fraction_non_alphanumeric': 0.15028901734104047, 'fraction_numerical': 0.027745664739884393, 'mean_word_length': 3.183574879227053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, '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': '471059', 'n_tokens_mistral': 349, 'n_tokens_neox': 318, 'n_words': 77}