<commit_before>#!/usr/bin/env python
# coding: utf-8


# always use faster native code
import os
os.environ["PYCOIN_NATIVE"] = "openssl"


import sys # NOQA
import time # NOQA
import threading  # NOQA
import binascii  # NOQA
import signal  # NOQA
from storjnet.api import run_swarm  # NOQA
from crochet import setup  # NOQA
from twisted.python import log  # NOQA


# start twisted via crochet and remove twisted handler
setup()
signal.signal(signal.SIGINT, signal.default_int_handler)


# log.startLogging(sys.stdout)


if __name__ == "__main__":
    run_swarm(size=50, net_start_port=6000, rpc_start_port=5000)
<commit_msg>test with quasar depth of 1 to test hops<commit_after>#!/usr/bin/env python
# coding: utf-8


# always use faster native code
import os
os.environ["PYCOIN_NATIVE"] = "openssl"


import sys # NOQA
import time # NOQA
import threading  # NOQA
import binascii  # NOQA
import signal  # NOQA
from storjnet.api import run_swarm  # NOQA
from crochet import setup  # NOQA
from twisted.python import log  # NOQA


# start twisted via crochet and remove twisted handler
setup()
signal.signal(signal.SIGINT, signal.default_int_handler)


# log.startLogging(sys.stdout)


if __name__ == "__main__":
    run_swarm(size=50, net_start_port=6000,
              rpc_start_port=5000, quasar_depth=1)

{'fraction_non_alphanumeric': 0.08735632183908046, 'fraction_numerical': 0.01839080459770115, 'mean_word_length': 4.487394957983193, 'pattern_counts': {'":': 2, '<': 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': '3965855', 'n_tokens_mistral': 489, 'n_tokens_neox': 439, 'n_words': 131}