<commit_before>import subprocess
from time import time
from random import randint
import os
import re
import sys
from robot.libraries import BuiltIn
from robot.utils import html_escape

class Parallel(object):

    def __init__(self, runner_script):
        self._script = runner_script
        self._processes = []

    def run_parallel_robot(self, test_name, *args):<commit_msg>parallel: Add possibility to define constants in Parallel library import<commit_after>import subprocess
from time import time
from random import randint
import os
import re
import sys
from robot.libraries import BuiltIn
from robot.utils import html_escape

class Parallel(object):

    def __init__(self, runner_script, *variables):
        self._script = runner_script
        self._variables = variables
        self._processes = []

    def run_parallel_robot(self, test_name, *args):
        args = list(args)
        for var in self._variables:
            args = ['--variable', var]+args
{'fraction_non_alphanumeric': 0.06885919835560124, 'fraction_numerical': 0.0, 'mean_word_length': 3.7980295566502464, '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': '7190374', 'n_tokens_mistral': 264, 'n_tokens_neox': 259, 'n_words': 92}