<commit_before><commit_msg>Simple shell test.<commit_after>
echo "GET"
curl -H "Content-Type: application/json" http://localhost:8888 -f -X GET
echo

echo "CLEAN"
curl -H "Content-Type: application/json" http://localhost:8888/clean -f -X DELETE
echo

echo "PUT"
curl -H "Content-Type: application/json" -d '{"name":"directory","location":"http://localhost:8888"}' http://localhost:8888 -f -X PUT 
echo

echo "HEARTBEAT"
curl -H "Content-Type: application/json" http://localhost:8888/heartbeat -f -X POST
echo

echo "PUT"
curl -H "Content-Type: application/json" -d '{"name":"garbage","location":"garbage"}' http://localhost:8888 -f -X PUT 
echo

echo "HEARTBEAT"
curl -H "Content-Type: application/json" http://localhost:8888/heartbeat -f -X POST
echo

echo "GET"
curl -H "Content-Type: application/json" http://localhost:8888 -f -X GET
echo

echo "PUT"
curl -H "Content-Type: application/json" -d '{"name":"directory","location":"http://localhost:8080"}' http://localhost:8888 -f -X PUT 
echo

echo "GET"
curl -H "Content-Type: application/json" http://localhost:8888 -f -X GET
echo
{'fraction_non_alphanumeric': 0.1772853185595568, 'fraction_numerical': 0.040627885503231764, 'mean_word_length': 4.616580310880829, 'pattern_counts': {'":': 6, '<': 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': '6171410', 'n_tokens_mistral': 411, 'n_tokens_neox': 376, 'n_words': 108}