<commit_before>#!/bin/bash

docker stop motey_cluster_01 motey_cluster_02 motey_cluster_03 motey_cluster_mqtt_broker
docker rm motey_cluster_01 motey_cluster_02 motey_cluster_03 motey_cluster_mqtt_broker

docker network create --subnet=172.18.0.0/16 motey_cluster_network

screen -S motey_cluster

screen -S motey_cluster -x -X screen docker run --net motey_cluster_network --ip="172.18.0.3" -p 1883:1883 -p 9001:9001 -v config:/mqtt/config:ro --name motey_cluster_mqtt_broker toke/mosquitto &

screen -S motey_cluster -x -X screen docker run -ti --net motey_cluster_network --ip="172.18.0.10" -v /var/run/docker.sock:/var/run/docker.sock -p 5123:5023 -p 5190:5090 -p 5191:5091 --name motey_cluster_01 neoklosch/motey
screen -S motey_cluster -x -X screen docker run -ti --net motey_cluster_network --ip="172.18.0.11" -v /var/run/docker.sock:/var/run/docker.sock -p 5223:5023 -p 5290:5090 -p 5291:5091 --name motey_cluster_02 neoklosch/motey
screen -S motey_cluster -x -X screen docker run -ti --net motey_cluster_network --ip="172.18.0.12" -v /var/run/docker.sock:/var/run/docker.sock -p 5323:5023 -p 5390:5090 -p 5391:5091 --name motey_cluster_03 neoklosch/motey

screen -X caption always "%{rw} * | %H * $LOGNAME | %{bw}%c %D | %{-}%-Lw%{rw}%50>%{rW}%n%f* %t %{-}%+Lw%<"<commit_msg>Modified test setup script.<commit_after>#!/bin/bash

docker stop motey_cluster_01 motey_cluster_02 motey_cluster_03 motey_cluster_mqtt_broker
docker rm motey_cluster_01 motey_cluster_02 motey_cluster_03 motey_cluster_mqtt_broker

docker network create --subnet=172.18.0.0/16 motey_cluster_network

docker run -di --net motey_cluster_network --ip="172.18.0.3" -p 1883:1883 -p 9001:9001 -v config:/mqtt/config:ro --name motey_cluster_mqtt_broker toke/mosquitto

docker run -di --net motey_cluster_network --ip="172.18.0.10" -v /var/run/docker.sock:/var/run/docker.sock -p 5123:5023 -p 5190:5090 -p 5191:5091 --name motey_cluster_01 neoklosch/motey
docker run -di --net motey_cluster_network --ip="172.18.0.11" -v /var/run/docker.sock:/var/run/docker.sock -p 5223:5023 -p 5290:5090 -p 5291:5091 --name motey_cluster_02 neoklosch/motey
docker run -di --net motey_cluster_network --ip="172.18.0.12" -v /var/run/docker.sock:/var/run/docker.sock -p 5323:5023 -p 5390:5090 -p 5391:5091 --name motey_cluster_03 neoklosch/motey
{'fraction_non_alphanumeric': 0.1355343179843614, 'fraction_numerical': 0.12771503040834056, 'mean_word_length': 4.39344262295082, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '7291331', 'n_tokens_mistral': 1136, 'n_tokens_neox': 967, 'n_words': 208}