<commit_before>#!/bin/sh
# node: acce-build1.dyndns.org
# Submits the OODT "test-workflow" (twice), then queries the Solr catalog

rabbitmq_id=`docker ps | grep rabbitmq | awk '{print $1}'`

docker exec -it ${rabbitmq_id} sh -c "cd /usr/local/oodt/rabbitmq; python rabbitmq_producer.py test-workflow 10 Dataset=abc Project=123"

sleep 10
curl "http://${MANAGER_IP}:8983/solr/oodt-fm/select?q=*%3A*&wt=json&indent=true&rows=0"<commit_msg>Adding comment to delete all records.<commit_after>#!/bin/sh
# node: acce-build1.dyndns.org
# Submits the OODT "test-workflow" (twice), then queries the Solr catalog

rabbitmq_id=`docker ps | grep rabbitmq | awk '{print $1}'`

docker exec -it ${rabbitmq_id} sh -c "cd /usr/local/oodt/rabbitmq; python rabbitmq_producer.py test-workflow 10 Dataset=abc Project=123"

sleep 10
curl "http://${MANAGER_IP}:8983/solr/oodt-fm/select?q=*%3A*&wt=json&indent=true&rows=0"
# to delete all records:
# curl "http://${MANAGER_IP}:8983/solr/oodt-fm/update?stream.body=<delete><query>*:*</query></delete>&commit=true"
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.03275529865125241, 'mean_word_length': 5.8355263157894735, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4936515', 'n_tokens_mistral': 444, 'n_tokens_neox': 400, 'n_words': 86}