id
int64 0
9k
| prompt
stringlengths 265
3.32k
| answer
stringclasses 14
values | pythoncode
stringlengths 267
3.32k
| num_nodes
int64 3
10
| num_edges
int64 3
53
| avg_node_edge
float64 1
5.3
| graph_density
float64 0.11
1
| num_classes
int64 2
10
| avg_node_class
float64 1
5
| max_num_field
int64 1
10
| min_num_field
int64 1
5
| avg_num_field
float64 1
7.6
| path_length
int64 3
10
| max_node_visits
int64 1
6
| max_edge_visits
int64 1
5
| unique_node_number
int64 2
10
| path_node_coverage
float64 0.2
1
| unique_edge_number
int64 2
10
| path_edge_coverage
float64 0.04
1
| num_cycle
int64 0
9
| shortest_cycle
int64 2
8
⌀ | longest_cycle
int64 2
10
⌀ | average_cycle
float64 2
8
⌀ | unique_edge_label
int64 1
9
| max_label_occurrences
int64 1
10
| max_label_consecutive
int64 1
10
| max_node_outdegree
int64 1
4
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
h = A("h")
c = B("c")
m = A("m")
k = B("k")
n = A("n")
e = B("e")
l = A("l")
g = A("g")
f = A("f")
h.o = c
h.w = n
c.o = g
c.r = k
m.o = c
m.w = g
k.o = m
k.r = e
n.o = k
n.w = l
e.o = l
e.r = c
l.o = e
l.w = f
g.o = c
g.w = m
f.o = e
f.w = n
assert h.w.o.r.r.r.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
h = A("h")
c = B("c")
m = A("m")
k = B("k")
n = A("n")
e = B("e")
l = A("l")
g = A("g")
f = A("f")
h.o = c
h.w = n
c.o = g
c.r = k
m.o = c
m.w = g
k.o = m
k.r = e
n.o = k
n.w = l
e.o = l
e.r = c
l.o = e
l.w = f
g.o = c
g.w = m
f.o = e
f.w = n
assert h.w.o.r.r.r.txt == "k" | 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 5 | 2 | 1 | 5 | 0.555556 | 5 | 0.277778 | 1 | 3 | 3 | 3 | 3 | 3 | 3 | 1 |
1 | class A:
def __init__(self, txt: str):
self.y: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
g = A("g")
i = B("i")
l = A("l")
b = A("b")
g.y = l
g.t = i
i.t = g
l.y = g
l.t = i
b.y = g
b.t = i
assert l.t.t.t.txt == " | i" | class A:
def __init__(self, txt: str):
self.y: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
g = A("g")
i = B("i")
l = A("l")
b = A("b")
g.y = l
g.t = i
i.t = g
l.y = g
l.t = i
b.y = g
b.t = i
assert l.t.t.t.txt == "i" | 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 | 1 | 3 | 3 | 1 |
2 | class A:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
k = B("k")
m = A("m")
n = A("n")
e = A("e")
h = B("h")
j = A("j")
b = B("b")
g = A("g")
a.x = g
a.t = j
k.t = h
m.x = a
m.t = a
n.x = e
n.t = e
e.x = n
e.t = n
h.t = b
j.x = e
j.t = a
b.t = k
g.x = a
g.t = j
assert e.t.t.x.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
k = B("k")
m = A("m")
n = A("n")
e = A("e")
h = B("h")
j = A("j")
b = B("b")
g = A("g")
a.x = g
a.t = j
k.t = h
m.x = a
m.t = a
n.x = e
n.t = e
e.x = n
e.t = n
h.t = b
j.x = e
j.t = a
b.t = k
g.x = a
g.t = j
assert e.t.t.x.t.txt == "e" | 9 | 12 | 1.333333 | 0.166667 | 2 | 4.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.222222 | 3 | 0.25 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
3 | class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
c = A("c")
l = B("l")
d = A("d")
g = A("g")
i = B("i")
c.w = d
c.v = d
l.r = c
d.w = g
d.v = c
g.w = c
g.v = d
i.r = c
assert c.v.v.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
c = A("c")
l = B("l")
d = A("d")
g = A("g")
i = B("i")
c.w = d
c.v = d
l.r = c
d.w = g
d.v = c
g.w = c
g.v = d
i.r = c
assert c.v.v.w.txt == "d" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 2 | 0.4 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
4 | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
l = A("l")
g = B("g")
e = B("e")
d = B("d")
c = B("c")
i = A("i")
k = B("k")
b = B("b")
l.v = i
l.q = g
g.o = c
g.v = e
e.o = k
e.v = k
d.o = c
d.v = k
c.o = b
c.v = g
i.v = l
i.q = b
k.o = d
k.v = c
b.o = d
b.v = k
assert b.v.v.v.o.v.o.txt == " | c" | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
l = A("l")
g = B("g")
e = B("e")
d = B("d")
c = B("c")
i = A("i")
k = B("k")
b = B("b")
l.v = i
l.q = g
g.o = c
g.v = e
e.o = k
e.v = k
d.o = c
d.v = k
c.o = b
c.v = g
i.v = l
i.q = b
k.o = d
k.v = c
b.o = d
b.v = k
assert b.v.v.v.o.v.o.txt == "c" | 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 6 | 3 | 2 | 4 | 0.5 | 4 | 0.266667 | 3 | 2 | 4 | 2.5 | 2 | 4 | 3 | 1 |
5 | class A:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
i = A("i")
c = B("c")
e = A("e")
i.z = c
i.s = e
c.r = e
e.z = c
e.s = i
assert e.s.z.r.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
i = A("i")
c = B("c")
e = A("e")
i.z = c
i.s = e
c.r = e
e.z = c
e.s = i
assert e.s.z.r.txt == "e" | 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 |
6 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
b = B("b")
j = B("j")
k = B("k")
h = B("h")
g = A("g")
c.s = g
b.s = j
j.s = b
k.s = b
h.s = b
g.s = c
assert k.s.s.s.s.s.s.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
b = B("b")
j = B("j")
k = B("k")
h = B("h")
g = A("g")
c.s = g
b.s = j
j.s = b
k.s = b
h.s = b
g.s = c
assert k.s.s.s.s.s.s.txt == "j" | 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 |
7 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
n = B("n")
m = B("m")
d.x = n
n.z = m
m.z = n
assert d.x.z.z.txt == " | n" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
n = B("n")
m = B("m")
d.x = n
n.z = m
m.z = n
assert d.x.z.z.txt == "n" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
8 | 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.q: A = None
self.txt = txt
i = A("i")
h = B("h")
l = B("l")
i.w = l
i.z = l
h.q = i
l.q = i
assert h.q.z.q.txt == " | i" | 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.q: A = None
self.txt = txt
i = A("i")
h = B("h")
l = B("l")
i.w = l
i.z = l
h.q = i
l.q = i
assert h.q.z.q.txt == "i" | 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 |
9 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
m = A("m")
i = B("i")
e = A("e")
f = A("f")
b = A("b")
g = A("g")
j = A("j")
h = B("h")
n = A("n")
m.w = b
i.v = m
e.w = f
f.w = e
b.w = g
g.w = j
j.w = e
h.v = g
n.w = e
assert j.w.w.w.w.w.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
m = A("m")
i = B("i")
e = A("e")
f = A("f")
b = A("b")
g = A("g")
j = A("j")
h = B("h")
n = A("n")
m.w = b
i.v = m
e.w = f
f.w = e
b.w = g
g.w = j
j.w = e
h.v = g
n.w = e
assert j.w.w.w.w.w.w.txt == "f" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 6 | 3 | 3 | 3 | 0.333333 | 3 | 0.333333 | 4 | 2 | 4 | 2.666667 | 1 | 6 | 6 | 1 |
10 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
k = A("k")
c = B("c")
g = A("g")
h = A("h")
d = B("d")
a = B("a")
k.y = h
c.x = d
c.t = a
g.y = k
h.y = g
d.x = c
d.t = c
a.x = d
a.t = c
assert g.y.y.y.y.txt == " | k" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
k = A("k")
c = B("c")
g = A("g")
h = A("h")
d = B("d")
a = B("a")
k.y = h
c.x = d
c.t = a
g.y = k
h.y = g
d.x = c
d.t = c
a.x = d
a.t = c
assert g.y.y.y.y.txt == "k" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.375 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
11 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
e = A("e")
f = B("f")
i = B("i")
d = B("d")
e.t = i
f.t = e
i.t = e
d.t = e
assert e.t.t.t.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
e = A("e")
f = B("f")
i = B("i")
d = B("d")
e.t = i
f.t = e
i.t = e
d.t = e
assert e.t.t.t.t.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 |
12 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: A = None
self.txt = txt
l = A("l")
h = B("h")
f = B("f")
c = B("c")
n = B("n")
m = A("m")
a = B("a")
k = A("k")
j = B("j")
l.o = m
h.v = l
h.o = k
f.v = m
f.o = m
c.v = k
c.o = k
n.v = k
n.o = m
m.o = l
a.v = k
a.o = l
k.o = l
j.v = l
j.o = k
assert m.o.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.v: A = None
self.o: A = None
self.txt = txt
l = A("l")
h = B("h")
f = B("f")
c = B("c")
n = B("n")
m = A("m")
a = B("a")
k = A("k")
j = B("j")
l.o = m
h.v = l
h.o = k
f.v = m
f.o = m
c.v = k
c.o = k
n.v = k
n.o = m
m.o = l
a.v = k
a.o = l
k.o = l
j.v = l
j.o = k
assert m.o.o.o.txt == "l" | 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 |
13 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
e = B("e")
a = B("a")
d = A("d")
c = A("c")
k = B("k")
g.v = d
e.x = k
a.x = k
d.v = g
c.v = g
k.x = e
assert k.x.x.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
e = B("e")
a = B("a")
d = A("d")
c = A("c")
k = B("k")
g.v = d
e.x = k
a.x = k
d.v = g
c.v = g
k.x = e
assert k.x.x.x.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 |
14 | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
l = A("l")
i = B("i")
m = A("m")
g = B("g")
f = B("f")
d = A("d")
c = B("c")
j = A("j")
a = B("a")
l.t = a
l.s = i
i.r = m
m.t = i
m.s = g
g.r = m
f.r = l
d.t = a
d.s = c
c.r = d
j.t = i
j.s = c
a.r = m
assert j.t.r.t.r.s.txt == " | g" | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
l = A("l")
i = B("i")
m = A("m")
g = B("g")
f = B("f")
d = A("d")
c = B("c")
j = A("j")
a = B("a")
l.t = a
l.s = i
i.r = m
m.t = i
m.s = g
g.r = m
f.r = l
d.t = a
d.s = c
c.r = d
j.t = i
j.s = c
a.r = m
assert j.t.r.t.r.s.txt == "g" | 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 | 3 | 2 | 1 | 2 |
15 | class A:
def __init__(self, txt: str):
self.y: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: B = None
self.txt = txt
e = A("e")
a = B("a")
d = B("d")
b = A("b")
f = A("f")
m = B("m")
n = B("n")
e.y = b
e.v = d
a.q = n
a.t = d
d.q = n
d.t = n
b.y = e
b.v = a
f.y = e
f.v = d
m.q = d
m.t = n
n.q = a
n.t = a
assert f.y.v.q.txt == " | n" | class A:
def __init__(self, txt: str):
self.y: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: B = None
self.txt = txt
e = A("e")
a = B("a")
d = B("d")
b = A("b")
f = A("f")
m = B("m")
n = B("n")
e.y = b
e.v = d
a.q = n
a.t = d
d.q = n
d.t = n
b.y = e
b.v = a
f.y = e
f.v = d
m.q = d
m.t = n
n.q = a
n.t = a
assert f.y.v.q.txt == "n" | 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.571429 | 3 | 0.25 | 0 | null | null | null | 3 | 1 | 1 | 1 |
16 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
f = B("f")
k = B("k")
h = B("h")
n = A("n")
i = A("i")
l = A("l")
e.t = h
g.r = e
j.r = n
f.r = e
k.r = e
h.r = i
n.t = j
i.t = k
l.t = f
assert k.r.t.r.t.r.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.r: A = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
f = B("f")
k = B("k")
h = B("h")
n = A("n")
i = A("i")
l = A("l")
e.t = h
g.r = e
j.r = n
f.r = e
k.r = e
h.r = i
n.t = j
i.t = k
l.t = f
assert k.r.t.r.t.r.t.txt == "h" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 6 | 2 | 2 | 4 | 0.444444 | 4 | 0.444444 | 3 | 4 | 4 | 4 | 2 | 3 | 1 | 1 |
17 | 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.txt = txt
g = A("g")
b = B("b")
l = B("l")
g.o = l
b.u = g
l.u = g
assert g.o.u.o.txt == " | l" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
b = B("b")
l = B("l")
g.o = l
b.u = g
l.u = g
assert g.o.u.o.txt == "l" | 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 |
18 | class A:
def __init__(self, txt: str):
self.u: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
m = A("m")
l = B("l")
b = B("b")
a = B("a")
i = B("i")
h = B("h")
k = B("k")
g = B("g")
j = B("j")
n = A("n")
m.u = n
m.q = n
l.x = n
b.x = n
a.x = m
i.x = n
h.x = m
k.x = n
g.x = n
j.x = n
n.u = m
n.q = m
assert b.x.u.q.q.u.u.q.q.u.u.txt == " | m" | class A:
def __init__(self, txt: str):
self.u: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
m = A("m")
l = B("l")
b = B("b")
a = B("a")
i = B("i")
h = B("h")
k = B("k")
g = B("g")
j = B("j")
n = A("n")
m.u = n
m.q = n
l.x = n
b.x = n
a.x = m
i.x = n
h.x = m
k.x = n
g.x = n
j.x = n
n.u = m
n.q = m
assert b.x.u.q.q.u.u.q.q.u.u.txt == "m" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 2 | 1 | 1.5 | 10 | 5 | 3 | 3 | 0.3 | 5 | 0.5 | 8 | 2 | 8 | 4 | 3 | 5 | 2 | 2 |
19 | class A:
def __init__(self, txt: str):
self.r: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
j = A("j")
m = B("m")
e = A("e")
c = B("c")
h = A("h")
n = A("n")
l = A("l")
b = A("b")
j.r = l
j.z = c
m.s = c
m.u = c
e.r = n
e.z = m
c.s = m
c.u = m
h.r = j
h.z = c
n.r = j
n.z = c
l.r = j
l.z = m
b.r = n
b.z = m
assert n.r.r.z.s.u.s.s.txt == " | m" | class A:
def __init__(self, txt: str):
self.r: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
j = A("j")
m = B("m")
e = A("e")
c = B("c")
h = A("h")
n = A("n")
l = A("l")
b = A("b")
j.r = l
j.z = c
m.s = c
m.u = c
e.r = n
e.z = m
c.s = m
c.u = m
h.r = j
h.z = c
n.r = j
n.z = c
l.r = j
l.z = m
b.r = n
b.z = m
assert n.r.r.z.s.u.s.s.txt == "m" | 8 | 14 | 1.75 | 0.25 | 2 | 4 | 2 | 2 | 2 | 7 | 3 | 2 | 5 | 0.625 | 6 | 0.428571 | 3 | 2 | 4 | 2.5 | 4 | 3 | 2 | 2 |
20 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.r: A = None
self.txt = txt
g = A("g")
c = B("c")
m = B("m")
e = A("e")
g.r = e
c.z = e
c.r = e
m.z = e
m.r = e
e.r = g
assert m.z.r.r.txt == " | e" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.r: A = None
self.txt = txt
g = A("g")
c = B("c")
m = B("m")
e = A("e")
g.r = e
c.z = e
c.r = e
m.z = e
m.r = e
e.r = g
assert m.z.r.r.txt == "e" | 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 |
21 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
a = A("a")
g = B("g")
c = B("c")
a.q = g
g.s = a
g.p = a
c.s = a
c.p = a
assert g.p.q.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
a = A("a")
g = B("g")
c = B("c")
a.q = g
g.s = a
g.p = a
c.s = a
c.p = a
assert g.p.q.p.txt == "a" | 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 |
22 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
j = A("j")
h = B("h")
b = B("b")
c = B("c")
n = A("n")
j.s = n
h.s = j
h.q = b
b.s = j
b.q = c
c.s = j
c.q = b
n.s = j
assert j.s.s.s.s.s.txt == " | n" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
j = A("j")
h = B("h")
b = B("b")
c = B("c")
n = A("n")
j.s = n
h.s = j
h.q = b
b.s = j
b.q = c
c.s = j
c.q = b
n.s = j
assert j.s.s.s.s.s.txt == "n" | 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 |
23 | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
k = A("k")
b = B("b")
g = A("g")
d = B("d")
i = A("i")
a = B("a")
k.w = a
k.t = a
b.p = d
g.w = d
g.t = b
d.p = a
i.w = b
i.t = d
a.p = b
assert d.p.p.p.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
k = A("k")
b = B("b")
g = A("g")
d = B("d")
i = A("i")
a = B("a")
k.w = a
k.t = a
b.p = d
g.w = d
g.t = b
d.p = a
i.w = b
i.t = d
a.p = b
assert d.p.p.p.p.txt == "a" | 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.375 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
24 | class A:
def __init__(self, txt: str):
self.t: 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 = A("d")
i = B("i")
c = B("c")
h = A("h")
g.t = h
b.r = c
d.t = g
i.r = c
c.r = i
h.t = d
assert i.r.r.r.r.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: 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 = A("d")
i = B("i")
c = B("c")
h = A("h")
g.t = h
b.r = c
d.t = g
i.r = c
c.r = i
h.t = d
assert i.r.r.r.r.txt == "i" | 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 |
25 | class A:
def __init__(self, txt: str):
self.s: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
h = A("h")
g = B("g")
m = B("m")
n = B("n")
k = B("k")
d = A("d")
b = B("b")
f = B("f")
h.s = d
h.x = f
g.y = n
m.y = k
n.y = k
k.y = n
d.s = h
d.x = m
b.y = f
f.y = n
assert f.y.y.y.y.y.txt == " | n" | class A:
def __init__(self, txt: str):
self.s: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
h = A("h")
g = B("g")
m = B("m")
n = B("n")
k = B("k")
d = A("d")
b = B("b")
f = B("f")
h.s = d
h.x = f
g.y = n
m.y = k
n.y = k
k.y = n
d.s = h
d.x = m
b.y = f
f.y = n
assert f.y.y.y.y.y.txt == "n" | 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.375 | 3 | 0.3 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
26 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
n = A("n")
e = B("e")
j = B("j")
n.u = j
e.x = n
j.x = n
assert j.x.u.x.txt == " | n" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
n = A("n")
e = B("e")
j = B("j")
n.u = j
e.x = n
j.x = n
assert j.x.u.x.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 | 2 | 2 | 1 | 1 |
27 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: A = None
self.txt = txt
i = A("i")
m = B("m")
l = A("l")
f = A("f")
d = A("d")
h = A("h")
c = A("c")
b = B("b")
e = A("e")
j = A("j")
i.q = b
m.s = j
m.r = d
l.q = m
f.q = m
d.q = b
h.q = b
c.q = m
b.s = i
b.r = d
e.q = b
j.q = m
assert h.q.s.q.s.txt == " | i" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: A = None
self.txt = txt
i = A("i")
m = B("m")
l = A("l")
f = A("f")
d = A("d")
h = A("h")
c = A("c")
b = B("b")
e = A("e")
j = A("j")
i.q = b
m.s = j
m.r = d
l.q = m
f.q = m
d.q = b
h.q = b
c.q = m
b.s = i
b.r = d
e.q = b
j.q = m
assert h.q.s.q.s.txt == "i" | 10 | 12 | 1.2 | 0.133333 | 2 | 5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.3 | 3 | 0.25 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
28 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
d = A("d")
l = B("l")
n = A("n")
b = A("b")
c = A("c")
f = B("f")
h = B("h")
e = A("e")
i = A("i")
m = A("m")
d.q = n
l.r = c
l.u = f
n.q = i
b.q = c
c.q = e
f.r = b
f.u = l
h.r = i
h.u = f
e.q = d
i.q = n
m.q = e
assert e.q.q.q.q.q.q.q.q.txt == " | n" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
d = A("d")
l = B("l")
n = A("n")
b = A("b")
c = A("c")
f = B("f")
h = B("h")
e = A("e")
i = A("i")
m = A("m")
d.q = n
l.r = c
l.u = f
n.q = i
b.q = c
c.q = e
f.r = b
f.u = l
h.r = i
h.u = f
e.q = d
i.q = n
m.q = e
assert e.q.q.q.q.q.q.q.q.txt == "n" | 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 8 | 4 | 3 | 4 | 0.4 | 4 | 0.307692 | 5 | 2 | 6 | 3.111111 | 1 | 8 | 8 | 1 |
29 | class A:
def __init__(self, txt: str):
self.q: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: B = None
self.txt = txt
b = A("b")
a = B("a")
j = B("j")
k = A("k")
h = B("h")
g = A("g")
b.q = j
b.w = g
a.s = k
a.r = j
j.s = g
j.r = h
k.q = j
k.w = g
h.s = g
h.r = j
g.q = h
g.w = b
assert h.s.q.r.r.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: B = None
self.txt = txt
b = A("b")
a = B("a")
j = B("j")
k = A("k")
h = B("h")
g = A("g")
b.q = j
b.w = g
a.s = k
a.r = j
j.s = g
j.r = h
k.q = j
k.w = g
h.s = g
h.r = j
g.q = h
g.w = b
assert h.s.q.r.r.r.txt == "j" | 6 | 12 | 2 | 0.4 | 2 | 3 | 2 | 2 | 2 | 5 | 3 | 2 | 3 | 0.5 | 4 | 0.333333 | 3 | 2 | 4 | 2.5 | 3 | 3 | 3 | 2 |
30 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
b = A("b")
l = B("l")
a = A("a")
g = A("g")
f = A("f")
n = B("n")
d = B("d")
h = B("h")
m = A("m")
b.o = a
l.w = n
l.q = h
a.o = f
g.o = m
f.o = b
n.w = d
n.q = h
d.w = h
d.q = h
h.w = l
h.q = l
m.o = g
assert b.o.o.o.o.o.o.o.o.txt == " | f" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
b = A("b")
l = B("l")
a = A("a")
g = A("g")
f = A("f")
n = B("n")
d = B("d")
h = B("h")
m = A("m")
b.o = a
l.w = n
l.q = h
a.o = f
g.o = m
f.o = b
n.w = d
n.q = h
d.w = h
d.q = h
h.w = l
h.q = l
m.o = g
assert b.o.o.o.o.o.o.o.o.txt == "f" | 9 | 11 | 1.222222 | 0.152778 | 2 | 4.5 | 2 | 1 | 1.5 | 8 | 3 | 3 | 3 | 0.333333 | 3 | 0.272727 | 6 | 3 | 6 | 4 | 1 | 8 | 8 | 1 |
31 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
c = A("c")
a = B("a")
l = B("l")
g = B("g")
c.w = g
a.q = c
a.w = g
l.q = c
l.w = g
g.q = c
g.w = l
assert a.w.w.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
c = A("c")
a = B("a")
l = B("l")
g = B("g")
c.w = g
a.q = c
a.w = g
l.q = c
l.w = g
g.q = c
g.w = l
assert a.w.w.w.txt == "g" | 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 | 1 | 3 | 3 | 1 |
32 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
m = A("m")
k = B("k")
g = A("g")
a = B("a")
f = B("f")
l = B("l")
m.s = g
k.w = a
g.s = m
a.w = l
f.w = l
l.w = k
assert m.s.s.s.s.s.s.txt == " | m" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
m = A("m")
k = B("k")
g = A("g")
a = B("a")
f = B("f")
l = B("l")
m.s = g
k.w = a
g.s = m
a.w = l
f.w = l
l.w = k
assert m.s.s.s.s.s.s.txt == "m" | 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 |
33 | class A:
def __init__(self, txt: str):
self.u: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
l = A("l")
i = B("i")
h = A("h")
b = B("b")
d = A("d")
a = B("a")
e = A("e")
m = A("m")
n = A("n")
l.u = e
l.s = a
i.q = d
h.u = m
h.s = b
b.q = n
d.u = e
d.s = a
a.q = h
e.u = d
e.s = a
m.u = h
m.s = i
n.u = h
n.s = a
assert a.q.u.s.q.u.u.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.u: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
l = A("l")
i = B("i")
h = A("h")
b = B("b")
d = A("d")
a = B("a")
e = A("e")
m = A("m")
n = A("n")
l.u = e
l.s = a
i.q = d
h.u = m
h.s = b
b.q = n
d.u = e
d.s = a
a.q = h
e.u = d
e.s = a
m.u = h
m.s = i
n.u = h
n.s = a
assert a.q.u.s.q.u.u.s.txt == "a" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 2 | 1 | 6 | 0.666667 | 7 | 0.466667 | 2 | 2 | 7 | 4.5 | 3 | 3 | 2 | 2 |
34 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
d = A("d")
k = B("k")
l = A("l")
n = B("n")
i = A("i")
e = B("e")
a = A("a")
c = B("c")
h = A("h")
j = B("j")
d.u = n
k.w = e
k.z = j
l.u = c
n.w = k
n.z = e
i.u = j
e.w = k
e.z = n
a.u = j
c.w = e
c.z = j
h.u = c
j.w = n
j.z = n
assert h.u.w.w.z.z.w.z.z.txt == " | n" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
d = A("d")
k = B("k")
l = A("l")
n = B("n")
i = A("i")
e = B("e")
a = A("a")
c = B("c")
h = A("h")
j = B("j")
d.u = n
k.w = e
k.z = j
l.u = c
n.w = k
n.z = e
i.u = j
e.w = k
e.z = n
a.u = j
c.w = e
c.z = j
h.u = c
j.w = n
j.z = n
assert h.u.w.w.z.z.w.z.z.txt == "n" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 8 | 2 | 2 | 6 | 0.6 | 6 | 0.428571 | 3 | 3 | 3 | 3 | 3 | 4 | 2 | 1 |
35 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
a = B("a")
g = B("g")
k = B("k")
f = B("f")
d = B("d")
j = A("j")
e = B("e")
m = B("m")
h.y = e
a.o = j
g.o = h
k.o = j
f.o = h
d.o = j
j.y = m
e.o = j
m.o = h
assert m.o.y.o.txt == " | j" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
a = B("a")
g = B("g")
k = B("k")
f = B("f")
d = B("d")
j = A("j")
e = B("e")
m = B("m")
h.y = e
a.o = j
g.o = h
k.o = j
f.o = h
d.o = j
j.y = m
e.o = j
m.o = h
assert m.o.y.o.txt == "j" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.444444 | 3 | 0.333333 | 0 | null | null | null | 2 | 2 | 1 | 1 |
36 | class A:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
i = A("i")
a = B("a")
j = B("j")
i.w = j
i.r = j
a.o = i
j.o = i
assert j.o.r.o.txt == " | i" | class A:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
i = A("i")
a = B("a")
j = B("j")
i.w = j
i.r = j
a.o = i
j.o = i
assert j.o.r.o.txt == "i" | 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 |
37 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
l = A("l")
b = B("b")
g = B("g")
m = B("m")
i = A("i")
f = B("f")
k = A("k")
l.u = i
b.p = l
g.p = i
m.p = k
i.u = k
f.p = k
k.u = l
assert l.u.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
l = A("l")
b = B("b")
g = B("g")
m = B("m")
i = A("i")
f = B("f")
k = A("k")
l.u = i
b.p = l
g.p = i
m.p = k
i.u = k
f.p = k
k.u = l
assert l.u.u.u.u.txt == "i" | 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.428571 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
38 | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
g = B("g")
l = B("l")
a = B("a")
h = A("h")
d = B("d")
n = B("n")
e = B("e")
c.y = h
c.w = h
g.s = e
l.s = n
a.s = n
h.y = c
h.w = c
d.s = g
n.s = l
e.s = a
assert e.s.s.s.s.s.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
c = A("c")
g = B("g")
l = B("l")
a = B("a")
h = A("h")
d = B("d")
n = B("n")
e = B("e")
c.y = h
c.w = h
g.s = e
l.s = n
a.s = n
h.y = c
h.w = c
d.s = g
n.s = l
e.s = a
assert e.s.s.s.s.s.txt == "l" | 8 | 8 | 1 | 0.142857 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.5 | 2 | 2 | 2 | 2 | 1 | 5 | 5 | 1 |
39 | class A:
def __init__(self, txt: str):
self.u: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.x: B = None
self.txt = txt
c = A("c")
i = B("i")
g = A("g")
j = A("j")
l = B("l")
n = B("n")
c.u = j
c.q = g
i.r = l
i.x = l
g.u = j
g.q = c
j.u = g
j.q = g
l.r = n
l.x = i
n.r = l
n.x = l
assert j.u.q.u.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.u: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.x: B = None
self.txt = txt
c = A("c")
i = B("i")
g = A("g")
j = A("j")
l = B("l")
n = B("n")
c.u = j
c.q = g
i.r = l
i.x = l
g.u = j
g.q = c
j.u = g
j.q = g
l.r = n
l.x = i
n.r = l
n.x = l
assert j.u.q.u.q.txt == "g" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.5 | 4 | 0.444444 | 2 | 3 | 3 | 3 | 2 | 2 | 1 | 2 |
40 | class A:
def __init__(self, txt: str):
self.t: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
d = B("d")
l = A("l")
a = B("a")
h = A("h")
i = B("i")
e = A("e")
m = A("m")
k.t = a
k.r = i
d.y = e
l.t = i
l.r = d
a.y = h
h.t = d
h.r = d
i.y = m
e.t = a
e.r = i
m.t = d
m.r = i
assert a.y.t.y.r.y.r.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
d = B("d")
l = A("l")
a = B("a")
h = A("h")
i = B("i")
e = A("e")
m = A("m")
k.t = a
k.r = i
d.y = e
l.t = i
l.r = d
a.y = h
h.t = d
h.r = d
i.y = m
e.t = a
e.r = i
m.t = d
m.r = i
assert a.y.t.y.r.y.r.txt == "i" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 6 | 2 | 1 | 6 | 0.75 | 6 | 0.5 | 1 | 2 | 2 | 2 | 3 | 3 | 1 | 1 |
41 | 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.s: A = None
self.x: B = None
self.txt = txt
g = A("g")
a = B("a")
b = B("b")
c = A("c")
i = A("i")
m = A("m")
f = B("f")
n = A("n")
l = A("l")
g.x = n
g.p = i
a.s = n
a.x = b
b.s = c
b.x = f
c.x = l
c.p = i
i.x = n
i.p = m
m.x = g
m.p = g
f.s = g
f.x = a
n.x = c
n.p = g
l.x = i
l.p = c
assert n.x.p.p.txt == " | m" | 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.s: A = None
self.x: B = None
self.txt = txt
g = A("g")
a = B("a")
b = B("b")
c = A("c")
i = A("i")
m = A("m")
f = B("f")
n = A("n")
l = A("l")
g.x = n
g.p = i
a.s = n
a.x = b
b.s = c
b.x = f
c.x = l
c.p = i
i.x = n
i.p = m
m.x = g
m.p = g
f.s = g
f.x = a
n.x = c
n.p = g
l.x = i
l.p = c
assert n.x.p.p.txt == "m" | 9 | 17 | 1.888889 | 0.236111 | 2 | 4.5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.444444 | 3 | 0.176471 | 0 | null | null | null | 2 | 2 | 2 | 1 |
42 | class A:
def __init__(self, txt: str):
self.x: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
g = A("g")
e = B("e")
i = B("i")
a = A("a")
g.x = a
g.w = i
e.t = a
e.s = i
i.t = a
i.s = e
a.x = g
a.w = i
assert e.t.w.s.t.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
g = A("g")
e = B("e")
i = B("i")
a = A("a")
g.x = a
g.w = i
e.t = a
e.s = i
i.t = a
i.s = e
a.x = g
a.w = i
assert e.t.w.s.t.txt == "a" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.375 | 2 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
43 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
j = A("j")
h = B("h")
k = A("k")
n = B("n")
j.p = h
h.z = k
h.y = n
k.p = n
n.z = j
n.y = h
assert n.z.p.y.y.txt == " | h" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
j = A("j")
h = B("h")
k = A("k")
n = B("n")
j.p = h
h.z = k
h.y = n
k.p = n
n.z = j
n.y = h
assert n.z.p.y.y.txt == "h" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
44 | class A:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
i = A("i")
d = B("d")
l = A("l")
f = A("f")
m = A("m")
h = B("h")
n = A("n")
g = B("g")
i.x = l
i.r = h
d.z = h
d.w = g
l.x = i
l.r = h
f.x = m
f.r = g
m.x = n
m.r = d
h.z = d
h.w = d
n.x = m
n.r = d
g.z = h
g.w = d
assert g.w.w.z.w.z.z.z.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
i = A("i")
d = B("d")
l = A("l")
f = A("f")
m = A("m")
h = B("h")
n = A("n")
g = B("g")
i.x = l
i.r = h
d.z = h
d.w = g
l.x = i
l.r = h
f.x = m
f.r = g
m.x = n
m.r = d
h.z = d
h.w = d
n.x = m
n.r = d
g.z = h
g.w = d
assert g.w.w.z.w.z.z.z.txt == "h" | 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 7 | 3 | 2 | 3 | 0.375 | 6 | 0.4 | 5 | 2 | 5 | 2.857143 | 2 | 4 | 3 | 2 |
45 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.p: A = None
self.txt = txt
d = A("d")
l = B("l")
n = B("n")
d.y = n
l.w = n
l.p = d
n.w = l
n.p = d
assert d.y.w.p.txt == " | d" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.p: A = None
self.txt = txt
d = A("d")
l = B("l")
n = B("n")
d.y = n
l.w = n
l.p = d
n.w = l
n.p = d
assert d.y.w.p.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 |
46 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.q: A = None
self.txt = txt
m = A("m")
k = B("k")
n = B("n")
m.q = k
k.y = m
k.q = m
n.y = m
n.q = m
assert n.y.q.q.txt == " | m" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.q: A = None
self.txt = txt
m = A("m")
k = B("k")
n = B("n")
m.q = k
k.y = m
k.q = m
n.y = m
n.q = m
assert n.y.q.q.txt == "m" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
47 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
i = A("i")
e = B("e")
k = B("k")
c = A("c")
j = B("j")
b = B("b")
d = A("d")
i.o = c
e.r = b
e.w = c
k.r = e
k.w = c
c.o = d
j.r = b
j.w = d
b.r = j
b.w = i
d.o = c
assert j.w.o.o.o.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
i = A("i")
e = B("e")
k = B("k")
c = A("c")
j = B("j")
b = B("b")
d = A("d")
i.o = c
e.r = b
e.w = c
k.r = e
k.w = c
c.o = d
j.r = b
j.w = d
b.r = j
b.w = i
d.o = c
assert j.w.o.o.o.o.txt == "d" | 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.428571 | 3 | 0.272727 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
48 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.t: B = None
self.txt = txt
f = A("f")
k = B("k")
g = B("g")
n = B("n")
f.t = g
k.z = f
k.t = n
g.z = f
g.t = n
n.z = f
n.t = k
assert f.t.z.t.z.txt == " | f" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.t: B = None
self.txt = txt
f = A("f")
k = B("k")
g = B("g")
n = B("n")
f.t = g
k.z = f
k.t = n
g.z = f
g.t = n
n.z = f
n.t = k
assert f.t.z.t.z.txt == "f" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
49 | class A:
def __init__(self, txt: str):
self.u: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.q: A = None
self.txt = txt
k = A("k")
i = B("i")
e = A("e")
b = B("b")
d = A("d")
f = A("f")
g = B("g")
m = A("m")
h = A("h")
k.u = i
k.r = e
i.y = k
i.q = h
e.u = b
e.r = k
b.y = k
b.q = k
d.u = b
d.r = k
f.u = b
f.r = h
g.y = e
g.q = k
m.u = i
m.r = d
h.u = g
h.r = k
assert d.u.y.r.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.u: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.q: A = None
self.txt = txt
k = A("k")
i = B("i")
e = A("e")
b = B("b")
d = A("d")
f = A("f")
g = B("g")
m = A("m")
h = A("h")
k.u = i
k.r = e
i.y = k
i.q = h
e.u = b
e.r = k
b.y = k
b.q = k
d.u = b
d.r = k
f.u = b
f.r = h
g.y = e
g.q = k
m.u = i
m.r = d
h.u = g
h.r = k
assert d.u.y.r.u.txt == "b" | 9 | 17 | 1.888889 | 0.236111 | 2 | 4.5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.444444 | 4 | 0.235294 | 1 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
50 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
l = A("l")
f = B("f")
n = A("n")
g = B("g")
h = A("h")
b = A("b")
k = B("k")
m = A("m")
e.o = n
c.o = l
c.p = g
l.o = n
f.o = m
f.p = k
n.o = l
g.o = n
g.p = f
h.o = l
b.o = h
k.o = n
k.p = f
m.o = l
assert m.o.o.o.o.o.o.o.o.o.o.txt == " | n" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
l = A("l")
f = B("f")
n = A("n")
g = B("g")
h = A("h")
b = A("b")
k = B("k")
m = A("m")
e.o = n
c.o = l
c.p = g
l.o = n
f.o = m
f.p = k
n.o = l
g.o = n
g.p = f
h.o = l
b.o = h
k.o = n
k.p = f
m.o = l
assert m.o.o.o.o.o.o.o.o.o.o.txt == "n" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 10 | 5 | 5 | 3 | 0.3 | 3 | 0.214286 | 8 | 2 | 8 | 4 | 1 | 10 | 10 | 1 |
51 | class A:
def __init__(self, txt: str):
self.y: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
c = A("c")
k = B("k")
f = B("f")
c.y = k
c.v = k
k.q = f
f.q = k
assert c.y.q.q.txt == " | k" | class A:
def __init__(self, txt: str):
self.y: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
c = A("c")
k = B("k")
f = B("f")
c.y = k
c.v = k
k.q = f
f.q = k
assert c.y.q.q.txt == "k" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
52 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
c = A("c")
d = B("d")
b = B("b")
l = B("l")
c.u = l
d.p = c
d.y = c
b.p = c
b.y = c
l.p = c
l.y = c
assert b.y.u.p.u.txt == " | l" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
c = A("c")
d = B("d")
b = B("b")
l = B("l")
c.u = l
d.p = c
d.y = c
b.p = c
b.y = c
l.p = c
l.y = c
assert b.y.u.p.u.txt == "l" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
53 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
c = A("c")
m = B("m")
b = A("b")
g = B("g")
f = B("f")
h = B("h")
n = A("n")
c.t = g
m.t = c
b.t = h
g.t = n
f.t = n
h.t = n
n.t = h
assert g.t.t.t.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.t: A = None
self.txt = txt
c = A("c")
m = B("m")
b = A("b")
g = B("g")
f = B("f")
h = B("h")
n = A("n")
c.t = g
m.t = c
b.t = h
g.t = n
f.t = n
h.t = n
n.t = h
assert g.t.t.t.t.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 | 1 | 4 | 4 | 1 |
54 | class A:
def __init__(self, txt: str):
self.t: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: A = None
self.txt = txt
n = A("n")
f = B("f")
g = A("g")
i = A("i")
k = B("k")
a = A("a")
l = B("l")
j = B("j")
n.t = a
n.u = g
f.t = l
f.z = a
g.t = a
g.u = i
i.t = n
i.u = g
k.t = f
k.z = i
a.t = n
a.u = g
l.t = k
l.z = g
j.t = f
j.z = a
assert i.t.t.u.u.u.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: A = None
self.txt = txt
n = A("n")
f = B("f")
g = A("g")
i = A("i")
k = B("k")
a = A("a")
l = B("l")
j = B("j")
n.t = a
n.u = g
f.t = l
f.z = a
g.t = a
g.u = i
i.t = n
i.u = g
k.t = f
k.z = i
a.t = n
a.u = g
l.t = k
l.z = g
j.t = f
j.z = a
assert i.t.t.u.u.u.u.u.u.txt == "i" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 8 | 4 | 3 | 4 | 0.5 | 5 | 0.3125 | 5 | 2 | 8 | 3.777778 | 2 | 6 | 6 | 2 |
55 | 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.t: B = None
self.txt = txt
m = A("m")
e = B("e")
j = A("j")
h = B("h")
c = A("c")
m.o = c
e.u = c
e.t = h
j.o = m
h.u = j
h.t = e
c.o = m
assert e.t.u.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.t: B = None
self.txt = txt
m = A("m")
e = B("e")
j = A("j")
h = B("h")
c = A("c")
m.o = c
e.u = c
e.t = h
j.o = m
h.u = j
h.t = e
c.o = m
assert e.t.u.o.o.o.txt == "m" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 1 | 5 | 0.714286 | 1 | 2 | 2 | 2 | 3 | 3 | 3 | 1 |
56 | class A:
def __init__(self, txt: str):
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: B = None
self.txt = txt
f = A("f")
a = B("a")
l = B("l")
f.y = a
f.x = l
a.r = l
a.t = l
l.r = a
l.t = a
assert f.x.r.r.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: B = None
self.txt = txt
f = A("f")
a = B("a")
l = B("l")
f.y = a
f.x = l
a.r = l
a.t = l
l.r = a
l.t = a
assert f.x.r.r.txt == "l" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
57 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
a = B("a")
h = B("h")
b = A("b")
i.z = b
a.q = h
h.q = a
b.z = i
assert h.q.q.q.q.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
a = B("a")
h = B("h")
b = A("b")
i.z = b
a.q = h
h.q = a
b.z = i
assert h.q.q.q.q.txt == "h" | 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 |
58 | class A:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
l = B("l")
j = B("j")
n = B("n")
g = A("g")
h = A("h")
e = A("e")
b = B("b")
k.t = h
k.q = l
l.y = g
j.y = e
n.y = e
g.t = k
g.q = j
h.t = g
h.q = n
e.t = g
e.q = l
b.y = h
assert l.y.t.t.q.y.q.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
l = B("l")
j = B("j")
n = B("n")
g = A("g")
h = A("h")
e = A("e")
b = B("b")
k.t = h
k.q = l
l.y = g
j.y = e
n.y = e
g.t = k
g.q = j
h.t = g
h.q = n
e.t = g
e.q = l
b.y = h
assert l.y.t.t.q.y.q.y.txt == "g" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 7 | 2 | 2 | 6 | 0.75 | 6 | 0.5 | 2 | 6 | 6 | 6 | 3 | 3 | 2 | 1 |
59 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
f = B("f")
a = A("a")
d = B("d")
j.v = f
f.y = a
a.v = f
d.y = a
assert f.y.v.y.v.txt == " | f" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
f = B("f")
a = A("a")
d = B("d")
j.v = f
f.y = a
a.v = f
d.y = a
assert f.y.v.y.v.txt == "f" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
60 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
h = B("h")
j = B("j")
a.r = j
h.r = a
j.r = a
assert h.r.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
h = B("h")
j = B("j")
a.r = j
h.r = a
j.r = a
assert h.r.r.r.txt == "a" | 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 |
61 | 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.txt = txt
g = A("g")
k = B("k")
d = A("d")
g.q = k
k.p = g
d.q = k
assert d.q.p.q.txt == " | k" | 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.txt = txt
g = A("g")
k = B("k")
d = A("d")
g.q = k
k.p = g
d.q = k
assert d.q.p.q.txt == "k" | 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 |
62 | class A:
def __init__(self, txt: str):
self.y: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
k = A("k")
d = B("d")
f = B("f")
h = B("h")
b = B("b")
a = A("a")
e = A("e")
k.y = e
k.u = b
d.w = h
d.o = k
f.w = b
f.o = a
h.w = d
h.o = k
b.w = d
b.o = k
a.y = e
a.u = h
e.y = k
e.u = f
assert d.w.o.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
k = A("k")
d = B("d")
f = B("f")
h = B("h")
b = B("b")
a = A("a")
e = A("e")
k.y = e
k.u = b
d.w = h
d.o = k
f.w = b
f.o = a
h.w = d
h.o = k
b.w = d
b.o = k
a.y = e
a.u = h
e.y = k
e.u = f
assert d.w.o.y.txt == "e" | 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 |
63 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
l = A("l")
h = B("h")
j = A("j")
n = B("n")
b = B("b")
m = B("m")
k = A("k")
a = B("a")
i = B("i")
l.x = k
h.w = l
h.s = i
j.x = k
n.w = l
n.s = h
b.w = l
b.s = i
m.w = l
m.s = h
k.x = l
a.w = j
a.s = h
i.w = l
i.s = m
assert j.x.x.x.x.x.x.x.txt == " | k" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
l = A("l")
h = B("h")
j = A("j")
n = B("n")
b = B("b")
m = B("m")
k = A("k")
a = B("a")
i = B("i")
l.x = k
h.w = l
h.s = i
j.x = k
n.w = l
n.s = h
b.w = l
b.s = i
m.w = l
m.s = h
k.x = l
a.w = j
a.s = h
i.w = l
i.s = m
assert j.x.x.x.x.x.x.x.txt == "k" | 9 | 15 | 1.666667 | 0.208333 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.333333 | 3 | 0.2 | 5 | 2 | 6 | 3.111111 | 1 | 7 | 7 | 1 |
64 | class A:
def __init__(self, txt: str):
self.r: 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")
k = B("k")
f = A("f")
g = A("g")
b = B("b")
m.r = f
k.q = m
k.w = b
f.r = g
g.r = f
b.q = g
b.w = k
assert k.q.r.r.txt == " | g" | class A:
def __init__(self, txt: str):
self.r: 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")
k = B("k")
f = A("f")
g = A("g")
b = B("b")
m.r = f
k.q = m
k.w = b
f.r = g
g.r = f
b.q = g
b.w = k
assert k.q.r.r.txt == "g" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.428571 | 0 | null | null | null | 2 | 2 | 2 | 1 |
65 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
k = B("k")
f = B("f")
a = A("a")
b = B("b")
j = A("j")
e = B("e")
i = B("i")
n = B("n")
c.p = j
k.q = j
f.q = c
a.p = j
b.q = j
j.p = a
e.q = c
i.q = a
n.q = c
assert f.q.p.p.p.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
k = B("k")
f = B("f")
a = A("a")
b = B("b")
j = A("j")
e = B("e")
i = B("i")
n = B("n")
c.p = j
k.q = j
f.q = c
a.p = j
b.q = j
j.p = a
e.q = c
i.q = a
n.q = c
assert f.q.p.p.p.p.txt == "a" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 5 | 2 | 2 | 4 | 0.444444 | 4 | 0.444444 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
66 | 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.r: A = None
self.txt = txt
d = A("d")
j = B("j")
c = A("c")
f = A("f")
d.y = f
j.s = d
j.r = f
c.y = d
f.y = d
assert j.s.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.r: A = None
self.txt = txt
d = A("d")
j = B("j")
c = A("c")
f = A("f")
d.y = f
j.s = d
j.r = f
c.y = d
f.y = d
assert j.s.y.y.y.txt == "f" | 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 | 2 | 3 | 3 | 1 |
67 | class A:
def __init__(self, txt: str):
self.v: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
g = A("g")
k = B("k")
c = B("c")
l = B("l")
i = B("i")
a = B("a")
j = A("j")
m = A("m")
f = A("f")
n = A("n")
g.v = i
g.w = n
k.q = j
k.s = g
c.q = f
c.s = g
l.q = g
l.s = g
i.q = j
i.s = g
a.q = g
a.s = j
j.v = l
j.w = g
m.v = k
m.w = n
f.v = l
f.w = j
n.v = k
n.w = g
assert f.v.s.w.v.s.v.q.v.txt == " | l" | class A:
def __init__(self, txt: str):
self.v: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
g = A("g")
k = B("k")
c = B("c")
l = B("l")
i = B("i")
a = B("a")
j = A("j")
m = A("m")
f = A("f")
n = A("n")
g.v = i
g.w = n
k.q = j
k.s = g
c.q = f
c.s = g
l.q = g
l.s = g
i.q = j
i.s = g
a.q = g
a.s = j
j.v = l
j.w = g
m.v = k
m.w = n
f.v = l
f.w = j
n.v = k
n.w = g
assert f.v.s.w.v.s.v.q.v.txt == "l" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 8 | 2 | 1 | 7 | 0.7 | 8 | 0.421053 | 2 | 3 | 7 | 5 | 4 | 4 | 1 | 2 |
68 | 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.p: A = None
self.u: B = None
self.txt = txt
n = A("n")
h = B("h")
j = B("j")
c = A("c")
a = A("a")
n.y = j
n.t = j
h.p = c
h.u = j
j.p = n
j.u = h
c.y = h
c.t = h
a.y = j
a.t = h
assert h.p.y.p.y.p.txt == " | c" | 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.p: A = None
self.u: B = None
self.txt = txt
n = A("n")
h = B("h")
j = B("j")
c = A("c")
a = A("a")
n.y = j
n.t = j
h.p = c
h.u = j
j.p = n
j.u = h
c.y = h
c.t = h
a.y = j
a.t = h
assert h.p.y.p.y.p.txt == "c" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 2 | 2 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.25 | 4 | 2 | 4 | 2.666667 | 2 | 3 | 1 | 1 |
69 | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
g = B("g")
m = A("m")
n = B("n")
f = B("f")
c.t = m
c.y = a
a.z = g
j.z = a
g.z = a
m.t = c
m.y = n
n.z = f
f.z = g
assert m.y.z.z.txt == " | g" | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
g = B("g")
m = A("m")
n = B("n")
f = B("f")
c.t = m
c.y = a
a.z = g
j.z = a
g.z = a
m.t = c
m.y = n
n.z = f
f.z = g
assert m.y.z.z.txt == "g" | 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.571429 | 3 | 0.333333 | 0 | null | null | null | 2 | 2 | 2 | 1 |
70 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
i = A("i")
j = B("j")
l = B("l")
i.w = l
j.r = i
l.r = i
assert l.r.w.r.txt == " | i" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
i = A("i")
j = B("j")
l = B("l")
i.w = l
j.r = i
l.r = i
assert l.r.w.r.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 |
71 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: A = None
self.txt = txt
a = A("a")
n = B("n")
c = B("c")
g = B("g")
d = B("d")
f = A("f")
k = A("k")
m = A("m")
l = A("l")
e = A("e")
a.w = c
n.t = m
n.p = m
c.t = k
c.p = l
g.t = f
g.p = f
d.t = k
d.p = k
f.w = g
k.w = n
m.w = d
l.w = d
e.w = c
assert l.w.t.w.txt == " | n" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: A = None
self.txt = txt
a = A("a")
n = B("n")
c = B("c")
g = B("g")
d = B("d")
f = A("f")
k = A("k")
m = A("m")
l = A("l")
e = A("e")
a.w = c
n.t = m
n.p = m
c.t = k
c.p = l
g.t = f
g.p = f
d.t = k
d.p = k
f.w = g
k.w = n
m.w = d
l.w = d
e.w = c
assert l.w.t.w.txt == "n" | 10 | 11 | 1.1 | 0.122222 | 2 | 5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.272727 | 0 | null | null | null | 2 | 2 | 1 | 1 |
72 | class A:
def __init__(self, txt: str):
self.p: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
k = A("k")
h = B("h")
d = A("d")
f = B("f")
e = A("e")
j = A("j")
b = B("b")
i = A("i")
k.p = e
k.r = b
h.r = b
h.v = d
d.p = j
d.r = h
f.r = h
f.v = j
e.p = j
e.r = b
j.p = d
j.r = h
b.r = f
b.v = d
i.p = e
i.r = b
assert e.r.v.r.r.r.r.v.r.txt == " | h" | class A:
def __init__(self, txt: str):
self.p: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
k = A("k")
h = B("h")
d = A("d")
f = B("f")
e = A("e")
j = A("j")
b = B("b")
i = A("i")
k.p = e
k.r = b
h.r = b
h.v = d
d.p = j
d.r = h
f.r = h
f.v = j
e.p = j
e.r = b
j.p = d
j.r = h
b.r = f
b.v = d
i.p = e
i.r = b
assert e.r.v.r.r.r.r.v.r.txt == "h" | 8 | 16 | 2 | 0.285714 | 2 | 4 | 2 | 2 | 2 | 8 | 3 | 2 | 5 | 0.625 | 7 | 0.4375 | 4 | 2 | 5 | 3.6 | 2 | 6 | 4 | 2 |
73 | 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.txt = txt
e = A("e")
k = B("k")
h = B("h")
d = B("d")
a = B("a")
g = B("g")
j = A("j")
f = B("f")
m = B("m")
i = A("i")
e.w = g
k.s = d
h.s = a
d.s = f
a.s = k
g.s = h
j.w = d
f.s = d
m.s = g
i.w = g
assert g.s.s.s.s.s.s.s.s.s.txt == " | f" | 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.txt = txt
e = A("e")
k = B("k")
h = B("h")
d = B("d")
a = B("a")
g = B("g")
j = A("j")
f = B("f")
m = B("m")
i = A("i")
e.w = g
k.s = d
h.s = a
d.s = f
a.s = k
g.s = h
j.w = d
f.s = d
m.s = g
i.w = g
assert g.s.s.s.s.s.s.s.s.s.txt == "f" | 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 9 | 3 | 3 | 6 | 0.6 | 6 | 0.6 | 4 | 2 | 4 | 2.666667 | 1 | 9 | 9 | 1 |
74 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
l = B("l")
a = A("a")
e = A("e")
f = B("f")
h.x = f
l.s = a
a.x = l
e.x = l
f.s = h
assert a.x.s.x.txt == " | l" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
l = B("l")
a = A("a")
e = A("e")
f = B("f")
h.x = f
l.s = a
a.x = l
e.x = l
f.s = h
assert a.x.s.x.txt == "l" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
75 | class A:
def __init__(self, txt: str):
self.w: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
k = A("k")
f = B("f")
b = B("b")
h = B("h")
d = A("d")
c = A("c")
i = B("i")
l = A("l")
e = A("e")
j = A("j")
k.w = c
k.r = f
f.t = b
f.w = h
b.t = f
b.w = f
h.t = b
h.w = f
d.w = e
d.r = h
c.w = d
c.r = i
i.t = b
i.w = h
l.w = k
l.r = i
e.w = j
e.r = f
j.w = e
j.r = f
assert d.w.r.w.t.w.t.t.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
k = A("k")
f = B("f")
b = B("b")
h = B("h")
d = A("d")
c = A("c")
i = B("i")
l = A("l")
e = A("e")
j = A("j")
k.w = c
k.r = f
f.t = b
f.w = h
b.t = f
b.w = f
h.t = b
h.w = f
d.w = e
d.r = h
c.w = d
c.r = i
i.t = b
i.w = h
l.w = k
l.r = i
e.w = j
e.r = f
j.w = e
j.r = f
assert d.w.r.w.t.w.t.t.w.txt == "h" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 8 | 3 | 2 | 5 | 0.5 | 7 | 0.368421 | 4 | 2 | 5 | 3.4 | 3 | 4 | 2 | 2 |
76 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.t: A = None
self.txt = txt
m = A("m")
e = B("e")
c = A("c")
d = A("d")
a = B("a")
n = A("n")
f = A("f")
j = B("j")
i = B("i")
l = A("l")
m.v = c
e.z = d
e.t = c
c.v = m
d.v = c
a.z = m
a.t = c
n.v = f
f.v = m
j.z = m
j.t = c
i.z = n
i.t = c
l.v = d
assert i.z.v.v.txt == " | m" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.t: A = None
self.txt = txt
m = A("m")
e = B("e")
c = A("c")
d = A("d")
a = B("a")
n = A("n")
f = A("f")
j = B("j")
i = B("i")
l = A("l")
m.v = c
e.z = d
e.t = c
c.v = m
d.v = c
a.z = m
a.t = c
n.v = f
f.v = m
j.z = m
j.t = c
i.z = n
i.t = c
l.v = d
assert i.z.v.v.txt == "m" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.214286 | 0 | null | null | null | 2 | 2 | 2 | 1 |
77 | class A:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: A = None
self.txt = txt
m = A("m")
a = B("a")
k = B("k")
l = A("l")
j = B("j")
b = B("b")
h = A("h")
m.s = h
m.p = b
a.y = b
a.q = h
k.y = a
k.q = m
l.s = h
l.p = j
j.y = b
j.q = m
b.y = a
b.q = l
h.s = l
h.p = b
assert b.q.s.s.p.y.q.txt == " | l" | class A:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: A = None
self.txt = txt
m = A("m")
a = B("a")
k = B("k")
l = A("l")
j = B("j")
b = B("b")
h = A("h")
m.s = h
m.p = b
a.y = b
a.q = h
k.y = a
k.q = m
l.s = h
l.p = j
j.y = b
j.q = m
b.y = a
b.q = l
h.s = l
h.p = b
assert b.q.s.s.p.y.q.txt == "l" | 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 6 | 3 | 2 | 4 | 0.571429 | 5 | 0.357143 | 3 | 2 | 5 | 3.75 | 4 | 2 | 2 | 2 |
78 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.w: A = None
self.txt = txt
f = A("f")
i = B("i")
a = A("a")
h = B("h")
m = B("m")
f.v = m
i.t = h
i.w = f
a.v = i
h.t = m
h.w = a
m.t = i
m.w = a
assert h.t.w.v.w.v.txt == " | m" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.w: A = None
self.txt = txt
f = A("f")
i = B("i")
a = A("a")
h = B("h")
m = B("m")
f.v = m
i.t = h
i.w = f
a.v = i
h.t = m
h.w = a
m.t = i
m.w = a
assert h.t.w.v.w.v.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 |
79 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
d = B("d")
j = A("j")
g = B("g")
e = B("e")
k.q = j
d.q = e
j.q = k
g.q = d
e.q = d
assert j.q.q.q.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
k = A("k")
d = B("d")
j = A("j")
g = B("g")
e = B("e")
k.q = j
d.q = e
j.q = k
g.q = d
e.q = d
assert j.q.q.q.q.txt == "j" | 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 | 1 | 4 | 4 | 1 |
80 | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
n = B("n")
m = A("m")
i = A("i")
k = B("k")
c = A("c")
g = A("g")
e = B("e")
h = A("h")
a = A("a")
d.q = e
d.x = e
n.t = g
m.q = e
m.x = n
i.q = n
i.x = n
k.t = h
c.q = e
c.x = k
g.q = e
g.x = k
e.t = d
h.q = n
h.x = n
a.q = e
a.x = k
assert c.q.t.q.t.q.t.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
n = B("n")
m = A("m")
i = A("i")
k = B("k")
c = A("c")
g = A("g")
e = B("e")
h = A("h")
a = A("a")
d.q = e
d.x = e
n.t = g
m.q = e
m.x = n
i.q = n
i.x = n
k.t = h
c.q = e
c.x = k
g.q = e
g.x = k
e.t = d
h.q = n
h.x = n
a.q = e
a.x = k
assert c.q.t.q.t.q.t.x.txt == "e" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 7 | 4 | 3 | 3 | 0.3 | 4 | 0.285714 | 5 | 2 | 6 | 3.111111 | 3 | 3 | 1 | 2 |
81 | 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.txt = txt
d = A("d")
h = B("h")
a = A("a")
g = B("g")
f = A("f")
n = A("n")
b = B("b")
c = A("c")
m = B("m")
d.p = g
h.v = c
a.p = b
g.v = d
f.p = h
n.p = m
b.v = n
c.p = m
m.v = n
assert m.v.p.v.p.v.p.v.p.v.txt == " | n" | 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.txt = txt
d = A("d")
h = B("h")
a = A("a")
g = B("g")
f = A("f")
n = A("n")
b = B("b")
c = A("c")
m = B("m")
d.p = g
h.v = c
a.p = b
g.v = d
f.p = h
n.p = m
b.v = n
c.p = m
m.v = n
assert m.v.p.v.p.v.p.v.p.v.txt == "n" | 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 9 | 5 | 5 | 2 | 0.222222 | 2 | 0.222222 | 8 | 2 | 8 | 4 | 2 | 5 | 1 | 1 |
82 | class A:
def __init__(self, txt: str):
self.z: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
l = B("l")
j = A("j")
m = B("m")
d = A("d")
e = A("e")
a = B("a")
b = B("b")
f.z = j
f.w = l
l.x = e
j.z = e
j.w = l
m.x = d
d.z = e
d.w = b
e.z = f
e.w = b
a.x = d
b.x = f
assert d.w.x.w.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
l = B("l")
j = A("j")
m = B("m")
d = A("d")
e = A("e")
a = B("a")
b = B("b")
f.z = j
f.w = l
l.x = e
j.z = e
j.w = l
m.x = d
d.z = e
d.w = b
e.z = f
e.w = b
a.x = d
b.x = f
assert d.w.x.w.txt == "l" | 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.5 | 3 | 0.25 | 0 | null | null | null | 2 | 2 | 1 | 1 |
83 | class A:
def __init__(self, txt: str):
self.t: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
b = B("b")
n = A("n")
m = B("m")
d = A("d")
f = B("f")
e = B("e")
l = B("l")
j.t = d
j.x = l
b.s = e
n.t = d
n.x = e
m.s = l
d.t = j
d.x = f
f.s = l
e.s = m
l.s = b
assert e.s.s.s.txt == " | b" | class A:
def __init__(self, txt: str):
self.t: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
b = B("b")
n = A("n")
m = B("m")
d = A("d")
f = B("f")
e = B("e")
l = B("l")
j.t = d
j.x = l
b.s = e
n.t = d
n.x = e
m.s = l
d.t = j
d.x = f
f.s = l
e.s = m
l.s = b
assert e.s.s.s.txt == "b" | 8 | 11 | 1.375 | 0.196429 | 2 | 4 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.5 | 3 | 0.272727 | 0 | null | null | null | 1 | 3 | 3 | 1 |
84 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.z: B = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
k = B("k")
m = B("m")
e = A("e")
j = B("j")
l = B("l")
f.t = e
h.y = l
h.z = i
i.y = l
i.z = k
k.y = j
k.z = i
m.y = h
m.z = j
e.t = f
j.y = i
j.z = k
l.y = i
l.z = i
assert h.y.z.z.z.z.txt == " | k" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.z: B = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
k = B("k")
m = B("m")
e = A("e")
j = B("j")
l = B("l")
f.t = e
h.y = l
h.z = i
i.y = l
i.z = k
k.y = j
k.z = i
m.y = h
m.z = j
e.t = f
j.y = i
j.z = k
l.y = i
l.z = i
assert h.y.z.z.z.z.txt == "k" | 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.5 | 4 | 0.307692 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
85 | class A:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
j = A("j")
g = B("g")
k = B("k")
j.v = g
j.p = k
g.p = j
g.z = j
k.p = j
k.z = j
assert j.v.z.p.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
j = A("j")
g = B("g")
k = B("k")
j.v = g
j.p = k
g.p = j
g.z = j
k.p = j
k.z = j
assert j.v.z.p.txt == "k" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
86 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
c = B("c")
g = A("g")
f.y = g
c.p = g
g.y = f
assert c.p.y.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
c = B("c")
g = A("g")
f.y = g
c.p = g
g.y = f
assert c.p.y.y.txt == "g" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
87 | 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.p: B = None
self.txt = txt
n = A("n")
d = B("d")
e = B("e")
n.u = d
n.p = e
d.p = e
e.p = d
assert d.p.p.p.txt == " | e" | 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.p: B = None
self.txt = txt
n = A("n")
d = B("d")
e = B("e")
n.u = d
n.p = e
d.p = e
e.p = d
assert d.p.p.p.txt == "e" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
88 | class A:
def __init__(self, txt: str):
self.u: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
c = A("c")
j = B("j")
d = A("d")
a = A("a")
f = B("f")
h = B("h")
c.u = f
c.s = j
j.y = a
d.u = h
d.s = f
a.u = j
a.s = f
f.y = c
h.y = a
assert c.u.y.u.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
c = A("c")
j = B("j")
d = A("d")
a = A("a")
f = B("f")
h = B("h")
c.u = f
c.s = j
j.y = a
d.u = h
d.s = f
a.u = j
a.s = f
f.y = c
h.y = a
assert c.u.y.u.y.txt == "c" | 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.222222 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
89 | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
k = A("k")
n = B("n")
b = B("b")
j = A("j")
d = A("d")
g = B("g")
l = A("l")
a = B("a")
m = A("m")
c = A("c")
k.w = b
k.t = b
n.q = m
n.x = d
b.q = c
b.x = k
j.w = g
j.t = n
d.w = n
d.t = n
g.q = m
g.x = c
l.w = g
l.t = a
a.q = k
a.x = l
m.w = n
m.t = g
c.w = n
c.t = n
assert b.x.t.q.txt == " | c" | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
k = A("k")
n = B("n")
b = B("b")
j = A("j")
d = A("d")
g = B("g")
l = A("l")
a = B("a")
m = A("m")
c = A("c")
k.w = b
k.t = b
n.q = m
n.x = d
b.q = c
b.x = k
j.w = g
j.t = n
d.w = n
d.t = n
g.q = m
g.x = c
l.w = g
l.t = a
a.q = k
a.x = l
m.w = n
m.t = g
c.w = n
c.t = n
assert b.x.t.q.txt == "c" | 10 | 17 | 1.7 | 0.188889 | 2 | 5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.3 | 3 | 0.176471 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
90 | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
j = A("j")
n = B("n")
e = A("e")
f = A("f")
g = A("g")
m = A("m")
d = A("d")
b = B("b")
j.v = b
j.z = f
n.t = b
e.v = b
e.z = m
f.v = b
f.z = g
g.v = b
g.z = d
m.v = n
m.z = d
d.v = b
d.z = e
b.t = n
assert b.t.t.t.txt == " | n" | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
j = A("j")
n = B("n")
e = A("e")
f = A("f")
g = A("g")
m = A("m")
d = A("d")
b = B("b")
j.v = b
j.z = f
n.t = b
e.v = b
e.z = m
f.v = b
f.z = g
g.v = b
g.z = d
m.v = n
m.z = d
d.v = b
d.z = e
b.t = n
assert b.t.t.t.txt == "n" | 8 | 14 | 1.75 | 0.25 | 2 | 4 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.25 | 2 | 0.142857 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
91 | class A:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
m = A("m")
a = B("a")
f = A("f")
d = B("d")
j = A("j")
k = B("k")
b = B("b")
n = B("n")
h = A("h")
c = B("c")
m.z = f
m.o = k
a.z = f
f.z = h
f.o = b
d.z = j
j.z = f
j.o = d
k.z = j
b.z = m
n.z = h
h.z = m
h.o = n
c.z = m
assert m.z.o.z.o.z.z.z.o.z.z.txt == " | m" | class A:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
m = A("m")
a = B("a")
f = A("f")
d = B("d")
j = A("j")
k = B("k")
b = B("b")
n = B("n")
h = A("h")
c = B("c")
m.z = f
m.o = k
a.z = f
f.z = h
f.o = b
d.z = j
j.z = f
j.o = d
k.z = j
b.z = m
n.z = h
h.z = m
h.o = n
c.z = m
assert m.z.o.z.o.z.z.z.o.z.z.txt == "m" | 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 10 | 3 | 1 | 7 | 0.7 | 10 | 0.714286 | 4 | 2 | 10 | 5.4 | 2 | 7 | 3 | 2 |
92 | class A:
def __init__(self, txt: str):
self.s: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.v: A = None
self.txt = txt
g = A("g")
k = B("k")
c = A("c")
b = B("b")
l = A("l")
i = A("i")
m = A("m")
f = B("f")
h = A("h")
g.s = c
g.z = b
k.o = c
k.v = h
c.s = g
c.z = k
b.o = l
b.v = i
l.s = c
l.z = k
i.s = m
i.z = f
m.s = c
m.z = k
f.o = l
f.v = g
h.s = i
h.z = k
assert i.s.s.s.s.s.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.s: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.v: A = None
self.txt = txt
g = A("g")
k = B("k")
c = A("c")
b = B("b")
l = A("l")
i = A("i")
m = A("m")
f = B("f")
h = A("h")
g.s = c
g.z = b
k.o = c
k.v = h
c.s = g
c.z = k
b.o = l
b.v = i
l.s = c
l.z = k
i.s = m
i.z = f
m.s = c
m.z = k
f.o = l
f.v = g
h.s = i
h.z = k
assert i.s.s.s.s.s.z.txt == "b" | 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 6 | 2 | 2 | 5 | 0.555556 | 5 | 0.277778 | 2 | 2 | 2 | 2 | 2 | 5 | 5 | 2 |
93 | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
b = B("b")
e = A("e")
f.u = e
f.x = e
b.y = f
e.u = f
e.x = f
assert f.x.x.u.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
b = B("b")
e = A("e")
f.u = e
f.x = e
b.y = f
e.u = f
e.x = f
assert f.x.x.u.txt == "e" | 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 |
94 | class A:
def __init__(self, txt: str):
self.t: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
k = B("k")
a = A("a")
n = A("n")
h.t = n
h.q = a
k.o = h
a.t = h
a.q = h
n.t = a
n.q = a
assert k.o.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.t: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
h = A("h")
k = B("k")
a = A("a")
n = A("n")
h.t = n
h.q = a
k.o = h
a.t = h
a.q = h
n.t = a
n.q = a
assert k.o.q.q.q.txt == "a" | 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 | 2 | 3 | 3 | 1 |
95 | 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.u: A = None
self.txt = txt
i = A("i")
n = B("n")
a = B("a")
e = A("e")
l = A("l")
i.r = n
i.v = l
n.u = e
a.u = l
e.r = a
e.v = i
l.r = a
l.v = e
assert e.v.v.v.r.txt == " | a" | 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.u: A = None
self.txt = txt
i = A("i")
n = B("n")
a = B("a")
e = A("e")
l = A("l")
i.r = n
i.v = l
n.u = e
a.u = l
e.r = a
e.v = i
l.r = a
l.v = e
assert e.v.v.v.r.txt == "a" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.5 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 2 |
96 | 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.z: B = None
self.r: A = None
self.txt = txt
i = A("i")
l = B("l")
e = A("e")
b = A("b")
f = B("f")
n = A("n")
h = B("h")
a = B("a")
c = B("c")
j = A("j")
i.t = b
i.v = b
l.z = f
l.r = n
e.t = j
e.v = i
b.t = e
b.v = j
f.z = l
f.r = j
n.t = j
n.v = i
h.z = c
h.r = j
a.z = h
a.r = j
c.z = f
c.r = i
j.t = b
j.v = i
assert h.z.z.r.txt == " | j" | 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.z: B = None
self.r: A = None
self.txt = txt
i = A("i")
l = B("l")
e = A("e")
b = A("b")
f = B("f")
n = A("n")
h = B("h")
a = B("a")
c = B("c")
j = A("j")
i.t = b
i.v = b
l.z = f
l.r = n
e.t = j
e.v = i
b.t = e
b.v = j
f.z = l
f.r = j
n.t = j
n.v = i
h.z = c
h.r = j
a.z = h
a.r = j
c.z = f
c.r = i
j.t = b
j.v = i
assert h.z.z.r.txt == "j" | 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.157895 | 0 | null | null | null | 2 | 2 | 2 | 1 |
97 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
n = B("n")
g = B("g")
m = B("m")
a.q = g
n.s = a
g.s = a
m.s = a
assert a.q.s.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
n = B("n")
g = B("g")
m = B("m")
a.q = g
n.s = a
g.s = a
m.s = a
assert a.q.s.q.txt == "g" | 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 |
98 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
e = B("e")
n = B("n")
d = B("d")
h = A("h")
f.p = h
e.y = h
n.y = h
d.y = h
h.p = f
assert e.y.p.p.p.txt == " | f" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
e = B("e")
n = B("n")
d = B("d")
h = A("h")
f.p = h
e.y = h
n.y = h
d.y = h
h.p = f
assert e.y.p.p.p.txt == "f" | 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 |
99 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
n = A("n")
m = B("m")
g = A("g")
b = B("b")
f = B("f")
e = B("e")
n.y = e
m.t = n
g.y = f
b.t = n
f.t = g
e.t = g
assert e.t.y.t.y.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
n = A("n")
m = B("m")
g = A("g")
b = B("b")
f = B("f")
e = B("e")
n.y = e
m.t = n
g.y = f
b.t = n
f.t = g
e.t = g
assert e.t.y.t.y.t.txt == "g" | 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.5 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 3 | 1 | 1 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 34