id
int64 0
399
| prompt
stringlengths 265
2.96k
| answer
stringclasses 14
values | pythoncode
stringlengths 267
2.97k
| num_nodes
int64 3
10
| num_edges
int64 3
40
| avg_node_edge
float64 1
4
| 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
3
| avg_num_field
float64 1
6.5
| path_length
int64 3
10
| max_node_visits
int64 1
5
| max_edge_visits
int64 1
4
| unique_node_number
int64 2
8
| path_node_coverage
float64 0.2
1
| unique_edge_number
int64 2
10
| path_edge_coverage
float64 0.07
1
| num_cycle
int64 0
7
| shortest_cycle
int64 2
7
⌀ | longest_cycle
int64 2
10
⌀ | average_cycle
float64 2
7
⌀ | unique_edge_label
int64 1
7
| max_label_occurrences
int64 1
9
| max_label_consecutive
int64 1
9
| max_node_outdegree
int64 1
4
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | class A:
def __init__(self, txt: str):
self.y: C = None
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
n = B("n")
c = C("c")
b.y = c
b.v = c
n.y = b
c.y = b
assert c.y.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: C = None
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
n = B("n")
c = C("c")
b.y = c
b.v = c
n.y = b
c.y = b
assert c.y.y.y.txt == "b" | 3 | 3 | 1 | 0.5 | 3 | 1 | 2 | 1 | 1.333333 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
1 | class A:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.x: A = None
self.txt = txt
e = A("e")
k = B("k")
d = B("d")
e.v = k
e.x = d
k.v = d
k.x = e
d.v = k
d.x = e
assert e.v.x.v.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.x: A = None
self.txt = txt
e = A("e")
k = B("k")
d = B("d")
e.v = k
e.x = d
k.v = d
k.x = e
d.v = k
d.x = e
assert e.v.x.v.txt == "k" | 3 | 6 | 2 | 1 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
2 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
n = A("n")
a = B("a")
l = A("l")
n.x = l
a.x = l
l.x = n
assert n.x.x.x.txt == " | l" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
n = A("n")
a = B("a")
l = A("l")
n.x = l
a.x = l
l.x = n
assert n.x.x.x.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 | 1 | 3 | 3 | 1 |
3 | class A:
def __init__(self, txt: str):
self.s: B = None
self.v: C = None
self.r: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.v: B = None
self.txt = txt
n = A("n")
c = B("c")
k = C("k")
n.s = c
n.v = k
n.r = k
c.s = n
c.v = n
k.s = c
k.v = c
assert k.v.s.r.txt == " | k" | class A:
def __init__(self, txt: str):
self.s: B = None
self.v: C = None
self.r: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.v: B = None
self.txt = txt
n = A("n")
c = B("c")
k = C("k")
n.s = c
n.v = k
n.r = k
c.s = n
c.v = n
k.s = c
k.v = c
assert k.v.s.r.txt == "k" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 2 | 2.333333 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
4 | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
e = A("e")
f = B("f")
c = A("c")
e.w = f
e.o = c
f.w = c
c.w = f
c.o = e
assert e.w.w.o.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
e = A("e")
f = B("f")
c = A("c")
e.w = f
e.o = c
f.w = c
c.w = f
c.o = e
assert e.w.w.o.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 | 2 | 2 | 2 | 1 |
5 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.txt = txt
a = A("a")
m = B("m")
f = A("f")
a.p = f
m.p = a
m.w = a
f.p = a
assert f.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.p: A = None
self.w: A = None
self.txt = txt
a = A("a")
m = B("m")
f = A("f")
a.p = f
m.p = a
m.w = a
f.p = a
assert f.p.p.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 | 1 | 3 | 3 | 1 |
6 | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
m = B("m")
k = B("k")
g.o = k
g.w = k
m.o = g
k.o = g
assert m.o.w.o.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
m = B("m")
k = B("k")
g.o = k
g.w = k
m.o = g
k.o = g
assert m.o.w.o.txt == "g" | 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 |
7 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.o: B = None
self.txt = txt
g = A("g")
j = B("j")
b = C("b")
g.p = j
j.p = g
b.p = g
b.w = g
b.o = j
assert g.p.p.p.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.o: B = None
self.txt = txt
g = A("g")
j = B("j")
b = C("b")
g.p = j
j.p = g
b.p = g
b.w = g
b.o = j
assert g.p.p.p.txt == "j" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
8 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: A = None
self.s: B = None
self.txt = txt
h = A("h")
e = B("e")
d = C("d")
h.y = e
e.y = h
e.s = h
d.y = h
d.s = e
assert d.s.s.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: A = None
self.s: B = None
self.txt = txt
h = A("h")
e = B("e")
d = C("d")
h.y = e
e.y = h
e.s = h
d.y = h
d.s = e
assert d.s.s.y.txt == "e" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
9 | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.q: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
c = B("c")
n = C("n")
k.o = c
k.q = c
k.w = c
c.o = k
c.q = n
n.o = k
assert k.o.o.q.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.q: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
c = B("c")
n = C("n")
k.o = c
k.q = c
k.w = c
c.o = k
c.q = n
n.o = k
assert k.o.o.q.txt == "c" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
10 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
e = B("e")
d = B("d")
c.r = e
e.r = d
d.r = e
assert c.r.r.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.r: B = None
self.txt = txt
c = A("c")
e = B("e")
d = B("d")
c.r = e
e.r = d
d.r = e
assert c.r.r.r.txt == "e" | 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 |
11 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: C = None
self.v: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
k = A("k")
h = B("h")
l = C("l")
k.t = h
h.t = l
h.v = l
h.y = k
l.t = h
l.v = k
assert l.t.y.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: C = None
self.v: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
k = A("k")
h = B("h")
l = C("l")
k.t = h
h.t = l
h.v = l
h.y = k
l.t = h
l.v = k
assert l.t.y.t.txt == "h" | 3 | 5 | 1.666667 | 0.833333 | 3 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
12 | class A:
def __init__(self, txt: str):
self.x: C = None
self.w: C = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
k = A("k")
g = B("g")
a = C("a")
k.x = a
k.w = a
k.p = g
g.x = k
g.w = k
g.p = k
a.x = g
a.w = k
assert g.x.p.p.txt == " | k" | class A:
def __init__(self, txt: str):
self.x: C = None
self.w: C = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
k = A("k")
g = B("g")
a = C("a")
k.x = a
k.w = a
k.p = g
g.x = k
g.w = k
g.p = k
a.x = g
a.w = k
assert g.x.p.p.txt == "k" | 3 | 5 | 1.666667 | 0.833333 | 3 | 1 | 3 | 2 | 2.666667 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
13 | 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
m = A("m")
j = B("j")
b = B("b")
m.z = b
j.z = m
b.z = m
assert m.z.z.z.txt == " | b" | 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
m = A("m")
j = B("j")
b = B("b")
m.z = b
j.z = m
b.z = m
assert m.z.z.z.txt == "b" | 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 |
14 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
e = A("e")
b = B("b")
c = B("c")
e.v = b
b.v = e
c.v = e
assert e.v.v.v.txt == " | b" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
e = A("e")
b = B("b")
c = B("c")
e.v = b
b.v = e
c.v = e
assert e.v.v.v.txt == "b" | 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 |
15 | class A:
def __init__(self, txt: str):
self.v: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
e = B("e")
a = B("a")
h.v = e
h.r = e
e.v = h
a.v = h
assert e.v.v.v.txt == " | h" | class A:
def __init__(self, txt: str):
self.v: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
e = B("e")
a = B("a")
h.v = e
h.r = e
e.v = h
a.v = h
assert e.v.v.v.txt == "h" | 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
16 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: A = None
self.txt = txt
h = A("h")
c = B("c")
l = A("l")
h.u = c
c.u = l
c.r = h
l.u = c
assert c.r.u.r.txt == " | h" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: A = None
self.txt = txt
h = A("h")
c = B("c")
l = A("l")
h.u = c
c.u = l
c.r = h
l.u = c
assert c.r.u.r.txt == "h" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
17 | class A:
def __init__(self, txt: str):
self.p: C = None
self.x: C = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.t: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
h = A("h")
e = B("e")
c = C("c")
h.p = c
h.x = c
h.t = e
e.p = h
e.x = h
e.t = h
c.p = h
c.x = e
assert c.x.t.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.p: C = None
self.x: C = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.t: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
h = A("h")
e = B("e")
c = C("c")
h.p = c
h.x = c
h.t = e
e.p = h
e.x = h
e.t = h
c.p = h
c.x = e
assert c.x.t.t.txt == "e" | 3 | 5 | 1.666667 | 0.833333 | 3 | 1 | 3 | 2 | 2.666667 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
18 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: A = None
self.txt = txt
l = A("l")
c = B("c")
g = B("g")
l.x = c
c.x = g
c.z = l
g.x = c
g.z = l
assert l.x.z.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: A = None
self.txt = txt
l = A("l")
c = B("c")
g = B("g")
l.x = c
c.x = g
c.z = l
g.x = c
g.z = l
assert l.x.z.x.txt == "c" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
19 | class A:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: A = None
self.txt = txt
b = A("b")
d = B("d")
n = B("n")
b.w = n
b.v = d
d.w = n
d.v = b
n.w = d
n.v = b
assert d.w.w.w.txt == " | n" | class A:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: A = None
self.txt = txt
b = A("b")
d = B("d")
n = B("n")
b.w = n
b.v = d
d.w = n
d.v = b
n.w = d
n.v = b
assert d.w.w.w.txt == "n" | 3 | 6 | 2 | 1 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
20 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
l = B("l")
d = B("d")
h.t = d
l.t = d
d.t = l
assert d.t.t.t.txt == " | l" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
l = B("l")
d = B("d")
h.t = d
l.t = d
d.t = l
assert d.t.t.t.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 | 1 | 3 | 3 | 1 |
21 | class A:
def __init__(self, txt: str):
self.r: B = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
m = A("m")
a = B("a")
f = C("f")
m.r = a
m.z = f
a.r = m
a.z = m
f.r = m
assert f.r.r.r.txt == " | m" | class A:
def __init__(self, txt: str):
self.r: B = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
m = A("m")
a = B("a")
f = C("f")
m.r = a
m.z = f
a.r = m
a.z = m
f.r = m
assert f.r.r.r.txt == "m" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
22 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
d = A("d")
c = B("c")
e = A("e")
d.x = c
c.x = d
c.p = e
e.x = c
assert d.x.x.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
d = A("d")
c = B("c")
e = A("e")
d.x = c
c.x = d
c.p = e
e.x = c
assert d.x.x.x.txt == "c" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
23 | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
c = A("c")
a = B("a")
g = C("g")
c.z = a
c.w = a
a.z = g
a.w = c
g.z = a
assert g.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
c = A("c")
a = B("a")
g = C("g")
c.z = a
c.w = a
a.z = g
a.w = c
g.z = a
assert g.z.z.z.txt == "a" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
24 | class A:
def __init__(self, txt: str):
self.v: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.u: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
j = C("j")
e.v = j
e.u = j
c.v = j
j.v = e
j.u = e
j.p = c
assert j.v.v.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.u: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
j = C("j")
e.v = j
e.u = j
c.v = j
j.v = e
j.u = e
j.p = c
assert j.v.v.v.txt == "e" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 2 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
25 | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
c = A("c")
i = B("i")
d = B("d")
c.y = i
c.u = i
i.y = d
i.u = c
d.y = i
d.u = c
assert i.u.u.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
c = A("c")
i = B("i")
d = B("d")
c.y = i
c.u = i
i.y = d
i.u = c
d.y = i
d.u = c
assert i.u.u.y.txt == "d" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
26 | 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
g = A("g")
h = B("h")
d = A("d")
g.t = h
h.t = d
d.t = h
assert d.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
g = A("g")
h = B("h")
d = A("d")
g.t = h
h.t = d
d.t = h
assert d.t.t.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 | 1 | 3 | 3 | 1 |
27 | class A:
def __init__(self, txt: str):
self.s: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.t: C = None
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.t: A = None
self.q: A = None
self.txt = txt
g = A("g")
l = B("l")
k = C("k")
g.s = k
l.s = g
l.q = g
l.t = k
k.s = g
k.t = g
k.q = g
assert k.s.s.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.s: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.t: C = None
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.t: A = None
self.q: A = None
self.txt = txt
g = A("g")
l = B("l")
k = C("k")
g.s = k
l.s = g
l.q = g
l.t = k
k.s = g
k.t = g
k.q = g
assert k.s.s.t.txt == "g" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 2.333333 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
28 | class A:
def __init__(self, txt: str):
self.y: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
l = A("l")
k = B("k")
g = A("g")
l.y = k
l.r = g
k.y = l
g.y = k
g.r = l
assert k.y.y.y.txt == " | l" | class A:
def __init__(self, txt: str):
self.y: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
l = A("l")
k = B("k")
g = A("g")
l.y = k
l.r = g
k.y = l
g.y = k
g.r = l
assert k.y.y.y.txt == "l" | 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
29 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
j = B("j")
i = B("i")
h.p = i
j.p = i
i.p = j
assert j.p.p.p.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
j = B("j")
i = B("i")
h.p = i
j.p = i
i.p = j
assert j.p.p.p.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 | 1 | 3 | 3 | 1 |
30 | class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
b = A("b")
g = B("g")
l = A("l")
b.v = l
b.w = l
g.v = l
l.v = b
l.w = b
assert b.w.v.w.txt == " | l" | class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
b = A("b")
g = B("g")
l = A("l")
b.v = l
b.w = l
g.v = l
l.v = b
l.w = b
assert b.w.v.w.txt == "l" | 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 |
31 | class A:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.o: B = None
self.txt = txt
l = A("l")
d = B("d")
e = C("e")
l.r = d
l.o = d
l.x = e
d.r = e
e.r = l
e.o = d
assert d.r.o.r.txt == " | e" | class A:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.o: B = None
self.txt = txt
l = A("l")
d = B("d")
e = C("e")
l.r = d
l.o = d
l.x = e
d.r = e
e.r = l
e.o = d
assert d.r.o.r.txt == "e" | 3 | 5 | 1.666667 | 0.833333 | 3 | 1 | 3 | 1 | 2 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
32 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: C = None
self.t: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
h = B("h")
f = C("f")
b.v = h
h.v = f
h.t = b
h.x = b
f.v = h
assert h.v.v.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.v: C = None
self.t: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
h = B("h")
f = C("f")
b.v = h
h.v = f
h.t = b
h.x = b
f.v = h
assert h.v.v.v.txt == "f" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
33 | 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.o: A = None
self.txt = txt
c = A("c")
f = B("f")
e = B("e")
c.t = f
f.t = c
f.o = c
e.t = c
e.o = c
assert e.t.t.o.txt == " | c" | 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.o: A = None
self.txt = txt
c = A("c")
f = B("f")
e = B("e")
c.t = f
f.t = c
f.o = c
e.t = c
e.o = c
assert e.t.t.o.txt == "c" | 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 |
34 | class A:
def __init__(self, txt: str):
self.z: B = None
self.t: C = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
a = B("a")
k = C("k")
d.z = a
d.p = a
d.t = k
a.z = d
k.z = a
assert a.z.p.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.t: C = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
a = B("a")
k = C("k")
d.z = a
d.p = a
d.t = k
a.z = d
k.z = a
assert a.z.p.z.txt == "d" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
35 | class A:
def __init__(self, txt: str):
self.r: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
g = A("g")
d = B("d")
h = A("h")
g.r = d
g.z = h
d.r = g
h.r = d
h.z = g
assert d.r.z.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
g = A("g")
d = B("d")
h = A("h")
g.r = d
g.z = h
d.r = g
h.r = d
h.z = g
assert d.r.z.r.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 | 2 | 2 | 1 | 1 |
36 | 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.t: B = None
self.txt = txt
g = A("g")
d = B("d")
c = B("c")
g.z = c
d.z = g
d.t = c
c.z = g
c.t = d
assert c.t.z.z.txt == " | c" | 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.t: B = None
self.txt = txt
g = A("g")
d = B("d")
c = B("c")
g.z = c
d.z = g
d.t = c
c.z = g
c.t = d
assert c.t.z.z.txt == "c" | 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 | 2 | 2 | 2 | 1 |
37 | class A:
def __init__(self, txt: str):
self.z: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.x: A = None
self.txt = txt
a = A("a")
k = B("k")
l = C("l")
a.z = l
a.x = k
k.z = a
l.z = a
l.x = a
assert k.z.z.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.x: A = None
self.txt = txt
a = A("a")
k = B("k")
l = C("l")
a.z = l
a.x = k
k.z = a
l.z = a
l.x = a
assert k.z.z.x.txt == "a" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
38 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
b = B("b")
d = A("d")
k.o = b
b.o = d
d.o = b
assert b.o.o.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
b = B("b")
d = A("d")
k.o = b
b.o = d
d.o = b
assert b.o.o.o.txt == "d" | 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 |
39 | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: C = None
self.q: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: C = None
self.x: A = None
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
g = B("g")
m = C("m")
f.p = g
f.x = m
f.q = m
g.p = m
g.x = f
g.q = f
m.p = f
assert g.x.x.p.txt == " | f" | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: C = None
self.q: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: C = None
self.x: A = None
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
g = B("g")
m = C("m")
f.p = g
f.x = m
f.q = m
g.p = m
g.x = f
g.q = f
m.p = f
assert g.x.x.p.txt == "f" | 3 | 5 | 1.666667 | 0.833333 | 3 | 1 | 3 | 1 | 2.333333 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
40 | class A:
def __init__(self, txt: str):
self.s: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
g = A("g")
c = B("c")
a = B("a")
g.s = c
g.r = a
c.s = g
a.s = g
assert c.s.r.s.txt == " | g" | class A:
def __init__(self, txt: str):
self.s: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
g = A("g")
c = B("c")
a = B("a")
g.s = c
g.r = a
c.s = g
a.s = g
assert c.s.r.s.txt == "g" | 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
41 | class A:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.y: A = None
self.txt = txt
i = A("i")
k = B("k")
b = C("b")
i.v = b
k.v = i
b.v = i
b.y = i
b.r = k
assert b.v.v.r.txt == " | k" | class A:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.y: A = None
self.txt = txt
i = A("i")
k = B("k")
b = C("b")
i.v = b
k.v = i
b.v = i
b.y = i
b.r = k
assert b.v.v.r.txt == "k" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
42 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.o: B = None
self.txt = txt
m = A("m")
k = B("k")
l = C("l")
m.z = l
k.z = m
k.o = l
l.z = k
l.o = k
assert k.o.z.o.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.o: B = None
self.txt = txt
m = A("m")
k = B("k")
l = C("l")
m.z = l
k.z = m
k.o = l
l.z = k
l.o = k
assert k.o.z.o.txt == "l" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
43 | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: C = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
n = A("n")
c = B("c")
a = C("a")
n.t = c
n.w = c
c.t = a
c.w = a
a.t = c
assert c.t.t.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: C = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
n = A("n")
c = B("c")
a = C("a")
n.t = c
n.w = c
c.t = a
c.w = a
a.t = c
assert c.t.t.w.txt == "a" | 3 | 3 | 1 | 0.5 | 3 | 1 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
44 | class A:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.v: B = None
self.o: A = None
self.txt = txt
a = A("a")
m = B("m")
b = C("b")
a.p = b
m.p = b
b.p = a
b.o = a
b.v = m
assert b.o.p.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.v: B = None
self.o: A = None
self.txt = txt
a = A("a")
m = B("m")
b = C("b")
a.p = b
m.p = b
b.p = a
b.o = a
b.v = m
assert b.o.p.p.txt == "a" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 2 | 0.666667 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
45 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
g = A("g")
a = B("a")
j = B("j")
g.u = a
a.u = g
a.v = j
j.u = g
j.v = a
assert j.u.u.v.txt == " | j" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
g = A("g")
a = B("a")
j = B("j")
g.u = a
a.u = g
a.v = j
j.u = g
j.v = a
assert j.u.u.v.txt == "j" | 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 | 2 | 2 | 2 | 1 |
46 | class A:
def __init__(self, txt: str):
self.r: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: C = None
self.u: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
f = C("f")
i.r = f
i.u = f
a.r = f
a.u = f
f.r = i
f.u = a
assert f.r.r.u.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: C = None
self.u: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
f = C("f")
i.r = f
i.u = f
a.r = f
a.u = f
f.r = i
f.u = a
assert f.r.r.u.txt == "a" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
47 | class A:
def __init__(self, txt: str):
self.o: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
j = B("j")
m = B("m")
k.o = m
k.s = m
j.o = k
m.o = k
assert j.o.o.o.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
k = A("k")
j = B("j")
m = B("m")
k.o = m
k.s = m
j.o = k
m.o = k
assert j.o.o.o.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 | 1 | 3 | 3 | 1 |
48 | class A:
def __init__(self, txt: str):
self.q: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
e.q = i
e.s = c
i.q = e
c.q = i
c.s = e
assert e.q.q.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.q: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
i = B("i")
c = A("c")
e.q = i
e.s = c
i.q = e
c.q = i
c.s = e
assert e.q.q.s.txt == "c" | 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 |
49 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.t: B = None
self.txt = txt
h = A("h")
i = B("i")
e = C("e")
h.s = i
i.s = e
e.s = h
e.t = i
assert h.s.s.t.txt == " | i" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.t: B = None
self.txt = txt
h = A("h")
i = B("i")
e = C("e")
h.s = i
i.s = e
e.s = h
e.t = i
assert h.s.s.t.txt == "i" | 3 | 4 | 1.333333 | 0.666667 | 3 | 1 | 2 | 1 | 1.333333 | 3 | 2 | 1 | 3 | 1 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
50 | class A:
def __init__(self, txt: str):
self.r: D = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: C = None
self.q: A = None
self.t: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
b = A("b")
l = B("l")
g = C("g")
f = D("f")
b.r = f
b.z = g
l.r = b
l.q = b
l.z = g
l.t = f
g.r = f
f.r = l
assert f.r.z.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: D = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: C = None
self.q: A = None
self.t: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
b = A("b")
l = B("l")
g = C("g")
f = D("f")
b.r = f
b.z = g
l.r = b
l.q = b
l.z = g
l.t = f
g.r = f
f.r = l
assert f.r.z.r.txt == "f" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
51 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.x: A = None
self.txt = txt
m = A("m")
n = B("n")
e = C("e")
i = B("i")
m.s = n
n.s = e
n.y = e
e.s = n
e.y = i
e.x = m
i.s = e
i.y = e
assert i.y.y.s.x.txt == " | m" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.x: A = None
self.txt = txt
m = A("m")
n = B("n")
e = C("e")
i = B("i")
m.s = n
n.s = e
n.y = e
e.s = n
e.y = i
e.x = m
i.s = e
i.y = e
assert i.y.y.s.x.txt == "m" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
52 | class A:
def __init__(self, txt: str):
self.p: A = None
self.o: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
b = A("b")
m = B("m")
k = C("k")
j = A("j")
b.p = j
b.o = k
m.p = b
m.o = b
m.y = k
k.p = m
j.p = b
j.o = k
assert b.p.p.p.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: A = None
self.o: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
b = A("b")
m = B("m")
k = C("k")
j = A("j")
b.p = j
b.o = k
m.p = b
m.o = b
m.y = k
k.p = m
j.p = b
j.o = k
assert b.p.p.p.txt == "j" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.285714 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
53 | class A:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
n = A("n")
e = B("e")
a = A("a")
d = B("d")
n.x = e
n.z = d
e.x = d
e.z = d
a.x = e
a.z = d
d.x = e
d.z = e
assert n.x.x.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.z: B = None
self.txt = txt
n = A("n")
e = B("e")
a = A("a")
d = B("d")
n.x = e
n.z = d
e.x = d
e.z = d
a.x = e
a.z = d
d.x = e
d.z = e
assert n.x.x.z.txt == "e" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
54 | class A:
def __init__(self, txt: str):
self.x: A = None
self.r: C = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: C = None
self.r: A = None
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: A = None
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
j = C("j")
n = A("n")
h.x = n
h.z = n
h.r = j
e.x = j
e.z = j
e.r = h
j.x = h
j.r = h
n.x = h
n.z = h
n.r = j
assert j.x.x.x.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.x: A = None
self.r: C = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: C = None
self.r: A = None
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: A = None
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
j = C("j")
n = A("n")
h.x = n
h.z = n
h.r = j
e.x = j
e.z = j
e.r = h
j.x = h
j.r = h
n.x = h
n.z = h
n.r = j
assert j.x.x.x.r.txt == "j" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 2 | 2.666667 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.571429 | 2 | 2 | 4 | 3 | 2 | 3 | 3 | 2 |
55 | class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
i = A("i")
c = B("c")
m = B("m")
l = B("l")
i.t = c
i.o = l
c.t = l
m.t = c
l.t = c
assert i.o.t.t.txt == " | l" | class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
i = A("i")
c = B("c")
m = B("m")
l = B("l")
i.t = c
i.o = l
c.t = l
m.t = c
l.t = c
assert i.o.t.t.txt == "l" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
56 | class A:
def __init__(self, txt: str):
self.u: C = None
self.t: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
e = A("e")
f = B("f")
h = C("h")
n = B("n")
e.u = h
e.t = h
f.u = n
h.u = n
n.u = f
assert e.t.u.u.u.txt == " | n" | class A:
def __init__(self, txt: str):
self.u: C = None
self.t: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
e = A("e")
f = B("f")
h = C("h")
n = B("n")
e.u = h
e.t = h
f.u = n
h.u = n
n.u = f
assert e.t.u.u.u.txt == "n" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 2 | 1 | 4 | 1 | 4 | 1 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
57 | class A:
def __init__(self, txt: str):
self.p: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: B = None
self.txt = txt
n = A("n")
h = B("h")
k = A("k")
a = B("a")
n.p = h
n.y = h
h.p = k
h.y = a
k.p = a
k.y = a
a.p = k
a.y = h
assert a.y.y.p.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: B = None
self.txt = txt
n = A("n")
h = B("h")
k = A("k")
a = B("a")
n.p = h
n.y = h
h.p = k
h.y = a
k.p = a
k.y = a
a.p = k
a.y = h
assert a.y.y.p.y.txt == "a" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 4 | 3 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 4 | 2.666667 | 2 | 3 | 2 | 2 |
58 | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
n = A("n")
l = B("l")
d = A("d")
a = B("a")
n.t = l
n.s = d
l.t = a
l.s = a
d.t = a
d.s = n
a.t = l
a.s = l
assert d.t.t.t.s.txt == " | l" | class A:
def __init__(self, txt: str):
self.t: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.s: B = None
self.txt = txt
n = A("n")
l = B("l")
d = A("d")
a = B("a")
n.t = l
n.s = d
l.t = a
l.s = a
d.t = a
d.s = n
a.t = l
a.s = l
assert d.t.t.t.s.txt == "l" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
59 | class A:
def __init__(self, txt: str):
self.o: D = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: A = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.y: C = None
self.txt = txt
n = A("n")
e = B("e")
g = C("g")
h = D("h")
n.o = h
n.w = e
e.o = h
g.o = n
g.w = n
h.o = e
h.w = e
h.y = g
assert g.o.w.o.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: D = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: A = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.o: B = None
self.w: B = None
self.y: C = None
self.txt = txt
n = A("n")
e = B("e")
g = C("g")
h = D("h")
n.o = h
n.w = e
e.o = h
g.o = n
g.w = n
h.o = e
h.w = e
h.y = g
assert g.o.w.o.y.txt == "g" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 4 | 4 | 4 | 3 | 2 | 1 | 1 |
60 | 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.w: B = None
self.txt = txt
n = A("n")
g = B("g")
l = A("l")
i = B("i")
n.s = l
g.s = i
g.w = i
l.s = n
i.s = g
i.w = g
assert n.s.s.s.txt == " | l" | 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.w: B = None
self.txt = txt
n = A("n")
g = B("g")
l = A("l")
i = B("i")
n.s = l
g.s = i
g.w = i
l.s = n
i.s = g
i.w = g
assert n.s.s.s.txt == "l" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
61 | 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
f = A("f")
n = B("n")
m = A("m")
i = B("i")
f.r = n
n.r = f
m.r = n
i.r = f
assert f.r.r.r.txt == " | n" | 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
f = A("f")
n = B("n")
m = A("m")
i = B("i")
f.r = n
n.r = f
m.r = n
i.r = f
assert f.r.r.r.txt == "n" | 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 |
62 | class A:
def __init__(self, txt: str):
self.v: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.y: A = None
self.txt = txt
b = A("b")
e = B("e")
k = C("k")
a = A("a")
b.v = a
b.y = a
e.v = b
k.v = b
k.y = b
a.v = b
a.y = b
assert k.y.y.v.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.v: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: A = None
self.y: A = None
self.txt = txt
b = A("b")
e = B("e")
k = C("k")
a = A("a")
b.v = a
b.y = a
e.v = b
k.v = b
k.y = b
a.v = b
a.y = b
assert k.y.y.v.y.txt == "a" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
63 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.x: B = None
self.txt = txt
g = A("g")
n = B("n")
e = B("e")
b = B("b")
g.w = n
n.w = g
n.x = e
e.w = g
e.x = b
b.w = g
b.x = n
assert n.x.x.x.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.x: B = None
self.txt = txt
g = A("g")
n = B("n")
e = B("e")
b = B("b")
g.w = n
n.w = g
n.x = e
e.w = g
e.x = b
b.w = g
b.x = n
assert n.x.x.x.x.txt == "e" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.428571 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
64 | class A:
def __init__(self, txt: str):
self.z: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
f = A("f")
l = B("l")
g = B("g")
c = A("c")
f.z = c
f.r = c
l.z = g
l.r = g
g.z = l
g.r = l
c.z = f
c.r = f
assert g.r.z.r.txt == " | l" | class A:
def __init__(self, txt: str):
self.z: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
f = A("f")
l = B("l")
g = B("g")
c = A("c")
f.z = c
f.r = c
l.z = g
l.r = g
g.z = l
g.r = l
c.z = f
c.r = f
assert g.r.z.r.txt == "l" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
65 | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.y: A = None
self.txt = txt
l = A("l")
a = B("a")
e = A("e")
g = B("g")
l.o = e
l.y = e
a.o = g
a.y = l
e.o = l
e.y = l
g.o = a
g.y = l
assert g.o.y.o.o.txt == " | l" | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.y: A = None
self.txt = txt
l = A("l")
a = B("a")
e = A("e")
g = B("g")
l.o = e
l.y = e
a.o = g
a.y = l
e.o = l
e.y = l
g.o = a
g.y = l
assert g.o.y.o.o.txt == "l" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
66 | class A:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
c = A("c")
f = B("f")
a = B("a")
n = A("n")
c.z = n
c.v = a
f.z = n
f.v = a
a.z = n
a.v = f
n.z = c
n.v = a
assert c.z.v.z.txt == " | n" | class A:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
c = A("c")
f = B("f")
a = B("a")
n = A("n")
c.z = n
c.v = a
f.z = n
f.v = a
a.z = n
a.v = f
n.z = c
n.v = a
assert c.z.v.z.txt == "n" | 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
67 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.p: A = None
self.txt = txt
f = A("f")
n = B("n")
c = B("c")
h = B("h")
f.t = h
n.t = h
n.p = f
c.t = n
c.p = f
h.t = n
h.p = f
assert c.p.t.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.t: B = None
self.p: A = None
self.txt = txt
f = A("f")
n = B("n")
c = B("c")
h = B("h")
f.t = h
n.t = h
n.p = f
c.t = n
c.p = f
h.t = n
h.p = f
assert c.p.t.p.txt == "f" | 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 |
68 | 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
class C:
def __init__(self, txt: str):
self.z: B = None
self.t: B = None
self.txt = txt
c = A("c")
e = B("e")
m = C("m")
b = B("b")
c.z = b
e.z = c
m.z = b
m.t = e
b.z = c
assert c.z.z.z.txt == " | b" | 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
class C:
def __init__(self, txt: str):
self.z: B = None
self.t: B = None
self.txt = txt
c = A("c")
e = B("e")
m = C("m")
b = B("b")
c.z = b
e.z = c
m.z = b
m.t = e
b.z = c
assert c.z.z.z.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.4 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
69 | class A:
def __init__(self, txt: str):
self.q: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: B = None
self.w: B = None
self.txt = txt
i = A("i")
b = B("b")
g = C("g")
d = D("d")
i.q = d
b.q = i
g.q = b
d.q = b
d.w = b
assert g.q.q.q.w.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: B = None
self.w: B = None
self.txt = txt
i = A("i")
b = B("b")
g = C("g")
d = D("d")
i.q = d
b.q = i
g.q = b
d.q = b
d.w = b
assert g.q.q.q.w.txt == "b" | 4 | 4 | 1 | 0.333333 | 4 | 1 | 2 | 1 | 1.25 | 4 | 2 | 1 | 4 | 1 | 4 | 1 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 1 |
70 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
g = B("g")
f.x = i
j.x = g
j.r = g
i.x = f
g.x = j
g.r = j
assert f.x.x.x.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
f = A("f")
j = B("j")
i = A("i")
g = B("g")
f.x = i
j.x = g
j.r = g
i.x = f
g.x = j
g.r = j
assert f.x.x.x.x.txt == "f" | 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 | 1 | 4 | 4 | 1 |
71 | class A:
def __init__(self, txt: str):
self.q: C = None
self.t: B = None
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.t: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: A = None
self.t: B = None
self.v: C = None
self.txt = txt
g = A("g")
m = B("m")
l = C("l")
c = D("c")
g.q = l
g.t = m
g.v = m
g.z = m
m.q = g
l.q = g
l.t = m
c.q = g
c.t = m
c.v = l
assert g.q.t.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: C = None
self.t: B = None
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.t: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: A = None
self.t: B = None
self.v: C = None
self.txt = txt
g = A("g")
m = B("m")
l = C("l")
c = D("c")
g.q = l
g.t = m
g.v = m
g.z = m
m.q = g
l.q = g
l.t = m
c.q = g
c.t = m
c.v = l
assert g.q.t.q.txt == "g" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
72 | class A:
def __init__(self, txt: str):
self.s: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.u: A = None
self.y: B = None
self.txt = txt
k = A("k")
f = B("f")
e = C("e")
d = B("d")
k.s = e
k.u = e
f.s = k
e.s = k
e.u = k
e.y = f
d.s = k
assert k.u.s.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.s: C = None
self.u: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: A = None
self.u: A = None
self.y: B = None
self.txt = txt
k = A("k")
f = B("f")
e = C("e")
d = B("d")
k.s = e
k.u = e
f.s = k
e.s = k
e.u = k
e.y = f
d.s = k
assert k.u.s.s.txt == "e" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 2 | 0.5 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
73 | class A:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: D = None
self.t: C = None
self.w: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.t: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.p: C = None
self.t: A = None
self.txt = txt
m = A("m")
g = B("g")
h = C("h")
n = D("n")
m.p = h
g.p = n
g.t = h
g.w = m
g.x = m
h.p = m
h.t = n
n.p = h
n.t = m
assert h.p.p.t.t.txt == " | m" | class A:
def __init__(self, txt: str):
self.p: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: D = None
self.t: C = None
self.w: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: A = None
self.t: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.p: C = None
self.t: A = None
self.txt = txt
m = A("m")
g = B("g")
h = C("h")
n = D("n")
m.p = h
g.p = n
g.t = h
g.w = m
g.x = m
h.p = m
h.t = n
n.p = h
n.t = m
assert h.p.p.t.t.txt == "m" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.25 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.5 | 2 | 2 | 3 | 2.5 | 2 | 2 | 2 | 2 |
74 | class A:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
i = B("i")
e = A("e")
n = B("n")
h.t = i
h.u = e
i.t = h
e.t = n
e.u = h
n.t = h
assert e.u.u.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
i = B("i")
e = A("e")
n = B("n")
h.t = i
h.u = e
i.t = h
e.t = n
e.u = h
n.t = h
assert e.u.u.u.txt == "h" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
75 | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: C = None
self.q: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.x: D = None
self.q: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.x: A = None
self.q: B = None
self.u: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
j = A("j")
i = B("i")
d = C("d")
f = D("f")
j.s = i
j.x = d
j.q = f
i.s = d
i.q = d
i.x = f
d.s = i
d.q = i
d.x = j
d.u = j
f.s = j
assert j.x.x.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: C = None
self.q: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: C = None
self.x: D = None
self.q: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.x: A = None
self.q: B = None
self.u: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
j = A("j")
i = B("i")
d = C("d")
f = D("f")
j.s = i
j.x = d
j.q = f
i.s = d
i.q = d
i.x = f
d.s = i
d.q = i
d.x = j
d.u = j
f.s = j
assert j.x.x.q.txt == "f" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.75 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
76 | class A:
def __init__(self, txt: str):
self.q: B = None
self.v: C = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.z: B = None
self.txt = txt
h = A("h")
d = B("d")
j = C("j")
g = B("g")
h.q = d
h.z = d
h.v = j
d.q = h
j.q = h
j.v = h
j.z = g
g.q = h
assert d.q.q.q.v.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.v: C = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.z: B = None
self.txt = txt
h = A("h")
d = B("d")
j = C("j")
g = B("g")
h.q = d
h.z = d
h.v = j
d.q = h
j.q = h
j.v = h
j.z = g
g.q = h
assert d.q.q.q.v.txt == "j" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 3 | 1 | 2.333333 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.5 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
77 | class A:
def __init__(self, txt: str):
self.x: D = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.t: D = None
self.z: A = None
self.r: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
a = A("a")
l = B("l")
g = C("g")
e = D("e")
a.x = e
a.t = l
l.x = a
l.t = e
g.x = l
g.r = l
g.t = e
g.z = a
e.x = a
assert g.x.t.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: D = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.t: D = None
self.z: A = None
self.r: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
a = A("a")
l = B("l")
g = C("g")
e = D("e")
a.x = e
a.t = l
l.x = a
l.t = e
g.x = l
g.r = l
g.t = e
g.z = a
e.x = a
assert g.x.t.x.txt == "a" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.25 | 3 | 1 | 1 | 4 | 1 | 3 | 0.375 | 0 | null | null | null | 2 | 2 | 1 | 1 |
78 | class A:
def __init__(self, txt: str):
self.q: D = None
self.v: C = None
self.p: B = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: D = None
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: C = None
self.v: B = None
self.txt = txt
m = A("m")
d = B("d")
h = C("h")
j = D("j")
m.q = j
m.v = h
m.z = h
m.p = d
d.q = j
d.v = m
h.q = d
j.q = h
j.v = d
assert m.p.v.p.txt == " | d" | class A:
def __init__(self, txt: str):
self.q: D = None
self.v: C = None
self.p: B = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: D = None
self.v: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: C = None
self.v: B = None
self.txt = txt
m = A("m")
d = B("d")
h = C("h")
j = D("j")
m.q = j
m.v = h
m.z = h
m.p = d
d.q = j
d.v = m
h.q = d
j.q = h
j.v = d
assert m.p.v.p.txt == "d" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.25 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.25 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
79 | class A:
def __init__(self, txt: str):
self.s: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
k = A("k")
n = B("n")
m = B("m")
l = A("l")
k.s = m
k.r = n
n.s = m
m.s = n
l.s = n
l.r = n
assert k.s.s.s.s.txt == " | n" | class A:
def __init__(self, txt: str):
self.s: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
k = A("k")
n = B("n")
m = B("m")
l = A("l")
k.s = m
k.r = n
n.s = m
m.s = n
l.s = n
l.r = n
assert k.s.s.s.s.txt == "n" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
80 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
g = B("g")
n = C("n")
a = A("a")
f.y = g
g.y = n
n.y = g
a.y = g
assert n.y.y.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
g = B("g")
n = C("n")
a = A("a")
f.y = g
g.y = n
n.y = g
a.y = g
assert n.y.y.y.txt == "g" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
81 | class A:
def __init__(self, txt: str):
self.q: C = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: D = None
self.z: B = None
self.x: B = None
self.u: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: C = None
self.z: C = None
self.x: A = None
self.txt = txt
g = A("g")
l = B("l")
k = C("k")
a = D("a")
g.q = k
g.z = k
l.q = a
k.q = a
k.z = l
k.x = l
k.u = l
a.q = k
a.z = k
a.x = g
assert l.q.q.q.x.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: C = None
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: D = None
self.z: B = None
self.x: B = None
self.u: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.q: C = None
self.z: C = None
self.x: A = None
self.txt = txt
g = A("g")
l = B("l")
k = C("k")
a = D("a")
g.q = k
g.z = k
l.q = a
k.q = a
k.z = l
k.x = l
k.u = l
a.q = k
a.z = k
a.x = g
assert l.q.q.q.x.txt == "g" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 2.5 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
82 | class A:
def __init__(self, txt: str):
self.q: B = None
self.w: C = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: C = None
self.w: C = None
self.txt = txt
f = A("f")
b = B("b")
m = C("m")
k = C("k")
f.q = b
f.w = k
f.y = k
b.q = f
m.q = k
m.w = k
k.q = m
k.w = m
assert f.w.w.q.txt == " | k" | class A:
def __init__(self, txt: str):
self.q: B = None
self.w: C = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: C = None
self.w: C = None
self.txt = txt
f = A("f")
b = B("b")
m = C("m")
k = C("k")
f.q = b
f.w = k
f.y = k
b.q = f
m.q = k
m.w = k
k.q = m
k.w = m
assert f.w.w.q.txt == "k" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
83 | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: C = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: B = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.r: C = None
self.y: A = None
self.o: C = None
self.p: A = None
self.txt = txt
h = A("h")
b = B("b")
j = C("j")
d = D("d")
h.r = b
h.o = b
h.y = j
b.r = h
j.r = b
j.y = d
d.r = j
d.o = j
d.y = h
d.p = h
assert h.y.r.r.txt == " | h" | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: C = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.r: B = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.r: C = None
self.y: A = None
self.o: C = None
self.p: A = None
self.txt = txt
h = A("h")
b = B("b")
j = C("j")
d = D("d")
h.r = b
h.o = b
h.y = j
b.r = h
j.r = b
j.y = d
d.r = j
d.o = j
d.y = h
d.p = h
assert h.y.r.r.txt == "h" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
84 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
h = A("h")
a = B("a")
d = B("d")
m = A("m")
h.x = d
a.x = h
a.w = h
d.x = m
d.w = h
m.x = d
assert m.x.x.x.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
h = A("h")
a = B("a")
d = B("d")
m = A("m")
h.x = d
a.x = h
a.w = h
d.x = m
d.w = h
m.x = d
assert m.x.x.x.w.txt == "h" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
85 | class A:
def __init__(self, txt: str):
self.q: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
g = B("g")
i = B("i")
n = A("n")
h.q = n
h.r = n
g.q = i
i.q = g
n.q = h
n.r = h
assert g.q.q.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.q: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
g = B("g")
i = B("i")
n = A("n")
h.q = n
h.r = n
g.q = i
i.q = g
n.q = h
n.r = h
assert g.q.q.q.txt == "i" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
86 | class A:
def __init__(self, txt: str):
self.s: B = None
self.p: B = None
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
a = A("a")
i = B("i")
m = C("m")
d = C("d")
a.s = i
a.p = i
a.v = m
i.s = a
i.p = a
m.s = i
m.p = a
d.s = i
d.p = a
assert m.p.v.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.s: B = None
self.p: B = None
self.v: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
a = A("a")
i = B("i")
m = C("m")
d = C("d")
a.s = i
a.p = i
a.v = m
i.s = a
i.p = a
m.s = i
m.p = a
d.s = i
d.p = a
assert m.p.v.p.txt == "a" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 2 | 2.333333 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.285714 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
87 | class A:
def __init__(self, txt: str):
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.q: A = None
self.t: C = None
self.txt = txt
d = A("d")
h = B("h")
b = C("b")
m = C("m")
d.x = b
h.x = m
b.x = h
b.q = d
b.t = m
m.x = h
m.q = d
m.t = b
assert b.q.x.t.txt == " | m" | class A:
def __init__(self, txt: str):
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.x: B = None
self.q: A = None
self.t: C = None
self.txt = txt
d = A("d")
h = B("h")
b = C("b")
m = C("m")
d.x = b
h.x = m
b.x = h
b.q = d
b.t = m
m.x = h
m.q = d
m.t = b
assert b.q.x.t.txt == "m" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
88 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
n = A("n")
g = B("g")
i.o = n
a.o = g
a.u = g
n.o = i
g.o = a
g.u = a
assert n.o.o.o.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
n = A("n")
g = B("g")
i.o = n
a.o = g
a.u = g
n.o = i
g.o = a
g.u = a
assert n.o.o.o.txt == "i" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
89 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.q: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.o: C = None
self.u: A = None
self.txt = txt
f = A("f")
n = B("n")
e = C("e")
b = D("b")
f.o = n
n.o = f
e.o = n
e.u = n
e.q = b
b.o = e
b.u = f
assert b.o.o.o.o.txt == " | n" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.q: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.o: C = None
self.u: A = None
self.txt = txt
f = A("f")
n = B("n")
e = C("e")
b = D("b")
f.o = n
n.o = f
e.o = n
e.u = n
e.q = b
b.o = e
b.u = f
assert b.o.o.o.o.txt == "n" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 1.75 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
90 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: C = None
self.r: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
l = A("l")
e = B("e")
m = C("m")
b = A("b")
l.q = e
e.q = m
e.r = b
m.q = e
m.r = e
b.q = e
assert l.q.q.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: C = None
self.r: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
l = A("l")
e = B("e")
m = C("m")
b = A("b")
l.q = e
e.q = m
e.r = b
m.q = e
m.r = e
b.q = e
assert l.q.q.q.txt == "e" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
91 | 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
n = A("n")
d = B("d")
c = B("c")
g = A("g")
n.r = c
d.r = g
c.r = n
g.r = c
assert d.r.r.r.r.txt == " | c" | 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
n = A("n")
d = B("d")
c = B("c")
g = A("g")
n.r = c
d.r = g
c.r = n
g.r = c
assert d.r.r.r.r.txt == "c" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 2 | 1 | 4 | 1 | 4 | 1 | 1 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
92 | class A:
def __init__(self, txt: str):
self.o: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
h = A("h")
n = B("n")
k = C("k")
l = C("l")
h.o = k
n.o = h
k.o = n
l.o = n
assert k.o.o.o.txt == " | k" | class A:
def __init__(self, txt: str):
self.o: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
h = A("h")
n = B("n")
k = C("k")
l = C("l")
h.o = k
n.o = h
k.o = n
l.o = n
assert k.o.o.o.txt == "k" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
93 | class A:
def __init__(self, txt: str):
self.t: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: C = None
self.s: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.t: C = None
self.txt = txt
h = A("h")
g = B("g")
j = C("j")
i = D("i")
h.t = j
g.t = j
g.s = i
j.t = g
i.t = j
assert h.t.t.s.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: C = None
self.s: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.t: C = None
self.txt = txt
h = A("h")
g = B("g")
j = C("j")
i = D("i")
h.t = j
g.t = j
g.s = i
j.t = g
i.t = j
assert h.t.t.s.txt == "i" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 2 | 1 | 1.25 | 3 | 1 | 1 | 4 | 1 | 3 | 0.6 | 0 | null | null | null | 2 | 2 | 2 | 1 |
94 | class A:
def __init__(self, txt: str):
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.w: B = None
self.v: A = None
self.txt = txt
h = A("h")
e = B("e")
l = C("l")
i = B("i")
h.w = l
e.w = i
l.w = i
l.v = h
i.w = e
assert h.w.v.w.w.txt == " | i" | class A:
def __init__(self, txt: str):
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.w: B = None
self.v: A = None
self.txt = txt
h = A("h")
e = B("e")
l = C("l")
i = B("i")
h.w = l
e.w = i
l.w = i
l.v = h
i.w = e
assert h.w.v.w.w.txt == "i" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 2 |
95 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.o: A = None
self.txt = txt
j = A("j")
k = B("k")
l = C("l")
i = B("i")
j.q = k
k.q = j
l.q = j
l.o = j
i.q = j
assert k.q.q.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.q: A = None
self.o: A = None
self.txt = txt
j = A("j")
k = B("k")
l = C("l")
i = B("i")
j.q = k
k.q = j
l.q = j
l.o = j
i.q = j
assert k.q.q.q.txt == "j" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
96 | class A:
def __init__(self, txt: str):
self.p: C = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: C = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: C = None
self.v: A = None
self.txt = txt
e = A("e")
c = B("c")
a = C("a")
m = C("m")
e.p = m
e.v = c
c.p = e
c.x = e
c.v = m
a.p = m
a.v = e
m.p = a
m.v = e
assert a.p.v.v.v.txt == " | m" | class A:
def __init__(self, txt: str):
self.p: C = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.v: C = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.p: C = None
self.v: A = None
self.txt = txt
e = A("e")
c = B("c")
a = C("a")
m = C("m")
e.p = m
e.v = c
c.p = e
c.x = e
c.v = m
a.p = m
a.v = e
m.p = a
m.v = e
assert a.p.v.v.v.txt == "m" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 2 | 2.333333 | 4 | 2 | 1 | 4 | 1 | 4 | 0.5 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 1 |
97 | class A:
def __init__(self, txt: str):
self.v: B = None
self.t: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: C = None
self.t: A = None
self.txt = txt
h = A("h")
l = B("l")
b = C("b")
n = C("n")
h.v = l
h.t = l
h.p = l
l.v = n
b.v = n
b.t = h
n.v = b
n.t = h
assert h.t.v.v.v.txt == " | n" | class A:
def __init__(self, txt: str):
self.v: B = None
self.t: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.v: C = None
self.t: A = None
self.txt = txt
h = A("h")
l = B("l")
b = C("b")
n = C("n")
h.v = l
h.t = l
h.p = l
l.v = n
b.v = n
b.t = h
n.v = b
n.t = h
assert h.t.v.v.v.txt == "n" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
98 | class A:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: B = None
self.txt = txt
e = A("e")
n = B("n")
h = B("h")
g = A("g")
e.u = g
e.z = g
n.u = h
n.z = h
h.u = n
h.z = n
g.u = e
g.z = e
assert g.u.u.z.z.txt == " | g" | class A:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: B = None
self.txt = txt
e = A("e")
n = B("n")
h = B("h")
g = A("g")
e.u = g
e.z = g
n.u = h
n.z = h
h.u = n
h.z = n
g.u = e
g.z = e
assert g.u.u.z.z.txt == "g" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 4 | 3 | 1 | 2 | 0.5 | 4 | 1 | 3 | 2 | 4 | 2.5 | 2 | 2 | 2 | 2 |
99 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
e = B("e")
k = A("k")
c = B("c")
j.y = e
e.y = j
k.y = e
c.y = k
assert c.y.y.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
e = B("e")
k = A("k")
c = B("c")
j.y = e
e.y = j
k.y = e
c.y = k
assert c.y.y.y.txt == "j" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 1 | 3 | 3 | 1 |