id
int64 0
25k
| prompt
stringlengths 265
3.39k
| answer
stringclasses 14
values | pythoncode
stringlengths 267
3.39k
| num_nodes
int64 3
10
| num_edges
int64 3
56
| avg_node_edge
float64 1
5.6
| 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.8
| 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
9
⌀ | longest_cycle
int64 2
10
⌀ | average_cycle
float64 2
9
⌀ | unique_edge_label
int64 1
9
| max_label_occurrences
int64 1
10
| max_label_consecutive
int64 1
10
| max_node_outdegree
int64 1
5
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.p: B = None
self.txt = txt
m = A("m")
c = B("c")
b = A("b")
h = B("h")
d = A("d")
m.o = c
c.r = m
c.p = h
b.o = c
h.r = m
h.p = c
d.o = h
assert m.o.p.p.p.p.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.p: B = None
self.txt = txt
m = A("m")
c = B("c")
b = A("b")
h = B("h")
d = A("d")
m.o = c
c.r = m
c.p = h
b.o = c
h.r = m
h.p = c
d.o = h
assert m.o.p.p.p.p.txt == "c" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.428571 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
1 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
e = B("e")
a = A("a")
m = B("m")
h = B("h")
k = B("k")
i.u = m
e.p = h
a.u = h
m.p = h
h.p = e
k.p = h
assert h.p.p.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
e = B("e")
a = A("a")
m = B("m")
h = B("h")
k = B("k")
i.u = m
e.p = h
a.u = h
m.p = h
h.p = e
k.p = h
assert h.p.p.p.txt == "e" | 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 |
2 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.x: B = None
self.txt = txt
n = A("n")
b = B("b")
l = B("l")
m = A("m")
k = B("k")
c = B("c")
e = A("e")
h = A("h")
d = A("d")
j = A("j")
n.q = d
b.o = n
b.x = l
l.o = n
l.x = k
m.q = h
k.o = n
k.x = l
c.o = d
c.x = k
e.q = m
h.q = d
d.q = j
j.q = m
assert c.x.o.q.q.q.q.q.q.q.q.txt == " | h" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.x: B = None
self.txt = txt
n = A("n")
b = B("b")
l = B("l")
m = A("m")
k = B("k")
c = B("c")
e = A("e")
h = A("h")
d = A("d")
j = A("j")
n.q = d
b.o = n
b.x = l
l.o = n
l.x = k
m.q = h
k.o = n
k.x = l
c.o = d
c.x = k
e.q = m
h.q = d
d.q = j
j.q = m
assert c.x.o.q.q.q.q.q.q.q.q.txt == "h" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 10 | 2 | 2 | 7 | 0.7 | 7 | 0.5 | 4 | 4 | 4 | 4 | 3 | 8 | 8 | 1 |
3 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
k = A("k")
a = B("a")
i = B("i")
k.y = i
a.x = k
i.x = k
assert i.x.y.x.txt == " | k" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
k = A("k")
a = B("a")
i = B("i")
k.y = i
a.x = k
i.x = k
assert i.x.y.x.txt == "k" | 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 |
4 | 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.s: A = None
self.txt = txt
d = A("d")
j = B("j")
e = A("e")
d.o = j
d.q = e
j.s = d
e.o = j
e.q = d
assert d.q.o.s.txt == " | d" | 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.s: A = None
self.txt = txt
d = A("d")
j = B("j")
e = A("e")
d.o = j
d.q = e
j.s = d
e.o = j
e.q = d
assert d.q.o.s.txt == "d" | 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 |
5 | class A:
def __init__(self, txt: str):
self.z: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.w: A = None
self.txt = txt
g = A("g")
k = B("k")
d = A("d")
h = A("h")
m = B("m")
e = B("e")
g.z = e
g.x = d
k.r = d
k.w = g
d.z = m
d.x = h
h.z = e
h.x = d
m.r = h
m.w = g
e.r = h
e.w = h
assert h.x.x.x.z.w.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.w: A = None
self.txt = txt
g = A("g")
k = B("k")
d = A("d")
h = A("h")
m = B("m")
e = B("e")
g.z = e
g.x = d
k.r = d
k.w = g
d.z = m
d.x = h
h.z = e
h.x = d
m.r = h
m.w = g
e.r = h
e.w = h
assert h.x.x.x.z.w.z.txt == "e" | 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 6 | 2 | 2 | 5 | 0.833333 | 5 | 0.454545 | 2 | 2 | 2 | 2 | 3 | 3 | 3 | 2 |
6 | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: A = None
self.txt = txt
d = A("d")
j = B("j")
b = B("b")
f = B("f")
g = B("g")
c = B("c")
a = B("a")
d.z = c
d.w = a
j.w = a
j.y = d
b.w = f
b.y = d
f.w = g
f.y = d
g.w = j
g.y = d
c.w = b
c.y = d
a.w = c
a.y = d
assert g.w.y.z.w.y.z.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: A = None
self.txt = txt
d = A("d")
j = B("j")
b = B("b")
f = B("f")
g = B("g")
c = B("c")
a = B("a")
d.z = c
d.w = a
j.w = a
j.y = d
b.w = f
b.y = d
f.w = g
f.y = d
g.w = j
g.y = d
c.w = b
c.y = d
a.w = c
a.y = d
assert g.w.y.z.w.y.z.y.txt == "d" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 7 | 3 | 2 | 5 | 0.714286 | 6 | 0.428571 | 3 | 2 | 5 | 3.25 | 3 | 3 | 1 | 2 |
7 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.x: A = None
self.txt = txt
j = A("j")
i = B("i")
e = A("e")
c = B("c")
n = B("n")
f = B("f")
j.z = f
i.w = e
i.x = e
e.z = n
c.w = j
c.x = e
n.w = e
n.x = j
f.w = j
f.x = e
assert c.w.z.x.z.txt == " | n" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.x: A = None
self.txt = txt
j = A("j")
i = B("i")
e = A("e")
c = B("c")
n = B("n")
f = B("f")
j.z = f
i.w = e
i.x = e
e.z = n
c.w = j
c.x = e
n.w = e
n.x = j
f.w = j
f.x = e
assert c.w.z.x.z.txt == "n" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 4 | 1 | 1 | 5 | 0.833333 | 4 | 0.444444 | 0 | null | null | null | 3 | 2 | 1 | 1 |
8 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
f = A("f")
l = B("l")
c = B("c")
n = B("n")
m = B("m")
i = B("i")
d = A("d")
g = B("g")
f.y = d
l.s = d
c.s = f
n.s = f
m.s = d
i.s = f
d.y = f
g.s = d
assert d.y.y.y.y.y.y.y.txt == " | f" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
f = A("f")
l = B("l")
c = B("c")
n = B("n")
m = B("m")
i = B("i")
d = A("d")
g = B("g")
f.y = d
l.s = d
c.s = f
n.s = f
m.s = d
i.s = f
d.y = f
g.s = d
assert d.y.y.y.y.y.y.y.txt == "f" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 7 | 4 | 4 | 2 | 0.25 | 2 | 0.25 | 6 | 2 | 6 | 3.333333 | 1 | 7 | 7 | 1 |
9 | class A:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
n = B("n")
j = A("j")
b.q = n
b.t = j
n.y = j
j.q = n
j.t = b
assert n.y.t.t.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
n = B("n")
j = A("j")
b.q = n
b.t = j
n.y = j
j.q = n
j.t = b
assert n.y.t.t.txt == "j" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
10 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
k = A("k")
b = B("b")
n = B("n")
c = A("c")
j = B("j")
d = A("d")
f = B("f")
e = A("e")
i = B("i")
l = A("l")
k.p = c
b.w = l
n.w = l
c.p = l
j.w = d
d.p = l
f.w = l
e.p = d
i.w = k
l.p = k
assert k.p.p.p.p.p.p.p.p.txt == " | l" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
k = A("k")
b = B("b")
n = B("n")
c = A("c")
j = B("j")
d = A("d")
f = B("f")
e = A("e")
i = B("i")
l = A("l")
k.p = c
b.w = l
n.w = l
c.p = l
j.w = d
d.p = l
f.w = l
e.p = d
i.w = k
l.p = k
assert k.p.p.p.p.p.p.p.p.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 |
11 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.z: A = None
self.txt = txt
d = A("d")
h = B("h")
i = B("i")
j = A("j")
m = B("m")
l = A("l")
g = B("g")
f = A("f")
k = B("k")
c = A("c")
d.u = h
h.t = c
h.z = d
i.t = l
i.z = j
j.u = i
m.t = j
m.z = l
l.u = g
g.t = c
g.z = d
f.u = h
k.t = j
k.z = j
c.u = i
assert j.u.t.u.t.u.t.u.txt == " | g" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.z: A = None
self.txt = txt
d = A("d")
h = B("h")
i = B("i")
j = A("j")
m = B("m")
l = A("l")
g = B("g")
f = A("f")
k = B("k")
c = A("c")
d.u = h
h.t = c
h.z = d
i.t = l
i.z = j
j.u = i
m.t = j
m.z = l
l.u = g
g.t = c
g.z = d
f.u = h
k.t = j
k.z = j
c.u = i
assert j.u.t.u.t.u.t.u.txt == "g" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 7 | 2 | 2 | 5 | 0.5 | 5 | 0.357143 | 3 | 4 | 4 | 4 | 2 | 4 | 1 | 1 |
12 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
j = A("j")
b = B("b")
f = A("f")
g = B("g")
i = B("i")
h = A("h")
k = B("k")
a = B("a")
j.z = i
b.x = j
b.q = j
f.z = i
g.x = f
g.q = f
i.x = f
i.q = j
h.z = g
k.x = f
k.q = h
a.x = h
a.q = f
assert j.z.x.z.q.z.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
j = A("j")
b = B("b")
f = A("f")
g = B("g")
i = B("i")
h = A("h")
k = B("k")
a = B("a")
j.z = i
b.x = j
b.q = j
f.z = i
g.x = f
g.q = f
i.x = f
i.q = j
h.z = g
k.x = f
k.q = h
a.x = h
a.q = f
assert j.z.x.z.q.z.x.txt == "f" | 8 | 11 | 1.375 | 0.196429 | 2 | 4 | 2 | 1 | 1.5 | 6 | 3 | 2 | 3 | 0.375 | 4 | 0.363636 | 4 | 2 | 4 | 3.2 | 3 | 3 | 1 | 2 |
13 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
k = A("k")
m = B("m")
a = B("a")
i = A("i")
e = A("e")
l = B("l")
h = A("h")
k.p = l
m.x = i
m.r = a
a.x = e
a.r = l
i.p = l
e.p = m
l.x = h
l.r = a
h.p = m
assert k.p.r.r.r.r.txt == " | l" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
k = A("k")
m = B("m")
a = B("a")
i = A("i")
e = A("e")
l = B("l")
h = A("h")
k.p = l
m.x = i
m.r = a
a.x = e
a.r = l
i.p = l
e.p = m
l.x = h
l.r = a
h.p = m
assert k.p.r.r.r.r.txt == "l" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.428571 | 3 | 0.3 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
14 | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
m = A("m")
c = B("c")
a = B("a")
l = A("l")
f = A("f")
n = A("n")
i = B("i")
b = A("b")
g = B("g")
m.u = i
m.p = g
c.x = i
a.x = c
l.u = i
l.p = i
f.u = g
f.p = i
n.u = a
n.p = a
i.x = c
b.u = a
b.p = g
g.x = c
assert n.p.x.x.x.x.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
m = A("m")
c = B("c")
a = B("a")
l = A("l")
f = A("f")
n = A("n")
i = B("i")
b = A("b")
g = B("g")
m.u = i
m.p = g
c.x = i
a.x = c
l.u = i
l.p = i
f.u = g
f.p = i
n.u = a
n.p = a
i.x = c
b.u = a
b.p = g
g.x = c
assert n.p.x.x.x.x.x.txt == "c" | 9 | 12 | 1.333333 | 0.166667 | 2 | 4.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.444444 | 4 | 0.333333 | 3 | 2 | 4 | 2.5 | 2 | 5 | 5 | 1 |
15 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
l = B("l")
n = A("n")
k = B("k")
b = A("b")
d = A("d")
e = A("e")
m = A("m")
i.y = l
g.p = l
a.p = g
l.p = a
n.y = k
k.p = a
b.y = l
d.y = l
e.y = l
m.y = l
assert a.p.p.p.p.p.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
l = B("l")
n = A("n")
k = B("k")
b = A("b")
d = A("d")
e = A("e")
m = A("m")
i.y = l
g.p = l
a.p = g
l.p = a
n.y = k
k.p = a
b.y = l
d.y = l
e.y = l
m.y = l
assert a.p.p.p.p.p.p.txt == "a" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 6 | 3 | 2 | 3 | 0.3 | 3 | 0.3 | 4 | 3 | 6 | 3.6 | 1 | 6 | 6 | 1 |
16 | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
n = B("n")
m = A("m")
l = B("l")
h = B("h")
k.v = m
k.p = m
n.q = h
m.v = k
m.p = k
l.q = h
h.q = n
assert n.q.q.q.q.txt == " | n" | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
n = B("n")
m = A("m")
l = B("l")
h = B("h")
k.v = m
k.p = m
n.q = h
m.v = k
m.p = k
l.q = h
h.q = n
assert n.q.q.q.q.txt == "n" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
17 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
d = B("d")
i = A("i")
h.r = d
d.t = h
i.r = d
assert i.r.t.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
d = B("d")
i = A("i")
h.r = d
d.t = h
i.r = d
assert i.r.t.r.txt == "d" | 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 |
18 | class A:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
d = B("d")
m = A("m")
j = A("j")
n = B("n")
f = A("f")
h = A("h")
k = A("k")
a = A("a")
l = A("l")
e.w = m
e.s = d
d.r = n
m.w = l
m.s = n
j.w = h
j.s = n
n.r = d
f.w = k
f.s = n
h.w = j
h.s = d
k.w = m
k.s = n
a.w = k
a.s = n
l.w = a
l.s = d
assert m.w.s.r.r.r.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
d = B("d")
m = A("m")
j = A("j")
n = B("n")
f = A("f")
h = A("h")
k = A("k")
a = A("a")
l = A("l")
e.w = m
e.s = d
d.r = n
m.w = l
m.s = n
j.w = h
j.s = n
n.r = d
f.w = k
f.s = n
h.w = j
h.s = d
k.w = m
k.s = n
a.w = k
a.s = n
l.w = a
l.s = d
assert m.w.s.r.r.r.r.txt == "d" | 10 | 18 | 1.8 | 0.2 | 2 | 5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.4 | 4 | 0.222222 | 3 | 2 | 4 | 2.5 | 3 | 4 | 4 | 1 |
19 | 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: A = None
self.txt = txt
d = A("d")
h = B("h")
b = B("b")
l = A("l")
f = A("f")
c = A("c")
a = A("a")
n = B("n")
d.s = h
d.y = a
h.z = a
b.z = c
l.s = n
l.y = f
f.s = n
f.y = a
c.s = h
c.y = a
a.s = n
a.y = c
n.z = f
assert h.z.s.z.y.s.txt == " | n" | 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: A = None
self.txt = txt
d = A("d")
h = B("h")
b = B("b")
l = A("l")
f = A("f")
c = A("c")
a = A("a")
n = B("n")
d.s = h
d.y = a
h.z = a
b.z = c
l.s = n
l.y = f
f.s = n
f.y = a
c.s = h
c.y = a
a.s = n
a.y = c
n.z = f
assert h.z.s.z.y.s.txt == "n" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.307692 | 2 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
20 | 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.txt = txt
k = A("k")
m = B("m")
n = B("n")
c = A("c")
h = B("h")
g = B("g")
a = B("a")
j = A("j")
e = A("e")
d = B("d")
k.q = e
m.t = g
n.t = m
c.q = j
h.t = g
g.t = d
a.t = g
j.q = e
e.q = k
d.t = m
assert c.q.q.q.q.q.q.txt == " | e" | 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.txt = txt
k = A("k")
m = B("m")
n = B("n")
c = A("c")
h = B("h")
g = B("g")
a = B("a")
j = A("j")
e = A("e")
d = B("d")
k.q = e
m.t = g
n.t = m
c.q = j
h.t = g
g.t = d
a.t = g
j.q = e
e.q = k
d.t = m
assert c.q.q.q.q.q.q.txt == "e" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 6 | 3 | 2 | 4 | 0.4 | 4 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 6 | 6 | 1 |
21 | 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.v: B = None
self.txt = txt
k = A("k")
i = B("i")
m = B("m")
k.u = i
i.o = m
i.v = m
m.o = i
m.v = i
assert m.v.v.o.txt == " | i" | 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.v: B = None
self.txt = txt
k = A("k")
i = B("i")
m = B("m")
k.u = i
i.o = m
i.v = m
m.o = i
m.v = i
assert m.v.v.o.txt == "i" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
22 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
e = A("e")
m = B("m")
d = B("d")
c = B("c")
k = A("k")
i = A("i")
e.u = i
m.x = c
d.x = c
c.x = m
k.u = i
i.u = e
assert k.u.u.u.u.u.u.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
e = A("e")
m = B("m")
d = B("d")
c = B("c")
k = A("k")
i = A("i")
e.u = i
m.x = c
d.x = c
c.x = m
k.u = i
i.u = e
assert k.u.u.u.u.u.u.txt == "e" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.5 | 3 | 0.5 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
23 | 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 = B("n")
e = A("e")
b = A("b")
l.q = b
a.u = e
n.u = l
e.q = l
b.q = l
assert n.u.q.q.q.txt == " | b" | 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 = B("n")
e = A("e")
b = A("b")
l.q = b
a.u = e
n.u = l
e.q = l
b.q = l
assert n.u.q.q.q.txt == "b" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
24 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
k = B("k")
g = B("g")
c = A("c")
j = A("j")
d = A("d")
e = A("e")
f = B("f")
b.s = d
k.u = c
g.u = c
c.s = b
j.s = c
d.s = b
e.s = d
f.u = e
assert f.u.s.s.txt == " | b" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
k = B("k")
g = B("g")
c = A("c")
j = A("j")
d = A("d")
e = A("e")
f = B("f")
b.s = d
k.u = c
g.u = c
c.s = b
j.s = c
d.s = b
e.s = d
f.u = e
assert f.u.s.s.txt == "b" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.5 | 3 | 0.375 | 0 | null | null | null | 2 | 2 | 2 | 1 |
25 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.u: A = None
self.txt = txt
i = A("i")
n = B("n")
a = A("a")
j = A("j")
h = B("h")
c = B("c")
e = A("e")
b = A("b")
i.v = j
n.z = c
n.u = i
a.v = j
j.v = e
h.z = n
h.u = b
c.z = n
c.u = i
e.v = j
b.v = j
assert b.v.v.v.v.v.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.u: A = None
self.txt = txt
i = A("i")
n = B("n")
a = A("a")
j = A("j")
h = B("h")
c = B("c")
e = A("e")
b = A("b")
i.v = j
n.z = c
n.u = i
a.v = j
j.v = e
h.z = n
h.u = b
c.z = n
c.u = i
e.v = j
b.v = j
assert b.v.v.v.v.v.v.txt == "e" | 8 | 11 | 1.375 | 0.196429 | 2 | 4 | 2 | 1 | 1.5 | 6 | 3 | 3 | 3 | 0.375 | 3 | 0.272727 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
26 | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
n = A("n")
h = B("h")
g = B("g")
j = B("j")
k = A("k")
l = A("l")
e = A("e")
f = B("f")
i = B("i")
d = A("d")
n.r = h
n.v = k
h.w = e
h.p = n
g.w = n
g.p = e
j.w = k
j.p = e
k.r = f
k.v = n
l.r = g
l.v = d
e.r = j
e.v = n
f.w = l
f.p = l
i.w = d
i.p = k
d.r = h
d.v = n
assert i.p.v.v.r.p.v.v.v.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
n = A("n")
h = B("h")
g = B("g")
j = B("j")
k = A("k")
l = A("l")
e = A("e")
f = B("f")
i = B("i")
d = A("d")
n.r = h
n.v = k
h.w = e
h.p = n
g.w = n
g.p = e
j.w = k
j.p = e
k.r = f
k.v = n
l.r = g
l.v = d
e.r = j
e.v = n
f.w = l
f.p = l
i.w = d
i.p = k
d.r = h
d.v = n
assert i.p.v.v.r.p.v.v.v.r.txt == "f" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 9 | 3 | 2 | 6 | 0.6 | 7 | 0.368421 | 4 | 2 | 7 | 4.8 | 3 | 5 | 3 | 2 |
27 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
e = A("e")
n = B("n")
k = A("k")
g = B("g")
j = A("j")
f = A("f")
a = A("a")
i = A("i")
l = B("l")
e.p = a
n.r = f
k.p = j
g.r = j
j.p = f
f.p = j
a.p = f
i.p = a
l.r = f
assert f.p.p.p.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
e = A("e")
n = B("n")
k = A("k")
g = B("g")
j = A("j")
f = A("f")
a = A("a")
i = A("i")
l = B("l")
e.p = a
n.r = f
k.p = j
g.r = j
j.p = f
f.p = j
a.p = f
i.p = a
l.r = f
assert f.p.p.p.txt == "j" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.222222 | 2 | 0.222222 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
28 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.o: A = None
self.txt = txt
k = A("k")
h = B("h")
j = A("j")
k.s = h
h.u = j
h.o = j
j.s = h
assert j.s.u.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.o: A = None
self.txt = txt
k = A("k")
h = B("h")
j = A("j")
k.s = h
h.u = j
h.o = j
j.s = h
assert j.s.u.s.txt == "h" | 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 |
29 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
j = A("j")
l = B("l")
a = A("a")
h = B("h")
c = A("c")
m = A("m")
e = A("e")
n = B("n")
d = B("d")
b = A("b")
j.x = m
l.x = m
a.x = m
h.x = j
c.x = e
m.x = a
e.x = a
n.x = a
d.x = j
b.x = a
assert c.x.x.x.x.x.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
j = A("j")
l = B("l")
a = A("a")
h = B("h")
c = A("c")
m = A("m")
e = A("e")
n = B("n")
d = B("d")
b = A("b")
j.x = m
l.x = m
a.x = m
h.x = j
c.x = e
m.x = a
e.x = a
n.x = a
d.x = j
b.x = a
assert c.x.x.x.x.x.x.txt == "a" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 6 | 3 | 2 | 4 | 0.4 | 4 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 6 | 6 | 1 |
30 | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
d = A("d")
b.o = d
b.r = d
c.s = b
d.o = b
d.r = b
assert c.s.r.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
d = A("d")
b.o = d
b.r = d
c.s = b
d.o = b
d.r = b
assert c.s.r.o.txt == "b" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
31 | class A:
def __init__(self, txt: str):
self.p: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
l = A("l")
m = B("m")
d = A("d")
g = A("g")
b = B("b")
e = A("e")
k = A("k")
h = B("h")
l.p = m
l.w = h
m.y = h
d.p = h
d.w = b
g.p = h
g.w = b
b.y = m
e.p = m
e.w = b
k.p = m
k.w = h
h.y = b
assert b.y.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.p: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
l = A("l")
m = B("m")
d = A("d")
g = A("g")
b = B("b")
e = A("e")
k = A("k")
h = B("h")
l.p = m
l.w = h
m.y = h
d.p = h
d.w = b
g.p = h
g.w = b
b.y = m
e.p = m
e.w = b
k.p = m
k.w = h
h.y = b
assert b.y.y.y.txt == "b" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.375 | 3 | 0.230769 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
32 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
g = B("g")
e = A("e")
a = B("a")
h.y = a
g.w = e
e.y = g
a.w = h
assert g.w.y.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
g = B("g")
e = A("e")
a = B("a")
h.y = a
g.w = e
e.y = g
a.w = h
assert g.w.y.w.txt == "e" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
33 | class A:
def __init__(self, txt: str):
self.t: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
d = A("d")
i = B("i")
b = A("b")
m = A("m")
f = B("f")
c = A("c")
e = A("e")
d.t = e
d.w = i
i.v = d
i.q = f
b.t = d
b.w = f
m.t = d
m.w = f
f.v = c
f.q = i
c.t = b
c.w = f
e.t = c
e.w = f
assert d.t.t.t.t.t.t.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.t: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
d = A("d")
i = B("i")
b = A("b")
m = A("m")
f = B("f")
c = A("c")
e = A("e")
d.t = e
d.w = i
i.v = d
i.q = f
b.t = d
b.w = f
m.t = d
m.w = f
f.v = c
f.q = i
c.t = b
c.w = f
e.t = c
e.w = f
assert d.t.t.t.t.t.t.w.txt == "f" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 7 | 2 | 2 | 5 | 0.714286 | 5 | 0.357143 | 3 | 4 | 4 | 4 | 2 | 6 | 6 | 2 |
34 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
e = A("e")
j = B("j")
k = B("k")
e.y = k
j.o = k
j.x = e
k.o = j
k.x = e
assert e.y.o.o.txt == " | k" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
e = A("e")
j = B("j")
k = B("k")
e.y = k
j.o = k
j.x = e
k.o = j
k.x = e
assert e.y.o.o.txt == "k" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
35 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.x: B = None
self.txt = txt
m = A("m")
f = B("f")
l = A("l")
g = B("g")
m.v = g
f.v = l
f.x = g
l.v = g
g.v = m
g.x = f
assert g.x.v.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.v: A = None
self.x: B = None
self.txt = txt
m = A("m")
f = B("f")
l = A("l")
g = B("g")
m.v = g
f.v = l
f.x = g
l.v = g
g.v = m
g.x = f
assert g.x.v.v.txt == "g" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
36 | 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.txt = txt
j = A("j")
d = B("d")
h = B("h")
m = A("m")
l = B("l")
f = B("f")
j.v = m
d.s = l
h.s = f
m.v = j
l.s = h
f.s = d
assert j.v.v.v.v.v.v.txt == " | j" | 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.txt = txt
j = A("j")
d = B("d")
h = B("h")
m = A("m")
l = B("l")
f = B("f")
j.v = m
d.s = l
h.s = f
m.v = j
l.s = h
f.s = d
assert j.v.v.v.v.v.v.txt == "j" | 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 |
37 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.p: B = None
self.txt = txt
g = A("g")
j = B("j")
b = A("b")
e = A("e")
f = A("f")
n = B("n")
g.p = e
j.y = n
j.p = n
b.p = e
e.p = b
f.p = b
n.y = j
n.p = j
assert f.p.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.y: B = None
self.p: B = None
self.txt = txt
g = A("g")
j = B("j")
b = A("b")
e = A("e")
f = A("f")
n = B("n")
g.p = e
j.y = n
j.p = n
b.p = e
e.p = b
f.p = b
n.y = j
n.p = j
assert f.p.p.p.p.p.p.txt == "e" | 6 | 6 | 1 | 0.2 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 3 | 3 | 0.5 | 3 | 0.5 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
38 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
d = B("d")
g = A("g")
f = A("f")
e = A("e")
i.w = d
j.v = d
j.x = d
h.w = d
d.v = j
d.x = j
g.w = j
f.w = j
e.w = d
assert h.w.x.x.v.x.v.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
d = B("d")
g = A("g")
f = A("f")
e = A("e")
i.w = d
j.v = d
j.x = d
h.w = d
d.v = j
d.x = j
g.w = j
f.w = j
e.w = d
assert h.w.x.x.v.x.v.x.txt == "d" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.428571 | 4 | 0.571429 | 5 | 2 | 6 | 3.111111 | 3 | 4 | 2 | 2 |
39 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: A = None
self.txt = txt
d = A("d")
b = B("b")
k = B("k")
g = A("g")
h = B("h")
d.u = h
b.r = h
b.z = g
k.r = h
k.z = d
g.u = b
h.r = b
h.z = g
assert d.u.z.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: A = None
self.txt = txt
d = A("d")
b = B("b")
k = B("k")
g = A("g")
h = B("h")
d.u = h
b.r = h
b.z = g
k.r = h
k.z = d
g.u = b
h.r = b
h.z = g
assert d.u.z.u.txt == "b" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.375 | 0 | null | null | null | 2 | 2 | 1 | 1 |
40 | class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
a = B("a")
n = A("n")
e = B("e")
h.s = a
h.o = n
a.v = n
n.s = a
n.o = h
e.v = n
assert n.o.o.o.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
a = B("a")
n = A("n")
e = B("e")
h.s = a
h.o = n
a.v = n
n.s = a
n.o = h
e.v = n
assert n.o.o.o.s.txt == "a" | 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 | 2 |
41 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
g = B("g")
l = A("l")
f = A("f")
c = B("c")
j = A("j")
n = B("n")
b = B("b")
i = A("i")
k.y = l
g.q = b
l.y = f
f.y = j
c.q = b
j.y = l
n.q = b
b.q = c
i.y = l
assert b.q.q.q.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
g = B("g")
l = A("l")
f = A("f")
c = B("c")
j = A("j")
n = B("n")
b = B("b")
i = A("i")
k.y = l
g.q = b
l.y = f
f.y = j
c.q = b
j.y = l
n.q = b
b.q = c
i.y = l
assert b.q.q.q.txt == "c" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.222222 | 2 | 0.222222 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
42 | class A:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
n = A("n")
a = B("a")
l = A("l")
e = A("e")
j = B("j")
g = A("g")
h = B("h")
n.s = a
n.w = j
a.q = h
l.s = j
l.w = h
e.s = j
e.w = a
j.q = a
g.s = j
g.w = j
h.q = j
assert a.q.q.q.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
n = A("n")
a = B("a")
l = A("l")
e = A("e")
j = B("j")
g = A("g")
h = B("h")
n.s = a
n.w = j
a.q = h
l.s = j
l.w = h
e.s = j
e.w = a
j.q = a
g.s = j
g.w = j
h.q = j
assert a.q.q.q.q.q.q.txt == "a" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 3 | 0.428571 | 3 | 0.3 | 4 | 3 | 6 | 3.6 | 1 | 6 | 6 | 1 |
43 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
l = A("l")
b = B("b")
d = A("d")
l.o = d
b.q = d
b.t = l
d.o = l
assert b.t.o.o.txt == " | l" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
l = A("l")
b = B("b")
d = A("d")
l.o = d
b.q = d
b.t = l
d.o = l
assert b.t.o.o.txt == "l" | 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 | 2 | 1 |
44 | 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.txt = txt
d = A("d")
h = B("h")
f = B("f")
l = A("l")
k = A("k")
c = B("c")
a = B("a")
j = A("j")
i = B("i")
e = A("e")
d.t = f
h.x = a
f.x = a
l.t = a
k.t = f
c.x = a
a.x = f
j.t = a
i.x = a
e.t = a
assert h.x.x.x.x.x.x.txt == " | f" | 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.txt = txt
d = A("d")
h = B("h")
f = B("f")
l = A("l")
k = A("k")
c = B("c")
a = B("a")
j = A("j")
i = B("i")
e = A("e")
d.t = f
h.x = a
f.x = a
l.t = a
k.t = f
c.x = a
a.x = f
j.t = a
i.x = a
e.t = a
assert h.x.x.x.x.x.x.txt == "f" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.3 | 3 | 0.3 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
45 | class A:
def __init__(self, txt: str):
self.u: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: A = None
self.txt = txt
h = A("h")
g = B("g")
d = A("d")
b = B("b")
e = A("e")
a = A("a")
f = B("f")
l = A("l")
h.u = b
h.t = l
g.x = b
g.y = l
d.u = b
d.t = a
b.x = g
b.y = d
e.u = b
e.t = a
a.u = g
a.t = l
f.x = g
f.y = h
l.u = g
l.t = a
assert f.y.t.u.y.t.t.u.txt == " | g" | class A:
def __init__(self, txt: str):
self.u: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: A = None
self.txt = txt
h = A("h")
g = B("g")
d = A("d")
b = B("b")
e = A("e")
a = A("a")
f = B("f")
l = A("l")
h.u = b
h.t = l
g.x = b
g.y = l
d.u = b
d.t = a
b.x = g
b.y = d
e.u = b
e.t = a
a.u = g
a.t = l
f.x = g
f.y = h
l.u = g
l.t = a
assert f.y.t.u.y.t.t.u.txt == "g" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 7 | 3 | 2 | 5 | 0.625 | 6 | 0.375 | 3 | 2 | 4 | 3 | 3 | 3 | 2 | 2 |
46 | class A:
def __init__(self, txt: str):
self.w: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
m = A("m")
n = B("n")
g = B("g")
h = A("h")
a = B("a")
e = A("e")
m.w = h
m.p = n
n.t = h
g.t = h
h.w = m
h.p = n
a.t = m
e.w = m
e.p = a
assert g.t.p.t.w.w.w.txt == " | m" | class A:
def __init__(self, txt: str):
self.w: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
m = A("m")
n = B("n")
g = B("g")
h = A("h")
a = B("a")
e = A("e")
m.w = h
m.p = n
n.t = h
g.t = h
h.w = m
h.p = n
a.t = m
e.w = m
e.p = a
assert g.t.p.t.w.w.w.txt == "m" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.666667 | 5 | 0.555556 | 3 | 2 | 4 | 2.5 | 3 | 3 | 3 | 2 |
47 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
a = B("a")
k = B("k")
m = A("m")
l = B("l")
c = B("c")
e = B("e")
f = B("f")
h = A("h")
g = A("g")
j.r = f
a.s = e
k.s = f
m.r = f
l.s = f
c.s = k
e.s = k
f.s = e
h.r = f
g.r = c
assert k.s.s.s.s.s.s.s.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
a = B("a")
k = B("k")
m = A("m")
l = B("l")
c = B("c")
e = B("e")
f = B("f")
h = A("h")
g = A("g")
j.r = f
a.s = e
k.s = f
m.r = f
l.s = f
c.s = k
e.s = k
f.s = e
h.r = f
g.r = c
assert k.s.s.s.s.s.s.s.txt == "f" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 7 | 3 | 3 | 3 | 0.3 | 3 | 0.3 | 5 | 3 | 6 | 3.857143 | 1 | 7 | 7 | 1 |
48 | class A:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
g = A("g")
m = B("m")
j = A("j")
n = B("n")
e = B("e")
g.q = m
g.u = m
m.q = g
j.q = n
j.u = m
n.q = g
e.q = j
assert m.q.q.q.u.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
g = A("g")
m = B("m")
j = A("j")
n = B("n")
e = B("e")
g.q = m
g.u = m
m.q = g
j.q = n
j.u = m
n.q = g
e.q = j
assert m.q.q.q.u.q.txt == "g" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.4 | 3 | 0.5 | 4 | 2 | 4 | 2.666667 | 2 | 4 | 3 | 2 |
49 | class A:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
f = B("f")
m = B("m")
c.w = m
c.z = f
g.r = m
f.r = m
m.r = g
assert c.z.r.r.r.txt == " | m" | class A:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
f = B("f")
m = B("m")
c.w = m
c.z = f
g.r = m
f.r = m
m.r = g
assert c.z.r.r.r.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 | 2 | 3 | 3 | 1 |
50 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
m = A("m")
j = B("j")
a = B("a")
l = B("l")
n = B("n")
e = A("e")
i = A("i")
b = A("b")
m.z = j
j.w = a
j.r = a
a.w = n
a.r = l
l.w = n
l.r = j
n.w = j
n.r = j
e.z = a
i.z = a
b.z = n
assert i.z.r.w.w.w.r.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
m = A("m")
j = B("j")
a = B("a")
l = B("l")
n = B("n")
e = A("e")
i = A("i")
b = A("b")
m.z = j
j.w = a
j.r = a
a.w = n
a.r = l
l.w = n
l.r = j
n.w = j
n.r = j
e.z = a
i.z = a
b.z = n
assert i.z.r.w.w.w.r.txt == "l" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 6 | 2 | 2 | 5 | 0.625 | 5 | 0.5 | 2 | 4 | 4 | 4 | 3 | 3 | 3 | 1 |
51 | class A:
def __init__(self, txt: str):
self.y: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.q: A = None
self.txt = txt
a = A("a")
n = B("n")
d = B("d")
b = A("b")
g = A("g")
e = A("e")
h = B("h")
a.y = g
a.o = e
n.p = d
n.q = e
d.p = n
d.q = b
b.y = g
b.o = e
g.y = e
g.o = b
e.y = g
e.o = a
h.p = d
h.q = a
assert b.o.o.y.o.o.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.q: A = None
self.txt = txt
a = A("a")
n = B("n")
d = B("d")
b = A("b")
g = A("g")
e = A("e")
h = B("h")
a.y = g
a.o = e
n.p = d
n.q = e
d.p = n
d.q = b
b.y = g
b.o = e
g.y = e
g.o = b
e.y = g
e.o = a
h.p = d
h.q = a
assert b.o.o.y.o.o.txt == "e" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.571429 | 4 | 0.285714 | 2 | 4 | 4 | 4 | 2 | 4 | 2 | 1 |
52 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
l = A("l")
g = A("g")
m = A("m")
n = B("n")
f = B("f")
a = B("a")
e = B("e")
i.y = f
j.s = f
j.v = i
l.y = n
g.y = f
m.y = e
n.s = j
n.v = l
f.s = n
f.v = l
a.s = e
a.v = i
e.s = j
e.v = g
assert f.s.s.s.txt == " | f" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
l = A("l")
g = A("g")
m = A("m")
n = B("n")
f = B("f")
a = B("a")
e = B("e")
i.y = f
j.s = f
j.v = i
l.y = n
g.y = f
m.y = e
n.s = j
n.v = l
f.s = n
f.v = l
a.s = e
a.v = i
e.s = j
e.v = g
assert f.s.s.s.txt == "f" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.333333 | 3 | 0.214286 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
53 | class A:
def __init__(self, txt: str):
self.v: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
l = B("l")
j = A("j")
m = A("m")
k = B("k")
b = A("b")
e = B("e")
g = B("g")
i = A("i")
d.v = k
d.s = m
l.w = k
j.v = l
j.s = i
m.v = k
m.s = d
k.w = g
b.v = e
b.s = i
e.w = l
g.w = k
i.v = k
i.s = b
assert e.w.w.w.w.w.w.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
l = B("l")
j = A("j")
m = A("m")
k = B("k")
b = A("b")
e = B("e")
g = B("g")
i = A("i")
d.v = k
d.s = m
l.w = k
j.v = l
j.s = i
m.v = k
m.s = d
k.w = g
b.v = e
b.s = i
e.w = l
g.w = k
i.v = k
i.s = b
assert e.w.w.w.w.w.w.txt == "k" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.444444 | 4 | 0.285714 | 3 | 2 | 4 | 2.5 | 1 | 6 | 6 | 1 |
54 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
h = B("h")
m = A("m")
j = B("j")
b = A("b")
c = A("c")
l = A("l")
d = B("d")
i.o = l
h.v = d
m.o = c
j.v = h
b.o = i
c.o = l
l.o = b
d.v = j
assert c.o.o.o.o.o.o.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
h = B("h")
m = A("m")
j = B("j")
b = A("b")
c = A("c")
l = A("l")
d = B("d")
i.o = l
h.v = d
m.o = c
j.v = h
b.o = i
c.o = l
l.o = b
d.v = j
assert c.o.o.o.o.o.o.txt == "i" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 6 | 2 | 2 | 4 | 0.5 | 4 | 0.5 | 3 | 3 | 3 | 3 | 1 | 6 | 6 | 1 |
55 | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
a = B("a")
c = B("c")
e = B("e")
l = B("l")
j = A("j")
h = A("h")
i = B("i")
d = A("d")
k.o = j
k.r = h
a.q = c
c.q = a
e.q = l
l.q = i
j.o = h
j.r = d
h.o = d
h.r = k
i.q = l
d.o = h
d.r = k
assert l.q.q.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
a = B("a")
c = B("c")
e = B("e")
l = B("l")
j = A("j")
h = A("h")
i = B("i")
d = A("d")
k.o = j
k.r = h
a.q = c
c.q = a
e.q = l
l.q = i
j.o = h
j.r = d
h.o = d
h.r = k
i.q = l
d.o = h
d.r = k
assert l.q.q.q.txt == "i" | 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.222222 | 2 | 0.153846 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
56 | 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.y: B = None
self.txt = txt
a = A("a")
n = B("n")
k = A("k")
d = A("d")
i = B("i")
a.w = k
n.x = i
n.y = i
k.w = d
d.w = k
i.x = n
i.y = n
assert d.w.w.w.w.w.txt == " | k" | 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.y: B = None
self.txt = txt
a = A("a")
n = B("n")
k = A("k")
d = A("d")
i = B("i")
a.w = k
n.x = i
n.y = i
k.w = d
d.w = k
i.x = n
i.y = n
assert d.w.w.w.w.w.txt == "k" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.4 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
57 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.p: A = None
self.txt = txt
d = A("d")
k = B("k")
h = A("h")
l = B("l")
e = A("e")
b = B("b")
i = A("i")
d.z = b
k.u = d
k.p = h
h.z = l
l.u = i
l.p = i
e.z = l
b.u = e
b.p = d
i.z = l
assert e.z.p.z.u.z.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.p: A = None
self.txt = txt
d = A("d")
k = B("k")
h = A("h")
l = B("l")
e = A("e")
b = B("b")
i = A("i")
d.z = b
k.u = d
k.p = h
h.z = l
l.u = i
l.p = i
e.z = l
b.u = e
b.p = d
i.z = l
assert e.z.p.z.u.z.txt == "l" | 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.428571 | 4 | 0.444444 | 3 | 2 | 4 | 2.5 | 3 | 3 | 1 | 2 |
58 | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.x: B = None
self.txt = txt
g = A("g")
j = B("j")
c = A("c")
l = B("l")
m = A("m")
f = B("f")
e = A("e")
k = A("k")
b = B("b")
g.v = f
g.z = l
j.u = k
j.x = b
c.v = j
c.z = l
l.u = g
l.x = j
m.v = b
m.z = j
f.u = m
f.x = j
e.v = j
e.z = b
k.v = f
k.z = l
b.u = m
b.x = f
assert k.v.x.u.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.x: B = None
self.txt = txt
g = A("g")
j = B("j")
c = A("c")
l = B("l")
m = A("m")
f = B("f")
e = A("e")
k = A("k")
b = B("b")
g.v = f
g.z = l
j.u = k
j.x = b
c.v = j
c.z = l
l.u = g
l.x = j
m.v = b
m.z = j
f.u = m
f.x = j
e.v = j
e.z = b
k.v = f
k.z = l
b.u = m
b.x = f
assert k.v.x.u.txt == "k" | 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.333333 | 3 | 0.166667 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
59 | class A:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: B = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
k = A("k")
b = B("b")
d = B("d")
n = B("n")
m = B("m")
l = A("l")
c.r = a
c.w = l
a.t = k
a.r = j
j.t = l
j.r = n
k.r = a
k.w = l
b.t = l
b.r = m
d.t = l
d.r = n
n.t = k
n.r = m
m.t = c
m.r = n
l.r = j
l.w = c
assert b.r.r.t.w.r.r.t.txt == " | k" | class A:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: B = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
k = A("k")
b = B("b")
d = B("d")
n = B("n")
m = B("m")
l = A("l")
c.r = a
c.w = l
a.t = k
a.r = j
j.t = l
j.r = n
k.r = a
k.w = l
b.t = l
b.r = m
d.t = l
d.r = n
n.t = k
n.r = m
m.t = c
m.r = n
l.r = j
l.w = c
assert b.r.r.t.w.r.r.t.txt == "k" | 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 7 | 2 | 2 | 6 | 0.666667 | 6 | 0.333333 | 2 | 4 | 4 | 4 | 3 | 4 | 2 | 1 |
60 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
g = A("g")
b = B("b")
k = B("k")
a = A("a")
g.r = a
b.p = g
b.u = k
k.p = a
k.u = b
a.r = g
assert b.p.r.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
g = A("g")
b = B("b")
k = B("k")
a = A("a")
g.r = a
b.p = g
b.u = k
k.p = a
k.u = b
a.r = g
assert b.p.r.r.r.txt == "a" | 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 |
61 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.z: A = None
self.txt = txt
e = A("e")
j = B("j")
n = A("n")
i = B("i")
l = B("l")
e.p = j
j.s = i
j.z = e
n.p = l
i.s = j
i.z = e
l.s = j
l.z = n
assert l.z.p.z.p.txt == " | l" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.z: A = None
self.txt = txt
e = A("e")
j = B("j")
n = A("n")
i = B("i")
l = B("l")
e.p = j
j.s = i
j.z = e
n.p = l
i.s = j
i.z = e
l.s = j
l.z = n
assert l.z.p.z.p.txt == "l" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.25 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
62 | class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
c = A("c")
h = B("h")
a = A("a")
c.u = a
c.s = a
h.s = a
a.u = c
a.s = c
assert h.s.s.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
c = A("c")
h = B("h")
a = A("a")
c.u = a
c.s = a
h.s = a
a.u = c
a.s = c
assert h.s.s.s.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 | 1 | 3 | 3 | 1 |
63 | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
m = B("m")
g = A("g")
h.o = m
h.r = g
m.v = g
g.o = m
g.r = h
assert h.r.r.r.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
m = B("m")
g = A("g")
h.o = m
h.r = g
m.v = g
g.o = m
g.r = h
assert h.r.r.r.txt == "g" | 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 |
64 | class A:
def __init__(self, txt: str):
self.v: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
k = A("k")
m = B("m")
d = B("d")
g = A("g")
k.v = m
k.y = d
m.p = g
m.q = d
d.p = g
d.q = m
g.v = d
g.y = m
assert d.q.q.p.y.txt == " | m" | class A:
def __init__(self, txt: str):
self.v: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
k = A("k")
m = B("m")
d = B("d")
g = A("g")
k.v = m
k.y = d
m.p = g
m.q = d
d.p = g
d.q = m
g.v = d
g.y = m
assert d.q.q.p.y.txt == "m" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.5 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
65 | 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.x: A = None
self.txt = txt
l = A("l")
n = B("n")
j = A("j")
k = A("k")
m = B("m")
g = A("g")
l.o = n
l.q = k
n.x = l
j.o = m
j.q = l
k.o = m
k.q = g
m.x = l
g.o = m
g.q = l
assert n.x.o.x.o.txt == " | n" | 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.x: A = None
self.txt = txt
l = A("l")
n = B("n")
j = A("j")
k = A("k")
m = B("m")
g = A("g")
l.o = n
l.q = k
n.x = l
j.o = m
j.q = l
k.o = m
k.q = g
m.x = l
g.o = m
g.q = l
assert n.x.o.x.o.txt == "n" | 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.2 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
66 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
n = A("n")
c = B("c")
m = A("m")
g = B("g")
n.p = m
c.t = m
m.p = n
g.t = n
assert c.t.p.p.p.txt == " | n" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
n = A("n")
c = B("c")
m = A("m")
g = B("g")
n.p = m
c.t = m
m.p = n
g.t = n
assert c.t.p.p.p.txt == "n" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
67 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.x: A = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
g = B("g")
e = B("e")
h = B("h")
d = A("d")
k = B("k")
l = A("l")
f.x = d
j.q = g
j.x = i
i.x = d
g.q = e
g.x = i
e.q = k
e.x = f
h.q = j
h.x = l
d.x = l
k.q = e
k.x = l
l.x = f
assert i.x.x.x.x.x.x.x.x.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.x: A = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
g = B("g")
e = B("e")
h = B("h")
d = A("d")
k = B("k")
l = A("l")
f.x = d
j.q = g
j.x = i
i.x = d
g.q = e
g.x = i
e.q = k
e.x = f
h.q = j
h.x = l
d.x = l
k.q = e
k.x = l
l.x = f
assert i.x.x.x.x.x.x.x.x.x.txt == "f" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 9 | 3 | 3 | 4 | 0.444444 | 4 | 0.285714 | 6 | 3 | 6 | 4 | 1 | 9 | 9 | 1 |
68 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.u: B = None
self.txt = txt
c = A("c")
i = B("i")
l = B("l")
c.o = l
i.s = c
i.u = l
l.s = c
l.u = i
assert l.s.o.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.u: B = None
self.txt = txt
c = A("c")
i = B("i")
l = B("l")
c.o = l
i.s = c
i.u = l
l.s = c
l.u = i
assert l.s.o.s.txt == "c" | 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 |
69 | 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.v: A = None
self.txt = txt
j = A("j")
l = B("l")
n = B("n")
b = B("b")
e = A("e")
c = B("c")
j.z = e
l.s = e
l.v = e
n.s = e
n.v = j
b.s = e
b.v = e
e.z = j
c.s = e
c.v = j
assert l.v.z.z.z.z.z.txt == " | j" | 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.v: A = None
self.txt = txt
j = A("j")
l = B("l")
n = B("n")
b = B("b")
e = A("e")
c = B("c")
j.z = e
l.s = e
l.v = e
n.s = e
n.v = j
b.s = e
b.v = e
e.z = j
c.s = e
c.v = j
assert l.v.z.z.z.z.z.txt == "j" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 3 | 3 | 0.5 | 3 | 0.375 | 4 | 2 | 4 | 2.666667 | 2 | 5 | 5 | 1 |
70 | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
d = A("d")
k = B("k")
a = A("a")
m = B("m")
h = B("h")
n = B("n")
c = A("c")
j = A("j")
i = B("i")
e = A("e")
d.x = j
d.v = c
k.v = a
k.o = h
a.x = e
a.v = c
m.v = c
m.o = n
h.v = d
h.o = i
n.v = e
n.o = m
c.x = e
c.v = e
j.x = e
j.v = e
i.v = a
i.o = m
e.x = j
e.v = a
assert i.v.x.x.x.v.v.x.v.v.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
d = A("d")
k = B("k")
a = A("a")
m = B("m")
h = B("h")
n = B("n")
c = A("c")
j = A("j")
i = B("i")
e = A("e")
d.x = j
d.v = c
k.v = a
k.o = h
a.x = e
a.v = c
m.v = c
m.o = n
h.v = d
h.o = i
n.v = e
n.o = m
c.x = e
c.v = e
j.x = e
j.v = e
i.v = a
i.o = m
e.x = j
e.v = a
assert i.v.x.x.x.v.v.x.v.v.x.txt == "e" | 10 | 18 | 1.8 | 0.2 | 2 | 5 | 2 | 2 | 2 | 10 | 4 | 2 | 5 | 0.5 | 7 | 0.388889 | 6 | 2 | 8 | 4.4 | 2 | 5 | 3 | 2 |
71 | class A:
def __init__(self, txt: str):
self.x: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
a = A("a")
d = B("d")
i = A("i")
b = A("b")
a.x = d
a.z = i
d.o = b
i.x = d
i.z = b
b.x = d
b.z = i
assert b.z.x.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
a = A("a")
d = B("d")
i = A("i")
b = A("b")
a.x = d
a.z = i
d.o = b
i.x = d
i.z = b
b.x = d
b.z = i
assert b.z.x.o.txt == "b" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
72 | class A:
def __init__(self, txt: str):
self.z: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
j = B("j")
c = A("c")
e = A("e")
g = B("g")
m = A("m")
i = B("i")
f = A("f")
a.z = g
a.s = g
j.s = f
c.z = i
c.s = i
e.z = g
e.s = j
g.s = c
m.z = i
m.s = i
i.s = c
f.z = g
f.s = i
assert c.s.s.s.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
j = B("j")
c = A("c")
e = A("e")
g = B("g")
m = A("m")
i = B("i")
f = A("f")
a.z = g
a.s = g
j.s = f
c.z = i
c.s = i
e.z = g
e.s = j
g.s = c
m.z = i
m.s = i
i.s = c
f.z = g
f.s = i
assert c.s.s.s.s.txt == "c" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.25 | 2 | 0.2 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
73 | class A:
def __init__(self, txt: str):
self.x: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
m = A("m")
i = B("i")
k = A("k")
e = A("e")
n = A("n")
h = B("h")
m.x = e
m.t = i
i.p = n
i.s = n
k.x = e
k.t = h
e.x = k
e.t = h
n.x = m
n.t = h
h.p = n
h.s = e
assert h.p.x.t.s.t.p.txt == " | n" | class A:
def __init__(self, txt: str):
self.x: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
m = A("m")
i = B("i")
k = A("k")
e = A("e")
n = A("n")
h = B("h")
m.x = e
m.t = i
i.p = n
i.s = n
k.x = e
k.t = h
e.x = k
e.t = h
n.x = m
n.t = h
h.p = n
h.s = e
assert h.p.x.t.s.t.p.txt == "n" | 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 6 | 3 | 2 | 4 | 0.666667 | 5 | 0.454545 | 3 | 2 | 5 | 3.75 | 4 | 2 | 1 | 2 |
74 | class A:
def __init__(self, txt: str):
self.y: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
a = A("a")
c = B("c")
b = B("b")
e = A("e")
a.y = c
a.v = e
c.s = b
b.s = c
e.y = c
e.v = a
assert b.s.s.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
a = A("a")
c = B("c")
b = B("b")
e = A("e")
a.y = c
a.v = e
c.s = b
b.s = c
e.y = c
e.v = a
assert b.s.s.s.txt == "c" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
75 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
n = A("n")
f = B("f")
d = A("d")
n.r = d
f.u = n
d.r = n
assert d.r.r.r.txt == " | n" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
n = A("n")
f = B("f")
d = A("d")
n.r = d
f.u = n
d.r = n
assert d.r.r.r.txt == "n" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
76 | class A:
def __init__(self, txt: str):
self.q: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: B = None
self.txt = txt
m = A("m")
i = B("i")
k = B("k")
c = A("c")
n = B("n")
b = B("b")
g = B("g")
j = B("j")
e = A("e")
l = A("l")
m.q = l
m.x = k
i.t = e
i.w = g
k.t = l
k.w = i
c.q = l
c.x = k
n.t = l
n.w = i
b.t = l
b.w = g
g.t = c
g.w = b
j.t = m
j.w = g
e.q = l
e.x = g
l.q = e
l.x = b
assert g.w.w.t.x.w.t.x.w.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: B = None
self.txt = txt
m = A("m")
i = B("i")
k = B("k")
c = A("c")
n = B("n")
b = B("b")
g = B("g")
j = B("j")
e = A("e")
l = A("l")
m.q = l
m.x = k
i.t = e
i.w = g
k.t = l
k.w = i
c.q = l
c.x = k
n.t = l
n.w = i
b.t = l
b.w = g
g.t = c
g.w = b
j.t = m
j.w = g
e.q = l
e.x = g
l.q = e
l.x = b
assert g.w.w.t.x.w.t.x.w.txt == "b" | 10 | 20 | 2 | 0.222222 | 2 | 5 | 2 | 2 | 2 | 8 | 3 | 2 | 6 | 0.6 | 7 | 0.35 | 3 | 2 | 7 | 5.25 | 3 | 4 | 2 | 2 |
77 | class A:
def __init__(self, txt: str):
self.s: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
g = A("g")
b = B("b")
d = B("d")
m = A("m")
i = B("i")
e = A("e")
a = A("a")
k = B("k")
g.s = k
g.v = m
b.r = d
d.r = b
m.s = i
m.v = e
i.r = b
e.s = k
e.v = m
a.s = b
a.v = e
k.r = i
assert b.r.r.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.s: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
g = A("g")
b = B("b")
d = B("d")
m = A("m")
i = B("i")
e = A("e")
a = A("a")
k = B("k")
g.s = k
g.v = m
b.r = d
d.r = b
m.s = i
m.v = e
i.r = b
e.s = k
e.v = m
a.s = b
a.v = e
k.r = i
assert b.r.r.r.txt == "d" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.25 | 2 | 0.166667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
78 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
i = A("i")
c = B("c")
h = A("h")
a = A("a")
i.w = h
c.r = a
c.z = h
h.w = i
a.w = i
assert a.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.r: A = None
self.z: A = None
self.txt = txt
i = A("i")
c = B("c")
h = A("h")
a = A("a")
i.w = h
c.r = a
c.z = h
h.w = i
a.w = i
assert a.w.w.w.w.txt == "h" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
79 | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.u: A = None
self.txt = txt
g = A("g")
l = B("l")
m = A("m")
b = A("b")
h = B("h")
n = B("n")
g.v = l
g.u = h
l.z = g
l.u = g
m.v = n
m.u = l
b.v = h
b.u = l
h.z = m
h.u = b
n.z = m
n.u = b
assert m.u.z.u.z.txt == " | m" | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.u: A = None
self.txt = txt
g = A("g")
l = B("l")
m = A("m")
b = A("b")
h = B("h")
n = B("n")
g.v = l
g.u = h
l.z = g
l.u = g
m.v = n
m.u = l
b.v = h
b.u = l
h.z = m
h.u = b
n.z = m
n.u = b
assert m.u.z.u.z.txt == "m" | 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.666667 | 4 | 0.363636 | 1 | 4 | 4 | 4 | 2 | 2 | 1 | 1 |
80 | class A:
def __init__(self, txt: str):
self.z: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
j = A("j")
b = B("b")
h = A("h")
d = B("d")
e = B("e")
i = B("i")
l = B("l")
a = B("a")
j.z = h
j.x = b
b.z = e
b.o = j
h.z = j
h.x = d
d.z = b
d.o = j
e.z = l
e.o = j
i.z = l
i.o = j
l.z = e
l.o = j
a.z = d
a.o = j
assert b.z.o.z.z.txt == " | j" | class A:
def __init__(self, txt: str):
self.z: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
j = A("j")
b = B("b")
h = A("h")
d = B("d")
e = B("e")
i = B("i")
l = B("l")
a = B("a")
j.z = h
j.x = b
b.z = e
b.o = j
h.z = j
h.x = d
d.z = b
d.o = j
e.z = l
e.o = j
i.z = l
i.o = j
l.z = e
l.o = j
a.z = d
a.o = j
assert b.z.o.z.z.txt == "j" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.25 | 1 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
81 | 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.txt = txt
h = A("h")
l = B("l")
m = A("m")
f = B("f")
d = B("d")
b = A("b")
c = B("c")
n = B("n")
g = B("g")
h.v = m
l.s = f
m.v = h
f.s = d
d.s = l
b.v = m
c.s = f
n.s = g
g.s = f
assert n.s.s.s.s.s.txt == " | f" | 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.txt = txt
h = A("h")
l = B("l")
m = A("m")
f = B("f")
d = B("d")
b = A("b")
c = B("c")
n = B("n")
g = B("g")
h.v = m
l.s = f
m.v = h
f.s = d
d.s = l
b.v = m
c.s = f
n.s = g
g.s = f
assert n.s.s.s.s.s.txt == "f" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 5 | 2 | 1 | 5 | 0.555556 | 5 | 0.555556 | 1 | 3 | 3 | 3 | 1 | 5 | 5 | 1 |
82 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
a = B("a")
h = A("h")
i.r = a
a.u = i
h.r = a
assert a.u.r.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
a = B("a")
h = A("h")
i.r = a
a.u = i
h.r = a
assert a.u.r.u.txt == "i" | 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 |
83 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
h = B("h")
k = B("k")
j = A("j")
g = B("g")
b = A("b")
i = B("i")
l = A("l")
c = A("c")
n = A("n")
a.o = j
h.r = a
k.r = l
j.o = c
g.r = n
b.o = n
i.r = a
l.o = c
c.o = j
n.o = b
assert l.o.o.o.o.o.o.txt == " | j" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
h = B("h")
k = B("k")
j = A("j")
g = B("g")
b = A("b")
i = B("i")
l = A("l")
c = A("c")
n = A("n")
a.o = j
h.r = a
k.r = l
j.o = c
g.r = n
b.o = n
i.r = a
l.o = c
c.o = j
n.o = b
assert l.o.o.o.o.o.o.txt == "j" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.3 | 3 | 0.3 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
84 | 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.z: B = None
self.txt = txt
j = A("j")
a = B("a")
n = B("n")
c = B("c")
i = B("i")
d = B("d")
j.o = i
a.t = d
a.z = d
n.t = i
n.z = a
c.t = i
c.z = a
i.t = d
i.z = a
d.t = a
d.z = n
assert d.z.t.z.txt == " | a" | 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.z: B = None
self.txt = txt
j = A("j")
a = B("a")
n = B("n")
c = B("c")
i = B("i")
d = B("d")
j.o = i
a.t = d
a.z = d
n.t = i
n.z = a
c.t = i
c.z = a
i.t = d
i.z = a
d.t = a
d.z = n
assert d.z.t.z.txt == "a" | 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.666667 | 3 | 0.3 | 0 | null | null | null | 2 | 2 | 1 | 1 |
85 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
i = A("i")
m = B("m")
a = B("a")
f = A("f")
e = A("e")
d = A("d")
g = B("g")
i.o = m
m.u = a
m.x = g
a.u = m
a.x = g
f.o = a
e.o = a
d.o = g
g.u = m
g.x = a
assert d.o.u.x.u.txt == " | m" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
i = A("i")
m = B("m")
a = B("a")
f = A("f")
e = A("e")
d = A("d")
g = B("g")
i.o = m
m.u = a
m.x = g
a.u = m
a.x = g
f.o = a
e.o = a
d.o = g
g.u = m
g.x = a
assert d.o.u.x.u.txt == "m" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.3 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
86 | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.t: A = None
self.txt = txt
i = A("i")
e = B("e")
b = A("b")
a = A("a")
f = A("f")
h = A("h")
d = B("d")
j = A("j")
i.v = f
i.p = d
e.u = d
e.t = f
b.v = f
b.p = d
a.v = f
a.p = e
f.v = j
f.p = d
h.v = f
h.p = d
d.u = e
d.t = f
j.v = h
j.p = d
assert e.t.p.u.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.t: A = None
self.txt = txt
i = A("i")
e = B("e")
b = A("b")
a = A("a")
f = A("f")
h = A("h")
d = B("d")
j = A("j")
i.v = f
i.p = d
e.u = d
e.t = f
b.v = f
b.p = d
a.v = f
a.p = e
f.v = j
f.p = d
h.v = f
h.p = d
d.u = e
d.t = f
j.v = h
j.p = d
assert e.t.p.u.u.txt == "d" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.375 | 4 | 0.25 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
87 | 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
a = A("a")
b = B("b")
k = B("k")
d = A("d")
n = B("n")
c = A("c")
a.t = b
b.w = c
k.w = d
d.t = b
n.w = a
c.t = b
assert c.t.w.t.w.t.txt == " | b" | 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
a = A("a")
b = B("b")
k = B("k")
d = A("d")
n = B("n")
c = A("c")
a.t = b
b.w = c
k.w = d
d.t = b
n.w = a
c.t = b
assert c.t.w.t.w.t.txt == "b" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 5 | 3 | 3 | 2 | 0.333333 | 2 | 0.333333 | 4 | 2 | 4 | 2.666667 | 2 | 3 | 1 | 1 |
88 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.o: A = None
self.txt = txt
b = A("b")
h = B("h")
n = B("n")
m = A("m")
j = A("j")
g = B("g")
d = A("d")
i = B("i")
b.u = j
h.p = n
h.o = j
n.p = i
n.o = d
m.u = d
j.u = d
g.p = i
g.o = b
d.u = b
i.p = h
i.o = j
assert h.o.u.u.u.u.u.u.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.o: A = None
self.txt = txt
b = A("b")
h = B("h")
n = B("n")
m = A("m")
j = A("j")
g = B("g")
d = A("d")
i = B("i")
b.u = j
h.p = n
h.o = j
n.p = i
n.o = d
m.u = d
j.u = d
g.p = i
g.o = b
d.u = b
i.p = h
i.o = j
assert h.o.u.u.u.u.u.u.u.txt == "d" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 8 | 3 | 3 | 4 | 0.5 | 4 | 0.333333 | 5 | 3 | 6 | 3.857143 | 2 | 7 | 7 | 1 |
89 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
b = A("b")
j = B("j")
l = A("l")
b.z = l
j.p = l
j.o = l
l.z = b
assert l.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
b = A("b")
j = B("j")
l = A("l")
b.z = l
j.p = l
j.o = l
l.z = b
assert l.z.z.z.txt == "b" | 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 |
90 | 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.v: A = None
self.w: A = None
self.txt = txt
k = A("k")
f = B("f")
n = A("n")
j = B("j")
m = A("m")
b = A("b")
e = B("e")
d = B("d")
k.s = j
k.y = m
f.v = m
f.w = n
n.s = d
n.y = b
j.v = n
j.w = n
m.s = e
m.y = n
b.s = j
b.y = k
e.v = b
e.w = k
d.v = m
d.w = k
assert e.v.s.v.y.s.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.v: A = None
self.w: A = None
self.txt = txt
k = A("k")
f = B("f")
n = A("n")
j = B("j")
m = A("m")
b = A("b")
e = B("e")
d = B("d")
k.s = j
k.y = m
f.v = m
f.w = n
n.s = d
n.y = b
j.v = n
j.w = n
m.s = e
m.y = n
b.s = j
b.y = k
e.v = b
e.w = k
d.v = m
d.w = k
assert e.v.s.v.y.s.txt == "j" | 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.266667 | 2 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
91 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
f = A("f")
m = B("m")
g = B("g")
e = A("e")
f.y = e
m.p = g
g.p = m
e.y = f
assert e.y.y.y.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
f = A("f")
m = B("m")
g = B("g")
e = A("e")
f.y = e
m.p = g
g.p = m
e.y = f
assert e.y.y.y.y.txt == "e" | 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 |
92 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: B = None
self.txt = txt
j = A("j")
a = B("a")
f = B("f")
d = B("d")
b = B("b")
h = A("h")
e = B("e")
m = B("m")
i = B("i")
n = B("n")
j.y = m
a.x = b
a.w = f
f.x = e
f.w = a
d.x = m
d.w = n
b.x = n
b.w = m
h.y = i
e.x = b
e.w = a
m.x = d
m.w = n
i.x = e
i.w = e
n.x = m
n.w = d
assert j.y.x.w.w.x.x.w.x.txt == " | m" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: B = None
self.txt = txt
j = A("j")
a = B("a")
f = B("f")
d = B("d")
b = B("b")
h = A("h")
e = B("e")
m = B("m")
i = B("i")
n = B("n")
j.y = m
a.x = b
a.w = f
f.x = e
f.w = a
d.x = m
d.w = n
b.x = n
b.w = m
h.y = i
e.x = b
e.w = a
m.x = d
m.w = n
i.x = e
i.w = e
n.x = m
n.w = d
assert j.y.x.w.w.x.x.w.x.txt == "m" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 1 | 1.5 | 8 | 3 | 2 | 4 | 0.4 | 6 | 0.352941 | 5 | 2 | 7 | 3.714286 | 3 | 4 | 2 | 2 |
93 | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
m = A("m")
b = B("b")
k = B("k")
e = A("e")
m.t = e
m.y = e
b.q = e
b.t = e
k.q = m
k.t = e
e.t = m
e.y = m
assert k.q.y.y.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
m = A("m")
b = B("b")
k = B("k")
e = A("e")
m.t = e
m.y = e
b.q = e
b.t = e
k.q = m
k.t = e
e.t = m
e.y = m
assert k.q.y.y.t.txt == "e" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.8 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
94 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
b = A("b")
l = B("l")
f = A("f")
h = A("h")
n = B("n")
k = B("k")
b.s = h
l.p = k
f.s = b
h.s = f
n.p = k
k.p = l
assert k.p.p.p.p.txt == " | k" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
b = A("b")
l = B("l")
f = A("f")
h = A("h")
n = B("n")
k = B("k")
b.s = h
l.p = k
f.s = b
h.s = f
n.p = k
k.p = l
assert k.p.p.p.p.txt == "k" | 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 |
95 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
n = A("n")
f = B("f")
m = A("m")
j = A("j")
e = B("e")
l = A("l")
k = B("k")
a = A("a")
h = A("h")
n.u = f
f.p = k
m.u = f
j.u = e
e.p = f
l.u = f
k.p = e
a.u = f
h.u = f
assert h.u.p.p.p.txt == " | f" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
n = A("n")
f = B("f")
m = A("m")
j = A("j")
e = B("e")
l = A("l")
k = B("k")
a = A("a")
h = A("h")
n.u = f
f.p = k
m.u = f
j.u = e
e.p = f
l.u = f
k.p = e
a.u = f
h.u = f
assert h.u.p.p.p.txt == "f" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 4 | 2 | 1 | 4 | 0.444444 | 4 | 0.444444 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 1 |
96 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
f = A("f")
d = B("d")
a = B("a")
j = A("j")
i = A("i")
k = B("k")
b = A("b")
f.v = j
d.p = a
a.p = d
j.v = i
i.v = b
k.p = a
b.v = i
assert b.v.v.v.v.v.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.p: B = None
self.txt = txt
f = A("f")
d = B("d")
a = B("a")
j = A("j")
i = A("i")
k = B("k")
b = A("b")
f.v = j
d.p = a
a.p = d
j.v = i
i.v = b
k.p = a
b.v = i
assert b.v.v.v.v.v.v.v.txt == "i" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 7 | 4 | 4 | 2 | 0.285714 | 2 | 0.285714 | 6 | 2 | 6 | 3.333333 | 1 | 7 | 7 | 1 |
97 | class A:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
m = A("m")
a = B("a")
j = B("j")
i = A("i")
l = B("l")
m.u = a
m.w = i
a.x = m
a.q = i
j.x = m
j.q = i
i.u = a
i.w = m
l.x = i
l.q = m
assert i.w.u.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
m = A("m")
a = B("a")
j = B("j")
i = A("i")
l = B("l")
m.u = a
m.w = i
a.x = m
a.q = i
j.x = m
j.q = i
i.u = a
i.w = m
l.x = i
l.q = m
assert i.w.u.q.txt == "i" | 5 | 10 | 2 | 0.5 | 2 | 2.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.3 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
98 | class A:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
k = A("k")
j = B("j")
f = A("f")
k.p = j
k.q = j
j.v = k
f.p = j
f.q = j
assert k.p.v.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
k = A("k")
j = B("j")
f = A("f")
k.p = j
k.q = j
j.v = k
f.p = j
f.q = j
assert k.p.v.q.txt == "j" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 1 | 2 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
99 | 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.o: A = None
self.s: A = None
self.txt = txt
h = A("h")
n = B("n")
e = A("e")
l = A("l")
i = B("i")
h.s = n
h.y = e
n.o = h
n.s = l
e.s = i
e.y = h
l.s = i
l.y = h
i.o = l
i.s = l
assert n.o.s.s.s.txt == " | i" | 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.o: A = None
self.s: A = None
self.txt = txt
h = A("h")
n = B("n")
e = A("e")
l = A("l")
i = B("i")
h.s = n
h.y = e
n.o = h
n.s = l
e.s = i
e.y = h
l.s = i
l.y = h
i.o = l
i.s = l
assert n.o.s.s.s.txt == "i" | 5 | 9 | 1.8 | 0.45 | 2 | 2.5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.444444 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |