<commit_before>#!/bin/bash

: "${SERVER:?Need to set SERVER env var.}"
: "${TOPIC:?Need to set TOPIC env var.}"


mosquitto -d -c /etc/mosquitto/mosquitto.conf
sleep 5
mosquitto_sub -h $SERVER -t $TOPIC

<commit_msg>[dogbox] dogbox subscribes to itself, that's where others are publishing.<commit_after>#!/bin/bash

: "${TOPIC:?Need to set TOPIC env var.}"


mosquitto -d -c /etc/mosquitto/mosquitto.conf
sleep 5
mosquitto_sub -h 127.0.0.1 -t $TOPIC


{'fraction_non_alphanumeric': 0.15077605321507762, 'fraction_numerical': 0.017738359201773836, 'mean_word_length': 4.022222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '869308', 'n_tokens_mistral': 202, 'n_tokens_neox': 176, 'n_words': 51}