id
int64 0
9k
| prompt
stringlengths 265
3.32k
| answer
stringclasses 14
values | pythoncode
stringlengths 267
3.32k
| num_nodes
int64 3
10
| num_edges
int64 3
53
| avg_node_edge
float64 1
5.3
| graph_density
float64 0.11
1
| num_classes
int64 2
10
| avg_node_class
float64 1
5
| max_num_field
int64 1
10
| min_num_field
int64 1
5
| avg_num_field
float64 1
7.6
| path_length
int64 3
10
| max_node_visits
int64 1
6
| max_edge_visits
int64 1
5
| unique_node_number
int64 2
10
| path_node_coverage
float64 0.2
1
| unique_edge_number
int64 2
10
| path_edge_coverage
float64 0.04
1
| num_cycle
int64 0
9
| shortest_cycle
int64 2
8
⌀ | longest_cycle
int64 2
10
⌀ | average_cycle
float64 2
8
⌀ | unique_edge_label
int64 1
9
| max_label_occurrences
int64 1
10
| max_label_consecutive
int64 1
10
| max_node_outdegree
int64 1
4
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
100 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
h = B("h")
a.v = b
b.s = h
b.z = a
h.s = b
h.z = a
assert a.v.z.v.txt == " | b" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
h = B("h")
a.v = b
b.s = h
b.z = a
h.s = b
h.z = a
assert a.v.z.v.txt == "b" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
101 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
e = A("e")
g = B("g")
m = A("m")
k = B("k")
c = A("c")
n = B("n")
a = B("a")
e.p = n
g.q = n
m.p = a
k.q = g
c.p = a
n.q = g
a.q = k
assert k.q.q.q.q.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
e = A("e")
g = B("g")
m = A("m")
k = B("k")
c = A("c")
n = B("n")
a = B("a")
e.p = n
g.q = n
m.p = a
k.q = g
c.p = a
n.q = g
a.q = k
assert k.q.q.q.q.q.txt == "g" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.428571 | 3 | 0.428571 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
102 | class A:
def __init__(self, txt: str):
self.v: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
f = A("f")
n = B("n")
j = B("j")
h = A("h")
i = A("i")
e = A("e")
c = B("c")
k = B("k")
d = B("d")
f.v = e
f.t = k
n.t = f
j.t = i
h.v = e
h.t = k
i.v = f
i.t = k
e.v = h
e.t = d
c.t = i
k.t = f
d.t = e
assert f.t.t.t.t.t.t.t.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
f = A("f")
n = B("n")
j = B("j")
h = A("h")
i = A("i")
e = A("e")
c = B("c")
k = B("k")
d = B("d")
f.v = e
f.t = k
n.t = f
j.t = i
h.v = e
h.t = k
i.v = f
i.t = k
e.v = h
e.t = d
c.t = i
k.t = f
d.t = e
assert f.t.t.t.t.t.t.t.txt == "k" | 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 4 | 4 | 2 | 0.222222 | 2 | 0.153846 | 6 | 2 | 6 | 3.333333 | 1 | 7 | 7 | 1 |
103 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
e = A("e")
f = B("f")
b = A("b")
k = B("k")
h = B("h")
d = B("d")
a = B("a")
e.o = b
f.x = b
f.v = a
b.o = e
k.x = e
k.v = d
h.x = b
h.v = a
d.x = e
d.v = f
a.x = e
a.v = f
assert h.v.x.o.o.o.o.txt == " | e" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
e = A("e")
f = B("f")
b = A("b")
k = B("k")
h = B("h")
d = B("d")
a = B("a")
e.o = b
f.x = b
f.v = a
b.o = e
k.x = e
k.v = d
h.x = b
h.v = a
d.x = e
d.v = f
a.x = e
a.v = f
assert h.v.x.o.o.o.o.txt == "e" | 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.571429 | 4 | 0.333333 | 3 | 2 | 4 | 2.5 | 3 | 4 | 4 | 1 |
104 | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
g = B("g")
f = B("f")
n = A("n")
i = B("i")
b = B("b")
h = B("h")
e = B("e")
c = A("c")
j = A("j")
a.t = e
a.w = f
g.y = i
f.y = g
n.t = i
n.w = f
i.y = b
b.y = e
h.y = b
e.y = f
c.t = g
c.w = f
j.t = b
j.w = h
assert a.w.y.y.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
g = B("g")
f = B("f")
n = A("n")
i = B("i")
b = B("b")
h = B("h")
e = B("e")
c = A("c")
j = A("j")
a.t = e
a.w = f
g.y = i
f.y = g
n.t = i
n.w = f
i.y = b
b.y = e
h.y = b
e.y = f
c.t = g
c.w = f
j.t = b
j.w = h
assert a.w.y.y.txt == "i" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.214286 | 0 | null | null | null | 2 | 2 | 2 | 1 |
105 | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.o: A = None
self.txt = txt
e = A("e")
j = B("j")
b = B("b")
m = B("m")
i = B("i")
f = A("f")
a = A("a")
c = A("c")
k = B("k")
d = B("d")
e.y = a
e.p = f
j.w = f
j.o = f
b.w = c
b.o = f
m.w = f
m.o = f
i.w = c
i.o = e
f.y = a
f.p = e
a.y = c
a.p = e
c.y = e
c.p = f
k.w = c
k.o = c
d.w = f
d.o = e
assert i.w.p.y.p.p.y.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.o: A = None
self.txt = txt
e = A("e")
j = B("j")
b = B("b")
m = B("m")
i = B("i")
f = A("f")
a = A("a")
c = A("c")
k = B("k")
d = B("d")
e.y = a
e.p = f
j.w = f
j.o = f
b.w = c
b.o = f
m.w = f
m.o = f
i.w = c
i.o = e
f.y = a
f.p = e
a.y = c
a.p = e
c.y = e
c.p = f
k.w = c
k.o = c
d.w = f
d.o = e
assert i.w.p.y.p.p.y.p.txt == "e" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 2 | 2 | 7 | 2 | 2 | 5 | 0.5 | 5 | 0.294118 | 3 | 3 | 3 | 3 | 3 | 4 | 2 | 1 |
106 | class A:
def __init__(self, txt: str):
self.t: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
c = A("c")
m = B("m")
j = B("j")
k = A("k")
f = A("f")
c.t = j
c.q = k
m.t = j
j.t = m
k.t = j
k.q = c
f.t = m
f.q = c
assert k.t.t.t.t.t.txt == " | j" | class A:
def __init__(self, txt: str):
self.t: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
c = A("c")
m = B("m")
j = B("j")
k = A("k")
f = A("f")
c.t = j
c.q = k
m.t = j
j.t = m
k.t = j
k.q = c
f.t = m
f.q = c
assert k.t.t.t.t.t.txt == "j" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.375 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
107 | class A:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
d = A("d")
l = A("l")
a = B("a")
c = B("c")
f.p = i
f.x = a
j.y = c
i.p = d
i.x = a
d.p = i
d.x = a
l.p = i
l.x = j
a.y = c
c.y = a
assert d.p.x.y.y.y.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
d = A("d")
l = A("l")
a = B("a")
c = B("c")
f.p = i
f.x = a
j.y = c
i.p = d
i.x = a
d.p = i
d.x = a
l.p = i
l.x = j
a.y = c
c.y = a
assert d.p.x.y.y.y.y.txt == "a" | 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.571429 | 4 | 0.363636 | 3 | 2 | 4 | 2.5 | 3 | 4 | 4 | 1 |
108 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
b = A("b")
j = B("j")
c = A("c")
m = A("m")
d = B("d")
h = A("h")
b.y = d
j.z = d
j.s = c
c.y = d
m.y = j
d.z = j
d.s = h
h.y = d
assert m.y.z.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
b = A("b")
j = B("j")
c = A("c")
m = A("m")
d = B("d")
h = A("h")
b.y = d
j.z = d
j.s = c
c.y = d
m.y = j
d.z = j
d.s = h
h.y = d
assert m.y.z.s.txt == "h" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.666667 | 3 | 0.375 | 0 | null | null | null | 3 | 1 | 1 | 1 |
109 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: B = None
self.txt = txt
d = A("d")
h = B("h")
m = B("m")
d.w = m
h.o = d
h.p = m
m.o = d
m.p = h
assert m.p.p.p.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: B = None
self.txt = txt
d = A("d")
h = B("h")
m = B("m")
d.w = m
h.o = d
h.p = m
m.o = d
m.p = h
assert m.p.p.p.txt == "h" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
110 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
j = B("j")
b = B("b")
f.q = j
j.v = f
b.v = f
assert f.q.v.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
j = B("j")
b = B("b")
f.q = j
j.v = f
b.v = f
assert f.q.v.q.txt == "j" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
111 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
m = B("m")
b = A("b")
f = A("f")
j.s = m
m.y = b
b.s = m
f.s = m
assert j.s.y.s.txt == " | m" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
m = B("m")
b = A("b")
f = A("f")
j.s = m
m.y = b
b.s = m
f.s = m
assert j.s.y.s.txt == "m" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
112 | class A:
def __init__(self, txt: str):
self.v: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
a = B("a")
i = A("i")
d.v = a
d.s = a
a.t = d
i.v = a
i.s = a
assert i.v.t.v.txt == " | a" | class A:
def __init__(self, txt: str):
self.v: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
a = B("a")
i = A("i")
d.v = a
d.s = a
a.t = d
i.v = a
i.s = a
assert i.v.t.v.txt == "a" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
113 | class A:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
n = A("n")
c = B("c")
h = B("h")
g = B("g")
f = A("f")
j = B("j")
k = A("k")
d = B("d")
l = A("l")
b = A("b")
n.t = h
n.z = g
c.v = h
c.z = d
h.v = c
h.z = j
g.v = c
g.z = c
f.t = h
f.z = h
j.v = c
j.z = d
k.t = j
k.z = c
d.v = c
d.z = c
l.t = h
l.z = d
b.t = j
b.z = g
assert d.z.v.z.v.z.v.v.v.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
n = A("n")
c = B("c")
h = B("h")
g = B("g")
f = A("f")
j = B("j")
k = A("k")
d = B("d")
l = A("l")
b = A("b")
n.t = h
n.z = g
c.v = h
c.z = d
h.v = c
h.z = j
g.v = c
g.z = c
f.t = h
f.z = h
j.v = c
j.z = d
k.t = j
k.z = c
d.v = c
d.z = c
l.t = h
l.z = d
b.t = j
b.z = g
assert d.z.v.z.v.z.v.v.v.z.txt == "d" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 2 | 2 | 9 | 4 | 2 | 4 | 0.4 | 7 | 0.411765 | 6 | 2 | 9 | 4.6 | 2 | 5 | 3 | 2 |
114 | class A:
def __init__(self, txt: str):
self.t: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.v: A = None
self.txt = txt
m = A("m")
d = B("d")
f = B("f")
g = A("g")
e = A("e")
j = B("j")
c = A("c")
k = A("k")
m.t = d
m.y = c
d.x = f
d.v = c
f.x = d
f.v = e
g.t = d
g.y = m
e.t = f
e.y = k
j.x = d
j.v = e
c.t = d
c.y = e
k.t = d
k.y = c
assert e.y.y.t.v.t.txt == " | d" | class A:
def __init__(self, txt: str):
self.t: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.v: A = None
self.txt = txt
m = A("m")
d = B("d")
f = B("f")
g = A("g")
e = A("e")
j = B("j")
c = A("c")
k = A("k")
m.t = d
m.y = c
d.x = f
d.v = c
f.x = d
f.v = e
g.t = d
g.y = m
e.t = f
e.y = k
j.x = d
j.v = e
c.t = d
c.y = e
k.t = d
k.y = c
assert e.y.y.t.v.t.txt == "d" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.25 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 1 |
115 | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
g = A("g")
b = B("b")
j = A("j")
c = A("c")
i = B("i")
n = B("n")
k = A("k")
h = B("h")
m = B("m")
e = A("e")
g.w = i
g.s = e
b.t = i
j.w = h
j.s = c
c.w = h
c.s = g
i.t = b
n.t = b
k.w = n
k.s = e
h.t = b
m.t = b
e.w = m
e.s = j
assert c.w.t.t.t.t.t.t.t.txt == " | b" | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
g = A("g")
b = B("b")
j = A("j")
c = A("c")
i = B("i")
n = B("n")
k = A("k")
h = B("h")
m = B("m")
e = A("e")
g.w = i
g.s = e
b.t = i
j.w = h
j.s = c
c.w = h
c.s = g
i.t = b
n.t = b
k.w = n
k.s = e
h.t = b
m.t = b
e.w = m
e.s = j
assert c.w.t.t.t.t.t.t.t.txt == "b" | 10 | 15 | 1.5 | 0.166667 | 2 | 5 | 2 | 1 | 1.5 | 8 | 4 | 3 | 4 | 0.4 | 4 | 0.266667 | 5 | 2 | 6 | 3.111111 | 2 | 7 | 7 | 1 |
116 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
m = A("m")
h = B("h")
d = B("d")
c = A("c")
m.o = d
h.o = d
d.o = h
c.o = d
assert m.o.o.o.o.txt == " | h" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
m = A("m")
h = B("h")
d = B("d")
c = A("c")
m.o = d
h.o = d
d.o = h
c.o = d
assert m.o.o.o.o.txt == "h" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
117 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
k = A("k")
d = B("d")
a = A("a")
i = B("i")
g = B("g")
k.r = a
d.x = i
a.r = k
i.x = d
g.x = i
assert g.x.x.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
k = A("k")
d = B("d")
a = A("a")
i = B("i")
g = B("g")
k.r = a
d.x = i
a.r = k
i.x = d
g.x = i
assert g.x.x.x.txt == "i" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.6 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
118 | class A:
def __init__(self, txt: str):
self.q: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
i = A("i")
e = B("e")
j = A("j")
k = A("k")
b = B("b")
d = A("d")
f = B("f")
g = A("g")
h = A("h")
i.q = e
i.p = j
e.x = h
j.q = f
j.p = g
k.q = f
k.p = i
b.x = k
d.q = f
d.p = j
f.x = j
g.q = f
g.p = h
h.q = b
h.p = i
assert b.x.p.q.x.p.q.x.q.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
i = A("i")
e = B("e")
j = A("j")
k = A("k")
b = B("b")
d = A("d")
f = B("f")
g = A("g")
h = A("h")
i.q = e
i.p = j
e.x = h
j.q = f
j.p = g
k.q = f
k.p = i
b.x = k
d.q = f
d.p = j
f.x = j
g.q = f
g.p = h
h.q = b
h.p = i
assert b.x.p.q.x.p.q.x.q.txt == "b" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 1 | 1.5 | 8 | 2 | 2 | 5 | 0.555556 | 6 | 0.4 | 4 | 3 | 8 | 4.25 | 3 | 3 | 1 | 2 |
119 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: B = None
self.txt = txt
d = A("d")
i = B("i")
c = A("c")
f = A("f")
e = B("e")
m = A("m")
n = A("n")
l = A("l")
d.q = m
i.x = l
i.t = e
c.q = m
f.q = l
e.x = l
e.t = i
m.q = d
n.q = m
l.q = d
assert l.q.q.q.q.q.q.q.q.txt == " | m" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: B = None
self.txt = txt
d = A("d")
i = B("i")
c = A("c")
f = A("f")
e = B("e")
m = A("m")
n = A("n")
l = A("l")
d.q = m
i.x = l
i.t = e
c.q = m
f.q = l
e.x = l
e.t = i
m.q = d
n.q = m
l.q = d
assert l.q.q.q.q.q.q.q.q.txt == "m" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 8 | 4 | 4 | 3 | 0.375 | 3 | 0.3 | 6 | 2 | 6 | 3.333333 | 1 | 8 | 8 | 1 |
120 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
g = A("g")
j = B("j")
m = A("m")
h = A("h")
b = A("b")
e = A("e")
d = A("d")
c = A("c")
i = B("i")
g.p = c
j.u = i
j.x = i
m.p = d
h.p = e
b.p = e
e.p = c
d.p = e
c.p = g
i.u = j
i.x = j
assert b.p.p.p.p.p.p.p.p.p.txt == " | g" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
g = A("g")
j = B("j")
m = A("m")
h = A("h")
b = A("b")
e = A("e")
d = A("d")
c = A("c")
i = B("i")
g.p = c
j.u = i
j.x = i
m.p = d
h.p = e
b.p = e
e.p = c
d.p = e
c.p = g
i.u = j
i.x = j
assert b.p.p.p.p.p.p.p.p.p.txt == "g" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 2 | 1 | 1.5 | 9 | 4 | 4 | 4 | 0.444444 | 4 | 0.444444 | 6 | 2 | 6 | 3.333333 | 1 | 9 | 9 | 1 |
121 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
b = B("b")
a = B("a")
m = A("m")
k = B("k")
c = B("c")
h.w = m
b.s = m
a.s = m
m.w = h
k.s = m
c.s = h
assert h.w.w.w.w.w.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
b = B("b")
a = B("a")
m = A("m")
k = B("k")
c = B("c")
h.w = m
b.s = m
a.s = m
m.w = h
k.s = m
c.s = h
assert h.w.w.w.w.w.w.txt == "h" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 6 | 4 | 3 | 2 | 0.333333 | 2 | 0.333333 | 5 | 2 | 6 | 3.111111 | 1 | 6 | 6 | 1 |
122 | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
m = A("m")
a = B("a")
n = B("n")
j = A("j")
g = B("g")
f = A("f")
m.r = a
m.y = j
a.x = m
a.r = g
n.x = m
n.r = g
j.r = a
j.y = f
g.x = m
g.r = a
f.r = g
f.y = m
assert g.x.r.r.x.r.x.txt == " | m" | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
m = A("m")
a = B("a")
n = B("n")
j = A("j")
g = B("g")
f = A("f")
m.r = a
m.y = j
a.x = m
a.r = g
n.x = m
n.r = g
j.r = a
j.y = f
g.x = m
g.r = a
f.r = g
f.y = m
assert g.x.r.r.x.r.x.txt == "m" | 6 | 12 | 2 | 0.4 | 2 | 3 | 2 | 2 | 2 | 6 | 3 | 2 | 3 | 0.5 | 4 | 0.333333 | 4 | 2 | 5 | 3.2 | 2 | 3 | 2 | 2 |
123 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
l = A("l")
a = B("a")
h = B("h")
l.t = a
a.w = l
h.w = l
assert l.t.w.t.txt == " | a" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
l = A("l")
a = B("a")
h = B("h")
l.t = a
a.w = l
h.w = l
assert l.t.w.t.txt == "a" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
124 | class A:
def __init__(self, txt: str):
self.z: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
l = A("l")
g = B("g")
a = B("a")
b = A("b")
n = A("n")
l.z = n
l.x = n
g.p = l
a.p = b
b.z = n
b.x = n
n.z = l
n.x = b
assert b.x.x.x.z.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
l = A("l")
g = B("g")
a = B("a")
b = A("b")
n = A("n")
l.z = n
l.x = n
g.p = l
a.p = b
b.z = n
b.x = n
n.z = l
n.x = b
assert b.x.x.x.z.txt == "l" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.5 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
125 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
i = B("i")
g = B("g")
j = A("j")
h.w = g
i.r = j
g.r = j
j.w = g
assert i.r.w.r.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
i = B("i")
g = B("g")
j = A("j")
h.w = g
i.r = j
g.r = j
j.w = g
assert i.r.w.r.w.txt == "g" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
126 | class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
e = A("e")
j = A("j")
h = B("h")
d = B("d")
c = A("c")
g = A("g")
n = B("n")
l = A("l")
a.p = n
a.u = h
f.r = d
f.w = h
e.p = h
e.u = f
j.p = n
j.u = f
h.r = f
h.w = n
d.r = f
d.w = h
c.p = f
c.u = n
g.p = f
g.u = h
n.r = h
n.w = h
l.p = d
l.u = h
assert c.u.r.w.r.r.r.w.r.w.w.txt == " | n" | class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
e = A("e")
j = A("j")
h = B("h")
d = B("d")
c = A("c")
g = A("g")
n = B("n")
l = A("l")
a.p = n
a.u = h
f.r = d
f.w = h
e.p = h
e.u = f
j.p = n
j.u = f
h.r = f
h.w = n
d.r = f
d.w = h
c.p = f
c.u = n
g.p = f
g.u = h
n.r = h
n.w = h
l.p = d
l.u = h
assert c.u.r.w.r.r.r.w.r.w.w.txt == "n" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 10 | 4 | 2 | 5 | 0.5 | 7 | 0.368421 | 6 | 2 | 9 | 4.5 | 3 | 5 | 3 | 2 |
127 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.p: A = None
self.txt = txt
n = A("n")
g = B("g")
l = B("l")
f = B("f")
m = B("m")
a = A("a")
e = A("e")
b = A("b")
n.q = e
g.y = e
g.p = a
l.y = e
l.p = n
f.y = a
f.p = b
m.y = b
m.p = a
a.q = e
e.q = a
b.q = n
assert e.q.q.q.q.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.p: A = None
self.txt = txt
n = A("n")
g = B("g")
l = B("l")
f = B("f")
m = B("m")
a = A("a")
e = A("e")
b = A("b")
n.q = e
g.y = e
g.p = a
l.y = e
l.p = n
f.y = a
f.p = b
m.y = b
m.p = a
a.q = e
e.q = a
b.q = n
assert e.q.q.q.q.q.q.q.txt == "a" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 7 | 4 | 4 | 2 | 0.25 | 2 | 0.166667 | 6 | 2 | 6 | 3.333333 | 1 | 7 | 7 | 1 |
128 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
j = B("j")
c = B("c")
f = B("f")
d = B("d")
h = A("h")
m = A("m")
g = A("g")
k.z = m
j.q = c
c.q = d
f.q = d
d.q = f
h.z = m
m.z = k
g.z = m
assert g.z.z.z.z.z.z.txt == " | k" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
j = B("j")
c = B("c")
f = B("f")
d = B("d")
h = A("h")
m = A("m")
g = A("g")
k.z = m
j.q = c
c.q = d
f.q = d
d.q = f
h.z = m
m.z = k
g.z = m
assert g.z.z.z.z.z.z.txt == "k" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.375 | 3 | 0.375 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
129 | class A:
def __init__(self, txt: str):
self.p: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
f = A("f")
i = B("i")
k = A("k")
f.p = k
f.u = k
i.t = k
k.p = f
k.u = f
assert i.t.p.p.txt == " | k" | class A:
def __init__(self, txt: str):
self.p: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
f = A("f")
i = B("i")
k = A("k")
f.p = k
f.u = k
i.t = k
k.p = f
k.u = f
assert i.t.p.p.txt == "k" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
130 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
e = A("e")
n = B("n")
j = B("j")
a = B("a")
k = B("k")
b = A("b")
f = B("f")
e.x = j
n.r = j
n.t = e
j.r = f
j.t = e
a.r = k
a.t = b
k.r = j
k.t = b
b.x = k
f.r = n
f.t = b
assert a.r.t.x.t.x.t.x.txt == " | k" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
e = A("e")
n = B("n")
j = B("j")
a = B("a")
k = B("k")
b = A("b")
f = B("f")
e.x = j
n.r = j
n.t = e
j.r = f
j.t = e
a.r = k
a.t = b
k.r = j
k.t = b
b.x = k
f.r = n
f.t = b
assert a.r.t.x.t.x.t.x.txt == "k" | 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.428571 | 3 | 0.25 | 5 | 2 | 6 | 3.111111 | 3 | 3 | 1 | 1 |
131 | class A:
def __init__(self, txt: str):
self.p: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
n = B("n")
m = B("m")
c = B("c")
b = B("b")
k = B("k")
g = A("g")
d = B("d")
l = B("l")
f = A("f")
i.p = m
i.v = l
n.p = m
m.p = c
c.p = b
b.p = k
k.p = d
g.p = c
g.v = m
d.p = b
l.p = k
f.p = d
f.v = k
assert i.v.p.p.p.p.p.txt == " | d" | class A:
def __init__(self, txt: str):
self.p: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
n = B("n")
m = B("m")
c = B("c")
b = B("b")
k = B("k")
g = A("g")
d = B("d")
l = B("l")
f = A("f")
i.p = m
i.v = l
n.p = m
m.p = c
c.p = b
b.p = k
k.p = d
g.p = c
g.v = m
d.p = b
l.p = k
f.p = d
f.v = k
assert i.v.p.p.p.p.p.txt == "d" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 6 | 2 | 2 | 5 | 0.5 | 5 | 0.384615 | 2 | 3 | 3 | 3 | 2 | 5 | 5 | 1 |
132 | class A:
def __init__(self, txt: str):
self.p: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
l = A("l")
k = B("k")
g = B("g")
l.p = k
l.v = g
k.u = l
g.u = l
assert g.u.v.u.txt == " | l" | class A:
def __init__(self, txt: str):
self.p: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
l = A("l")
k = B("k")
g = B("g")
l.p = k
l.v = g
k.u = l
g.u = l
assert g.u.v.u.txt == "l" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
133 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
a = B("a")
n = B("n")
e.y = a
a.q = e
n.q = e
assert n.q.y.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
a = B("a")
n = B("n")
e.y = a
a.q = e
n.q = e
assert n.q.y.q.txt == "e" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
134 | class A:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
k = A("k")
a = B("a")
d = A("d")
c = A("c")
n = B("n")
b = A("b")
k.w = d
k.p = b
a.p = k
d.w = c
d.p = b
c.w = k
c.p = k
n.p = c
b.w = d
b.p = d
assert n.p.p.w.p.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
k = A("k")
a = B("a")
d = A("d")
c = A("c")
n = B("n")
b = A("b")
k.w = d
k.p = b
a.p = k
d.w = c
d.p = b
c.w = k
c.p = k
n.p = c
b.w = d
b.p = d
assert n.p.p.w.p.w.txt == "d" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 0.833333 | 5 | 0.625 | 1 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
135 | class A:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
e = A("e")
f = B("f")
d = A("d")
e.t = f
e.u = d
f.s = e
d.t = f
d.u = e
assert f.s.t.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
e = A("e")
f = B("f")
d = A("d")
e.t = f
e.u = d
f.s = e
d.t = f
d.u = e
assert f.s.t.s.txt == "e" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
136 | class A:
def __init__(self, txt: str):
self.t: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
n = A("n")
a = B("a")
k = B("k")
b = B("b")
j = A("j")
l = B("l")
e = A("e")
m = B("m")
g = B("g")
c = A("c")
n.t = k
n.y = g
a.y = e
a.s = j
k.y = e
k.s = j
b.y = j
b.s = n
j.t = m
j.y = b
l.y = e
l.s = n
e.t = k
e.y = a
m.y = j
m.s = n
g.y = n
g.s = e
c.t = a
c.y = a
assert l.y.y.s.t.y.t.y.t.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.t: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
n = A("n")
a = B("a")
k = B("k")
b = B("b")
j = A("j")
l = B("l")
e = A("e")
m = B("m")
g = B("g")
c = A("c")
n.t = k
n.y = g
a.y = e
a.s = j
k.y = e
k.s = j
b.y = j
b.s = n
j.t = m
j.y = b
l.y = e
l.s = n
e.t = k
e.y = a
m.y = j
m.s = n
g.y = n
g.s = e
c.t = a
c.y = a
assert l.y.y.s.t.y.t.y.t.y.txt == "j" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 9 | 4 | 3 | 5 | 0.5 | 5 | 0.263158 | 5 | 2 | 6 | 3.111111 | 3 | 5 | 2 | 1 |
137 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
n = A("n")
f = B("f")
m = B("m")
a = A("a")
i = A("i")
j = A("j")
c = A("c")
n.p = f
f.p = j
m.p = a
a.p = m
i.p = f
j.p = f
c.p = m
assert n.p.p.p.p.p.p.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
n = A("n")
f = B("f")
m = B("m")
a = A("a")
i = A("i")
j = A("j")
c = A("c")
n.p = f
f.p = j
m.p = a
a.p = m
i.p = f
j.p = f
c.p = m
assert n.p.p.p.p.p.p.txt == "j" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.428571 | 3 | 0.428571 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
138 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
n = A("n")
d = B("d")
f = A("f")
c = B("c")
a = B("a")
m = A("m")
l = B("l")
i = B("i")
e = A("e")
h = B("h")
n.r = a
d.p = c
d.v = f
f.r = c
c.p = a
c.v = n
a.p = d
a.v = m
m.r = l
l.p = a
l.v = n
i.p = h
i.v = n
e.r = l
h.p = i
h.v = f
assert n.r.v.r.v.r.p.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
n = A("n")
d = B("d")
f = A("f")
c = B("c")
a = B("a")
m = A("m")
l = B("l")
i = B("i")
e = A("e")
h = B("h")
n.r = a
d.p = c
d.v = f
f.r = c
c.p = a
c.v = n
a.p = d
a.v = m
m.r = l
l.p = a
l.v = n
i.p = h
i.v = n
e.r = l
h.p = i
h.v = f
assert n.r.v.r.v.r.p.txt == "d" | 10 | 16 | 1.6 | 0.177778 | 2 | 5 | 2 | 1 | 1.5 | 6 | 2 | 2 | 5 | 0.5 | 5 | 0.3125 | 2 | 4 | 4 | 4 | 3 | 3 | 1 | 2 |
139 | class A:
def __init__(self, txt: str):
self.x: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
e = A("e")
c = B("c")
f = B("f")
n = A("n")
j = B("j")
h = A("h")
a = A("a")
l = A("l")
k = B("k")
e.x = c
e.q = h
c.t = h
f.t = l
n.x = j
n.q = e
j.t = h
h.x = c
h.q = a
a.x = j
a.q = l
l.x = j
l.q = h
k.t = h
assert e.q.q.x.t.x.t.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
e = A("e")
c = B("c")
f = B("f")
n = A("n")
j = B("j")
h = A("h")
a = A("a")
l = A("l")
k = B("k")
e.x = c
e.q = h
c.t = h
f.t = l
n.x = j
n.q = e
j.t = h
h.x = c
h.q = a
a.x = j
a.q = l
l.x = j
l.q = h
k.t = h
assert e.q.q.x.t.x.t.q.txt == "a" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 3 | 2 | 5 | 0.555556 | 6 | 0.428571 | 3 | 2 | 5 | 3.75 | 3 | 3 | 2 | 2 |
140 | class A:
def __init__(self, txt: str):
self.r: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
n = A("n")
d = B("d")
m = B("m")
g = B("g")
h = A("h")
l = B("l")
b = A("b")
n.r = d
n.q = d
d.s = l
d.o = n
m.s = l
m.o = b
g.s = d
g.o = h
h.r = m
h.q = l
l.s = d
l.o = b
b.r = d
b.q = l
assert g.o.q.o.r.s.s.o.txt == " | n" | class A:
def __init__(self, txt: str):
self.r: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
n = A("n")
d = B("d")
m = B("m")
g = B("g")
h = A("h")
l = B("l")
b = A("b")
n.r = d
n.q = d
d.s = l
d.o = n
m.s = l
m.o = b
g.s = d
g.o = h
h.r = m
h.q = l
l.s = d
l.o = b
b.r = d
b.q = l
assert g.o.q.o.r.s.s.o.txt == "n" | 7 | 13 | 1.857143 | 0.309524 | 2 | 3.5 | 2 | 2 | 2 | 7 | 2 | 1 | 6 | 0.857143 | 7 | 0.538462 | 2 | 2 | 3 | 2.5 | 4 | 3 | 2 | 2 |
141 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
m = A("m")
b = B("b")
j = B("j")
d = A("d")
m.r = j
b.y = j
j.y = b
d.r = b
assert j.y.y.y.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
m = A("m")
b = B("b")
j = B("j")
d = A("d")
m.r = j
b.y = j
j.y = b
d.r = b
assert j.y.y.y.y.txt == "j" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
142 | class A:
def __init__(self, txt: str):
self.x: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
a = B("a")
e.x = a
e.v = a
g.y = a
g.v = a
a.y = g
a.v = g
assert e.v.y.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
a = B("a")
e.x = a
e.v = a
g.y = a
g.v = a
a.y = g
a.v = g
assert e.v.y.y.txt == "a" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
143 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
l = A("l")
g = B("g")
i = A("i")
a = B("a")
l.y = i
g.u = a
g.w = i
i.y = l
a.u = g
a.w = i
assert g.w.y.y.y.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
l = A("l")
g = B("g")
i = A("i")
a = B("a")
l.y = i
g.u = a
g.w = i
i.y = l
a.u = g
a.w = i
assert g.w.y.y.y.txt == "l" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.5 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
144 | class A:
def __init__(self, txt: str):
self.p: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
i = B("i")
f = A("f")
m.p = i
m.z = i
i.p = m
f.p = i
f.z = i
assert i.p.z.p.txt == " | m" | class A:
def __init__(self, txt: str):
self.p: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
i = B("i")
f = A("f")
m.p = i
m.z = i
i.p = m
f.p = i
f.z = i
assert i.p.z.p.txt == "m" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
145 | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.x: A = None
self.txt = txt
c = A("c")
h = B("h")
f = A("f")
k = A("k")
b = A("b")
i = A("i")
g = B("g")
n = B("n")
a = A("a")
d = A("d")
c.o = h
c.q = b
h.y = g
h.x = b
f.o = n
f.q = b
k.o = h
k.q = d
b.o = h
b.q = k
i.o = g
i.q = a
g.y = n
g.x = i
n.y = h
n.x = k
a.o = h
a.q = i
d.o = h
d.q = k
assert h.y.x.q.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.x: A = None
self.txt = txt
c = A("c")
h = B("h")
f = A("f")
k = A("k")
b = A("b")
i = A("i")
g = B("g")
n = B("n")
a = A("a")
d = A("d")
c.o = h
c.q = b
h.y = g
h.x = b
f.o = n
f.q = b
k.o = h
k.q = d
b.o = h
b.q = k
i.o = g
i.q = a
g.y = n
g.x = i
n.y = h
n.x = k
a.o = h
a.q = i
d.o = h
d.q = k
assert h.y.x.q.q.txt == "i" | 10 | 20 | 2 | 0.222222 | 2 | 5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.4 | 4 | 0.2 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 1 |
146 | class A:
def __init__(self, txt: str):
self.r: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.v: B = None
self.txt = txt
c = A("c")
e = B("e")
l = B("l")
k = A("k")
a = B("a")
d = A("d")
i = B("i")
b = B("b")
c.r = a
c.p = i
e.s = d
e.v = l
l.s = d
l.v = i
k.r = e
k.p = l
a.s = k
a.v = i
d.r = l
d.p = b
i.s = d
i.v = a
b.s = d
b.v = a
assert k.p.s.r.v.s.p.txt == " | b" | class A:
def __init__(self, txt: str):
self.r: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.v: B = None
self.txt = txt
c = A("c")
e = B("e")
l = B("l")
k = A("k")
a = B("a")
d = A("d")
i = B("i")
b = B("b")
c.r = a
c.p = i
e.s = d
e.v = l
l.s = d
l.v = i
k.r = e
k.p = l
a.s = k
a.v = i
d.r = l
d.p = b
i.s = d
i.v = a
b.s = d
b.v = a
assert k.p.s.r.v.s.p.txt == "b" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 6 | 2 | 1 | 5 | 0.625 | 6 | 0.375 | 2 | 2 | 3 | 2.5 | 4 | 2 | 1 | 2 |
147 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
i = A("i")
m = B("m")
a = B("a")
e = A("e")
b = B("b")
h = A("h")
l = B("l")
i.o = l
m.t = a
m.v = h
a.t = m
a.v = i
e.o = a
b.t = a
b.v = e
h.o = a
l.t = a
l.v = h
assert l.t.v.o.txt == " | l" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
i = A("i")
m = B("m")
a = B("a")
e = A("e")
b = B("b")
h = A("h")
l = B("l")
i.o = l
m.t = a
m.v = h
a.t = m
a.v = i
e.o = a
b.t = a
b.v = e
h.o = a
l.t = a
l.v = h
assert l.t.v.o.txt == "l" | 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.428571 | 3 | 0.272727 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
148 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
d = A("d")
b = B("b")
n = A("n")
d.y = n
b.q = d
b.w = n
n.y = d
assert d.y.y.y.txt == " | n" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
d = A("d")
b = B("b")
n = A("n")
d.y = n
b.q = d
b.w = n
n.y = d
assert d.y.y.y.txt == "n" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
149 | class A:
def __init__(self, txt: str):
self.s: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: A = None
self.txt = txt
b = A("b")
a = B("a")
m = A("m")
l = B("l")
c = A("c")
j = A("j")
h = A("h")
g = B("g")
i = A("i")
n = B("n")
b.s = a
b.y = j
a.z = g
a.t = i
m.s = a
m.y = h
l.z = g
l.t = i
c.s = n
c.y = i
j.s = n
j.y = b
h.s = n
h.y = c
g.z = l
g.t = b
i.s = a
i.y = j
n.z = g
n.t = b
assert i.y.y.s.t.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: A = None
self.txt = txt
b = A("b")
a = B("a")
m = A("m")
l = B("l")
c = A("c")
j = A("j")
h = A("h")
g = B("g")
i = A("i")
n = B("n")
b.s = a
b.y = j
a.z = g
a.t = i
m.s = a
m.y = h
l.z = g
l.t = i
c.s = n
c.y = i
j.s = n
j.y = b
h.s = n
h.y = c
g.z = l
g.t = b
i.s = a
i.y = j
n.z = g
n.t = b
assert i.y.y.s.t.y.txt == "j" | 10 | 20 | 2 | 0.222222 | 2 | 5 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.4 | 4 | 0.2 | 2 | 4 | 4 | 4 | 3 | 3 | 2 | 1 |
150 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
m = A("m")
g = B("g")
j = A("j")
m.y = g
g.t = j
j.y = g
assert j.y.t.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
m = A("m")
g = B("g")
j = A("j")
m.y = g
g.t = j
j.y = g
assert j.y.t.y.txt == "g" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
151 | class A:
def __init__(self, txt: str):
self.o: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
a = A("a")
j = B("j")
d = B("d")
k = B("k")
n = A("n")
i = A("i")
e = B("e")
b = A("b")
a.o = n
a.s = d
j.u = i
j.z = a
d.u = n
d.z = a
k.u = a
k.z = b
n.o = i
n.s = e
i.o = a
i.s = e
e.u = i
e.z = a
b.o = a
b.s = d
assert j.z.s.z.s.u.s.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
a = A("a")
j = B("j")
d = B("d")
k = B("k")
n = A("n")
i = A("i")
e = B("e")
b = A("b")
a.o = n
a.s = d
j.u = i
j.z = a
d.u = n
d.z = a
k.u = a
k.z = b
n.o = i
n.s = e
i.o = a
i.s = e
e.u = i
e.z = a
b.o = a
b.s = d
assert j.z.s.z.s.u.s.u.txt == "i" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 7 | 2 | 2 | 6 | 0.75 | 6 | 0.375 | 2 | 2 | 2 | 2 | 3 | 3 | 1 | 2 |
152 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
d = B("d")
g = B("g")
b = B("b")
e.y = d
i.s = e
i.q = b
c.y = b
d.s = c
d.q = g
g.s = c
g.q = d
b.s = c
b.q = i
assert c.y.q.q.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
d = B("d")
g = B("g")
b = B("b")
e.y = d
i.s = e
i.q = b
c.y = b
d.s = c
d.q = g
g.s = c
g.q = d
b.s = c
b.q = i
assert c.y.q.q.txt == "b" | 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
153 | class A:
def __init__(self, txt: str):
self.x: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: B = None
self.txt = txt
c = A("c")
l = B("l")
a = A("a")
m = A("m")
j = B("j")
i = A("i")
k = A("k")
c.x = j
c.v = l
l.u = j
l.z = j
a.x = j
a.v = j
m.x = j
m.v = j
j.u = l
j.z = l
i.x = j
i.v = j
k.x = l
k.v = j
assert j.z.u.u.z.z.u.u.txt == " | l" | class A:
def __init__(self, txt: str):
self.x: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: B = None
self.txt = txt
c = A("c")
l = B("l")
a = A("a")
m = A("m")
j = B("j")
i = A("i")
k = A("k")
c.x = j
c.v = l
l.u = j
l.z = j
a.x = j
a.v = j
m.x = j
m.v = j
j.u = l
j.z = l
i.x = j
i.v = j
k.x = l
k.v = j
assert j.z.u.u.z.z.u.u.txt == "l" | 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 2 | 2 | 7 | 4 | 2 | 2 | 0.285714 | 4 | 0.444444 | 6 | 2 | 6 | 3.333333 | 2 | 4 | 2 | 2 |
154 | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
f = A("f")
b = B("b")
i = B("i")
k = B("k")
j = A("j")
g = B("g")
m = B("m")
e = A("e")
f.y = g
f.u = m
b.x = k
b.w = e
i.x = b
i.w = e
k.x = b
k.w = f
j.y = i
j.u = i
g.x = b
g.w = f
m.x = k
m.w = j
e.y = g
e.u = m
assert e.u.x.x.x.x.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
f = A("f")
b = B("b")
i = B("i")
k = B("k")
j = A("j")
g = B("g")
m = B("m")
e = A("e")
f.y = g
f.u = m
b.x = k
b.w = e
i.x = b
i.w = e
k.x = b
k.w = f
j.y = i
j.u = i
g.x = b
g.w = f
m.x = k
m.w = j
e.y = g
e.u = m
assert e.u.x.x.x.x.w.txt == "e" | 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 6 | 2 | 2 | 4 | 0.5 | 5 | 0.333333 | 3 | 2 | 6 | 3.333333 | 3 | 4 | 4 | 2 |
155 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
b = A("b")
l = B("l")
a = A("a")
m = B("m")
b.x = m
l.p = a
l.z = b
a.x = l
m.p = a
m.z = a
assert l.p.x.z.x.txt == " | m" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
b = A("b")
l = B("l")
a = A("a")
m = B("m")
b.x = m
l.p = a
l.z = b
a.x = l
m.p = a
m.z = a
assert l.p.x.z.x.txt == "m" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 1 | 4 | 0.8 | 1 | 2 | 2 | 2 | 3 | 2 | 1 | 2 |
156 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
l = A("l")
a = B("a")
n = A("n")
i = B("i")
c = A("c")
e = B("e")
h = A("h")
g = B("g")
l.q = h
a.u = n
n.q = c
i.u = c
c.q = n
e.u = c
h.q = c
g.u = c
assert l.q.q.q.q.q.q.q.q.txt == " | c" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
l = A("l")
a = B("a")
n = A("n")
i = B("i")
c = A("c")
e = B("e")
h = A("h")
g = B("g")
l.q = h
a.u = n
n.q = c
i.u = c
c.q = n
e.u = c
h.q = c
g.u = c
assert l.q.q.q.q.q.q.q.q.txt == "c" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 8 | 4 | 3 | 4 | 0.5 | 4 | 0.5 | 5 | 2 | 6 | 3.111111 | 1 | 8 | 8 | 1 |
157 | class A:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
b = A("b")
m = B("m")
e = B("e")
i.s = h
i.q = j
j.q = e
j.o = b
h.s = i
h.q = m
b.s = i
b.q = j
m.q = j
m.o = i
e.q = j
e.o = h
assert h.q.o.q.q.q.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
b = A("b")
m = B("m")
e = B("e")
i.s = h
i.q = j
j.q = e
j.o = b
h.s = i
h.q = m
b.s = i
b.q = j
m.q = j
m.o = i
e.q = j
e.o = h
assert h.q.o.q.q.q.q.txt == "e" | 6 | 12 | 2 | 0.4 | 2 | 3 | 2 | 2 | 2 | 6 | 2 | 2 | 5 | 0.833333 | 5 | 0.416667 | 2 | 2 | 2 | 2 | 2 | 5 | 4 | 1 |
158 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.x: B = None
self.txt = txt
m = A("m")
h = B("h")
i = B("i")
d = B("d")
e = B("e")
a = A("a")
c = A("c")
m.q = a
h.t = i
h.x = e
i.t = d
i.x = d
d.t = h
d.x = i
e.t = h
e.x = h
a.q = m
c.q = a
assert e.x.t.t.t.t.t.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.x: B = None
self.txt = txt
m = A("m")
h = B("h")
i = B("i")
d = B("d")
e = B("e")
a = A("a")
c = A("c")
m.q = a
h.t = i
h.x = e
i.t = d
i.x = d
d.t = h
d.x = i
e.t = h
e.x = h
a.q = m
c.q = a
assert e.x.t.t.t.t.t.x.txt == "i" | 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 1 | 1.5 | 7 | 3 | 2 | 4 | 0.571429 | 5 | 0.555556 | 4 | 2 | 5 | 3.2 | 2 | 5 | 5 | 2 |
159 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
c = A("c")
g = B("g")
e = A("e")
d = B("d")
n = A("n")
a = A("a")
l = B("l")
h = A("h")
f = A("f")
m = A("m")
c.z = f
c.y = l
g.w = l
e.z = m
e.y = d
d.w = l
n.z = a
n.y = l
a.z = c
a.y = g
l.w = g
h.z = a
h.y = l
f.z = e
f.y = d
m.z = h
m.y = g
assert c.z.y.w.w.w.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
c = A("c")
g = B("g")
e = A("e")
d = B("d")
n = A("n")
a = A("a")
l = B("l")
h = A("h")
f = A("f")
m = A("m")
c.z = f
c.y = l
g.w = l
e.z = m
e.y = d
d.w = l
n.z = a
n.y = l
a.z = c
a.y = g
l.w = g
h.z = a
h.y = l
f.z = e
f.y = d
m.z = h
m.y = g
assert c.z.y.w.w.w.w.txt == "g" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 1 | 1.5 | 6 | 2 | 2 | 5 | 0.5 | 5 | 0.294118 | 2 | 2 | 2 | 2 | 3 | 4 | 4 | 1 |
160 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
m = A("m")
k = B("k")
i = A("i")
c = A("c")
j = B("j")
n = A("n")
l = A("l")
a = A("a")
f = A("f")
m.y = k
k.v = n
i.y = k
c.y = j
j.v = l
n.y = j
l.y = k
a.y = k
f.y = j
assert c.y.v.y.v.y.v.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
m = A("m")
k = B("k")
i = A("i")
c = A("c")
j = B("j")
n = A("n")
l = A("l")
a = A("a")
f = A("f")
m.y = k
k.v = n
i.y = k
c.y = j
j.v = l
n.y = j
l.y = k
a.y = k
f.y = j
assert c.y.v.y.v.y.v.txt == "l" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 6 | 2 | 2 | 5 | 0.555556 | 5 | 0.555556 | 2 | 4 | 4 | 4 | 2 | 3 | 1 | 1 |
161 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
c = A("c")
i = B("i")
b = B("b")
j = A("j")
e = A("e")
d = B("d")
g = B("g")
a = B("a")
c.p = e
i.s = a
i.p = j
b.s = a
b.p = c
j.p = c
e.p = j
d.s = g
d.p = c
g.s = a
g.p = e
a.s = i
a.p = e
assert j.p.p.p.p.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
c = A("c")
i = B("i")
b = B("b")
j = A("j")
e = A("e")
d = B("d")
g = B("g")
a = B("a")
c.p = e
i.s = a
i.p = j
b.s = a
b.p = c
j.p = c
e.p = j
d.s = g
d.p = c
g.s = a
g.p = e
a.s = i
a.p = e
assert j.p.p.p.p.p.txt == "e" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 2 | 3 | 0.375 | 3 | 0.230769 | 3 | 3 | 3 | 3 | 1 | 5 | 5 | 1 |
162 | class A:
def __init__(self, txt: str):
self.z: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
c = A("c")
f = B("f")
l = A("l")
g = B("g")
h = A("h")
e = A("e")
i = B("i")
j = A("j")
c.z = e
c.p = h
f.x = l
l.z = j
l.p = e
g.x = j
h.z = j
h.p = j
e.z = l
e.p = h
i.x = h
j.z = c
j.p = h
assert e.z.p.p.z.txt == " | j" | class A:
def __init__(self, txt: str):
self.z: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
c = A("c")
f = B("f")
l = A("l")
g = B("g")
h = A("h")
e = A("e")
i = B("i")
j = A("j")
c.z = e
c.p = h
f.x = l
l.z = j
l.p = e
g.x = j
h.z = j
h.p = j
e.z = l
e.p = h
i.x = h
j.z = c
j.p = h
assert e.z.p.p.z.txt == "j" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.333333 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
163 | class A:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
g = B("g")
a = B("a")
n = B("n")
h = A("h")
b = A("b")
c = B("c")
m = B("m")
f = B("f")
e = B("e")
d.o = h
d.t = f
g.p = h
a.p = b
n.p = h
h.o = b
h.t = n
b.o = h
b.t = f
c.p = d
m.p = h
f.p = h
e.p = d
assert n.p.t.p.t.p.t.p.txt == " | h" | class A:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
g = B("g")
a = B("a")
n = B("n")
h = A("h")
b = A("b")
c = B("c")
m = B("m")
f = B("f")
e = B("e")
d.o = h
d.t = f
g.p = h
a.p = b
n.p = h
h.o = b
h.t = n
b.o = h
b.t = f
c.p = d
m.p = h
f.p = h
e.p = d
assert n.p.t.p.t.p.t.p.txt == "h" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 7 | 4 | 4 | 2 | 0.2 | 2 | 0.153846 | 6 | 2 | 6 | 3.333333 | 2 | 4 | 1 | 1 |
164 | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
m = A("m")
n = B("n")
i = B("i")
e = A("e")
d = B("d")
f = A("f")
l = A("l")
g = B("g")
m.w = n
m.o = e
n.z = e
i.z = e
e.w = n
e.o = l
d.z = m
f.w = d
f.o = e
l.w = g
l.o = e
g.z = e
assert m.o.w.z.w.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
m = A("m")
n = B("n")
i = B("i")
e = A("e")
d = B("d")
f = A("f")
l = A("l")
g = B("g")
m.w = n
m.o = e
n.z = e
i.z = e
e.w = n
e.o = l
d.z = m
f.w = d
f.o = e
l.w = g
l.o = e
g.z = e
assert m.o.w.z.w.z.txt == "e" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.375 | 3 | 0.25 | 3 | 2 | 4 | 2.5 | 3 | 2 | 1 | 1 |
165 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
k = B("k")
n = B("n")
a = B("a")
e = B("e")
g = B("g")
l = B("l")
h = A("h")
f = B("f")
m.y = h
k.p = m
n.p = h
a.p = h
e.p = h
g.p = h
l.p = h
h.y = m
f.p = m
assert a.p.y.y.y.y.y.y.y.txt == " | m" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
k = B("k")
n = B("n")
a = B("a")
e = B("e")
g = B("g")
l = B("l")
h = A("h")
f = B("f")
m.y = h
k.p = m
n.p = h
a.p = h
e.p = h
g.p = h
l.p = h
h.y = m
f.p = m
assert a.p.y.y.y.y.y.y.y.txt == "m" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 8 | 4 | 4 | 3 | 0.333333 | 3 | 0.333333 | 6 | 2 | 6 | 3.333333 | 2 | 7 | 7 | 1 |
166 | class A:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
l = A("l")
g = A("g")
i = B("i")
j.x = i
j.s = f
f.s = a
a.s = f
l.x = f
l.s = a
g.x = f
g.s = a
i.s = a
assert j.x.s.s.s.s.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
l = A("l")
g = A("g")
i = B("i")
j.x = i
j.s = f
f.s = a
a.s = f
l.x = f
l.s = a
g.x = f
g.s = a
i.s = a
assert j.x.s.s.s.s.txt == "f" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.666667 | 4 | 0.444444 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
167 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
a = B("a")
l = A("l")
g = B("g")
d = B("d")
b = B("b")
f.z = l
f.y = l
a.s = d
l.z = f
l.y = f
g.s = d
d.s = b
b.s = a
assert a.s.s.s.s.s.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
a = B("a")
l = A("l")
g = B("g")
d = B("d")
b = B("b")
f.z = l
f.y = l
a.s = d
l.z = f
l.y = f
g.s = d
d.s = b
b.s = a
assert a.s.s.s.s.s.s.txt == "a" | 6 | 6 | 1 | 0.2 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 2 | 3 | 0.5 | 3 | 0.5 | 4 | 3 | 6 | 3.6 | 1 | 6 | 6 | 1 |
168 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
f = A("f")
d = B("d")
n = A("n")
l = A("l")
g = A("g")
a.o = b
b.z = d
c.o = b
f.o = d
d.z = b
n.o = d
l.o = d
g.o = d
assert l.o.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
f = A("f")
d = B("d")
n = A("n")
l = A("l")
g = A("g")
a.o = b
b.z = d
c.o = b
f.o = d
d.z = b
n.o = d
l.o = d
g.o = d
assert l.o.z.z.z.txt == "b" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.375 | 3 | 0.375 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
169 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
h = A("h")
f = B("f")
a = A("a")
h.w = f
f.r = a
f.z = h
a.w = f
assert h.w.r.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
h = A("h")
f = B("f")
a = A("a")
h.w = f
f.r = a
f.z = h
a.w = f
assert h.w.r.w.txt == "f" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
170 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.txt = txt
k = A("k")
g = B("g")
c = B("c")
l = B("l")
j = A("j")
d = B("d")
k.u = c
g.o = d
g.w = c
c.o = d
c.w = l
l.o = c
l.w = g
j.u = d
d.o = c
d.w = c
assert j.u.w.w.w.w.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.txt = txt
k = A("k")
g = B("g")
c = B("c")
l = B("l")
j = A("j")
d = B("d")
k.u = c
g.o = d
g.w = c
c.o = d
c.w = l
l.o = c
l.w = g
j.u = d
d.o = c
d.w = c
assert j.u.w.w.w.w.o.txt == "d" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 6 | 2 | 1 | 5 | 0.833333 | 6 | 0.666667 | 2 | 3 | 5 | 4 | 3 | 4 | 4 | 2 |
171 | class A:
def __init__(self, txt: str):
self.x: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
h = A("h")
k = B("k")
c = A("c")
b = A("b")
m = B("m")
j = A("j")
g = A("g")
e = A("e")
d = B("d")
f = A("f")
h.x = g
h.q = d
k.z = c
c.x = g
c.q = m
b.x = g
b.q = m
m.z = c
j.x = b
j.q = d
g.x = j
g.q = k
e.x = h
e.q = k
d.z = b
f.x = g
f.q = k
assert h.q.z.x.txt == " | g" | class A:
def __init__(self, txt: str):
self.x: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
h = A("h")
k = B("k")
c = A("c")
b = A("b")
m = B("m")
j = A("j")
g = A("g")
e = A("e")
d = B("d")
f = A("f")
h.x = g
h.q = d
k.z = c
c.x = g
c.q = m
b.x = g
b.q = m
m.z = c
j.x = b
j.q = d
g.x = j
g.q = k
e.x = h
e.q = k
d.z = b
f.x = g
f.q = k
assert h.q.z.x.txt == "g" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.176471 | 0 | null | null | null | 3 | 1 | 1 | 1 |
172 | class A:
def __init__(self, txt: str):
self.p: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
d = A("d")
g = A("g")
f = B("f")
i = A("i")
m = A("m")
b = B("b")
h.p = e
h.o = f
e.r = d
d.p = e
d.o = f
g.p = e
g.o = b
f.r = m
i.p = b
i.o = e
m.p = b
m.o = e
b.r = d
assert d.o.r.o.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.p: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
d = A("d")
g = A("g")
f = B("f")
i = A("i")
m = A("m")
b = B("b")
h.p = e
h.o = f
e.r = d
d.p = e
d.o = f
g.p = e
g.o = b
f.r = m
i.p = b
i.o = e
m.p = b
m.o = e
b.r = d
assert d.o.r.o.r.txt == "d" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.307692 | 1 | 4 | 4 | 4 | 2 | 2 | 1 | 1 |
173 | class A:
def __init__(self, txt: str):
self.w: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
i = A("i")
j = B("j")
f = B("f")
e = B("e")
b = A("b")
i.w = b
i.q = j
j.x = i
j.u = b
f.x = i
f.u = i
e.x = i
e.u = b
b.w = i
b.q = j
assert i.q.x.w.q.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.w: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
i = A("i")
j = B("j")
f = B("f")
e = B("e")
b = A("b")
i.w = b
i.q = j
j.x = i
j.u = b
f.x = i
f.u = i
e.x = i
e.u = b
b.w = i
b.q = j
assert i.q.x.w.q.u.txt == "b" | 5 | 9 | 1.8 | 0.45 | 2 | 2.5 | 2 | 2 | 2 | 5 | 2 | 1 | 3 | 0.6 | 5 | 0.555556 | 3 | 2 | 3 | 2.333333 | 4 | 2 | 1 | 2 |
174 | class A:
def __init__(self, txt: str):
self.w: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: A = None
self.txt = txt
m = A("m")
b = B("b")
i = A("i")
a = B("a")
k = B("k")
m.w = a
m.y = k
b.t = m
b.w = m
i.w = b
i.y = b
a.t = m
a.w = i
k.t = i
k.w = i
assert m.w.w.w.w.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.w: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: A = None
self.txt = txt
m = A("m")
b = B("b")
i = A("i")
a = B("a")
k = B("k")
m.w = a
m.y = k
b.t = m
b.w = m
i.w = b
i.y = b
a.t = m
a.w = i
k.t = i
k.w = i
assert m.w.w.w.w.w.txt == "a" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.571429 | 2 | 4 | 4 | 4 | 1 | 5 | 5 | 1 |
175 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.u: A = None
self.txt = txt
m = A("m")
b = B("b")
n = A("n")
d = A("d")
i = A("i")
a = B("a")
m.v = i
b.y = i
b.u = d
n.v = m
d.v = n
i.v = m
a.y = n
a.u = m
assert b.y.v.v.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.u: A = None
self.txt = txt
m = A("m")
b = B("b")
n = A("n")
d = A("d")
i = A("i")
a = B("a")
m.v = i
b.y = i
b.u = d
n.v = m
d.v = n
i.v = m
a.y = n
a.u = m
assert b.y.v.v.txt == "i" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
176 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
l = B("l")
c = A("c")
e = A("e")
b = B("b")
h = A("h")
n = B("n")
k = B("k")
m = B("m")
d = B("d")
a.w = e
l.y = n
c.w = h
e.w = h
b.y = k
h.w = a
n.y = k
k.y = l
m.y = d
d.y = m
assert n.y.y.y.y.y.y.y.y.txt == " | l" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
l = B("l")
c = A("c")
e = A("e")
b = B("b")
h = A("h")
n = B("n")
k = B("k")
m = B("m")
d = B("d")
a.w = e
l.y = n
c.w = h
e.w = h
b.y = k
h.w = a
n.y = k
k.y = l
m.y = d
d.y = m
assert n.y.y.y.y.y.y.y.y.txt == "l" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 8 | 3 | 3 | 3 | 0.3 | 3 | 0.3 | 6 | 3 | 6 | 4 | 1 | 8 | 8 | 1 |
177 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
m = A("m")
j = B("j")
i = A("i")
k = A("k")
e = B("e")
m.w = k
j.x = e
i.w = k
k.w = i
e.x = j
assert e.x.x.x.x.x.txt == " | j" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
m = A("m")
j = B("j")
i = A("i")
k = A("k")
e = B("e")
m.w = k
j.x = e
i.w = k
k.w = i
e.x = j
assert e.x.x.x.x.x.txt == "j" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.4 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
178 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
j.q = f
f.q = j
f.w = j
a.q = j
a.w = j
assert f.q.q.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
j.q = f
f.q = j
f.w = j
a.q = j
a.w = j
assert f.q.q.q.txt == "j" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
179 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
d = A("d")
m = B("m")
j = B("j")
e = B("e")
n = A("n")
a = B("a")
d.p = n
m.o = j
j.o = e
e.o = j
n.p = d
a.o = m
assert j.o.o.o.o.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
d = A("d")
m = B("m")
j = B("j")
e = B("e")
n = A("n")
a = B("a")
d.p = n
m.o = j
j.o = e
e.o = j
n.p = d
a.o = m
assert j.o.o.o.o.txt == "j" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.333333 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
180 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
d = A("d")
g = B("g")
j = A("j")
a = B("a")
b = A("b")
m = A("m")
f = A("f")
k = B("k")
d.p = g
g.p = f
g.y = d
j.p = k
a.p = m
a.y = f
b.p = g
m.p = g
f.p = g
k.p = j
k.y = m
assert a.p.p.y.p.y.p.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
d = A("d")
g = B("g")
j = A("j")
a = B("a")
b = A("b")
m = A("m")
f = A("f")
k = B("k")
d.p = g
g.p = f
g.y = d
j.p = k
a.p = m
a.y = f
b.p = g
m.p = g
f.p = g
k.p = j
k.y = m
assert a.p.p.y.p.y.p.y.txt == "d" | 8 | 11 | 1.375 | 0.196429 | 2 | 4 | 2 | 1 | 1.5 | 7 | 3 | 3 | 4 | 0.5 | 4 | 0.363636 | 4 | 2 | 4 | 2.666667 | 2 | 4 | 2 | 1 |
181 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
m = A("m")
e = B("e")
i = B("i")
f = A("f")
j = B("j")
d = A("d")
m.u = d
e.z = j
i.z = e
f.u = d
j.z = e
d.u = m
assert e.z.z.z.txt == " | j" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
m = A("m")
e = B("e")
i = B("i")
f = A("f")
j = B("j")
d = A("d")
m.u = d
e.z = j
i.z = e
f.u = d
j.z = e
d.u = m
assert e.z.z.z.txt == "j" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.333333 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
182 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.x: A = None
self.txt = txt
h = A("h")
f = B("f")
c = A("c")
h.w = c
f.s = c
f.x = h
c.w = h
assert h.w.w.w.txt == " | c" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.x: A = None
self.txt = txt
h = A("h")
f = B("f")
c = A("c")
h.w = c
f.s = c
f.x = h
c.w = h
assert h.w.w.w.txt == "c" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
183 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
j = B("j")
e = A("e")
k = A("k")
d = A("d")
g = B("g")
h.v = j
j.u = h
e.v = g
k.v = j
d.v = g
g.u = h
assert k.v.u.v.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
j = B("j")
e = A("e")
k = A("k")
d = A("d")
g = B("g")
h.v = j
j.u = h
e.v = g
k.v = j
d.v = g
g.u = h
assert k.v.u.v.u.txt == "h" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
184 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.y: A = None
self.txt = txt
i = A("i")
e = B("e")
m = B("m")
k = B("k")
j = A("j")
h = B("h")
c = B("c")
b = A("b")
i.z = j
e.t = c
e.y = j
m.t = h
m.y = b
k.t = h
k.y = i
j.z = i
h.t = m
h.y = j
c.t = e
c.y = b
b.z = i
assert m.y.z.z.z.txt == " | i" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.y: A = None
self.txt = txt
i = A("i")
e = B("e")
m = B("m")
k = B("k")
j = A("j")
h = B("h")
c = B("c")
b = A("b")
i.z = j
e.t = c
e.y = j
m.t = h
m.y = b
k.t = h
k.y = i
j.z = i
h.t = m
h.y = j
c.t = e
c.y = b
b.z = i
assert m.y.z.z.z.txt == "i" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.307692 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
185 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.y: A = None
self.txt = txt
e = A("e")
d = B("d")
n = A("n")
j = A("j")
g = A("g")
e.q = g
d.w = e
d.y = g
n.q = e
j.q = g
g.q = j
assert e.q.q.q.q.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.y: A = None
self.txt = txt
e = A("e")
d = B("d")
n = A("n")
j = A("j")
g = A("g")
e.q = g
d.w = e
d.y = g
n.q = e
j.q = g
g.q = j
assert e.q.q.q.q.q.txt == "g" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
186 | class A:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
k = B("k")
h = B("h")
m = A("m")
n.x = h
n.s = h
k.z = h
h.z = k
m.x = k
m.s = h
assert h.z.z.z.z.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
k = B("k")
h = B("h")
m = A("m")
n.x = h
n.s = h
k.z = h
h.z = k
m.x = k
m.s = h
assert h.z.z.z.z.txt == "h" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
187 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
j = B("j")
i = A("i")
b = B("b")
a.z = i
j.s = i
i.z = a
b.s = a
assert a.z.z.z.txt == " | i" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
j = B("j")
i = A("i")
b = B("b")
a.z = i
j.s = i
i.z = a
b.s = a
assert a.z.z.z.txt == "i" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
188 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
d = B("d")
b = B("b")
m = B("m")
l = B("l")
n = A("n")
f = A("f")
j = A("j")
c.t = f
d.z = n
b.z = c
m.z = f
l.z = f
n.t = j
f.t = j
j.t = c
assert c.t.t.t.txt == " | c" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
d = B("d")
b = B("b")
m = B("m")
l = B("l")
n = A("n")
f = A("f")
j = A("j")
c.t = f
d.z = n
b.z = c
m.z = f
l.z = f
n.t = j
f.t = j
j.t = c
assert c.t.t.t.txt == "c" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.375 | 3 | 0.375 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
189 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
d = A("d")
g = A("g")
j = B("j")
e.w = d
i.s = j
i.u = j
c.w = e
d.w = g
g.w = d
j.s = i
j.u = i
assert j.s.s.u.s.s.txt == " | i" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
d = A("d")
g = A("g")
j = B("j")
e.w = d
i.s = j
i.u = j
c.w = e
d.w = g
g.w = d
j.s = i
j.u = i
assert j.s.s.u.s.s.txt == "i" | 6 | 6 | 1 | 0.2 | 2 | 3 | 2 | 1 | 1.5 | 5 | 3 | 2 | 2 | 0.333333 | 3 | 0.5 | 4 | 2 | 4 | 2.666667 | 2 | 4 | 2 | 2 |
190 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
g = A("g")
a = B("a")
l = B("l")
m = B("m")
d = A("d")
b = A("b")
i = B("i")
n = A("n")
c = B("c")
g.t = m
a.x = i
a.z = l
l.x = i
l.z = i
m.x = i
m.z = i
d.t = a
b.t = a
i.x = m
i.z = a
n.t = l
c.x = a
c.z = l
assert c.x.z.x.x.z.x.z.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
g = A("g")
a = B("a")
l = B("l")
m = B("m")
d = A("d")
b = A("b")
i = B("i")
n = A("n")
c = B("c")
g.t = m
a.x = i
a.z = l
l.x = i
l.z = i
m.x = i
m.z = i
d.t = a
b.t = a
i.x = m
i.z = a
n.t = l
c.x = a
c.z = l
assert c.x.z.x.x.z.x.z.txt == "i" | 9 | 12 | 1.333333 | 0.166667 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 3 | 2 | 5 | 0.555556 | 5 | 0.416667 | 3 | 2 | 4 | 2.5 | 2 | 4 | 2 | 1 |
191 | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
b = A("b")
m = B("m")
g = A("g")
b.t = m
b.s = m
m.z = g
g.t = m
g.s = m
assert m.z.s.z.txt == " | g" | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
b = A("b")
m = B("m")
g = A("g")
b.t = m
b.s = m
m.z = g
g.t = m
g.s = m
assert m.z.s.z.txt == "g" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
192 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
n = A("n")
k = B("k")
e = B("e")
d = A("d")
a = A("a")
f = B("f")
n.t = a
k.y = f
e.y = f
d.t = n
a.t = d
f.y = e
assert n.t.t.t.t.txt == " | a" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
n = A("n")
k = B("k")
e = B("e")
d = A("d")
a = A("a")
f = B("f")
n.t = a
k.y = f
e.y = f
d.t = n
a.t = d
f.y = e
assert n.t.t.t.t.txt == "a" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.5 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
193 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
h = A("h")
f = A("f")
j = B("j")
i.v = h
g.s = a
g.u = j
a.s = j
a.u = j
h.v = f
f.v = h
j.s = a
j.u = a
assert f.v.v.v.v.v.txt == " | h" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
h = A("h")
f = A("f")
j = B("j")
i.v = h
g.s = a
g.u = j
a.s = j
a.u = j
h.v = f
f.v = h
j.s = a
j.u = a
assert f.v.v.v.v.v.txt == "h" | 6 | 7 | 1.166667 | 0.233333 | 2 | 3 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.333333 | 2 | 0.285714 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
194 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
k = A("k")
n = B("n")
m = B("m")
h = A("h")
l = A("l")
d = A("d")
c = A("c")
a = B("a")
i = A("i")
k.p = m
n.q = i
m.q = l
h.p = n
l.p = n
d.p = a
c.p = n
a.q = l
i.p = a
assert i.p.q.p.txt == " | n" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
k = A("k")
n = B("n")
m = B("m")
h = A("h")
l = A("l")
d = A("d")
c = A("c")
a = B("a")
i = A("i")
k.p = m
n.q = i
m.q = l
h.p = n
l.p = n
d.p = a
c.p = n
a.q = l
i.p = a
assert i.p.q.p.txt == "n" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.444444 | 3 | 0.333333 | 0 | null | null | null | 2 | 2 | 1 | 1 |
195 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: B = None
self.txt = txt
j = A("j")
k = B("k")
m = A("m")
h = B("h")
j.w = m
k.x = h
k.u = h
m.w = j
h.x = k
h.u = k
assert h.u.x.x.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: B = None
self.txt = txt
j = A("j")
k = B("k")
m = A("m")
h = B("h")
j.w = m
k.x = h
k.u = h
m.w = j
h.x = k
h.u = k
assert h.u.x.x.u.txt == "h" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 1 | 2 | 0.5 | 4 | 1 | 3 | 2 | 4 | 2.5 | 2 | 2 | 2 | 2 |
196 | class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
h = A("h")
a = B("a")
c = A("c")
f = B("f")
d = A("d")
j = B("j")
i = A("i")
k = A("k")
e = A("e")
h.q = i
h.s = k
a.q = d
c.q = k
c.s = k
f.q = i
d.q = i
d.s = h
j.q = d
i.q = c
i.s = k
k.q = h
k.s = d
e.q = h
e.s = c
assert d.q.q.s.q.q.s.q.s.txt == " | k" | class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
h = A("h")
a = B("a")
c = A("c")
f = B("f")
d = A("d")
j = B("j")
i = A("i")
k = A("k")
e = A("e")
h.q = i
h.s = k
a.q = d
c.q = k
c.s = k
f.q = i
d.q = i
d.s = h
j.q = d
i.q = c
i.s = k
k.q = h
k.s = d
e.q = h
e.s = c
assert d.q.q.s.q.q.s.q.s.txt == "k" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 8 | 3 | 2 | 5 | 0.555556 | 7 | 0.5 | 4 | 2 | 5 | 3.4 | 2 | 5 | 2 | 2 |
197 | class A:
def __init__(self, txt: str):
self.p: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
j = A("j")
b = B("b")
c = A("c")
l = A("l")
j.p = l
j.s = b
b.w = l
c.p = l
c.s = b
l.p = c
l.s = b
assert j.s.w.p.txt == " | c" | class A:
def __init__(self, txt: str):
self.p: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
j = A("j")
b = B("b")
c = A("c")
l = A("l")
j.p = l
j.s = b
b.w = l
c.p = l
c.s = b
l.p = c
l.s = b
assert j.s.w.p.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 1 | 3 | 0.428571 | 0 | null | null | null | 3 | 1 | 1 | 1 |
198 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
f = A("f")
n = B("n")
g = B("g")
f.v = g
n.w = g
n.s = f
g.w = n
g.s = f
assert g.w.s.v.txt == " | g" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
f = A("f")
n = B("n")
g = B("g")
f.v = g
n.w = g
n.s = f
g.w = n
g.s = f
assert g.w.s.v.txt == "g" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
199 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
c = A("c")
d = B("d")
g = B("g")
e = B("e")
f = A("f")
k = B("k")
a = A("a")
m = B("m")
l = A("l")
j = B("j")
c.y = f
d.t = g
g.t = m
e.t = g
f.y = c
k.t = e
a.y = c
m.t = j
l.y = c
j.t = e
assert c.y.y.y.y.y.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
c = A("c")
d = B("d")
g = B("g")
e = B("e")
f = A("f")
k = B("k")
a = A("a")
m = B("m")
l = A("l")
j = B("j")
c.y = f
d.t = g
g.t = m
e.t = g
f.y = c
k.t = e
a.y = c
m.t = j
l.y = c
j.t = e
assert c.y.y.y.y.y.y.y.y.txt == "c" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 8 | 5 | 4 | 2 | 0.2 | 2 | 0.2 | 7 | 2 | 8 | 3.75 | 1 | 8 | 8 | 1 |