<commit_before>
import timetracker
import time


def main(x):

    tt = timetracker.TimeTracker("001-netperf-data-exchange")
    # print('message')
    print('Starting campaign 001-netperf-data-exchange')
    print(tt.get_campaign_runtime()[0])

    # check if all required nodes are up, if at least one fails test will stop
    x.exec('001-alive alpha')
    x.exec('001-alive beta')
    x.exec('001-alive koppa')

    # clean running interfering processes
    # clean tmp data /tmp/net-applet-shuffler/*
    # clean possible qdiscs
    x.exec('007-kill alpha')
    x.exec('007-kill beta')
    # only qdisc logs should be on koppa
    x.exec('007-kill koppa')

    # make sure the dumbbell configuration is active
    # also sets up basic routing (default gateways)
    x.exec('009-network setup:dumbbell alpha beta')

    # save syscall, no-op when already done
    x.exec('002-save-sysctls alpha')
    x.exec('002-save-sysctls beta')
    x.exec('002-save-sysctls koppa')

    # restore sysctls to initial default<commit_msg>removing blank line<commit_after>
import timetracker
import time


def main(x):
    tt = timetracker.TimeTracker("001-netperf-data-exchange")
    # print('message')
    print('Starting campaign 001-netperf-data-exchange')
    print(tt.get_campaign_runtime()[0])

    # check if all required nodes are up, if at least one fails test will stop
    x.exec('001-alive alpha')
    x.exec('001-alive beta')
    x.exec('001-alive koppa')

    # clean running interfering processes
    # clean tmp data /tmp/net-applet-shuffler/*
    # clean possible qdiscs
    x.exec('007-kill alpha')
    x.exec('007-kill beta')
    # only qdisc logs should be on koppa
    x.exec('007-kill koppa')

    # make sure the dumbbell configuration is active
    # also sets up basic routing (default gateways)
    x.exec('009-network setup:dumbbell alpha beta')

    # save syscall, no-op when already done
    x.exec('002-save-sysctls alpha')
    x.exec('002-save-sysctls beta')
    x.exec('002-save-sysctls koppa')

    # restore sysctls to initial default
{'fraction_non_alphanumeric': 0.11473018959649976, 'fraction_numerical': 0.03597472046669908, 'mean_word_length': 3.2520661157024793, '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': '2877984', 'n_tokens_mistral': 747, 'n_tokens_neox': 659, 'n_words': 189}