<commit_before>#!/usr/bin/python3

import argparse
import csv
import io
import subprocess
import sys
import time
import urllib.parse

FLOOD_SIZE_MB = 32
FLOOD_MAX_SPEED_MB = 5

LATENCY_MS = 150

parser = argparse.ArgumentParser(
    description='Measure SOCKS proxy throughput across browser versions.')
parser.add_argument('clone_path', help='path to pre-built uproxy-lib repo')
args = parser.parse_args()<commit_msg>add link to justification for latency value<commit_after>#!/usr/bin/python3

import argparse
import csv
import io
import subprocess
import sys
import time
import urllib.parse

FLOOD_SIZE_MB = 32
FLOOD_MAX_SPEED_MB = 5

# https://github.com/uProxy/uproxy-docker/pull/26
LATENCY_MS = 150

parser = argparse.ArgumentParser(
    description='Measure SOCKS proxy throughput across browser versions.')
parser.add_argument('clone_path', help='path to pre-built uproxy-lib repo')
args = parser.parse_args()
{'fraction_non_alphanumeric': 0.08733624454148471, 'fraction_numerical': 0.017467248908296942, 'mean_word_length': 5.693430656934306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '1863546', 'n_tokens_mistral': 319, 'n_tokens_neox': 296, 'n_words': 82}