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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
d = A("d")
k = B("k")
f = A("f")
l = B("l")
j = A("j")
g = B("g")
n = B("n")
b = A("b")
i = B("i")
d.t = b
k.w = f
f.t = b
l.w = j
j.t = f
g.w = j
n.w = b
b.t = j
i.w = d
assert l.w.t.t.t.txt == " | j" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
d = A("d")
k = B("k")
f = A("f")
l = B("l")
j = A("j")
g = B("g")
n = B("n")
b = A("b")
i = B("i")
d.t = b
k.w = f
f.t = b
l.w = j
j.t = f
g.w = j
n.w = b
b.t = j
i.w = d
assert l.w.t.t.t.txt == "j" | 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 |
201 | 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.s: A = None
self.txt = txt
f = A("f")
n = B("n")
a = B("a")
e = A("e")
k = B("k")
i = B("i")
m = A("m")
f.z = e
f.y = a
n.s = e
a.s = m
e.z = f
e.y = a
k.s = e
i.s = f
m.z = f
m.y = n
assert e.z.z.y.txt == " | a" | 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.s: A = None
self.txt = txt
f = A("f")
n = B("n")
a = B("a")
e = A("e")
k = B("k")
i = B("i")
m = A("m")
f.z = e
f.y = a
n.s = e
a.s = m
e.z = f
e.y = a
k.s = e
i.s = f
m.z = f
m.y = n
assert e.z.z.y.txt == "a" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.428571 | 3 | 0.3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
202 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: B = None
self.txt = txt
n = A("n")
g = B("g")
f = B("f")
n.s = f
g.y = f
g.q = f
f.y = g
f.q = g
assert g.y.y.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: B = None
self.txt = txt
n = A("n")
g = B("g")
f = B("f")
n.s = f
g.y = f
g.q = f
f.y = g
f.q = g
assert g.y.y.q.txt == "f" | 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 |
203 | class A:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
e = B("e")
k = B("k")
m = A("m")
l = B("l")
n.o = k
n.t = l
e.z = k
k.z = l
m.o = e
m.t = e
l.z = e
assert e.z.z.z.z.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
e = B("e")
k = B("k")
m = A("m")
l = B("l")
n.o = k
n.t = l
e.z = k
k.z = l
m.o = e
m.t = e
l.z = e
assert e.z.z.z.z.txt == "k" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.5 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
204 | 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.w: A = None
self.txt = txt
d = A("d")
j = B("j")
k = A("k")
h = B("h")
d.s = j
d.o = k
j.w = d
k.s = h
k.o = d
h.w = d
assert d.o.s.w.txt == " | d" | 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.w: A = None
self.txt = txt
d = A("d")
j = B("j")
k = A("k")
h = B("h")
d.s = j
d.o = k
j.w = d
k.s = h
k.o = d
h.w = d
assert d.o.s.w.txt == "d" | 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 | 3 | 1 | 1 | 1 |
205 | class A:
def __init__(self, txt: str):
self.z: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.x: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
m = A("m")
f = A("f")
n = B("n")
h = B("h")
i = A("i")
c = B("c")
e.z = g
e.t = g
d.s = g
d.x = f
g.z = i
g.t = m
m.z = g
m.t = g
f.z = e
f.t = i
n.s = g
n.x = m
h.s = f
h.x = i
i.z = m
i.t = e
c.s = e
c.x = m
assert n.s.t.z.z.z.t.z.z.txt == " | m" | class A:
def __init__(self, txt: str):
self.z: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.x: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
m = A("m")
f = A("f")
n = B("n")
h = B("h")
i = A("i")
c = B("c")
e.z = g
e.t = g
d.s = g
d.x = f
g.z = i
g.t = m
m.z = g
m.t = g
f.z = e
f.t = i
n.s = g
n.x = m
h.s = f
h.x = i
i.z = m
i.t = e
c.s = e
c.x = m
assert n.s.t.z.z.z.t.z.z.txt == "m" | 9 | 16 | 1.777778 | 0.222222 | 2 | 4.5 | 2 | 2 | 2 | 8 | 3 | 2 | 4 | 0.444444 | 6 | 0.375 | 5 | 2 | 6 | 3.571429 | 3 | 5 | 3 | 2 |
206 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
b = B("b")
f = A("f")
m = A("m")
n = A("n")
j = A("j")
i = A("i")
h = B("h")
d.y = f
b.t = n
f.y = i
m.y = j
n.y = d
j.y = i
i.y = n
h.t = n
assert f.y.y.y.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.t: A = None
self.txt = txt
d = A("d")
b = B("b")
f = A("f")
m = A("m")
n = A("n")
j = A("j")
i = A("i")
h = B("h")
d.y = f
b.t = n
f.y = i
m.y = j
n.y = d
j.y = i
i.y = n
h.t = n
assert f.y.y.y.y.y.y.txt == "n" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 6 | 2 | 2 | 4 | 0.5 | 4 | 0.5 | 3 | 4 | 4 | 4 | 1 | 6 | 6 | 1 |
207 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
h = A("h")
m = B("m")
f = B("f")
b = A("b")
h.y = b
m.x = h
f.x = b
b.y = h
assert f.x.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
h = A("h")
m = B("m")
f = B("f")
b = A("b")
h.y = b
m.x = h
f.x = b
b.y = h
assert f.x.y.y.txt == "b" | 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 | 2 | 1 |
208 | class A:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
e = A("e")
b = B("b")
g = B("g")
k = A("k")
c = B("c")
h = A("h")
m = A("m")
e.o = h
e.u = g
b.x = c
b.o = e
g.x = b
g.o = k
k.o = e
k.u = g
c.x = g
c.o = h
h.o = e
h.u = g
m.o = k
m.u = c
assert g.o.o.u.o.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
e = A("e")
b = B("b")
g = B("g")
k = A("k")
c = B("c")
h = A("h")
m = A("m")
e.o = h
e.u = g
b.x = c
b.o = e
g.x = b
g.o = k
k.o = e
k.u = g
c.x = g
c.o = h
h.o = e
h.u = g
m.o = k
m.u = c
assert g.o.o.u.o.txt == "k" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.214286 | 2 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
209 | 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.t: B = None
self.z: A = None
self.txt = txt
a = A("a")
d = B("d")
g = A("g")
b = B("b")
a.p = d
a.q = d
d.t = b
d.z = g
g.p = b
g.q = b
b.t = d
b.z = g
assert d.t.t.z.p.txt == " | b" | 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.t: B = None
self.z: A = None
self.txt = txt
a = A("a")
d = B("d")
g = A("g")
b = B("b")
a.p = d
a.q = d
d.t = b
d.z = g
g.p = b
g.q = b
b.t = d
b.z = g
assert d.t.t.z.p.txt == "b" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
210 | class A:
def __init__(self, txt: str):
self.x: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
g = A("g")
c = B("c")
n = B("n")
a = A("a")
d = B("d")
i = A("i")
j = A("j")
l = A("l")
m = A("m")
g.x = a
g.p = d
c.t = i
n.t = a
a.x = g
a.p = n
d.t = m
i.x = m
i.p = d
j.x = a
j.p = c
l.x = j
l.p = d
m.x = g
m.p = c
assert n.t.x.p.t.x.p.t.txt == " | m" | class A:
def __init__(self, txt: str):
self.x: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
g = A("g")
c = B("c")
n = B("n")
a = A("a")
d = B("d")
i = A("i")
j = A("j")
l = A("l")
m = A("m")
g.x = a
g.p = d
c.t = i
n.t = a
a.x = g
a.p = n
d.t = m
i.x = m
i.p = d
j.x = a
j.p = c
l.x = j
l.p = d
m.x = g
m.p = c
assert n.t.x.p.t.x.p.t.txt == "m" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 2 | 2 | 5 | 0.555556 | 5 | 0.333333 | 3 | 3 | 3 | 3 | 3 | 3 | 1 | 1 |
211 | class A:
def __init__(self, txt: str):
self.r: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
j = A("j")
m = B("m")
l = A("l")
e = A("e")
j.r = m
j.x = l
m.w = l
l.r = m
l.x = e
e.r = m
e.x = l
assert j.r.w.r.txt == " | m" | class A:
def __init__(self, txt: str):
self.r: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
j = A("j")
m = B("m")
l = A("l")
e = A("e")
j.r = m
j.x = l
m.w = l
l.r = m
l.x = e
e.r = m
e.x = l
assert j.r.w.r.txt == "m" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
212 | 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.p: A = None
self.txt = txt
e = A("e")
j = B("j")
i = B("i")
h = A("h")
b = B("b")
n = B("n")
f = B("f")
d = A("d")
e.x = j
e.v = b
j.p = d
i.p = h
h.x = j
h.v = j
b.p = h
n.p = h
f.p = e
d.x = n
d.v = b
assert d.x.p.x.p.x.txt == " | n" | 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.p: A = None
self.txt = txt
e = A("e")
j = B("j")
i = B("i")
h = A("h")
b = B("b")
n = B("n")
f = B("f")
d = A("d")
e.x = j
e.v = b
j.p = d
i.p = h
h.x = j
h.v = j
b.p = h
n.p = h
f.p = e
d.x = n
d.v = b
assert d.x.p.x.p.x.txt == "n" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.4 | 2 | 4 | 4 | 4 | 2 | 3 | 1 | 1 |
213 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
h = A("h")
e = B("e")
i = B("i")
g = A("g")
c = A("c")
f = A("f")
m = B("m")
j = B("j")
k = A("k")
h.q = c
e.v = i
i.v = j
g.q = k
c.q = h
f.q = h
m.v = j
j.v = i
k.q = h
assert c.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.v: B = None
self.txt = txt
h = A("h")
e = B("e")
i = B("i")
g = A("g")
c = A("c")
f = A("f")
m = B("m")
j = B("j")
k = A("k")
h.q = c
e.v = i
i.v = j
g.q = k
c.q = h
f.q = h
m.v = j
j.v = i
k.q = h
assert c.q.q.q.txt == "h" | 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 |
214 | class A:
def __init__(self, txt: str):
self.t: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
e = A("e")
j = B("j")
n = B("n")
h = B("h")
a = B("a")
l = A("l")
g = A("g")
k = A("k")
d = A("d")
e.t = l
e.v = g
j.y = a
n.y = h
h.y = j
a.y = j
l.t = d
l.v = e
g.t = e
g.v = k
k.t = d
k.v = e
d.t = g
d.v = k
assert g.v.t.v.txt == " | k" | class A:
def __init__(self, txt: str):
self.t: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
e = A("e")
j = B("j")
n = B("n")
h = B("h")
a = B("a")
l = A("l")
g = A("g")
k = A("k")
d = A("d")
e.t = l
e.v = g
j.y = a
n.y = h
h.y = j
a.y = j
l.t = d
l.v = e
g.t = e
g.v = k
k.t = d
k.v = e
d.t = g
d.v = k
assert g.v.t.v.txt == "k" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.333333 | 3 | 0.214286 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
215 | 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.p: B = None
self.txt = txt
n = A("n")
d = B("d")
g = B("g")
a = A("a")
c = B("c")
i = B("i")
b = A("b")
l = B("l")
h = B("h")
k = A("k")
n.o = b
d.x = k
d.p = c
g.x = b
g.p = h
a.o = k
c.x = b
c.p = l
i.x = n
i.p = h
b.o = k
l.x = k
l.p = h
h.x = a
h.p = g
k.o = a
assert d.p.p.p.x.o.o.o.txt == " | k" | 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.p: B = None
self.txt = txt
n = A("n")
d = B("d")
g = B("g")
a = A("a")
c = B("c")
i = B("i")
b = A("b")
l = B("l")
h = B("h")
k = A("k")
n.o = b
d.x = k
d.p = c
g.x = b
g.p = h
a.o = k
c.x = b
c.p = l
i.x = n
i.p = h
b.o = k
l.x = k
l.p = h
h.x = a
h.p = g
k.o = a
assert d.p.p.p.x.o.o.o.txt == "k" | 10 | 16 | 1.6 | 0.177778 | 2 | 5 | 2 | 1 | 1.5 | 7 | 2 | 2 | 6 | 0.6 | 6 | 0.375 | 2 | 2 | 2 | 2 | 3 | 3 | 3 | 1 |
216 | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
f = A("f")
n = B("n")
e = A("e")
a = A("a")
m = A("m")
c = B("c")
k = B("k")
f.v = e
f.o = e
n.u = f
e.v = f
e.o = m
a.v = e
a.o = f
m.v = e
m.o = a
c.u = e
k.u = e
assert k.u.v.v.o.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
f = A("f")
n = B("n")
e = A("e")
a = A("a")
m = A("m")
c = B("c")
k = B("k")
f.v = e
f.o = e
n.u = f
e.v = f
e.o = m
a.v = e
a.o = f
m.v = e
m.o = a
c.u = e
k.u = e
assert k.u.v.v.o.v.txt == "e" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 3 | 1 | 4 | 0.571429 | 5 | 0.5 | 2 | 2 | 4 | 2.666667 | 3 | 3 | 2 | 2 |
217 | class A:
def __init__(self, txt: str):
self.w: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
l = B("l")
i = B("i")
g = B("g")
j = B("j")
k = B("k")
h = A("h")
m = A("m")
f = B("f")
a.w = g
a.x = m
l.z = g
i.z = l
g.z = k
j.z = l
k.z = f
h.w = g
h.x = a
m.w = k
m.x = h
f.z = l
assert k.z.z.z.z.z.z.z.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
l = B("l")
i = B("i")
g = B("g")
j = B("j")
k = B("k")
h = A("h")
m = A("m")
f = B("f")
a.w = g
a.x = m
l.z = g
i.z = l
g.z = k
j.z = l
k.z = f
h.w = g
h.x = a
m.w = k
m.x = h
f.z = l
assert k.z.z.z.z.z.z.z.txt == "g" | 9 | 12 | 1.333333 | 0.166667 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 2 | 2 | 4 | 0.444444 | 4 | 0.333333 | 4 | 4 | 4 | 4 | 1 | 7 | 7 | 1 |
218 | class A:
def __init__(self, txt: str):
self.u: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.v: B = None
self.txt = txt
e = A("e")
i = B("i")
d = B("d")
l = A("l")
a = A("a")
f = A("f")
c = A("c")
m = B("m")
k = B("k")
n = A("n")
e.u = l
e.r = c
i.t = e
i.v = d
d.t = e
d.v = k
l.u = e
l.r = e
a.u = n
a.r = c
f.u = c
f.r = a
c.u = l
c.r = a
m.t = e
m.v = k
k.t = c
k.v = i
n.u = f
n.r = a
assert c.r.r.u.r.r.r.r.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.v: B = None
self.txt = txt
e = A("e")
i = B("i")
d = B("d")
l = A("l")
a = A("a")
f = A("f")
c = A("c")
m = B("m")
k = B("k")
n = A("n")
e.u = l
e.r = c
i.t = e
i.v = d
d.t = e
d.v = k
l.u = e
l.r = e
a.u = n
a.r = c
f.u = c
f.r = a
c.u = l
c.r = a
m.t = e
m.v = k
k.t = c
k.v = i
n.u = f
n.r = a
assert c.r.r.u.r.r.r.r.txt == "c" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 7 | 4 | 2 | 4 | 0.4 | 5 | 0.263158 | 4 | 2 | 7 | 4.142857 | 2 | 6 | 4 | 2 |
219 | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
m = A("m")
a = B("a")
g = A("g")
k = B("k")
m.y = g
m.p = a
a.r = g
a.u = k
g.y = m
g.p = a
k.r = g
k.u = a
assert m.y.p.r.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
m = A("m")
a = B("a")
g = A("g")
k = B("k")
m.y = g
m.p = a
a.r = g
a.u = k
g.y = m
g.p = a
k.r = g
k.u = a
assert m.y.p.r.p.txt == "a" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.375 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
220 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
d = B("d")
g = A("g")
e = B("e")
i = B("i")
j.z = d
d.y = j
g.z = d
e.y = j
i.y = g
assert d.y.z.y.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
d = B("d")
g = A("g")
e = B("e")
i = B("i")
j.z = d
d.y = j
g.z = d
e.y = j
i.y = g
assert d.y.z.y.z.txt == "d" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
221 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.x: B = None
self.txt = txt
l = A("l")
d = B("d")
a = A("a")
g = A("g")
h = B("h")
e = B("e")
j = A("j")
k = A("k")
m = A("m")
l.p = d
d.v = j
d.x = h
a.p = h
g.p = h
h.v = l
h.x = d
e.v = m
e.x = d
j.p = e
k.p = h
m.p = h
assert e.v.p.x.x.v.p.x.txt == " | h" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.x: B = None
self.txt = txt
l = A("l")
d = B("d")
a = A("a")
g = A("g")
h = B("h")
e = B("e")
j = A("j")
k = A("k")
m = A("m")
l.p = d
d.v = j
d.x = h
a.p = h
g.p = h
h.v = l
h.x = d
e.v = m
e.x = d
j.p = e
k.p = h
m.p = h
assert e.v.p.x.x.v.p.x.txt == "h" | 9 | 12 | 1.333333 | 0.166667 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 3 | 2 | 5 | 0.555556 | 6 | 0.5 | 3 | 2 | 5 | 3.25 | 3 | 3 | 2 | 2 |
222 | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
c = A("c")
l = B("l")
a = B("a")
h = B("h")
d = B("d")
i = B("i")
e = A("e")
g = A("g")
b = A("b")
m = B("m")
c.v = d
c.u = e
l.s = g
l.o = b
a.s = c
a.o = c
h.s = g
h.o = c
d.s = g
d.o = g
i.s = c
i.o = g
e.v = d
e.u = b
g.v = l
g.u = c
b.v = l
b.u = c
m.s = g
m.o = e
assert l.s.u.v.txt == " | d" | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
c = A("c")
l = B("l")
a = B("a")
h = B("h")
d = B("d")
i = B("i")
e = A("e")
g = A("g")
b = A("b")
m = B("m")
c.v = d
c.u = e
l.s = g
l.o = b
a.s = c
a.o = c
h.s = g
h.o = c
d.s = g
d.o = g
i.s = c
i.o = g
e.v = d
e.u = b
g.v = l
g.u = c
b.v = l
b.u = c
m.s = g
m.o = e
assert l.s.u.v.txt == "d" | 10 | 18 | 1.8 | 0.2 | 2 | 5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.166667 | 0 | null | null | null | 3 | 1 | 1 | 1 |
223 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
f = A("f")
j = B("j")
n = B("n")
e = A("e")
l = A("l")
g = A("g")
f.r = l
j.v = g
j.r = n
n.v = e
n.r = j
e.r = l
l.r = e
g.r = f
assert g.r.r.r.r.r.r.txt == " | l" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
f = A("f")
j = B("j")
n = B("n")
e = A("e")
l = A("l")
g = A("g")
f.r = l
j.v = g
j.r = n
n.v = e
n.r = j
e.r = l
l.r = e
g.r = f
assert g.r.r.r.r.r.r.txt == "l" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.666667 | 4 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 6 | 6 | 1 |
224 | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.z: A = None
self.txt = txt
h = A("h")
l = B("l")
e = A("e")
a = A("a")
h.x = a
h.v = l
l.v = a
l.z = h
e.x = a
e.v = l
a.x = e
a.v = l
assert e.v.z.x.v.txt == " | l" | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.z: A = None
self.txt = txt
h = A("h")
l = B("l")
e = A("e")
a = A("a")
h.x = a
h.v = l
l.v = a
l.z = h
e.x = a
e.v = l
a.x = e
a.v = l
assert e.v.z.x.v.txt == "l" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.5 | 1 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
225 | 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.y: A = None
self.t: B = None
self.txt = txt
b = A("b")
a = B("a")
h = A("h")
j = A("j")
c = A("c")
k = A("k")
l = A("l")
e = B("e")
i = A("i")
m = A("m")
b.v = a
b.s = m
a.y = j
a.t = e
h.v = a
h.s = l
j.v = e
j.s = h
c.v = e
c.s = l
k.v = e
k.s = l
l.v = a
l.s = h
e.y = k
e.t = a
i.v = a
i.s = c
m.v = a
m.s = b
assert m.v.y.v.t.t.y.v.t.txt == " | a" | 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.y: A = None
self.t: B = None
self.txt = txt
b = A("b")
a = B("a")
h = A("h")
j = A("j")
c = A("c")
k = A("k")
l = A("l")
e = B("e")
i = A("i")
m = A("m")
b.v = a
b.s = m
a.y = j
a.t = e
h.v = a
h.s = l
j.v = e
j.s = h
c.v = e
c.s = l
k.v = e
k.s = l
l.v = a
l.s = h
e.y = k
e.t = a
i.v = a
i.s = c
m.v = a
m.s = b
assert m.v.y.v.t.t.y.v.t.txt == "a" | 10 | 20 | 2 | 0.222222 | 2 | 5 | 2 | 2 | 2 | 8 | 3 | 2 | 5 | 0.5 | 7 | 0.35 | 4 | 2 | 7 | 3.666667 | 3 | 3 | 2 | 2 |
226 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.p: B = None
self.txt = txt
n = A("n")
i = B("i")
a = B("a")
j = A("j")
l = B("l")
c = A("c")
f = A("f")
e = B("e")
g = B("g")
n.s = e
i.y = a
i.p = l
a.y = e
a.p = e
j.s = e
l.y = i
l.p = g
c.s = l
f.s = a
e.y = i
e.p = a
g.y = e
g.p = i
assert l.y.p.y.y.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.p: B = None
self.txt = txt
n = A("n")
i = B("i")
a = B("a")
j = A("j")
l = B("l")
c = A("c")
f = A("f")
e = B("e")
g = B("g")
n.s = e
i.y = a
i.p = l
a.y = e
a.p = e
j.s = e
l.y = i
l.p = g
c.s = l
f.s = a
e.y = i
e.p = a
g.y = e
g.p = i
assert l.y.p.y.y.y.txt == "e" | 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.444444 | 4 | 0.307692 | 2 | 2 | 2 | 2 | 2 | 4 | 3 | 2 |
227 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
n = B("n")
i = A("i")
d = A("d")
j = B("j")
m.s = j
n.p = d
i.s = n
d.s = j
j.p = i
assert n.p.s.p.s.txt == " | n" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
m = A("m")
n = B("n")
i = A("i")
d = A("d")
j = B("j")
m.s = j
n.p = d
i.s = n
d.s = j
j.p = i
assert n.p.s.p.s.txt == "n" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.8 | 1 | 4 | 4 | 4 | 2 | 2 | 1 | 1 |
228 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.p: A = None
self.txt = txt
b = A("b")
a = B("a")
f = A("f")
i = B("i")
g = B("g")
n = B("n")
m = B("m")
j = A("j")
l = B("l")
b.t = n
a.o = i
a.p = b
f.t = m
i.o = l
i.p = j
g.o = l
g.p = j
n.o = i
n.p = j
m.o = n
m.p = b
j.t = n
l.o = m
l.p = f
assert i.o.p.t.o.p.t.o.o.p.txt == " | f" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.p: A = None
self.txt = txt
b = A("b")
a = B("a")
f = A("f")
i = B("i")
g = B("g")
n = B("n")
m = B("m")
j = A("j")
l = B("l")
b.t = n
a.o = i
a.p = b
f.t = m
i.o = l
i.p = j
g.o = l
g.p = j
n.o = i
n.p = j
m.o = n
m.p = b
j.t = n
l.o = m
l.p = f
assert i.o.p.t.o.p.t.o.o.p.txt == "f" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 1 | 1.5 | 9 | 2 | 2 | 6 | 0.666667 | 7 | 0.466667 | 4 | 2 | 7 | 5.75 | 3 | 4 | 2 | 2 |
229 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
i = A("i")
a = B("a")
h = A("h")
f = A("f")
g = A("g")
b = A("b")
m = A("m")
i.z = a
a.q = m
h.z = a
f.z = a
g.z = a
b.z = a
m.z = a
assert i.z.q.z.q.z.q.txt == " | m" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
i = A("i")
a = B("a")
h = A("h")
f = A("f")
g = A("g")
b = A("b")
m = A("m")
i.z = a
a.q = m
h.z = a
f.z = a
g.z = a
b.z = a
m.z = a
assert i.z.q.z.q.z.q.txt == "m" | 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 | 2 | 3 | 1 | 1 |
230 | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
k = B("k")
j = A("j")
b = B("b")
f = B("f")
h.u = j
h.x = k
k.o = h
j.u = h
j.x = b
b.o = h
f.o = j
assert h.u.x.o.txt == " | h" | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
k = B("k")
j = A("j")
b = B("b")
f = B("f")
h.u = j
h.x = k
k.o = h
j.u = h
j.x = b
b.o = h
f.o = j
assert h.u.x.o.txt == "h" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
231 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
f = A("f")
g = B("g")
a = B("a")
e = A("e")
i = B("i")
d = A("d")
k = B("k")
n = A("n")
l = A("l")
f.q = a
g.t = k
a.t = k
e.q = i
i.t = k
d.q = a
k.t = i
n.q = i
l.q = i
assert k.t.t.t.t.t.t.t.t.t.txt == " | i" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
f = A("f")
g = B("g")
a = B("a")
e = A("e")
i = B("i")
d = A("d")
k = B("k")
n = A("n")
l = A("l")
f.q = a
g.t = k
a.t = k
e.q = i
i.t = k
d.q = a
k.t = i
n.q = i
l.q = i
assert k.t.t.t.t.t.t.t.t.t.txt == "i" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 9 | 5 | 5 | 2 | 0.222222 | 2 | 0.222222 | 8 | 2 | 8 | 4 | 1 | 9 | 9 | 1 |
232 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
n = A("n")
a = B("a")
h = A("h")
n.z = a
a.p = n
h.z = a
assert h.z.p.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
n = A("n")
a = B("a")
h = A("h")
n.z = a
a.p = n
h.z = a
assert h.z.p.z.txt == "a" | 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 |
233 | 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.u: B = None
self.txt = txt
j = A("j")
k = B("k")
l = B("l")
f = B("f")
j.u = f
k.o = f
k.u = f
l.o = k
l.u = k
f.o = k
f.u = k
assert j.u.u.o.txt == " | f" | 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.u: B = None
self.txt = txt
j = A("j")
k = B("k")
l = B("l")
f = B("f")
j.u = f
k.o = f
k.u = f
l.o = k
l.u = k
f.o = k
f.u = k
assert j.u.u.o.txt == "f" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
234 | class A:
def __init__(self, txt: str):
self.v: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.w: A = None
self.txt = txt
c = A("c")
m = B("m")
d = B("d")
j = B("j")
f = B("f")
i = B("i")
a = A("a")
n = B("n")
h = B("h")
e = B("e")
c.v = a
c.x = i
m.s = c
m.w = c
d.s = c
d.w = c
j.s = c
j.w = c
f.s = a
f.w = c
i.s = a
i.w = c
a.v = c
a.x = i
n.s = a
n.w = c
h.s = c
h.w = a
e.s = c
e.w = a
assert e.w.v.v.x.s.v.x.s.v.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.w: A = None
self.txt = txt
c = A("c")
m = B("m")
d = B("d")
j = B("j")
f = B("f")
i = B("i")
a = A("a")
n = B("n")
h = B("h")
e = B("e")
c.v = a
c.x = i
m.s = c
m.w = c
d.s = c
d.w = c
j.s = c
j.w = c
f.s = a
f.w = c
i.s = a
i.w = c
a.v = c
a.x = i
n.s = a
n.w = c
h.s = c
h.w = a
e.s = c
e.w = a
assert e.w.v.v.x.s.v.x.s.v.x.txt == "i" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 2 | 2 | 10 | 4 | 3 | 4 | 0.4 | 6 | 0.352941 | 7 | 2 | 7 | 4.083333 | 4 | 4 | 2 | 2 |
235 | class A:
def __init__(self, txt: str):
self.y: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
n = A("n")
j = B("j")
f = A("f")
h = A("h")
l = B("l")
e = A("e")
i = A("i")
c = A("c")
m = B("m")
n.y = m
n.p = m
j.y = l
j.o = h
f.y = l
f.p = l
h.y = j
h.p = l
l.y = j
l.o = h
e.y = j
e.p = j
i.y = j
i.p = m
c.y = m
c.p = l
m.y = l
m.o = c
assert f.y.o.p.o.p.o.p.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
n = A("n")
j = B("j")
f = A("f")
h = A("h")
l = B("l")
e = A("e")
i = A("i")
c = A("c")
m = B("m")
n.y = m
n.p = m
j.y = l
j.o = h
f.y = l
f.p = l
h.y = j
h.p = l
l.y = j
l.o = h
e.y = j
e.p = j
i.y = j
i.p = m
c.y = m
c.p = l
m.y = l
m.o = c
assert f.y.o.p.o.p.o.p.txt == "l" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 2 | 2 | 7 | 4 | 3 | 3 | 0.333333 | 3 | 0.2 | 5 | 2 | 6 | 3.111111 | 3 | 3 | 1 | 1 |
236 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
g = A("g")
m = B("m")
d = A("d")
a = B("a")
g.z = m
m.q = d
m.w = g
d.z = a
a.q = g
a.w = g
assert d.z.q.z.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: A = None
self.txt = txt
g = A("g")
m = B("m")
d = A("d")
a = B("a")
g.z = m
m.q = d
m.w = g
d.z = a
a.q = g
a.w = g
assert d.z.q.z.w.txt == "g" | 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 | 1 |
237 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.q: B = None
self.txt = txt
h = A("h")
a = B("a")
k = B("k")
j = A("j")
b = B("b")
f = B("f")
g = B("g")
h.q = a
a.t = k
a.q = g
k.t = g
k.q = a
j.q = b
b.t = f
b.q = k
f.t = a
f.q = b
g.t = a
g.q = b
assert a.t.t.t.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.q: B = None
self.txt = txt
h = A("h")
a = B("a")
k = B("k")
j = A("j")
b = B("b")
f = B("f")
g = B("g")
h.q = a
a.t = k
a.q = g
k.t = g
k.q = a
j.q = b
b.t = f
b.q = k
f.t = a
f.q = b
g.t = a
g.q = b
assert a.t.t.t.txt == "a" | 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.428571 | 3 | 0.25 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
238 | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
d = A("d")
b = B("b")
c = A("c")
i = B("i")
l = B("l")
j = B("j")
m = B("m")
e = B("e")
n = B("n")
f = A("f")
d.o = j
d.v = i
b.o = f
c.o = j
c.v = n
i.o = d
l.o = d
j.o = c
m.o = d
e.o = d
n.o = f
f.o = e
f.v = i
assert m.o.o.o.v.o.v.o.v.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
d = A("d")
b = B("b")
c = A("c")
i = B("i")
l = B("l")
j = B("j")
m = B("m")
e = B("e")
n = B("n")
f = A("f")
d.o = j
d.v = i
b.o = f
c.o = j
c.v = n
i.o = d
l.o = d
j.o = c
m.o = d
e.o = d
n.o = f
f.o = e
f.v = i
assert m.o.o.o.v.o.v.o.v.o.txt == "d" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 9 | 3 | 2 | 7 | 0.7 | 8 | 0.615385 | 3 | 2 | 8 | 4.5 | 2 | 6 | 3 | 2 |
239 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.z: B = None
self.txt = txt
h = A("h")
m = B("m")
c = A("c")
k = B("k")
j = B("j")
f = A("f")
g = B("g")
b = B("b")
d = A("d")
a = B("a")
h.z = k
m.y = g
m.z = k
c.z = a
k.y = b
k.z = b
j.y = k
j.z = m
f.z = k
g.y = b
g.z = k
b.y = m
b.z = m
d.z = k
a.y = j
a.z = j
assert k.y.y.y.z.y.z.z.z.y.txt == " | m" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.z: B = None
self.txt = txt
h = A("h")
m = B("m")
c = A("c")
k = B("k")
j = B("j")
f = A("f")
g = B("g")
b = B("b")
d = A("d")
a = B("a")
h.z = k
m.y = g
m.z = k
c.z = a
k.y = b
k.z = b
j.y = k
j.z = m
f.z = k
g.y = b
g.z = k
b.y = m
b.z = m
d.z = k
a.y = j
a.z = j
assert k.y.y.y.z.y.z.z.z.y.txt == "m" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 9 | 3 | 2 | 4 | 0.4 | 7 | 0.538462 | 6 | 3 | 7 | 4.666667 | 2 | 5 | 3 | 2 |
240 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.p: A = None
self.txt = txt
n = A("n")
k = B("k")
e = A("e")
n.o = k
k.u = n
k.p = n
e.o = k
assert n.o.p.o.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.p: A = None
self.txt = txt
n = A("n")
k = B("k")
e = A("e")
n.o = k
k.u = n
k.p = n
e.o = k
assert n.o.p.o.txt == "k" | 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 |
241 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: B = None
self.txt = txt
d = A("d")
g = B("g")
e = B("e")
d.r = e
g.p = d
g.v = e
e.p = d
e.v = g
assert d.r.p.r.txt == " | e" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: B = None
self.txt = txt
d = A("d")
g = B("g")
e = B("e")
d.r = e
g.p = d
g.v = e
e.p = d
e.v = g
assert d.r.p.r.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 |
242 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
d = A("d")
b = B("b")
a = A("a")
f = A("f")
g = B("g")
d.q = g
b.r = a
a.q = b
f.q = b
g.r = a
assert a.q.r.q.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
d = A("d")
b = B("b")
a = A("a")
f = A("f")
g = B("g")
d.q = g
b.r = a
a.q = b
f.q = b
g.r = a
assert a.q.r.q.r.txt == "a" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
243 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.v: B = None
self.txt = txt
i = A("i")
n = B("n")
d = A("d")
g = A("g")
b = B("b")
i.p = b
n.r = d
n.v = b
d.p = n
g.p = n
b.r = i
b.v = n
assert n.r.p.r.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.r: A = None
self.v: B = None
self.txt = txt
i = A("i")
n = B("n")
d = A("d")
g = A("g")
b = B("b")
i.p = b
n.r = d
n.v = b
d.p = n
g.p = n
b.r = i
b.v = n
assert n.r.p.r.p.txt == "n" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
244 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: A = None
self.txt = txt
b = A("b")
e = B("e")
i = B("i")
j = A("j")
n = A("n")
k = A("k")
g = A("g")
m = A("m")
b.z = e
e.x = i
e.p = k
i.x = e
i.p = k
j.z = e
n.z = i
k.z = e
g.z = e
m.z = i
assert n.z.x.p.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: A = None
self.txt = txt
b = A("b")
e = B("e")
i = B("i")
j = A("j")
n = A("n")
k = A("k")
g = A("g")
m = A("m")
b.z = e
e.x = i
e.p = k
i.x = e
i.p = k
j.z = e
n.z = i
k.z = e
g.z = e
m.z = i
assert n.z.x.p.z.txt == "e" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.4 | 1 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
245 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
n = A("n")
k = B("k")
l = B("l")
a = B("a")
h = B("h")
e = B("e")
f = B("f")
d = A("d")
b = B("b")
j = A("j")
n.q = k
k.p = d
k.q = h
l.p = d
l.q = k
a.p = j
a.q = l
h.p = j
h.q = l
e.p = n
e.q = a
f.p = j
f.q = k
d.q = b
b.p = j
b.q = k
j.q = f
assert f.p.q.p.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
n = A("n")
k = B("k")
l = B("l")
a = B("a")
h = B("h")
e = B("e")
f = B("f")
d = A("d")
b = B("b")
j = A("j")
n.q = k
k.p = d
k.q = h
l.p = d
l.q = k
a.p = j
a.q = l
h.p = j
h.q = l
e.p = n
e.q = a
f.p = j
f.q = k
d.q = b
b.p = j
b.q = k
j.q = f
assert f.p.q.p.q.txt == "f" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.2 | 2 | 0.117647 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
246 | class A:
def __init__(self, txt: str):
self.y: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
e = A("e")
i = B("i")
j = A("j")
l = A("l")
m = A("m")
c = A("c")
n = B("n")
a = B("a")
e.y = a
e.t = i
i.x = m
i.p = c
j.y = a
j.t = i
l.y = a
l.t = a
m.y = i
m.t = n
c.y = i
c.t = a
n.x = c
n.p = m
a.x = c
a.p = l
assert i.x.t.p.txt == " | m" | class A:
def __init__(self, txt: str):
self.y: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
e = A("e")
i = B("i")
j = A("j")
l = A("l")
m = A("m")
c = A("c")
n = B("n")
a = B("a")
e.y = a
e.t = i
i.x = m
i.p = c
j.y = a
j.t = i
l.y = a
l.t = a
m.y = i
m.t = n
c.y = i
c.t = a
n.x = c
n.p = m
a.x = c
a.p = l
assert i.x.t.p.txt == "m" | 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.375 | 3 | 0.2 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
247 | 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.y: A = None
self.txt = txt
m = A("m")
b = B("b")
l = A("l")
m.q = l
m.x = b
b.y = l
l.q = m
l.x = b
assert m.q.q.x.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.y: A = None
self.txt = txt
m = A("m")
b = B("b")
l = A("l")
m.q = l
m.x = b
b.y = l
l.q = m
l.x = b
assert m.q.q.x.txt == "b" | 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 | 2 |
248 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
i = A("i")
h = B("h")
e = B("e")
b = A("b")
k = A("k")
f = A("f")
m = A("m")
i.r = e
h.u = e
e.u = h
b.r = h
k.r = h
f.r = e
m.r = e
assert m.r.u.u.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
i = A("i")
h = B("h")
e = B("e")
b = A("b")
k = A("k")
f = A("f")
m = A("m")
i.r = e
h.u = e
e.u = h
b.r = h
k.r = h
f.r = e
m.r = e
assert m.r.u.u.u.txt == "h" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
249 | 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.q: A = None
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
a = B("a")
f = A("f")
h = A("h")
k = B("k")
i.z = f
i.x = h
j.q = f
j.v = f
a.q = f
a.v = i
f.z = h
f.x = i
h.z = i
h.x = i
k.q = f
k.v = f
assert k.v.z.x.z.txt == " | f" | 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.q: A = None
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
a = B("a")
f = A("f")
h = A("h")
k = B("k")
i.z = f
i.x = h
j.q = f
j.v = f
a.q = f
a.v = i
f.z = h
f.x = i
h.z = i
h.x = i
k.q = f
k.v = f
assert k.v.z.x.z.txt == "f" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.666667 | 4 | 0.444444 | 1 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
250 | class A:
def __init__(self, txt: str):
self.p: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
e = A("e")
n = B("n")
g = B("g")
j = B("j")
l = A("l")
i = B("i")
a = B("a")
h = A("h")
e.p = h
e.w = i
n.z = l
n.o = g
g.z = h
g.o = n
j.z = e
j.o = g
l.p = h
l.w = j
i.z = e
i.o = a
a.z = h
a.o = i
h.p = l
h.w = i
assert g.z.w.z.p.w.o.o.o.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
e = A("e")
n = B("n")
g = B("g")
j = B("j")
l = A("l")
i = B("i")
a = B("a")
h = A("h")
e.p = h
e.w = i
n.z = l
n.o = g
g.z = h
g.o = n
j.z = e
j.o = g
l.p = h
l.w = j
i.z = e
i.o = a
a.z = h
a.o = i
h.p = l
h.w = i
assert g.z.w.z.p.w.o.o.o.txt == "a" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 8 | 3 | 2 | 5 | 0.625 | 6 | 0.375 | 4 | 2 | 5 | 3 | 4 | 3 | 3 | 2 |
251 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
a = B("a")
l = B("l")
f = A("f")
c.x = f
a.s = l
l.s = a
f.x = c
assert a.s.s.s.txt == " | l" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
a = B("a")
l = B("l")
f = A("f")
c.x = f
a.s = l
l.s = a
f.x = c
assert a.s.s.s.txt == "l" | 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 |
252 | 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.p: B = None
self.t: B = None
self.txt = txt
a = A("a")
k = B("k")
d = B("d")
m = B("m")
i = A("i")
f = B("f")
b = A("b")
h = A("h")
a.s = h
a.q = k
k.p = f
k.t = d
d.p = f
d.t = m
m.p = k
m.t = d
i.s = a
i.q = k
f.p = d
f.t = m
b.s = h
b.q = k
h.s = b
h.q = k
assert m.p.p.p.p.t.t.txt == " | d" | 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.p: B = None
self.t: B = None
self.txt = txt
a = A("a")
k = B("k")
d = B("d")
m = B("m")
i = A("i")
f = B("f")
b = A("b")
h = A("h")
a.s = h
a.q = k
k.p = f
k.t = d
d.p = f
d.t = m
m.p = k
m.t = d
i.s = a
i.q = k
f.p = d
f.t = m
b.s = h
b.q = k
h.s = b
h.q = k
assert m.p.p.p.p.t.t.txt == "d" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 6 | 2 | 1 | 4 | 0.5 | 6 | 0.375 | 3 | 2 | 5 | 3.333333 | 2 | 4 | 4 | 2 |
253 | class A:
def __init__(self, txt: str):
self.o: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
k = A("k")
a = B("a")
g = A("g")
n = A("n")
f = B("f")
k.o = g
k.w = a
a.s = f
g.o = k
g.w = f
n.o = k
n.w = f
f.s = a
assert k.o.w.s.s.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.o: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
k = A("k")
a = B("a")
g = A("g")
n = A("n")
f = B("f")
k.o = g
k.w = a
a.s = f
g.o = k
g.w = f
n.o = k
n.w = f
f.s = a
assert k.o.w.s.s.s.txt == "a" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.5 | 2 | 2 | 2 | 2 | 3 | 3 | 3 | 1 |
254 | class A:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
d = B("d")
c = B("c")
i = B("i")
a = A("a")
l = B("l")
f = B("f")
n = A("n")
h = B("h")
b = A("b")
k.w = a
k.t = a
d.o = b
c.o = n
i.o = k
a.w = k
a.t = n
l.o = a
f.o = k
n.w = k
n.t = b
h.o = a
b.w = k
b.t = a
assert k.w.w.w.t.w.t.w.t.w.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
d = B("d")
c = B("c")
i = B("i")
a = A("a")
l = B("l")
f = B("f")
n = A("n")
h = B("h")
b = A("b")
k.w = a
k.t = a
d.o = b
c.o = n
i.o = k
a.w = k
a.t = n
l.o = a
f.o = k
n.w = k
n.t = b
h.o = a
b.w = k
b.t = a
assert k.w.w.w.t.w.t.w.t.w.w.txt == "a" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 10 | 5 | 3 | 3 | 0.3 | 5 | 0.384615 | 8 | 2 | 9 | 4.6 | 2 | 7 | 3 | 2 |
255 | 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.v: B = None
self.t: A = None
self.txt = txt
l = A("l")
n = B("n")
g = A("g")
c = A("c")
k = A("k")
j = B("j")
e = A("e")
i = B("i")
d = A("d")
m = B("m")
l.o = k
l.s = j
n.v = j
n.t = l
g.o = l
g.s = m
c.o = d
c.s = i
k.o = l
k.s = i
j.v = m
j.t = d
e.o = d
e.s = i
i.v = n
i.t = k
d.o = k
d.s = m
m.v = j
m.t = c
assert d.s.v.t.txt == " | d" | 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.v: B = None
self.t: A = None
self.txt = txt
l = A("l")
n = B("n")
g = A("g")
c = A("c")
k = A("k")
j = B("j")
e = A("e")
i = B("i")
d = A("d")
m = B("m")
l.o = k
l.s = j
n.v = j
n.t = l
g.o = l
g.s = m
c.o = d
c.s = i
k.o = l
k.s = i
j.v = m
j.t = d
e.o = d
e.s = i
i.v = n
i.t = k
d.o = k
d.s = m
m.v = j
m.t = c
assert d.s.v.t.txt == "d" | 10 | 20 | 2 | 0.222222 | 2 | 5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.3 | 3 | 0.15 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
256 | class A:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
k = A("k")
c = B("c")
h = A("h")
j = A("j")
a = A("a")
d = A("d")
m = A("m")
k.w = c
k.r = h
c.u = m
c.x = a
h.w = c
h.r = a
j.w = c
j.r = h
a.w = c
a.r = m
d.w = c
d.r = m
m.w = c
m.r = j
assert k.r.w.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
k = A("k")
c = B("c")
h = A("h")
j = A("j")
a = A("a")
d = A("d")
m = A("m")
k.w = c
k.r = h
c.u = m
c.x = a
h.w = c
h.r = a
j.w = c
j.r = h
a.w = c
a.r = m
d.w = c
d.r = m
m.w = c
m.r = j
assert k.r.w.x.txt == "a" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.571429 | 3 | 0.214286 | 0 | null | null | null | 3 | 1 | 1 | 1 |
257 | 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.r: A = None
self.txt = txt
b = A("b")
d = B("d")
k = B("k")
l = A("l")
i = A("i")
h = B("h")
b.z = l
b.x = l
d.r = l
k.r = b
l.z = b
l.x = i
i.z = b
i.x = b
h.r = l
assert d.r.z.x.z.txt == " | b" | 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.r: A = None
self.txt = txt
b = A("b")
d = B("d")
k = B("k")
l = A("l")
i = A("i")
h = B("h")
b.z = l
b.x = l
d.r = l
k.r = b
l.z = b
l.x = i
i.z = b
i.x = b
h.r = l
assert d.r.z.x.z.txt == "b" | 6 | 7 | 1.166667 | 0.233333 | 2 | 3 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
258 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.p: A = None
self.txt = txt
d = A("d")
g = B("g")
b = B("b")
h = B("h")
d.q = b
g.t = h
g.p = d
b.t = h
b.p = d
h.t = g
h.p = d
assert h.p.q.t.txt == " | h" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.p: A = None
self.txt = txt
d = A("d")
g = B("g")
b = B("b")
h = B("h")
d.q = b
g.t = h
g.p = d
b.t = h
b.p = d
h.t = g
h.p = d
assert h.p.q.t.txt == "h" | 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 |
259 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
b = A("b")
d = B("d")
a = A("a")
e = A("e")
f = A("f")
n = A("n")
i = B("i")
l = A("l")
b.x = i
d.s = i
d.t = n
a.x = d
e.x = i
f.x = i
n.x = d
i.s = d
i.t = b
l.x = i
assert a.x.s.s.t.txt == " | n" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
b = A("b")
d = B("d")
a = A("a")
e = A("e")
f = A("f")
n = A("n")
i = B("i")
l = A("l")
b.x = i
d.s = i
d.t = n
a.x = d
e.x = i
f.x = i
n.x = d
i.s = d
i.t = b
l.x = i
assert a.x.s.s.t.txt == "n" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.5 | 4 | 0.4 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
260 | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.o: B = None
self.txt = txt
d = A("d")
e = B("e")
i = B("i")
k = B("k")
n = A("n")
d.y = n
d.w = e
e.x = d
e.o = i
i.x = d
i.o = e
k.x = d
k.o = i
n.y = d
n.w = e
assert k.x.w.x.y.txt == " | n" | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.o: B = None
self.txt = txt
d = A("d")
e = B("e")
i = B("i")
k = B("k")
n = A("n")
d.y = n
d.w = e
e.x = d
e.o = i
i.x = d
i.o = e
k.x = d
k.o = i
n.y = d
n.w = e
assert k.x.w.x.y.txt == "n" | 5 | 10 | 2 | 0.5 | 2 | 2.5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.4 | 1 | 2 | 2 | 2 | 3 | 2 | 1 | 2 |
261 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: A = None
self.txt = txt
g = A("g")
h = B("h")
m = A("m")
n = A("n")
e = B("e")
i = A("i")
j = A("j")
g.z = i
h.t = i
h.p = i
m.z = n
n.z = g
e.t = i
e.p = g
i.z = n
j.z = g
assert g.z.z.z.z.z.z.txt == " | g" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: A = None
self.txt = txt
g = A("g")
h = B("h")
m = A("m")
n = A("n")
e = B("e")
i = A("i")
j = A("j")
g.z = i
h.t = i
h.p = i
m.z = n
n.z = g
e.t = i
e.p = g
i.z = n
j.z = g
assert g.z.z.z.z.z.z.txt == "g" | 7 | 8 | 1.142857 | 0.190476 | 2 | 3.5 | 2 | 1 | 1.5 | 6 | 3 | 2 | 3 | 0.428571 | 3 | 0.375 | 4 | 3 | 6 | 3.6 | 1 | 6 | 6 | 1 |
262 | class A:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.v: B = None
self.txt = txt
g = A("g")
i = B("i")
e = A("e")
c = B("c")
f = A("f")
k = B("k")
b = A("b")
h = A("h")
l = A("l")
j = B("j")
g.x = l
g.p = e
i.t = h
i.v = j
e.x = g
e.p = g
c.t = h
c.v = i
f.x = b
f.p = g
k.t = e
k.v = i
b.x = l
b.p = f
h.x = f
h.p = e
l.x = f
l.p = b
j.t = g
j.v = k
assert j.t.x.x.x.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.v: B = None
self.txt = txt
g = A("g")
i = B("i")
e = A("e")
c = B("c")
f = A("f")
k = B("k")
b = A("b")
h = A("h")
l = A("l")
j = B("j")
g.x = l
g.p = e
i.t = h
i.v = j
e.x = g
e.p = g
c.t = h
c.v = i
f.x = b
f.p = g
k.t = e
k.v = i
b.x = l
b.p = f
h.x = f
h.p = e
l.x = f
l.p = b
j.t = g
j.v = k
assert j.t.x.x.x.txt == "b" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 4 | 1 | 1 | 5 | 0.5 | 4 | 0.210526 | 0 | null | null | null | 2 | 3 | 3 | 1 |
263 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
m = A("m")
l = B("l")
k = B("k")
f = A("f")
j = B("j")
b = B("b")
d = A("d")
m.x = f
l.q = d
l.w = j
k.q = m
k.w = b
f.x = d
j.q = d
j.w = k
b.q = m
b.w = j
d.x = m
assert m.x.x.x.x.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
m = A("m")
l = B("l")
k = B("k")
f = A("f")
j = B("j")
b = B("b")
d = A("d")
m.x = f
l.q = d
l.w = j
k.q = m
k.w = b
f.x = d
j.q = d
j.w = k
b.q = m
b.w = j
d.x = m
assert m.x.x.x.x.x.txt == "d" | 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 3 | 0.428571 | 3 | 0.272727 | 3 | 3 | 3 | 3 | 1 | 5 | 5 | 1 |
264 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.r: B = None
self.txt = txt
j = A("j")
l = B("l")
a = A("a")
c = B("c")
e = B("e")
j.q = a
l.z = j
l.r = c
a.q = j
c.z = j
c.r = e
e.z = j
e.r = l
assert j.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.z: A = None
self.r: B = None
self.txt = txt
j = A("j")
l = B("l")
a = A("a")
c = B("c")
e = B("e")
j.q = a
l.z = j
l.r = c
a.q = j
c.z = j
c.r = e
e.z = j
e.r = l
assert j.q.q.q.q.q.txt == "a" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.25 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
265 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
m = A("m")
n = B("n")
c = A("c")
m.o = c
n.u = c
c.o = m
assert c.o.o.o.txt == " | m" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
m = A("m")
n = B("n")
c = A("c")
m.o = c
n.u = c
c.o = m
assert c.o.o.o.txt == "m" | 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 |
266 | class A:
def __init__(self, txt: str):
self.s: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: A = None
self.txt = txt
m = A("m")
g = B("g")
d = A("d")
c = B("c")
l = A("l")
n = B("n")
m.s = d
m.w = g
g.p = m
g.v = d
d.s = m
d.w = g
c.p = l
c.v = l
l.s = m
l.w = c
n.p = d
n.v = m
assert n.v.w.p.txt == " | m" | class A:
def __init__(self, txt: str):
self.s: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: A = None
self.txt = txt
m = A("m")
g = B("g")
d = A("d")
c = B("c")
l = A("l")
n = B("n")
m.s = d
m.w = g
g.p = m
g.v = d
d.s = m
d.w = g
c.p = l
c.v = l
l.s = m
l.w = c
n.p = d
n.v = m
assert n.v.w.p.txt == "m" | 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.272727 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
267 | class A:
def __init__(self, txt: str):
self.q: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: A = None
self.txt = txt
n = A("n")
d = B("d")
a = A("a")
f = B("f")
b = B("b")
n.q = a
n.r = b
d.z = f
d.t = n
a.q = n
a.r = f
f.z = d
f.t = a
b.z = d
b.t = n
assert f.z.t.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: A = None
self.txt = txt
n = A("n")
d = B("d")
a = A("a")
f = B("f")
b = B("b")
n.q = a
n.r = b
d.z = f
d.t = n
a.q = n
a.r = f
f.z = d
f.t = a
b.z = d
b.t = n
assert f.z.t.q.txt == "a" | 5 | 10 | 2 | 0.5 | 2 | 2.5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.3 | 0 | null | null | null | 3 | 1 | 1 | 1 |
268 | class A:
def __init__(self, txt: str):
self.w: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
m = A("m")
j = B("j")
d = B("d")
g = B("g")
a = A("a")
m.w = a
m.r = a
j.q = g
d.q = j
g.q = d
a.w = m
a.r = m
assert m.r.r.w.w.txt == " | m" | class A:
def __init__(self, txt: str):
self.w: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
m = A("m")
j = B("j")
d = B("d")
g = B("g")
a = A("a")
m.w = a
m.r = a
j.q = g
d.q = j
g.q = d
a.w = m
a.r = m
assert m.r.r.w.w.txt == "m" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 1 | 2 | 0.4 | 4 | 0.8 | 3 | 2 | 4 | 2.5 | 2 | 2 | 2 | 2 |
269 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
b = A("b")
c = B("c")
f = A("f")
h = A("h")
n = A("n")
b.x = h
c.q = b
c.v = b
f.x = n
h.x = f
n.x = b
assert h.x.x.x.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
b = A("b")
c = B("c")
f = A("f")
h = A("h")
n = A("n")
b.x = h
c.q = b
c.v = b
f.x = n
h.x = f
n.x = b
assert h.x.x.x.txt == "b" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.6 | 0 | null | null | null | 1 | 3 | 3 | 1 |
270 | 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.x: B = None
self.txt = txt
k = A("k")
c = B("c")
g = B("g")
i = A("i")
k.x = g
c.p = i
c.x = g
g.p = i
g.x = c
i.x = g
assert k.x.p.x.p.txt == " | i" | 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.x: B = None
self.txt = txt
k = A("k")
c = B("c")
g = B("g")
i = A("i")
k.x = g
c.p = i
c.x = g
g.p = i
g.x = c
i.x = g
assert k.x.p.x.p.txt == "i" | 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 | 2 | 1 | 1 |
271 | class A:
def __init__(self, txt: str):
self.x: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.r: B = None
self.txt = txt
e = A("e")
b = B("b")
f = A("f")
m = A("m")
j = B("j")
l = B("l")
n = B("n")
c = A("c")
g = A("g")
e.x = l
e.w = l
b.y = l
b.r = j
f.x = n
f.w = n
m.x = j
m.w = j
j.y = l
j.r = n
l.y = j
l.r = n
n.y = b
n.r = l
c.x = l
c.w = l
g.x = j
g.w = l
assert b.r.r.r.y.r.txt == " | n" | class A:
def __init__(self, txt: str):
self.x: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.r: B = None
self.txt = txt
e = A("e")
b = B("b")
f = A("f")
m = A("m")
j = B("j")
l = B("l")
n = B("n")
c = A("c")
g = A("g")
e.x = l
e.w = l
b.y = l
b.r = j
f.x = n
f.w = n
m.x = j
m.w = j
j.y = l
j.r = n
l.y = j
l.r = n
n.y = b
n.r = l
c.x = l
c.w = l
g.x = j
g.w = l
assert b.r.r.r.y.r.txt == "n" | 9 | 14 | 1.555556 | 0.194444 | 2 | 4.5 | 2 | 2 | 2 | 5 | 2 | 2 | 4 | 0.444444 | 4 | 0.285714 | 2 | 3 | 3 | 3 | 2 | 4 | 3 | 1 |
272 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: A = None
self.txt = txt
g = A("g")
n = B("n")
a = B("a")
e = A("e")
m = B("m")
h = B("h")
g.w = m
n.w = m
n.z = g
a.w = h
a.z = g
e.w = m
m.w = a
m.z = e
h.w = n
h.z = e
assert g.w.z.w.w.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: A = None
self.txt = txt
g = A("g")
n = B("n")
a = B("a")
e = A("e")
m = B("m")
h = B("h")
g.w = m
n.w = m
n.z = g
a.w = h
a.z = g
e.w = m
m.w = a
m.z = e
h.w = n
h.z = e
assert g.w.z.w.w.w.txt == "h" | 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 0.833333 | 5 | 0.5 | 1 | 2 | 2 | 2 | 2 | 4 | 3 | 2 |
273 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.t: B = None
self.txt = txt
l = A("l")
i = B("i")
f = B("f")
m = B("m")
d = A("d")
l.w = f
i.y = l
i.t = m
f.y = l
f.t = m
m.y = d
m.t = i
d.w = m
assert d.w.t.y.w.t.txt == " | m" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.t: B = None
self.txt = txt
l = A("l")
i = B("i")
f = B("f")
m = B("m")
d = A("d")
l.w = f
i.y = l
i.t = m
f.y = l
f.t = m
m.y = d
m.t = i
d.w = m
assert d.w.t.y.w.t.txt == "m" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 1 | 5 | 0.625 | 1 | 4 | 4 | 4 | 3 | 2 | 1 | 1 |
274 | class A:
def __init__(self, txt: str):
self.r: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
g = A("g")
j = B("j")
f = B("f")
e = A("e")
g.r = e
g.o = e
j.z = f
f.z = j
e.r = g
e.o = g
assert g.o.r.o.r.txt == " | g" | class A:
def __init__(self, txt: str):
self.r: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
g = A("g")
j = B("j")
f = B("f")
e = A("e")
g.r = e
g.o = e
j.z = f
f.z = j
e.r = g
e.o = g
assert g.o.r.o.r.txt == "g" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
275 | class A:
def __init__(self, txt: str):
self.q: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: B = None
self.txt = txt
b = A("b")
i = B("i")
m = B("m")
l = A("l")
a = B("a")
f = B("f")
k = A("k")
e = A("e")
g = A("g")
b.q = m
b.r = e
i.u = a
i.w = m
m.u = f
m.w = a
l.q = a
l.r = k
a.u = m
a.w = f
f.u = i
f.w = i
k.q = i
k.r = e
e.q = m
e.r = l
g.q = a
g.r = k
assert g.q.w.w.u.w.u.w.w.u.txt == " | m" | class A:
def __init__(self, txt: str):
self.q: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: B = None
self.txt = txt
b = A("b")
i = B("i")
m = B("m")
l = A("l")
a = B("a")
f = B("f")
k = A("k")
e = A("e")
g = A("g")
b.q = m
b.r = e
i.u = a
i.w = m
m.u = f
m.w = a
l.q = a
l.r = k
a.u = m
a.w = f
f.u = i
f.w = i
k.q = i
k.r = e
e.q = m
e.r = l
g.q = a
g.r = k
assert g.q.w.w.u.w.u.w.w.u.txt == "m" | 9 | 17 | 1.888889 | 0.236111 | 2 | 4.5 | 2 | 2 | 2 | 9 | 3 | 2 | 5 | 0.555556 | 8 | 0.470588 | 5 | 2 | 7 | 3.666667 | 3 | 5 | 2 | 2 |
276 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
n = A("n")
g = B("g")
l = A("l")
m = A("m")
k = A("k")
n.x = l
g.q = l
l.x = m
m.x = n
k.x = n
assert k.x.x.x.txt == " | m" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
n = A("n")
g = B("g")
l = A("l")
m = A("m")
k = A("k")
n.x = l
g.q = l
l.x = m
m.x = n
k.x = n
assert k.x.x.x.txt == "m" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.6 | 0 | null | null | null | 1 | 3 | 3 | 1 |
277 | 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.x: A = None
self.txt = txt
d = A("d")
a = B("a")
n = B("n")
d.v = a
d.s = a
a.x = d
n.x = d
assert n.x.v.x.txt == " | d" | 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.x: A = None
self.txt = txt
d = A("d")
a = B("a")
n = B("n")
d.v = a
d.s = a
a.x = d
n.x = d
assert n.x.v.x.txt == "d" | 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 |
278 | class A:
def __init__(self, txt: str):
self.u: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: B = None
self.txt = txt
b = A("b")
k = B("k")
m = A("m")
g = A("g")
d = B("d")
j = A("j")
f = B("f")
b.u = d
b.o = g
k.p = m
k.s = f
m.u = k
m.o = g
g.u = d
g.o = j
d.p = m
d.s = k
j.u = k
j.o = g
f.p = j
f.s = k
assert d.p.u.p.o.o.txt == " | j" | class A:
def __init__(self, txt: str):
self.u: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: B = None
self.txt = txt
b = A("b")
k = B("k")
m = A("m")
g = A("g")
d = B("d")
j = A("j")
f = B("f")
b.u = d
b.o = g
k.p = m
k.s = f
m.u = k
m.o = g
g.u = d
g.o = j
d.p = m
d.s = k
j.u = k
j.o = g
f.p = j
f.s = k
assert d.p.u.p.o.o.txt == "j" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 5 | 2 | 1 | 5 | 0.714286 | 5 | 0.357143 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
279 | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
n = A("n")
a = B("a")
c = B("c")
i = A("i")
n.t = c
n.w = i
a.u = i
a.v = c
c.u = i
c.v = a
i.t = a
i.w = n
assert n.t.u.w.txt == " | n" | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
n = A("n")
a = B("a")
c = B("c")
i = A("i")
n.t = c
n.w = i
a.u = i
a.v = c
c.u = i
c.v = a
i.t = a
i.w = n
assert n.t.u.w.txt == "n" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
280 | class A:
def __init__(self, txt: str):
self.y: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
f = A("f")
l = B("l")
h = B("h")
e = B("e")
n = B("n")
m = A("m")
g = B("g")
a = A("a")
k = B("k")
d = B("d")
f.y = n
f.w = l
l.x = f
l.q = f
h.x = a
h.q = m
e.x = m
e.q = m
n.x = f
n.q = m
m.y = g
m.w = l
g.x = m
g.q = m
a.y = h
a.w = n
k.x = a
k.q = a
d.x = f
d.q = m
assert h.q.y.x.w.q.w.x.w.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.y: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
f = A("f")
l = B("l")
h = B("h")
e = B("e")
n = B("n")
m = A("m")
g = B("g")
a = A("a")
k = B("k")
d = B("d")
f.y = n
f.w = l
l.x = f
l.q = f
h.x = a
h.q = m
e.x = m
e.q = m
n.x = f
n.q = m
m.y = g
m.w = l
g.x = m
g.q = m
a.y = h
a.w = n
k.x = a
k.q = a
d.x = f
d.q = m
assert h.q.y.x.w.q.w.x.w.q.txt == "f" | 10 | 16 | 1.6 | 0.177778 | 2 | 5 | 2 | 2 | 2 | 9 | 3 | 2 | 5 | 0.5 | 7 | 0.4375 | 5 | 2 | 4 | 2.571429 | 4 | 3 | 1 | 2 |
281 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
g = A("g")
b = B("b")
a = B("a")
j = B("j")
g.y = a
b.r = j
a.r = j
j.r = a
assert j.r.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
g = A("g")
b = B("b")
a = B("a")
j = B("j")
g.y = a
b.r = j
a.r = j
j.r = a
assert j.r.r.r.txt == "a" | 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 |
282 | class A:
def __init__(self, txt: str):
self.w: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
l = B("l")
d = A("d")
k = B("k")
j = B("j")
f = B("f")
g.w = d
g.u = d
l.o = d
d.w = g
d.u = g
k.o = g
j.o = g
f.o = d
assert k.o.w.u.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
l = B("l")
d = A("d")
k = B("k")
j = B("j")
f = B("f")
g.w = d
g.u = d
l.o = d
d.w = g
d.u = g
k.o = g
j.o = g
f.o = d
assert k.o.w.u.txt == "g" | 6 | 6 | 1 | 0.2 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.5 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
283 | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
h = A("h")
j = B("j")
f = A("f")
a = A("a")
e = A("e")
d = B("d")
h.o = f
h.y = j
j.y = a
f.o = e
f.y = j
a.o = f
a.y = j
e.o = a
e.y = d
d.y = f
assert a.y.y.y.y.o.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
h = A("h")
j = B("j")
f = A("f")
a = A("a")
e = A("e")
d = B("d")
h.o = f
h.y = j
j.y = a
f.o = e
f.y = j
a.o = f
a.y = j
e.o = a
e.y = d
d.y = f
assert a.y.y.y.y.o.y.txt == "j" | 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 6 | 3 | 2 | 3 | 0.5 | 4 | 0.4 | 4 | 2 | 5 | 3 | 2 | 5 | 4 | 2 |
284 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
i = A("i")
f = B("f")
n = B("n")
i.w = f
f.q = n
f.y = n
n.q = f
n.y = f
assert n.q.q.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
i = A("i")
f = B("f")
n = B("n")
i.w = f
f.q = n
f.y = n
n.q = f
n.y = f
assert n.q.q.q.txt == "f" | 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 |
285 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
j = B("j")
c = B("c")
f.z = j
j.z = f
c.z = f
assert c.z.z.z.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
j = B("j")
c = B("c")
f.z = j
j.z = f
c.z = f
assert c.z.z.z.txt == "f" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
286 | class A:
def __init__(self, txt: str):
self.s: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
l = B("l")
g = B("g")
h = B("h")
i = B("i")
b = B("b")
k = B("k")
j = B("j")
n = B("n")
f.s = n
f.z = b
l.r = f
g.r = f
h.r = f
i.r = f
b.r = f
k.r = f
j.r = f
n.r = f
assert b.r.s.r.z.r.z.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.s: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
l = B("l")
g = B("g")
h = B("h")
i = B("i")
b = B("b")
k = B("k")
j = B("j")
n = B("n")
f.s = n
f.z = b
l.r = f
g.r = f
h.r = f
i.r = f
b.r = f
k.r = f
j.r = f
n.r = f
assert b.r.s.r.z.r.z.r.txt == "f" | 9 | 10 | 1.111111 | 0.138889 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.333333 | 4 | 0.4 | 5 | 2 | 6 | 3.555556 | 3 | 4 | 1 | 2 |
287 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
k = A("k")
h = B("h")
b = A("b")
k.t = h
h.u = k
b.t = h
assert k.t.u.t.txt == " | h" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
k = A("k")
h = B("h")
b = A("b")
k.t = h
h.u = k
b.t = h
assert k.t.u.t.txt == "h" | 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 |
288 | 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.y: A = None
self.txt = txt
m = A("m")
a = B("a")
d = A("d")
l = A("l")
g = B("g")
n = B("n")
j = A("j")
b = B("b")
k = A("k")
c = B("c")
m.w = d
a.s = b
a.y = k
d.w = m
l.w = m
g.s = c
g.y = k
n.s = b
n.y = k
j.w = k
b.s = n
b.y = m
k.w = m
c.s = n
c.y = m
assert g.y.w.w.w.w.txt == " | d" | 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.y: A = None
self.txt = txt
m = A("m")
a = B("a")
d = A("d")
l = A("l")
g = B("g")
n = B("n")
j = A("j")
b = B("b")
k = A("k")
c = B("c")
m.w = d
a.s = b
a.y = k
d.w = m
l.w = m
g.s = c
g.y = k
n.s = b
n.y = k
j.w = k
b.s = n
b.y = m
k.w = m
c.s = n
c.y = m
assert g.y.w.w.w.w.txt == "d" | 10 | 15 | 1.5 | 0.166667 | 2 | 5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.4 | 4 | 0.266667 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
289 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
l = A("l")
m = B("m")
e = A("e")
i = A("i")
b = B("b")
k = B("k")
n = B("n")
h = B("h")
d = B("d")
l.y = i
m.t = i
e.y = l
i.y = e
b.t = e
k.t = e
n.t = e
h.t = l
d.t = i
assert m.t.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.t: A = None
self.txt = txt
l = A("l")
m = B("m")
e = A("e")
i = A("i")
b = B("b")
k = B("k")
n = B("n")
h = B("h")
d = B("d")
l.y = i
m.t = i
e.y = l
i.y = e
b.t = e
k.t = e
n.t = e
h.t = l
d.t = i
assert m.t.y.y.y.y.txt == "e" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 5 | 2 | 2 | 4 | 0.444444 | 4 | 0.444444 | 2 | 3 | 3 | 3 | 2 | 4 | 4 | 1 |
290 | class A:
def __init__(self, txt: str):
self.t: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
k = A("k")
n = B("n")
h = B("h")
j = B("j")
m = A("m")
d = B("d")
k.t = d
k.r = m
n.w = d
n.v = h
h.w = j
h.v = j
j.w = d
j.v = n
m.t = n
m.r = k
d.w = n
d.v = h
assert n.w.v.w.v.v.v.txt == " | j" | class A:
def __init__(self, txt: str):
self.t: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
k = A("k")
n = B("n")
h = B("h")
j = B("j")
m = A("m")
d = B("d")
k.t = d
k.r = m
n.w = d
n.v = h
h.w = j
h.v = j
j.w = d
j.v = n
m.t = n
m.r = k
d.w = n
d.v = h
assert n.w.v.w.v.v.v.txt == "j" | 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 6 | 2 | 1 | 4 | 0.666667 | 6 | 0.545455 | 3 | 3 | 4 | 3.333333 | 2 | 4 | 3 | 2 |
291 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: A = None
self.txt = txt
i = A("i")
f = B("f")
d = B("d")
g = B("g")
e = A("e")
c = A("c")
j = A("j")
l = B("l")
k = A("k")
h = A("h")
i.w = l
f.s = d
f.u = k
d.s = l
d.u = k
g.s = l
g.u = k
e.w = l
c.w = d
j.w = g
l.s = g
l.u = h
k.w = f
h.w = f
assert d.s.s.s.s.s.s.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: A = None
self.txt = txt
i = A("i")
f = B("f")
d = B("d")
g = B("g")
e = A("e")
c = A("c")
j = A("j")
l = B("l")
k = A("k")
h = A("h")
i.w = l
f.s = d
f.u = k
d.s = l
d.u = k
g.s = l
g.u = k
e.w = l
c.w = d
j.w = g
l.s = g
l.u = h
k.w = f
h.w = f
assert d.s.s.s.s.s.s.txt == "g" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 6 | 3 | 3 | 3 | 0.3 | 3 | 0.214286 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
292 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
n = A("n")
e = B("e")
m = A("m")
h = A("h")
g = A("g")
a = A("a")
b = A("b")
f = B("f")
j = A("j")
n.y = g
e.y = f
m.y = g
h.y = a
g.y = h
a.y = g
b.y = m
f.y = e
j.y = h
assert m.y.y.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
n = A("n")
e = B("e")
m = A("m")
h = A("h")
g = A("g")
a = A("a")
b = A("b")
f = B("f")
j = A("j")
n.y = g
e.y = f
m.y = g
h.y = a
g.y = h
a.y = g
b.y = m
f.y = e
j.y = h
assert m.y.y.y.txt == "a" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.444444 | 3 | 0.333333 | 0 | null | null | null | 1 | 3 | 3 | 1 |
293 | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
m = A("m")
e = B("e")
n = B("n")
g = A("g")
b = A("b")
d = A("d")
f = A("f")
i = A("i")
h = A("h")
m.q = n
m.o = g
e.v = n
n.v = e
g.q = n
g.o = h
b.q = e
b.o = m
d.q = e
d.o = h
f.q = n
f.o = h
i.q = e
i.o = b
h.q = e
h.o = i
assert n.v.v.v.v.v.v.v.v.txt == " | n" | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
m = A("m")
e = B("e")
n = B("n")
g = A("g")
b = A("b")
d = A("d")
f = A("f")
i = A("i")
h = A("h")
m.q = n
m.o = g
e.v = n
n.v = e
g.q = n
g.o = h
b.q = e
b.o = m
d.q = e
d.o = h
f.q = n
f.o = h
i.q = e
i.o = b
h.q = e
h.o = i
assert n.v.v.v.v.v.v.v.v.txt == "n" | 9 | 16 | 1.777778 | 0.222222 | 2 | 4.5 | 2 | 1 | 1.5 | 8 | 5 | 4 | 2 | 0.222222 | 2 | 0.125 | 7 | 2 | 8 | 3.75 | 1 | 8 | 8 | 1 |
294 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
d = A("d")
i = B("i")
b = B("b")
h = A("h")
n = A("n")
l = B("l")
a = A("a")
d.w = a
i.q = b
i.u = l
b.q = l
b.u = i
h.w = a
n.w = a
l.q = i
l.u = b
a.w = n
assert i.u.q.q.u.q.txt == " | b" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
d = A("d")
i = B("i")
b = B("b")
h = A("h")
n = A("n")
l = B("l")
a = A("a")
d.w = a
i.q = b
i.u = l
b.q = l
b.u = i
h.w = a
n.w = a
l.q = i
l.u = b
a.w = n
assert i.u.q.q.u.q.txt == "b" | 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.428571 | 4 | 0.4 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
295 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.p: A = None
self.txt = txt
h = A("h")
g = B("g")
a = B("a")
n = A("n")
d = A("d")
f = B("f")
m = B("m")
k = A("k")
c = A("c")
h.u = f
g.y = f
g.p = h
a.y = f
a.p = h
n.u = f
d.u = g
f.y = a
f.p = d
m.y = a
m.p = k
k.u = a
c.u = f
assert m.p.u.y.y.p.txt == " | h" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.p: A = None
self.txt = txt
h = A("h")
g = B("g")
a = B("a")
n = A("n")
d = A("d")
f = B("f")
m = B("m")
k = A("k")
c = A("c")
h.u = f
g.y = f
g.p = h
a.y = f
a.p = h
n.u = f
d.u = g
f.y = a
f.p = d
m.y = a
m.p = k
k.u = a
c.u = f
assert m.p.u.y.y.p.txt == "h" | 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 0.555556 | 5 | 0.384615 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
296 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.v: B = None
self.txt = txt
g = A("g")
c = B("c")
k = B("k")
g.x = k
c.w = g
c.v = k
k.w = g
k.v = c
assert k.w.x.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.v: B = None
self.txt = txt
g = A("g")
c = B("c")
k = B("k")
g.x = k
c.w = g
c.v = k
k.w = g
k.v = c
assert k.w.x.w.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 | 2 | 2 | 1 | 1 |
297 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
l = A("l")
i = B("i")
g = A("g")
b = B("b")
f = B("f")
a = B("a")
k = A("k")
l.s = g
i.t = g
g.s = l
b.t = k
f.t = g
a.t = k
k.s = g
assert k.s.s.s.txt == " | g" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
l = A("l")
i = B("i")
g = A("g")
b = B("b")
f = B("f")
a = B("a")
k = A("k")
l.s = g
i.t = g
g.s = l
b.t = k
f.t = g
a.t = k
k.s = g
assert k.s.s.s.txt == "g" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.428571 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
298 | 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.v: A = None
self.txt = txt
b = A("b")
n = B("n")
e = B("e")
l = B("l")
f = B("f")
d = A("d")
i = A("i")
g = A("g")
a = B("a")
m = B("m")
b.t = i
n.z = b
n.v = i
e.z = g
e.v = g
l.z = d
l.v = i
f.z = d
f.v = b
d.t = i
i.t = d
g.t = b
a.z = d
a.v = b
m.z = i
m.v = d
assert l.z.t.t.t.t.t.t.txt == " | d" | 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.v: A = None
self.txt = txt
b = A("b")
n = B("n")
e = B("e")
l = B("l")
f = B("f")
d = A("d")
i = A("i")
g = A("g")
a = B("a")
m = B("m")
b.t = i
n.z = b
n.v = i
e.z = g
e.v = g
l.z = d
l.v = i
f.z = d
f.v = b
d.t = i
i.t = d
g.t = b
a.z = d
a.v = b
m.z = i
m.v = d
assert l.z.t.t.t.t.t.t.txt == "d" | 10 | 15 | 1.5 | 0.166667 | 2 | 5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.3 | 3 | 0.2 | 5 | 2 | 6 | 3.111111 | 2 | 6 | 6 | 1 |
299 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
i = B("i")
d = B("d")
j = B("j")
n = B("n")
h = B("h")
k = B("k")
g = A("g")
a.z = g
i.y = n
d.y = k
j.y = k
n.y = i
h.y = j
k.y = h
g.z = a
assert k.y.y.y.y.y.y.y.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
i = B("i")
d = B("d")
j = B("j")
n = B("n")
h = B("h")
k = B("k")
g = A("g")
a.z = g
i.y = n
d.y = k
j.y = k
n.y = i
h.y = j
k.y = h
g.z = a
assert k.y.y.y.y.y.y.y.txt == "h" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 7 | 3 | 3 | 3 | 0.375 | 3 | 0.375 | 5 | 3 | 6 | 3.857143 | 1 | 7 | 7 | 1 |