<commit_before># Runs a given number of the Python message producer Docker containers
# as background processes
param([int]$count, [int]$max_messages)



For ($i=1; $i -le $count; $i++)
{
    Start-Job -Name producer_$i -ScriptBlock {
        param([int]$j, [int]$messages)
#        docker run --rm --name producer_$j --network container:activemq_1 python-message-producer -b user:password@localhost:5672 -t some_topic -m $messages
        docker run --rm --name producer_$j --network container:activemq_1 python-message-producer -b user:password@localhost:5672 -q some_queue -m $messages
    } -Arg $i,$max_messages
}
<commit_msg>Subject parameter added to script call<commit_after># Runs a given number of the Python message producer Docker containers
# as background processes
param([int]$count, [int]$max_messages)

For ($i=1; $i -le $count; $i++)
{
    Start-Job -Name producer_$i -ScriptBlock {
        param([int]$j, [int]$messages)
        docker run --rm --name producer_$j --network container:activemq_1 python-message-producer -b user:password@localhost:5672 -t some_topic -m $messages -s producer_$j
#        docker run --rm --name producer_$j --network container:activemq_1 python-message-producer -b user:password@localhost:5672 -q some_queue -m $messages -s producer_$j
    } -Arg $i,$max_messages
}

{'fraction_non_alphanumeric': 0.12775665399239544, 'fraction_numerical': 0.016730038022813688, 'mean_word_length': 4.022900763358779, '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': '952304', 'n_tokens_mistral': 420, 'n_tokens_neox': 403, 'n_words': 127}