<commit_before>from membrane import Membrane, Proxy
from rt import Wait

def test_membrane():
    m1 = Membrane.create()
    m1.transport = {'protocol': 'null',
                    'membrane': m1}
    m2 = Membrane.create()
    m2.transport = {'protocol': 'null',
                    'membrane': m1}
    m1 << 'start'
    m2 << 'start'

    w = Wait.create()
    actor1 = Wait.create()
    actor2 = Wait.create()

    m2 << {'get_uid': actor2,
           'reply_to': w}
    u2 = w.act()['uid']

    m1 << {'create_proxy': u2,
           'transport': {'protocol': 'null',
                         'membrane': m2},
           'reply_to': w}
    proxy = w.act()['proxy']
    proxy << {'foo': 5,<commit_msg>Fix bug in test<commit_after>from membrane import Membrane, Proxy
from rt import Wait

def test_membrane():
    m1 = Membrane.create()
    m1.transport = {'protocol': 'null',
                    'membrane': m1}
    m2 = Membrane.create()
    m2.transport = {'protocol': 'null',
                    'membrane': m2}
    m1 << 'start'
    m2 << 'start'

    w = Wait.create()
    actor1 = Wait.create()
    actor2 = Wait.create()

    m2 << {'get_uid': actor2,
           'reply_to': w}
    u2 = w.act()['uid']

    m1 << {'create_proxy': u2,
           'transport': {'protocol': 'null',
                         'membrane': m2},
           'reply_to': w}
    proxy = w.act()['proxy']
    proxy << {'foo': 5,
{'fraction_non_alphanumeric': 0.171875, 'fraction_numerical': 0.024147727272727272, 'mean_word_length': 1.9476987447698744, 'pattern_counts': {'":': 0, '<': 23, '<?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': '7113220', 'n_tokens_mistral': 496, 'n_tokens_neox': 463, 'n_words': 116}