id
int64 0
799
| prompt
stringlengths 265
2.95k
| answer
stringclasses 10
values | pythoncode
stringlengths 267
2.95k
| num_nodes
int64 3
10
| num_edges
int64 3
48
| avg_node_edge
float64 1
4.8
| 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
5
| unique_node_number
int64 2
8
| path_node_coverage
float64 0.2
1
| unique_edge_number
int64 2
9
| path_edge_coverage
float64 0.07
1
| num_cycle
int64 0
8
| 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
10
| max_label_consecutive
int64 1
10
| max_node_outdegree
int64 1
3
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = c
a.y = e
b.z = c
c.z = d
c.y = b
d.z = a
d.y = b
e.z = c
assert e.z.y.z.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = c
a.y = e
b.z = c
c.z = d
c.y = b
d.z = a
d.y = b
e.z = c
assert e.z.y.z.txt == "c" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
201 | 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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = e
b.z = a
c.z = d
d.z = e
e.z = d
assert b.z.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = e
b.z = a
c.z = d
d.z = e
e.z = d
assert b.z.z.z.z.txt == "e" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.8 | 1 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
202 | 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.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = c
b.z = a
b.y = c
c.z = e
d.z = b
e.z = a
e.y = d
assert e.z.z.z.z.txt == " | a" | 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.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = c
b.z = a
b.y = c
c.z = e
d.z = b
e.z = a
e.y = d
assert e.z.z.z.z.txt == "a" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.333333 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.428571 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
203 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = d
a.y = e
b.z = c
b.y = a
c.z = b
c.y = e
d.z = a
d.y = e
e.z = a
e.y = d
assert b.y.y.y.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = d
a.y = e
b.z = c
b.y = a
c.z = b
c.y = e
d.z = a
d.y = e
e.z = a
e.y = d
assert b.y.y.y.z.z.txt == "d" | 5 | 10 | 2 | 0.5 | 2 | 2.5 | 2 | 2 | 2 | 5 | 2 | 1 | 4 | 0.8 | 5 | 0.5 | 2 | 2 | 3 | 2.5 | 2 | 3 | 3 | 2 |
204 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: E = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: D = None
self.w: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = e
b.y = e
b.x = c
c.z = e
c.w = e
c.y = b
c.x = d
d.z = a
e.z = d
assert a.z.w.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: E = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: D = None
self.w: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = e
b.y = e
b.x = c
c.z = e
c.w = e
c.y = b
c.x = d
d.z = a
e.z = d
assert a.z.w.z.z.txt == "a" | 5 | 8 | 1.6 | 0.4 | 5 | 1 | 4 | 1 | 2 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.5 | 1 | 4 | 4 | 4 | 2 | 3 | 2 | 1 |
205 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
a.y = b
b.z = e
c.z = a
c.y = b
d.z = e
e.z = d
assert d.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
a.y = b
b.z = e
c.z = a
c.y = b
d.z = e
e.z = d
assert d.z.z.z.txt == "e" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.285714 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
206 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = b
a.y = b
a.x = c
a.w = c
b.z = c
b.y = a
c.z = b
c.y = d
c.x = a
d.z = e
e.z = b
e.y = b
e.x = c
e.w = c
assert c.z.y.x.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = b
a.y = b
a.x = c
a.w = c
b.z = c
b.y = a
c.z = b
c.y = d
c.x = a
d.z = e
e.z = b
e.y = b
e.x = c
e.w = c
assert c.z.y.x.x.txt == "a" | 5 | 10 | 2 | 0.5 | 4 | 1.25 | 4 | 1 | 2.5 | 4 | 2 | 1 | 3 | 0.6 | 4 | 0.4 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
207 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: B = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = c
a.x = c
a.y = e
a.w = b
b.z = c
b.y = d
b.x = a
b.w = a
c.z = d
c.y = e
c.x = b
c.w = a
d.z = c
e.z = d
e.y = c
e.x = b
e.w = a
assert b.x.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: B = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = c
a.x = c
a.y = e
a.w = b
b.z = c
b.y = d
b.x = a
b.w = a
c.z = d
c.y = e
c.x = b
c.w = a
d.z = c
e.z = d
e.y = c
e.x = b
e.w = a
assert b.x.y.y.txt == "c" | 5 | 15 | 3 | 0.75 | 4 | 1.25 | 4 | 1 | 3.25 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.2 | 0 | null | null | null | 2 | 2 | 2 | 1 |
208 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: E = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: D = None
self.w: A = None
self.v: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
b.z = d
b.y = e
c.z = b
c.x = b
c.y = e
d.z = e
d.y = b
d.x = c
e.z = c
e.y = d
e.x = d
e.w = a
e.v = b
assert b.z.x.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: E = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: D = None
self.w: A = None
self.v: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
b.z = d
b.y = e
c.z = b
c.x = b
c.y = e
d.z = e
d.y = b
d.x = c
e.z = c
e.y = d
e.x = d
e.w = a
e.v = b
assert b.z.x.y.txt == "e" | 5 | 12 | 2.4 | 0.6 | 5 | 1 | 5 | 1 | 2.8 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.25 | 0 | null | null | null | 3 | 1 | 1 | 1 |
209 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: B = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = c
a.y = c
a.x = b
b.z = c
b.y = d
b.w = d
b.x = e
c.z = a
c.y = b
c.x = e
d.z = c
d.y = e
e.z = c
e.y = d
e.w = d
e.x = b
assert a.x.x.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: B = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = c
a.y = c
a.x = b
b.z = c
b.y = d
b.w = d
b.x = e
c.z = a
c.y = b
c.x = e
d.z = c
d.y = e
e.z = c
e.y = d
e.w = d
e.x = b
assert a.x.x.w.txt == "d" | 5 | 13 | 2.6 | 0.65 | 4 | 1.25 | 4 | 2 | 3 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.230769 | 0 | null | null | null | 2 | 2 | 2 | 1 |
210 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: D = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: B = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = d
a.x = d
a.y = b
a.w = c
b.z = a
b.y = d
c.z = a
c.y = a
c.w = a
c.x = b
d.z = c
d.y = b
e.z = a
e.y = a
e.w = a
e.x = b
assert b.z.w.x.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: D = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: B = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = d
a.x = d
a.y = b
a.w = c
b.z = a
b.y = d
c.z = a
c.y = a
c.w = a
c.x = b
d.z = c
d.y = b
e.z = a
e.y = a
e.w = a
e.x = b
assert b.z.w.x.y.txt == "d" | 5 | 11 | 2.2 | 0.55 | 4 | 1.25 | 4 | 2 | 3 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.363636 | 1 | 3 | 3 | 3 | 4 | 1 | 1 | 2 |
211 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.x: B = None
self.w: A = None
self.v: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.w: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = b
b.z = c
c.z = d
c.y = e
c.x = b
c.w = a
c.v = a
d.z = b
d.y = b
d.x = c
d.w = c
e.z = d
assert a.z.x.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.x: B = None
self.w: A = None
self.v: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.w: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = b
b.z = c
c.z = d
c.y = e
c.x = b
c.w = a
c.v = a
d.z = b
d.y = b
d.x = c
d.w = c
e.z = d
assert a.z.x.y.txt == "e" | 5 | 10 | 2 | 0.5 | 5 | 1 | 5 | 1 | 2.6 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.3 | 0 | null | null | null | 3 | 1 | 1 | 1 |
212 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = B("e")
a.z = d
b.z = e
c.z = d
d.z = b
e.z = b
assert b.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = B("e")
a.z = d
b.z = e
c.z = d
d.z = b
e.z = b
assert b.z.z.z.txt == "e" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.4 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
213 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = c
b.z = c
c.z = b
d.z = e
e.z = c
assert a.z.z.z.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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = c
b.z = c
c.z = b
d.z = e
e.z = c
assert a.z.z.z.z.z.txt == "c" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.6 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
214 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: C = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.x = c
a.w = c
a.y = d
b.z = e
b.y = d
c.z = a
c.y = b
d.z = a
d.y = a
e.z = a
e.w = a
e.y = d
e.x = c
assert b.z.x.y.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: C = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.x = c
a.w = c
a.y = d
b.z = e
b.y = d
c.z = a
c.y = b
d.z = a
d.y = a
e.z = a
e.w = a
e.y = d
e.x = c
assert b.z.x.y.z.txt == "e" | 5 | 10 | 2 | 0.5 | 5 | 1 | 4 | 2 | 2.8 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.3 | 2 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
215 | class A:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: C = None
self.w: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
b.z = d
c.z = e
d.z = a
d.y = b
d.w = b
d.x = c
e.z = c
assert b.z.y.z.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: C = None
self.w: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
b.z = d
c.z = e
d.z = a
d.y = b
d.w = b
d.x = c
e.z = c
assert b.z.y.z.x.txt == "c" | 5 | 7 | 1.4 | 0.35 | 5 | 1 | 4 | 1 | 1.6 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 2 |
216 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = C("e")
a.z = c
a.y = d
a.x = e
b.z = d
b.y = d
c.z = e
c.y = e
c.x = a
d.z = b
d.y = b
e.z = c
e.y = c
e.x = a
assert b.y.z.y.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = C("e")
a.z = c
a.y = d
a.x = e
b.z = d
b.y = d
c.z = e
c.y = e
c.x = a
d.z = b
d.y = b
e.z = c
e.y = c
e.x = a
assert b.y.z.y.z.txt == "b" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 3 | 2 | 2.666667 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.222222 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
217 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.y = b
b.z = a
c.z = e
c.y = e
c.x = d
d.z = a
d.y = e
d.x = c
e.z = a
e.y = b
assert d.y.z.z.y.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.y = b
b.z = a
c.z = e
c.y = e
c.x = d
d.z = a
d.y = e
d.x = c
e.z = a
e.y = b
assert d.y.z.z.y.z.txt == "a" | 5 | 10 | 2 | 0.5 | 3 | 1.666667 | 3 | 1 | 2 | 5 | 2 | 1 | 4 | 0.8 | 5 | 0.5 | 2 | 2 | 3 | 2.5 | 2 | 3 | 2 | 2 |
218 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: D = None
self.w: E = None
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.x: A = None
self.w: B = None
self.v: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = c
b.v = c
b.y = a
b.x = d
b.w = e
c.z = b
d.z = e
d.v = e
d.y = c
d.x = a
d.w = b
e.z = c
assert e.z.z.y.z.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: D = None
self.w: E = None
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.x: A = None
self.w: B = None
self.v: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = c
b.v = c
b.y = a
b.x = d
b.w = e
c.z = b
d.z = e
d.v = e
d.y = c
d.x = a
d.w = b
e.z = c
assert e.z.z.y.z.txt == "c" | 5 | 11 | 2.2 | 0.55 | 5 | 1 | 5 | 1 | 2.6 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.363636 | 1 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
219 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.w: D = None
self.v: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.y = b
b.z = c
c.z = a
c.x = a
c.y = b
c.w = d
c.v = e
d.z = e
d.x = e
d.y = b
e.z = b
e.y = c
assert b.z.v.z.z.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.w: D = None
self.v: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.y = b
b.z = c
c.z = a
c.x = a
c.y = b
c.w = d
c.v = e
d.z = e
d.x = e
d.y = b
e.z = b
e.y = c
assert b.z.v.z.z.y.txt == "b" | 5 | 11 | 2.2 | 0.55 | 5 | 1 | 5 | 1 | 2.6 | 5 | 3 | 2 | 3 | 0.6 | 4 | 0.363636 | 3 | 2 | 5 | 3.25 | 3 | 3 | 2 | 2 |
220 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = A("e")
a.z = d
b.z = c
b.y = c
c.z = b
c.y = d
d.z = b
d.y = c
e.z = c
assert c.z.z.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: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = A("e")
a.z = d
b.z = c
b.y = c
c.z = b
c.y = d
d.z = b
d.y = c
e.z = c
assert c.z.z.z.z.z.txt == "b" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.285714 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
221 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.y = e
b.z = e
c.z = a
d.z = e
e.z = b
e.y = d
assert a.z.z.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
a.y = e
b.z = e
c.z = a
d.z = e
e.z = b
e.y = d
assert a.z.z.y.txt == "e" | 5 | 7 | 1.4 | 0.35 | 5 | 1 | 2 | 1 | 1.4 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
222 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = c
a.x = c
a.y = d
b.z = e
b.y = c
b.x = d
c.z = e
d.z = e
d.y = c
d.x = b
e.z = c
e.x = c
e.y = d
assert e.z.z.x.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = c
a.x = c
a.y = d
b.z = e
b.y = c
b.x = d
c.z = e
d.z = e
d.y = c
d.x = b
e.z = c
e.x = c
e.y = d
assert e.z.z.x.z.txt == "e" | 5 | 11 | 2.2 | 0.55 | 3 | 1.666667 | 3 | 1 | 2.333333 | 4 | 3 | 2 | 2 | 0.4 | 3 | 0.272727 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
223 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = c
a.y = b
b.z = a
b.y = a
b.x = a
c.z = a
c.y = a
d.z = b
d.y = a
e.z = a
e.y = a
e.x = a
assert c.y.y.x.z.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = c
a.y = b
b.z = a
b.y = a
b.x = a
c.z = a
c.y = a
d.z = b
d.y = a
e.z = a
e.y = a
e.x = a
assert c.y.y.x.z.y.txt == "a" | 5 | 7 | 1.4 | 0.35 | 4 | 1.25 | 3 | 2 | 2.25 | 5 | 3 | 2 | 3 | 0.6 | 4 | 0.571429 | 3 | 2 | 4 | 3 | 3 | 3 | 2 | 2 |
224 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
a.y = c
b.z = c
b.x = c
b.y = a
c.z = a
d.z = e
e.z = d
e.y = c
assert c.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
a.y = c
b.z = c
b.x = c
b.y = a
c.z = a
d.z = e
e.z = d
e.y = c
assert c.z.z.z.txt == "e" | 5 | 8 | 1.6 | 0.4 | 4 | 1.25 | 3 | 1 | 1.75 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.375 | 0 | null | null | null | 1 | 3 | 3 | 1 |
225 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: D = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = e
b.z = d
c.z = a
c.y = a
c.x = d
c.w = e
d.z = c
d.y = b
d.x = e
e.z = d
assert b.z.z.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: D = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = B("e")
a.z = e
b.z = d
c.z = a
c.y = a
c.x = d
c.w = e
d.z = c
d.y = b
d.x = e
e.z = d
assert b.z.z.w.txt == "e" | 5 | 9 | 1.8 | 0.45 | 4 | 1.25 | 4 | 1 | 2.25 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.333333 | 0 | null | null | null | 2 | 2 | 2 | 1 |
226 | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
b.z = a
b.y = a
c.z = b
c.y = e
d.z = b
e.z = c
e.y = a
assert b.y.z.y.z.y.txt == " | a" | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
b.z = a
b.y = a
c.z = b
c.y = e
d.z = b
e.z = c
e.y = a
assert b.y.z.y.z.y.txt == "a" | 5 | 7 | 1.4 | 0.35 | 5 | 1 | 2 | 1 | 1.6 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.285714 | 4 | 2 | 4 | 2.666667 | 2 | 3 | 1 | 1 |
227 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = d
a.y = d
a.x = b
b.z = e
b.w = e
b.y = d
b.x = a
c.z = d
c.y = a
c.x = b
d.z = b
d.y = a
e.z = d
e.y = a
e.x = b
assert e.z.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = d
a.y = d
a.x = b
b.z = e
b.w = e
b.y = d
b.x = a
c.z = d
c.y = a
c.x = b
d.z = b
d.y = a
e.z = d
e.y = a
e.x = b
assert e.z.z.z.z.txt == "d" | 5 | 13 | 2.6 | 0.65 | 4 | 1.25 | 4 | 2 | 3 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.230769 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
228 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = A("e")
a.z = e
a.y = e
b.z = a
c.z = a
d.z = e
e.z = a
e.y = a
assert a.z.z.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = A("e")
a.z = e
a.y = e
b.z = a
c.z = a
d.z = e
e.z = a
e.y = a
assert a.z.z.y.txt == "e" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 2 | 0.4 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
229 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: B = None
self.w: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: A = None
self.w: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = c
a.y = c
a.x = b
a.w = d
b.z = c
c.z = d
c.w = d
c.y = b
c.x = e
d.z = a
d.y = c
d.x = c
e.z = c
e.y = c
e.x = b
e.w = d
assert a.w.z.w.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: B = None
self.w: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: A = None
self.w: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = c
a.y = c
a.x = b
a.w = d
b.z = c
c.z = d
c.w = d
c.y = b
c.x = e
d.z = a
d.y = c
d.x = c
e.z = c
e.y = c
e.x = b
e.w = d
assert a.w.z.w.z.txt == "a" | 5 | 12 | 2.4 | 0.6 | 4 | 1.25 | 4 | 1 | 3 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.166667 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
230 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = d
a.y = b
b.z = d
b.y = d
c.z = d
c.y = b
d.z = b
d.y = b
e.z = b
e.y = b
assert a.z.y.y.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = d
a.y = b
b.z = d
b.y = d
c.z = d
c.y = b
d.z = b
d.y = b
e.z = b
e.y = b
assert a.z.y.y.z.z.txt == "d" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 2 | 2 | 5 | 3 | 1 | 3 | 0.6 | 5 | 0.714286 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
231 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
b.z = e
c.z = a
d.z = b
e.z = d
assert a.z.z.z.z.z.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
b.z = e
c.z = a
d.z = b
e.z = d
assert a.z.z.z.z.z.txt == "c" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.4 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
232 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: E = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: A = None
self.x: C = None
self.w: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: B = None
self.w: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.x = e
a.y = d
a.w = c
b.z = e
b.w = e
b.y = a
b.x = c
c.z = e
c.y = d
d.z = a
d.x = a
d.y = b
e.z = b
e.x = b
e.y = a
e.w = c
assert c.y.z.w.y.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: E = None
self.w: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: A = None
self.x: C = None
self.w: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: B = None
self.w: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.x = e
a.y = d
a.w = c
b.z = e
b.w = e
b.y = a
b.x = c
c.z = e
c.y = d
d.z = a
d.x = a
d.y = b
e.z = b
e.x = b
e.y = a
e.w = c
assert c.y.z.w.y.x.txt == "a" | 5 | 13 | 2.6 | 0.65 | 5 | 1 | 4 | 2 | 3.4 | 5 | 2 | 2 | 3 | 0.6 | 4 | 0.307692 | 3 | 3 | 3 | 3 | 4 | 2 | 1 | 2 |
233 | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = e
b.z = c
b.y = d
c.z = e
d.z = a
d.y = b
e.z = c
e.y = d
assert e.y.y.y.txt == " | d" | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = e
b.z = c
b.y = d
c.z = e
d.z = a
d.y = b
e.z = c
e.y = d
assert e.y.y.y.txt == "d" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.375 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
234 | 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.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = C("e")
a.z = c
b.z = a
c.z = b
c.y = d
c.x = e
d.z = a
e.z = b
e.y = d
e.x = c
assert d.z.z.y.txt == " | d" | 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.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = C("e")
a.z = c
b.z = a
c.z = b
c.y = d
c.x = e
d.z = a
e.z = b
e.y = d
e.x = c
assert d.z.z.y.txt == "d" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.333333 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
235 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.w: A = None
self.v: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: D = None
self.v: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = c
b.z = e
c.z = a
c.y = a
c.x = a
c.w = a
c.v = d
d.z = a
e.z = c
e.x = c
e.y = d
e.w = d
e.v = d
assert e.w.z.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.w: A = None
self.v: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: D = None
self.v: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = c
b.z = e
c.z = a
c.y = a
c.x = a
c.w = a
c.v = d
d.z = a
e.z = c
e.x = c
e.y = d
e.w = d
e.v = d
assert e.w.z.y.y.y.txt == "c" | 5 | 8 | 1.6 | 0.4 | 5 | 1 | 5 | 1 | 2.8 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.5 | 2 | 2 | 2 | 2 | 3 | 3 | 3 | 1 |
236 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = d
b.z = d
b.y = e
c.z = b
d.z = e
d.y = b
e.z = b
e.y = d
assert e.z.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: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = d
b.z = d
b.y = e
c.z = b
d.z = e
d.y = b
e.z = b
e.y = d
assert e.z.z.z.z.txt == "b" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.375 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
237 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: B = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = b
b.z = c
b.y = a
c.z = a
c.y = e
d.z = b
d.x = b
d.w = b
d.y = a
e.z = a
e.y = c
assert a.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: B = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = b
b.z = c
b.y = a
c.z = a
c.y = e
d.z = b
d.x = b
d.w = b
d.y = a
e.z = a
e.y = c
assert a.z.z.z.txt == "a" | 5 | 9 | 1.8 | 0.45 | 4 | 1.25 | 4 | 1 | 2.25 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.333333 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
238 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = b
a.x = b
a.y = c
b.z = a
b.y = a
c.z = b
d.z = c
d.y = a
e.z = c
e.y = a
assert c.z.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = b
a.x = b
a.y = c
b.z = a
b.y = a
c.z = b
d.z = c
d.y = a
e.z = c
e.y = a
assert c.z.y.y.txt == "c" | 5 | 8 | 1.6 | 0.4 | 4 | 1.25 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.375 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
239 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = 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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = B("e")
a.z = e
a.y = d
b.z = a
c.z = d
c.y = d
d.z = b
d.y = a
e.z = a
assert c.y.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = 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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = B("e")
a.z = e
a.y = d
b.z = a
c.z = d
c.y = d
d.z = b
d.y = a
e.z = a
assert c.y.z.z.z.z.txt == "a" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.666667 | 5 | 2 | 1 | 5 | 1 | 5 | 0.714286 | 1 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
240 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = b
b.z = c
c.z = a
c.y = a
c.x = d
d.z = a
d.y = a
d.x = c
e.z = c
assert c.y.z.z.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = b
b.z = c
c.z = a
c.y = a
c.x = d
d.z = a
d.y = a
d.x = c
e.z = c
assert c.y.z.z.x.txt == "d" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 3 | 1 | 1.666667 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.571429 | 1 | 3 | 3 | 3 | 3 | 2 | 2 | 2 |
241 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = c
c.z = b
d.z = a
e.z = b
assert a.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = c
c.z = b
d.z = a
e.z = b
assert a.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
242 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.x: C = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = e
b.z = d
b.w = d
b.y = e
b.x = c
c.z = e
d.z = c
e.z = a
assert c.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.x: C = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = e
b.z = d
b.w = d
b.y = e
b.x = c
c.z = e
d.z = c
e.z = a
assert c.z.z.z.z.txt == "a" | 5 | 7 | 1.4 | 0.35 | 4 | 1.25 | 4 | 1 | 1.75 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
243 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = d
a.y = e
b.z = c
c.z = b
d.z = a
d.y = e
e.z = d
e.y = d
assert a.y.z.z.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = d
a.y = e
b.z = c
c.z = b
d.z = a
d.y = e
e.z = d
e.y = d
assert a.y.z.z.y.txt == "e" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.428571 | 2 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
244 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
a.y = d
b.z = e
b.y = c
c.z = b
c.y = b
d.z = a
d.y = a
e.z = b
e.y = c
assert a.z.y.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
a.y = d
b.z = e
b.y = c
c.z = b
c.y = b
d.z = a
d.y = a
e.z = b
e.y = c
assert a.z.y.z.z.z.txt == "d" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 2 | 2 | 5 | 3 | 3 | 2 | 0.4 | 3 | 0.428571 | 4 | 2 | 4 | 2.666667 | 2 | 4 | 3 | 2 |
245 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = 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
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = c
a.y = c
a.x = c
b.z = a
c.z = b
d.z = c
e.z = c
assert c.z.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = 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
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = c
a.y = c
a.x = c
b.z = a
c.z = b
d.z = c
e.z = c
assert c.z.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 4 | 1.25 | 3 | 1 | 1.5 | 5 | 2 | 2 | 3 | 0.6 | 3 | 0.6 | 3 | 3 | 3 | 3 | 1 | 5 | 5 | 1 |
246 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = d
b.z = e
b.y = d
b.x = d
c.z = d
d.z = c
e.z = b
e.y = c
e.x = d
assert a.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = d
b.z = e
b.y = d
b.x = d
c.z = d
d.z = c
e.z = b
e.y = c
e.x = d
assert a.z.z.z.txt == "d" | 5 | 8 | 1.6 | 0.4 | 3 | 1.666667 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.375 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
247 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.x = e
a.y = b
b.z = d
c.z = b
c.y = d
c.x = a
d.z = b
d.y = c
d.x = e
e.z = a
e.x = a
e.y = b
assert d.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.x = e
a.y = b
b.z = d
c.z = b
c.y = d
c.x = a
d.z = b
d.y = c
d.x = e
e.z = a
e.x = a
e.y = b
assert d.y.y.y.txt == "c" | 5 | 11 | 2.2 | 0.55 | 3 | 1.666667 | 3 | 1 | 2.333333 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.181818 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
248 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: B = None
self.w: A = None
self.v: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = c
b.z = e
b.y = c
b.x = c
c.z = b
c.y = b
c.x = a
c.w = e
d.z = c
d.y = b
d.x = b
d.v = b
d.w = a
e.z = b
e.y = a
e.x = d
assert c.y.y.x.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: E = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: B = None
self.w: A = None
self.v: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = c
b.z = e
b.y = c
b.x = c
c.z = b
c.y = b
c.x = a
c.w = e
d.z = c
d.y = b
d.x = b
d.v = b
d.w = a
e.z = b
e.y = a
e.x = d
assert c.y.y.x.y.txt == "c" | 5 | 13 | 2.6 | 0.65 | 5 | 1 | 5 | 2 | 3.4 | 4 | 3 | 1 | 3 | 0.6 | 4 | 0.307692 | 2 | 2 | 4 | 2.666667 | 2 | 3 | 2 | 2 |
249 | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = b
b.z = d
b.y = e
c.z = d
c.y = b
d.z = e
e.z = a
e.y = b
assert e.y.z.z.y.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = b
b.z = d
b.y = e
c.z = d
c.y = b
d.z = e
e.z = a
e.y = b
assert e.y.z.z.y.z.txt == "d" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 3 | 0.6 | 3 | 0.375 | 3 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
250 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.x: C = 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.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.w: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = e
a.x = c
b.z = a
c.z = a
d.z = a
d.x = a
d.y = b
d.w = e
e.z = b
assert e.z.z.z.y.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: E = None
self.x: C = 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.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.w: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = e
a.x = c
b.z = a
c.z = a
d.z = a
d.x = a
d.y = b
d.w = e
e.z = b
assert e.z.z.z.y.z.txt == "a" | 5 | 9 | 1.8 | 0.45 | 5 | 1 | 4 | 1 | 2 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.444444 | 2 | 3 | 3 | 3 | 2 | 4 | 3 | 1 |
251 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: A = None
self.w: A = None
self.v: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.y = d
b.z = a
b.y = c
c.z = d
c.y = d
c.x = a
c.w = a
c.v = a
d.z = b
e.z = a
e.y = c
e.x = d
assert c.w.y.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: A = None
self.w: A = None
self.v: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.y = d
b.z = a
b.y = c
c.z = d
c.y = d
c.x = a
c.w = a
c.v = a
d.z = b
e.z = a
e.y = c
e.x = d
assert c.w.y.z.z.txt == "a" | 5 | 10 | 2 | 0.5 | 5 | 1 | 5 | 1 | 2.6 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.4 | 1 | 3 | 3 | 3 | 3 | 2 | 2 | 1 |
252 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: B = None
self.w: E = None
self.v: D = 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.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.w = e
a.y = b
a.x = b
a.v = d
b.z = a
c.z = a
c.y = b
d.z = c
d.y = e
e.z = d
assert d.y.z.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: B = None
self.x: B = None
self.w: E = None
self.v: D = 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.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: E = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.w = e
a.y = b
a.x = b
a.v = d
b.z = a
c.z = a
c.y = b
d.z = c
d.y = e
e.z = d
assert d.y.z.y.txt == "e" | 5 | 9 | 1.8 | 0.45 | 5 | 1 | 5 | 1 | 2.2 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.222222 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
253 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
b.z = e
b.y = e
c.z = b
d.z = b
e.z = a
assert e.z.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
b.z = e
b.y = e
c.z = b
d.z = b
e.z = a
assert e.z.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 3 | 1.666667 | 2 | 1 | 1.333333 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.4 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
254 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = c
a.y = b
a.x = d
b.z = e
c.z = b
c.y = b
c.x = a
d.z = c
e.z = c
assert d.z.z.z.z.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = c
a.y = b
a.x = d
b.z = e
c.z = b
c.y = b
c.x = a
d.z = c
e.z = c
assert d.z.z.z.z.x.txt == "a" | 5 | 8 | 1.6 | 0.4 | 4 | 1.25 | 3 | 1 | 2 | 5 | 2 | 1 | 5 | 1 | 5 | 0.625 | 1 | 3 | 3 | 3 | 2 | 4 | 4 | 2 |
255 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.y = e
a.x = d
b.z = d
c.z = b
d.z = b
e.z = a
e.y = a
e.x = c
assert e.x.z.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = A("e")
a.z = e
a.y = e
a.x = d
b.z = d
c.z = b
d.z = b
e.z = a
e.y = a
e.x = c
assert e.x.z.z.z.z.txt == "d" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 3 | 1 | 1.666667 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.571429 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
256 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = b
a.y = b
b.z = d
c.z = d
c.y = b
d.z = b
e.z = d
assert d.z.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = b
a.y = b
b.z = d
c.z = d
c.y = b
d.z = b
e.z = d
assert d.z.z.z.z.txt == "d" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.333333 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
257 | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = B("e")
a.z = b
b.z = a
b.y = a
c.z = e
c.y = a
d.z = a
d.y = a
e.z = a
e.y = a
assert a.z.z.z.y.txt == " | a" | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = B("e")
a.z = b
b.z = a
b.y = a
c.z = e
c.y = a
d.z = a
d.y = a
e.z = a
e.y = a
assert a.z.z.z.y.txt == "a" | 5 | 6 | 1.2 | 0.3 | 3 | 1.666667 | 2 | 1 | 1.666667 | 4 | 3 | 2 | 2 | 0.4 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
258 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = b
a.y = d
b.z = d
b.y = d
c.z = d
c.y = d
d.z = b
d.y = b
e.z = d
e.y = d
assert b.y.z.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = b
a.y = d
b.z = d
b.y = d
c.z = d
c.y = d
d.z = b
d.y = b
e.z = d
e.y = d
assert b.y.z.y.y.txt == "b" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 2 | 2 | 4 | 3 | 2 | 2 | 0.4 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
259 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = e
a.y = d
a.x = c
b.z = c
c.z = e
d.z = c
e.z = a
e.y = d
e.x = c
assert c.z.y.z.z.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = e
a.y = d
a.x = c
b.z = c
c.z = e
d.z = c
e.z = a
e.y = d
e.x = c
assert c.z.y.z.z.y.txt == "d" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 3 | 1 | 1.666667 | 5 | 2 | 2 | 3 | 0.6 | 3 | 0.333333 | 3 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
260 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = c
b.z = e
b.y = d
b.x = c
c.z = d
c.y = a
c.x = e
d.z = c
d.y = a
d.x = e
e.z = b
e.y = c
e.x = c
assert b.y.y.z.x.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = c
b.z = e
b.y = d
b.x = c
c.z = d
c.y = a
c.x = e
d.z = c
d.y = a
d.x = e
e.z = b
e.y = c
e.x = c
assert b.y.y.z.x.z.txt == "b" | 5 | 12 | 2.4 | 0.6 | 3 | 1.666667 | 3 | 1 | 2.333333 | 5 | 2 | 1 | 5 | 1 | 5 | 0.416667 | 1 | 5 | 5 | 5 | 3 | 2 | 2 | 1 |
261 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = e
a.y = c
b.z = c
b.y = c
c.z = b
c.y = b
d.z = e
d.y = b
e.z = d
e.y = b
assert b.z.y.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = e
a.y = c
b.z = c
b.y = c
c.z = b
c.y = b
d.z = e
d.y = b
e.z = d
e.y = b
assert b.z.y.z.z.txt == "b" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 2 | 2 | 4 | 3 | 2 | 2 | 0.4 | 3 | 0.375 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
262 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: D = None
self.w: B = None
self.v: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: A = None
self.w: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = d
a.x = d
a.v = d
a.w = b
b.z = e
c.z = d
c.y = b
d.z = b
d.w = b
d.y = a
d.x = a
e.z = c
e.y = d
e.x = a
e.w = b
assert e.w.z.w.z.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: D = None
self.w: B = None
self.v: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: A = None
self.w: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: A = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = d
a.x = d
a.v = d
a.w = b
b.z = e
c.z = d
c.y = b
d.z = b
d.w = b
d.y = a
d.x = a
e.z = c
e.y = d
e.x = a
e.w = b
assert e.w.z.w.z.y.txt == "d" | 5 | 11 | 2.2 | 0.55 | 5 | 1 | 5 | 1 | 3.2 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.272727 | 3 | 2 | 4 | 2.5 | 3 | 2 | 1 | 2 |
263 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = d
b.z = e
b.y = d
c.z = a
d.z = a
e.z = b
e.y = a
assert e.y.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = d
b.z = e
b.y = d
c.z = a
d.z = a
e.z = b
e.y = a
assert e.y.z.z.txt == "a" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
264 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = c
b.y = d
c.z = b
c.y = a
d.z = a
e.z = b
e.y = d
assert b.y.z.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = c
b.y = d
c.z = b
c.y = a
d.z = a
e.z = b
e.y = d
assert b.y.z.z.z.z.txt == "d" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.375 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
265 | class A:
def __init__(self, txt: str):
self.z: A = 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = A("e")
a.z = e
b.z = a
c.z = a
d.z = e
e.z = a
assert c.z.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = A("e")
a.z = e
b.z = a
c.z = a
d.z = e
e.z = a
assert c.z.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 3 | 1.666667 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.6 | 3 | 2 | 4 | 2.5 | 1 | 5 | 5 | 1 |
266 | class A:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: A = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = e
b.z = a
b.y = a
c.z = a
c.x = a
c.w = a
c.y = d
d.z = a
d.y = e
d.x = c
e.z = a
e.y = d
e.x = c
assert d.x.z.z.y.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: A = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = e
b.z = a
b.y = a
c.z = a
c.x = a
c.w = a
c.y = d
d.z = a
d.y = e
d.x = c
e.z = a
e.y = d
e.x = c
assert d.x.z.z.y.x.txt == "c" | 5 | 10 | 2 | 0.5 | 4 | 1.25 | 4 | 1 | 2.5 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.4 | 2 | 4 | 4 | 4 | 3 | 2 | 2 | 1 |
267 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
a.y = b
a.x = c
b.z = d
b.y = c
b.w = c
b.x = e
c.z = e
d.z = c
e.z = d
e.y = b
e.x = c
assert e.z.z.z.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
a.y = b
a.x = c
b.z = d
b.y = c
b.w = c
b.x = e
c.z = e
d.z = c
e.z = d
e.y = b
e.x = c
assert e.z.z.z.x.txt == "c" | 5 | 11 | 2.2 | 0.55 | 4 | 1.25 | 4 | 1 | 2.25 | 4 | 2 | 1 | 3 | 0.6 | 4 | 0.363636 | 2 | 2 | 3 | 2.5 | 2 | 3 | 3 | 2 |
268 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = e
a.y = d
a.x = d
b.z = a
b.x = a
b.y = e
c.z = e
c.y = b
d.z = a
e.z = c
e.y = b
assert b.y.z.z.z.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = e
a.y = d
a.x = d
b.z = a
b.x = a
b.y = e
c.z = e
c.y = b
d.z = a
e.z = c
e.y = b
assert b.y.z.z.z.y.txt == "b" | 5 | 9 | 1.8 | 0.45 | 4 | 1.25 | 3 | 1 | 2.25 | 5 | 2 | 2 | 3 | 0.6 | 4 | 0.444444 | 3 | 2 | 5 | 3 | 2 | 3 | 3 | 2 |
269 | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = B("e")
a.z = c
b.z = d
b.y = a
c.z = e
c.y = a
d.z = c
e.z = a
e.y = a
assert e.z.z.y.z.y.txt == " | a" | 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.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = B("e")
a.z = c
b.z = d
b.y = a
c.z = e
c.y = a
d.z = c
e.z = a
e.y = a
assert e.z.z.y.z.y.txt == "a" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.666667 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.428571 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 1 |
270 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: E = None
self.x: C = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: A = None
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: A = None
self.x: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = e
a.x = c
a.w = b
b.z = c
b.x = c
b.v = c
b.y = d
b.w = a
c.z = a
d.z = e
d.y = a
d.x = c
e.z = c
e.y = d
e.x = b
assert b.x.z.x.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: E = None
self.x: C = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: C = None
self.w: A = None
self.v: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: E = None
self.y: A = None
self.x: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.y = e
a.x = c
a.w = b
b.z = c
b.x = c
b.v = c
b.y = d
b.w = a
c.z = a
d.z = e
d.y = a
d.x = c
e.z = c
e.y = d
e.x = b
assert b.x.z.x.z.txt == "a" | 5 | 13 | 2.6 | 0.65 | 5 | 1 | 5 | 1 | 3.2 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.230769 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
271 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.w: C = None
self.v: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: B = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: C = None
self.w: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: B = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.y = b
a.x = b
a.w = c
a.v = e
b.z = d
b.y = a
c.z = a
c.y = d
c.x = b
c.w = b
d.z = b
d.y = a
d.x = c
d.w = c
e.z = d
e.y = c
e.x = b
e.w = a
assert a.w.z.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.w: C = None
self.v: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: B = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: C = None
self.w: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.y: C = None
self.x: B = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.y = b
a.x = b
a.w = c
a.v = e
b.z = d
b.y = a
c.z = a
c.y = d
c.x = b
c.w = b
d.z = b
d.y = a
d.x = c
d.w = c
e.z = d
e.y = c
e.x = b
e.w = a
assert a.w.z.y.txt == "b" | 5 | 15 | 3 | 0.75 | 5 | 1 | 5 | 2 | 3.8 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.2 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
272 | class A:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
b.z = d
c.z = b
c.y = d
d.z = c
d.y = c
d.x = c
d.w = b
e.z = d
assert d.w.z.w.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = d
b.z = d
c.z = b
c.y = d
d.z = c
d.y = c
d.x = c
d.w = b
e.z = d
assert d.w.z.w.z.txt == "d" | 5 | 7 | 1.4 | 0.35 | 4 | 1.25 | 4 | 1 | 2 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
273 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = B("e")
a.z = d
a.y = b
b.z = c
c.z = a
c.y = b
d.z = c
e.z = c
assert c.y.z.y.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = B("e")
a.z = d
a.y = b
b.z = c
c.z = a
c.y = b
d.z = c
e.z = c
assert c.y.z.y.z.z.txt == "a" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.666667 | 5 | 3 | 2 | 3 | 0.6 | 3 | 0.428571 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
274 | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.x = e
a.y = d
b.z = c
c.z = e
c.y = d
c.x = a
d.z = a
e.z = c
e.y = c
e.x = a
assert c.z.x.y.z.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: E = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: E = None
self.y: D = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = e
a.x = e
a.y = d
b.z = c
c.z = e
c.y = d
c.x = a
d.z = a
e.z = c
e.y = c
e.x = a
assert c.z.x.y.z.y.txt == "d" | 5 | 9 | 1.8 | 0.45 | 5 | 1 | 3 | 1 | 2.2 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.444444 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
275 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = C("e")
a.z = b
b.z = c
c.z = e
c.y = d
d.z = b
e.z = c
e.y = d
assert c.y.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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
e = C("e")
a.z = b
b.z = c
c.z = e
c.y = d
d.z = b
e.z = c
e.y = d
assert c.y.z.z.txt == "c" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.333333 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
276 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = c
a.y = e
b.z = c
c.z = b
d.z = c
d.y = e
e.z = b
e.y = a
assert c.z.z.z.z.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = c
a.y = e
b.z = c
c.z = b
d.z = c
d.y = e
e.z = b
e.y = a
assert c.z.z.z.z.txt == "c" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.25 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
277 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: D = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = b
a.y = c
b.z = c
c.z = e
c.y = e
c.x = d
c.w = b
d.z = b
d.y = b
d.w = b
d.x = e
e.z = b
e.y = c
assert e.z.z.w.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: D = None
self.w: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = b
a.y = c
b.z = c
c.z = e
c.y = e
c.x = d
c.w = b
d.z = b
d.y = b
d.w = b
d.x = e
e.z = b
e.y = c
assert e.z.z.w.txt == "b" | 5 | 10 | 2 | 0.5 | 4 | 1.25 | 4 | 1 | 2.75 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
278 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = d
b.z = d
b.y = a
c.z = d
d.z = c
e.z = c
e.y = a
assert c.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = d
b.z = d
b.y = a
c.z = d
d.z = c
e.z = c
e.y = a
assert c.z.z.z.txt == "d" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 1 | 1.333333 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.285714 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
279 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = d
b.z = a
c.z = a
d.z = c
e.z = d
assert b.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = d
b.z = a
c.z = a
d.z = c
e.z = d
assert b.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.8 | 1 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
280 | 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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = b
b.z = d
c.z = e
d.z = c
e.z = b
assert a.z.z.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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = A("e")
a.z = b
b.z = d
c.z = e
d.z = c
e.z = b
assert a.z.z.z.z.z.txt == "b" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 5 | 2 | 1 | 5 | 1 | 5 | 1 | 1 | 4 | 4 | 4 | 1 | 5 | 5 | 1 |
281 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
a.y = d
b.z = e
c.z = a
c.y = b
d.z = e
e.z = b
assert e.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = B("e")
a.z = c
a.y = d
b.z = e
c.z = a
c.y = b
d.z = e
e.z = b
assert e.z.z.z.txt == "b" | 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.285714 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
282 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = e
b.z = e
c.z = e
d.z = c
e.z = b
assert e.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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = e
b.z = e
c.z = e
d.z = c
e.z = b
assert e.z.z.z.txt == "b" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.4 | 2 | 0.4 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
283 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: E = None
self.w: C = None
self.v: D = 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.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: C = None
self.w: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = d
a.v = d
a.x = e
a.w = c
b.z = a
c.z = a
c.y = d
d.z = b
d.y = c
e.z = d
e.w = d
e.y = b
e.x = c
assert c.y.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: E = None
self.w: C = None
self.v: D = 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.y: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: C = None
self.w: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = d
a.y = d
a.v = d
a.x = e
a.w = c
b.z = a
c.z = a
c.y = d
d.z = b
d.y = c
e.z = d
e.w = d
e.y = b
e.x = c
assert c.y.z.z.txt == "a" | 5 | 11 | 2.2 | 0.55 | 5 | 1 | 5 | 1 | 2.8 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.272727 | 0 | null | null | null | 2 | 2 | 2 | 1 |
284 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = e
b.z = e
b.y = e
b.x = a
b.w = c
c.z = b
d.z = c
e.z = a
assert a.z.z.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.w: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = A("e")
a.z = e
b.z = e
b.y = e
b.x = a
b.w = c
c.z = b
d.z = c
e.z = a
assert a.z.z.z.z.z.txt == "e" | 5 | 7 | 1.4 | 0.35 | 4 | 1.25 | 4 | 1 | 1.75 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.285714 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
285 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = e
b.z = a
b.y = e
c.z = d
c.y = a
d.z = c
d.y = a
e.z = a
e.y = b
assert b.z.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
e = B("e")
a.z = e
b.z = a
b.y = e
c.z = d
c.y = a
d.z = c
d.y = a
e.z = a
e.y = b
assert b.z.z.z.z.txt == "e" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 2 | 1 | 1.666667 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
286 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = e
a.y = b
b.z = c
c.z = e
c.y = e
d.z = b
d.y = e
e.z = a
assert d.z.z.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = A("d")
e = B("e")
a.z = e
a.y = b
b.z = c
c.z = e
c.y = e
d.z = b
d.y = e
e.z = a
assert d.z.z.y.txt == "e" | 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 |
287 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = d
c.z = a
d.z = a
e.z = a
assert b.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = d
c.z = a
d.z = a
e.z = a
assert b.z.z.z.z.txt == "a" | 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.6 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
288 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: D = None
self.w: D = None
self.v: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.x = b
a.y = c
b.z = e
b.y = c
c.z = a
d.z = b
e.z = b
e.v = b
e.y = c
e.x = d
e.w = d
assert b.y.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: E = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: D = None
self.w: D = None
self.v: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = b
a.x = b
a.y = c
b.z = e
b.y = c
c.z = a
d.z = b
e.z = b
e.v = b
e.y = c
e.x = d
e.w = d
assert b.y.z.z.txt == "b" | 5 | 9 | 1.8 | 0.45 | 5 | 1 | 5 | 1 | 2.4 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.333333 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
289 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
a.y = d
a.x = b
b.z = d
b.y = e
c.z = d
d.z = b
d.y = a
e.z = d
e.x = d
e.y = b
assert d.z.y.y.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
a.y = d
a.x = b
b.z = d
b.y = e
c.z = d
d.z = b
d.y = a
e.z = d
e.x = d
e.y = b
assert d.z.y.y.z.z.txt == "b" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 3 | 1 | 2 | 5 | 3 | 2 | 3 | 0.6 | 4 | 0.444444 | 3 | 2 | 4 | 3 | 2 | 3 | 2 | 2 |
290 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
b.z = d
b.y = d
c.z = d
c.x = d
c.y = b
d.z = b
d.y = b
e.z = b
assert a.z.z.y.y.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
b.z = d
b.y = d
c.z = d
c.x = d
c.y = b
d.z = b
d.y = b
e.z = b
assert a.z.z.y.y.y.txt == "d" | 5 | 6 | 1.2 | 0.3 | 3 | 1.666667 | 3 | 1 | 2 | 5 | 3 | 2 | 3 | 0.6 | 4 | 0.666667 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
291 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = B("e")
a.z = c
a.y = b
b.z = d
c.z = d
d.z = e
e.z = c
assert a.z.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
e = B("e")
a.z = c
a.y = b
b.z = d
c.z = d
d.z = e
e.z = c
assert a.z.z.z.txt == "e" | 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.5 | 0 | null | null | null | 1 | 3 | 3 | 1 |
292 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = a
b.y = e
c.z = d
c.y = e
d.z = a
e.z = d
e.y = c
assert d.z.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
e = B("e")
a.z = d
b.z = a
b.y = e
c.z = d
c.y = e
d.z = a
e.z = d
e.y = c
assert d.z.z.z.z.z.txt == "a" | 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 3 | 3 | 2 | 0.4 | 2 | 0.25 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
293 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = c
b.y = c
b.x = c
c.z = a
d.z = b
d.y = a
e.z = c
e.y = c
assert c.z.z.z.z.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class E:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = E("e")
a.z = c
b.z = c
b.y = c
b.x = c
c.z = a
d.z = b
d.y = a
e.z = c
e.y = c
assert c.z.z.z.z.txt == "c" | 5 | 6 | 1.2 | 0.3 | 5 | 1 | 3 | 1 | 1.8 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.333333 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
294 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
a.x = d
a.y = c
b.z = c
b.y = d
c.z = a
d.z = c
d.y = b
e.z = b
e.x = b
e.y = c
assert d.y.y.z.z.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = d
a.x = d
a.y = c
b.z = c
b.y = d
c.z = a
d.z = c
d.y = b
e.z = b
e.x = b
e.y = c
assert d.y.y.z.z.x.txt == "d" | 5 | 9 | 1.8 | 0.45 | 3 | 1.666667 | 3 | 1 | 2 | 5 | 3 | 1 | 4 | 0.8 | 5 | 0.555556 | 2 | 2 | 5 | 3.333333 | 3 | 2 | 2 | 2 |
295 | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = e
a.y = c
a.x = c
b.z = a
b.y = c
b.x = d
c.z = b
c.y = d
c.x = a
d.z = a
d.y = c
d.x = b
e.z = a
e.y = c
e.x = c
assert b.y.y.z.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.x: B = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = e
a.y = c
a.x = c
b.z = a
b.y = c
b.x = d
c.z = b
c.y = d
c.x = a
d.z = a
d.y = c
d.x = b
e.z = a
e.y = c
e.x = c
assert b.y.y.z.x.txt == "c" | 5 | 13 | 2.6 | 0.65 | 3 | 1.666667 | 3 | 3 | 3 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.307692 | 1 | 3 | 3 | 3 | 3 | 2 | 2 | 1 |
296 | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: C = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = c
b.z = d
b.y = a
c.z = e
c.x = e
c.y = a
c.w = a
d.z = c
d.y = e
e.z = c
e.x = c
e.y = a
e.w = a
assert a.z.x.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: A = None
self.x: C = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = C("e")
a.z = c
b.z = d
b.y = a
c.z = e
c.x = e
c.y = a
c.w = a
d.z = c
d.y = e
e.z = c
e.x = c
e.y = a
e.w = a
assert a.z.x.y.txt == "a" | 5 | 9 | 1.8 | 0.45 | 4 | 1.25 | 4 | 1 | 2.25 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.333333 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
297 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = c
a.y = c
b.z = a
b.y = a
c.z = d
c.y = a
d.z = e
d.y = a
e.z = c
e.y = c
assert c.y.y.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
e = A("e")
a.z = c
a.y = c
b.z = a
b.y = a
c.z = d
c.y = a
d.z = e
d.y = a
e.z = c
e.y = c
assert c.y.y.z.z.txt == "e" | 5 | 7 | 1.4 | 0.35 | 3 | 1.666667 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.571429 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
298 | 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.y: A = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = b
b.z = a
c.z = b
c.x = b
c.y = a
d.z = e
e.z = d
assert a.z.z.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
e = D("e")
a.z = b
b.z = a
c.z = b
c.x = b
c.y = a
d.z = e
e.z = d
assert a.z.z.z.z.txt == "a" | 5 | 6 | 1.2 | 0.3 | 4 | 1.25 | 3 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.4 | 2 | 0.333333 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
299 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = b
a.y = c
b.z = d
b.y = a
c.z = d
c.y = a
d.z = b
d.y = a
e.z = d
e.y = c
assert d.z.z.z.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
e = A("e")
a.z = b
a.y = c
b.z = d
b.y = a
c.z = d
c.y = a
d.z = b
d.y = a
e.z = d
e.y = c
assert d.z.z.z.y.txt == "a" | 5 | 10 | 2 | 0.5 | 2 | 2.5 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.3 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |