<commit_before>import sys
from os import path
sys.path.append(path.join(path.dirname(path.dirname(path.abspath(__file__))), "utils", "efushell"))
from verifymetrics import verify_metric
from time import sleep


def test_efu_received_all_sent_udp_packets(docker_compose):
    sleep(10)  # Wait plenty of time for the EFU to receive and process the event data
    res, name, op, value, retval = verify_metric("localhost", 8889, "efu.mbcaen.receive.packets:2000")
    assert res, "Tested metric {}: expected {} {}, got {}".format(name, op, value, retval)<commit_msg>#198 Update system test to use untruncated file<commit_after>import sys
from os import path
sys.path.append(path.join(path.dirname(path.dirname(path.abspath(__file__))), "utils", "efushell"))
from verifymetrics import verify_metric
from time import sleep


def test_efu_received_all_sent_udp_packets(docker_compose):
    sleep(200)  # Wait plenty of time for the EFU to receive and process the event data
    res, name, op, value, retval = verify_metric("localhost", 8889, "efu.mbcaen.receive.packets:30870")
    assert res, "Tested metric {}: expected {} {}, got {}".format(name, op, value, retval)
{'fraction_non_alphanumeric': 0.11617900172117039, 'fraction_numerical': 0.021514629948364887, 'mean_word_length': 5.841176470588235, 'pattern_counts': {'":': 0, '<': 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': '629510', 'n_tokens_mistral': 398, 'n_tokens_neox': 372, 'n_words': 110}