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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
100 | 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 = B("c")
d = B("d")
a.z = b
a.y = b
b.z = d
b.y = d
c.z = d
c.y = d
d.z = b
d.y = c
assert d.z.y.y.txt == " | c" | 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 = B("c")
d = B("d")
a.z = b
a.y = b
b.z = d
b.y = d
c.z = d
c.y = d
d.z = b
d.y = c
assert d.z.y.y.txt == "c" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
101 | 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")
a.z = d
b.z = c
c.z = b
d.z = a
assert a.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.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = d
b.z = c
c.z = b
d.z = a
assert a.z.z.z.txt == "d" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
102 | 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.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")
a.z = c
b.z = d
c.z = b
d.z = b
assert b.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.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")
a.z = c
b.z = d
c.z = b
d.z = b
assert b.z.z.z.txt == "d" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
103 | 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 = A("c")
d = B("d")
a.z = c
a.y = c
b.z = c
c.z = a
c.y = a
d.z = a
assert a.z.y.z.txt == " | c" | 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 = A("c")
d = B("d")
a.z = c
a.y = c
b.z = c
c.z = a
c.y = a
d.z = a
assert a.z.y.z.txt == "c" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
104 | 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 = B("d")
a.z = c
b.z = a
b.y = c
c.z = b
d.z = a
d.y = c
assert d.y.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: 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 = B("d")
a.z = c
b.z = a
b.y = c
c.z = b
d.z = a
d.y = c
assert d.y.z.z.z.txt == "c" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 1 |
105 | 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
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = b
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert d.y.z.y.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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = b
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert d.y.z.y.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
106 | class A:
def __init__(self, txt: str):
self.z: A = 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.x: 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")
a.z = d
a.y = c
a.x = b
b.z = a
b.y = d
b.x = d
c.z = a
d.z = a
d.y = c
d.x = b
assert d.x.y.x.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = 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.x: 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")
a.z = d
a.y = c
a.x = b
b.z = a
b.y = d
b.x = d
c.z = a
d.z = a
d.y = c
d.x = b
assert d.x.y.x.x.txt == "d" | 4 | 9 | 2.25 | 0.75 | 3 | 1.333333 | 3 | 1 | 2.333333 | 4 | 3 | 2 | 2 | 0.5 | 3 | 0.333333 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
107 | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = c
a.y = c
b.z = a
b.y = d
c.z = a
c.y = a
d.z = c
d.y = b
assert a.z.y.y.txt == " | c" | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = c
a.y = c
b.z = a
b.y = d
c.z = a
c.y = a
d.z = c
d.y = b
assert a.z.y.y.txt == "c" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 2 | 0.5 | 3 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
108 | 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.y: A = 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")
a.z = c
a.y = c
a.x = c
b.z = a
b.y = a
c.z = b
c.y = b
c.x = b
d.z = a
d.y = a
assert b.y.y.x.y.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.y: A = 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")
a.z = c
a.y = c
a.x = c
b.z = a
b.y = a
c.z = b
c.y = b
c.x = b
d.z = a
d.y = a
assert b.y.y.x.y.txt == "a" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 3 | 2 | 2.666667 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
109 | 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.txt = txt
class D:
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")
a.z = b
b.z = c
c.z = a
d.z = c
d.y = c
d.x = a
assert b.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: 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.y: C = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
b.z = c
c.z = a
d.z = c
d.y = c
d.x = a
assert b.z.z.z.z.txt == "c" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
110 | 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: C = None
self.x: A = 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 = A("d")
a.z = b
a.x = b
a.y = c
b.z = d
b.x = d
b.y = c
c.z = b
c.y = b
c.x = b
d.z = b
d.x = b
d.y = c
assert c.x.x.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: C = None
self.x: A = 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 = A("d")
a.z = b
a.x = b
a.y = c
b.z = d
b.x = d
b.y = c
c.z = b
c.y = b
c.x = b
d.z = b
d.x = b
d.y = c
assert c.x.x.y.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 3 | 3 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
111 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: B = None
self.w: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: D = 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.y = d
a.w = d
b.z = a
b.y = d
b.x = d
b.w = c
c.z = b
d.z = b
assert c.z.x.z.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: B = None
self.w: D = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: D = 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.y = d
a.w = d
b.z = a
b.y = d
b.x = d
b.w = c
c.z = b
d.z = b
assert c.z.x.z.y.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2.5 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.571429 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 2 |
112 | 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: C = None
self.y: A = None
self.x: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = d
a.x = d
b.z = c
b.y = a
b.x = a
c.z = a
d.z = a
assert c.z.y.z.txt == " | a" | 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: C = None
self.y: A = None
self.x: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = d
a.x = d
b.z = c
b.y = a
b.x = a
c.z = a
d.z = a
assert c.z.y.z.txt == "a" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
113 | 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: 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 = A("d")
a.z = b
b.z = a
b.y = c
c.z = a
d.z = b
assert b.z.z.y.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.y: 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 = A("d")
a.z = b
b.z = a
b.y = c
c.z = a
d.z = b
assert b.z.z.y.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.8 | 2 | 2 | 3 | 2.5 | 2 | 3 | 2 | 2 |
114 | 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = a
c.z = b
d.z = b
assert c.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = a
c.z = b
d.z = b
assert c.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
115 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: 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.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = d
a.x = b
b.z = d
c.z = a
c.y = a
d.z = b
assert c.z.z.y.x.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: D = None
self.x: 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.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = d
a.x = b
b.z = d
c.z = a
c.y = a
d.z = b
assert c.z.z.y.x.txt == "b" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 1.75 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
116 | class A:
def __init__(self, txt: str):
self.z: B = 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.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
a.y = c
a.x = d
b.z = a
c.z = b
c.y = d
d.z = b
d.y = c
assert a.y.y.y.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = 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.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
a.y = c
a.x = d
b.z = a
c.z = b
c.y = d
d.z = b
d.y = c
assert a.y.y.y.z.txt == "b" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.5 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
117 | 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: D = 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")
a.z = b
b.z = c
b.y = a
c.z = d
d.z = c
assert a.z.z.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: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = 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")
a.z = b
b.z = c
b.y = a
c.z = d
d.z = c
assert a.z.z.z.txt == "d" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 2 | 1 | 1.25 | 3 | 1 | 1 | 4 | 1 | 3 | 0.6 | 0 | null | null | null | 1 | 3 | 3 | 1 |
118 | class A:
def __init__(self, txt: str):
self.z: 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: B = None
self.y: A = None
self.x: D = None
self.w: A = None
self.txt = txt
class D:
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 = D("d")
a.z = d
b.z = c
c.z = b
c.y = a
c.w = a
c.x = d
d.z = a
d.y = b
assert d.z.z.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: 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: B = None
self.y: A = None
self.x: D = None
self.w: A = None
self.txt = txt
class D:
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 = D("d")
a.z = d
b.z = c
c.z = b
c.y = a
c.w = a
c.x = d
d.z = a
d.y = b
assert d.z.z.y.txt == "b" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
119 | 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.y: A = None
self.x: C = 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
b.z = d
b.y = a
b.x = c
b.w = c
c.z = a
d.z = b
assert b.z.z.y.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.y: A = None
self.x: C = 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
b.z = d
b.y = a
b.x = c
b.w = c
c.z = a
d.z = b
assert b.z.z.y.z.txt == "d" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 1.75 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 3 | 2.5 | 2 | 3 | 2 | 2 |
120 | class A:
def __init__(self, txt: str):
self.z: B = 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: A = None
self.y: C = None
self.x: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.y = c
a.w = d
b.z = a
b.y = c
b.x = d
c.z = a
d.z = a
assert d.z.w.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = 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: A = None
self.y: C = None
self.x: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.y = c
a.w = d
b.z = a
b.y = c
b.x = d
c.z = a
d.z = a
assert d.z.w.z.txt == "a" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 2.25 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.25 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
121 | 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
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: B = None
self.y: A = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = b
b.z = a
c.z = a
c.y = b
c.x = b
d.z = b
d.y = a
d.x = a
assert a.y.z.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: A = 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: B = None
self.y: A = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = b
b.z = a
c.z = a
c.y = b
c.x = b
d.z = b
d.y = a
d.x = a
assert a.y.z.z.z.txt == "a" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 2.25 | 4 | 3 | 2 | 2 | 0.5 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
122 | 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: 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")
a.z = b
a.y = c
b.z = a
c.z = d
d.z = c
assert a.z.z.z.z.txt == " | a" | 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: 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")
a.z = b
a.y = c
b.z = a
c.z = d
d.z = c
assert a.z.z.z.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
123 | 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.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = c
b.z = a
b.y = a
c.z = d
c.y = a
c.x = a
d.z = a
d.y = a
assert a.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: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = c
b.z = a
b.y = a
c.z = d
c.y = a
c.x = a
d.z = a
d.y = a
assert a.z.z.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
124 | 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: 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 = A("d")
a.z = d
a.y = b
a.x = c
b.z = a
c.z = b
d.z = a
d.y = b
d.x = c
assert c.z.z.y.txt == " | b" | 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: 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 = A("d")
a.z = d
a.y = b
a.x = c
b.z = a
c.z = b
d.z = a
d.y = b
d.x = c
assert c.z.z.y.txt == "b" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
125 | 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
a = A("a")
b = B("b")
c = A("c")
d = A("d")
a.z = b
a.y = d
b.z = d
c.z = b
c.y = d
d.z = b
d.y = c
assert b.z.z.z.z.txt == " | b" | 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
a = A("a")
b = B("b")
c = A("c")
d = A("d")
a.z = b
a.y = d
b.z = d
c.z = b
c.y = d
d.z = b
d.y = c
assert b.z.z.z.z.txt == "b" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
126 | 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")
a.z = d
b.z = c
c.z = b
d.z = a
assert c.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = d
b.z = c
c.z = b
d.z = a
assert c.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
127 | 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
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")
a.z = d
a.y = b
b.z = d
b.y = d
c.z = d
d.z = b
d.y = b
assert b.y.y.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
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")
a.z = d
a.y = b
b.z = d
b.y = d
c.z = d
d.z = b
d.y = b
assert b.y.y.y.y.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.666667 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
128 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.w = b
a.y = c
b.z = a
c.z = b
d.z = b
d.y = b
d.x = a
d.w = a
assert c.z.z.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: A = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.x = b
a.w = b
a.y = c
b.z = a
c.z = b
d.z = b
d.y = b
d.x = a
d.w = a
assert c.z.z.y.txt == "c" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 2.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
129 | 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
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = b
a.y = c
b.z = a
c.z = b
c.y = a
d.z = c
assert a.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
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = b
a.y = c
b.z = a
c.z = b
c.y = a
d.z = c
assert a.z.z.z.z.txt == "a" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.333333 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
130 | 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 = B("c")
d = A("d")
a.z = b
a.y = b
b.z = d
c.z = d
d.z = c
d.y = c
assert a.y.z.y.txt == " | c" | 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 = B("c")
d = A("d")
a.z = b
a.y = b
b.z = d
c.z = d
d.z = c
d.y = c
assert a.y.z.y.txt == "c" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 2 | 2 | 1 | 1 |
131 | 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: B = None
self.y: A = None
self.x: 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 = B("d")
a.z = c
a.y = c
b.z = d
b.y = a
b.x = c
c.z = d
d.z = b
d.y = a
d.x = c
assert a.z.z.z.z.txt == " | d" | 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: B = None
self.y: A = None
self.x: 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 = B("d")
a.z = c
a.y = c
b.z = d
b.y = a
b.x = c
c.z = d
d.z = b
d.y = a
d.x = c
assert a.z.z.z.z.txt == "d" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.5 | 1 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
132 | 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: A = None
self.y: A = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = d
a.y = d
b.z = a
b.y = a
c.z = a
c.y = a
c.x = a
d.z = a
d.y = a
d.x = a
assert b.y.y.y.y.txt == " | d" | 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: A = None
self.y: A = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = d
a.y = d
b.z = a
b.y = a
c.z = a
c.y = a
c.x = a
d.z = a
d.y = a
d.x = a
assert b.y.y.y.y.txt == "d" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 3 | 2 | 2.333333 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
133 | 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: D = None
self.y: A = None
self.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: D = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = 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")
a.z = d
a.y = c
b.z = d
b.x = d
b.y = a
c.z = b
c.y = b
c.x = d
c.w = a
d.z = b
d.w = b
d.y = c
d.x = c
assert a.y.x.y.txt == " | c" | 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: D = None
self.y: A = None
self.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: D = None
self.w: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = 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")
a.z = d
a.y = c
b.z = d
b.x = d
b.y = a
c.z = b
c.y = b
c.x = d
c.w = a
d.z = b
d.w = b
d.y = c
d.x = c
assert a.y.x.y.txt == "c" | 4 | 9 | 2.25 | 0.75 | 4 | 1 | 4 | 2 | 3.25 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.333333 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
134 | 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: 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 = A("d")
a.z = d
b.z = d
b.y = c
c.z = b
d.z = a
assert c.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: 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 = A("d")
a.z = d
b.z = d
b.y = c
c.z = b
d.z = a
assert c.z.z.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 1 | 1 | 4 | 1 | 3 | 0.6 | 0 | null | null | null | 1 | 3 | 3 | 1 |
135 | 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: D = None
self.y: B = None
self.x: 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")
a.z = c
b.z = a
b.y = c
c.z = d
c.y = b
c.x = a
d.z = c
d.y = c
assert d.z.x.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: A = None
self.y: 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.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")
a.z = c
b.z = a
b.y = c
c.z = d
c.y = b
c.x = a
d.z = c
d.y = c
assert d.z.x.z.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
136 | 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.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = c
b.y = a
b.x = d
c.z = b
c.y = d
c.x = d
d.z = b
d.y = c
d.x = c
assert a.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.y: A = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = c
b.y = a
b.x = d
c.z = b
c.y = d
c.x = d
d.z = b
d.y = c
d.x = c
assert a.z.z.x.txt == "d" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 1 | 2.333333 | 3 | 1 | 1 | 4 | 1 | 3 | 0.375 | 0 | null | null | null | 2 | 2 | 2 | 1 |
137 | 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: C = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = d
b.z = a
c.z = d
c.y = a
d.z = c
d.y = a
assert a.z.y.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: A = 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")
a.z = d
b.z = a
c.z = d
c.y = a
d.z = c
d.y = a
assert a.z.y.z.txt == "d" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
138 | 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")
a.z = d
b.z = c
c.z = b
d.z = a
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")
a.z = d
b.z = c
c.z = b
d.z = a
assert a.z.z.z.z.txt == "a" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
139 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: D = None
self.w: 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: D = 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")
a.z = c
a.y = b
a.w = b
a.x = d
b.z = d
c.z = d
d.z = c
d.y = a
assert b.z.y.w.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: B = None
self.x: D = None
self.w: 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: D = 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")
a.z = c
a.y = b
a.w = b
a.x = d
b.z = d
c.z = d
d.z = c
d.y = a
assert b.z.y.w.z.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.428571 | 2 | 3 | 3 | 3 | 3 | 2 | 1 | 1 |
140 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: D = None
self.w: 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: B = None
self.w: 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")
a.z = c
a.y = c
a.w = c
a.x = d
b.z = a
c.z = b
c.y = b
c.x = b
c.w = a
d.z = a
assert c.w.x.z.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: D = None
self.w: 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: B = None
self.w: 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")
a.z = c
a.y = c
a.w = c
a.x = d
b.z = a
c.z = b
c.y = b
c.x = b
c.w = a
d.z = a
assert c.w.x.z.x.txt == "d" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 2.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.5 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
141 | 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
class C:
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 = C("d")
a.z = b
a.y = b
b.z = a
c.z = d
c.y = d
d.z = c
d.y = c
assert c.y.y.y.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: A = None
self.txt = txt
class C:
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 = C("d")
a.z = b
a.y = b
b.z = a
c.z = d
c.y = d
d.z = c
d.y = c
assert c.y.y.y.txt == "d" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
142 | 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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = d
a.y = b
b.z = d
b.y = a
c.z = d
c.y = d
d.z = a
d.y = c
assert b.z.y.y.y.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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = d
a.y = b
b.z = d
b.y = a
c.z = d
c.y = d
d.z = a
d.y = c
assert b.z.y.y.y.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
143 | 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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = c
b.z = c
c.z = a
c.y = a
c.x = a
d.z = b
assert d.z.z.z.txt == " | a" | 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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.x: A = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = c
b.z = c
c.z = a
c.y = a
c.x = a
d.z = b
assert d.z.z.z.txt == "a" | 4 | 4 | 1 | 0.333333 | 4 | 1 | 3 | 1 | 1.75 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 1 | 3 | 3 | 1 |
144 | 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
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = c
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert a.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
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = c
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert a.z.y.z.y.txt == "a" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
145 | 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: C = None
self.y: C = None
self.x: 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")
a.z = c
a.y = c
b.z = c
b.y = c
b.x = d
c.z = a
d.z = c
d.y = c
assert a.y.z.z.txt == " | c" | 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: C = None
self.y: C = None
self.x: 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")
a.z = c
a.y = c
b.z = c
b.y = c
b.x = d
c.z = a
d.z = c
d.y = c
assert a.y.z.z.txt == "c" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 2 | 0.5 | 3 | 0.6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
146 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: D = 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: D = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = b
a.w = b
a.x = d
b.z = c
b.y = d
b.x = d
b.w = d
c.z = b
c.y = a
d.z = b
d.x = b
d.y = a
d.w = a
assert c.y.y.x.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: D = 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: D = None
self.w: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = b
a.w = b
a.x = d
b.z = c
b.y = d
b.x = d
b.w = d
c.z = b
c.y = a
d.z = b
d.x = b
d.y = a
d.w = a
assert c.y.y.x.z.txt == "b" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 2 | 3.5 | 4 | 2 | 1 | 4 | 1 | 4 | 0.5 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 1 |
147 | 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: C = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = d
b.z = c
b.y = c
b.x = c
c.z = d
d.z = b
d.y = b
assert c.z.z.z.txt == " | c" | 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: C = None
self.y: C = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = b
a.y = d
b.z = c
b.y = c
b.x = c
c.z = d
d.z = b
d.y = b
assert c.z.z.z.txt == "c" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
148 | 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: 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")
a.z = c
a.y = b
b.z = c
c.z = b
c.x = b
c.y = d
d.z = c
assert d.z.x.z.z.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: 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")
a.z = c
a.y = b
b.z = c
c.z = b
c.x = b
c.y = d
d.z = c
assert d.z.x.z.z.txt == "b" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 2 |
149 | class A:
def __init__(self, txt: str):
self.z: B = 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: 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 = C("d")
a.z = b
a.y = d
a.x = c
b.z = a
b.x = a
b.y = c
c.z = a
c.y = a
d.z = a
d.y = a
assert b.y.z.y.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = 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: 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 = C("d")
a.z = b
a.y = d
a.x = c
b.z = a
b.x = a
b.y = c
c.z = a
c.y = a
d.z = a
d.y = a
assert b.y.z.y.z.txt == "a" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 2 | 2.666667 | 4 | 2 | 1 | 4 | 1 | 4 | 0.571429 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
150 | 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: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = c
c.z = a
c.y = d
d.z = a
d.y = c
assert d.y.y.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.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
b.z = c
c.z = a
c.y = d
d.z = a
d.y = c
assert d.y.y.z.txt == "a" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
151 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: D = None
self.w: B = 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: 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")
a.z = b
a.w = b
a.y = c
a.x = d
b.z = a
b.y = d
c.z = b
c.y = d
c.x = a
d.z = a
assert b.z.y.y.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: D = None
self.w: B = 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: 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")
a.z = b
a.w = b
a.y = c
a.x = d
b.z = a
b.y = d
c.z = b
c.y = d
c.x = a
d.z = a
assert b.z.y.y.z.txt == "a" | 4 | 9 | 2.25 | 0.75 | 4 | 1 | 4 | 1 | 2.5 | 4 | 2 | 1 | 4 | 1 | 4 | 0.444444 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
152 | 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: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
a.y = d
b.z = a
b.y = a
c.z = d
c.y = d
c.x = d
d.z = c
d.y = c
d.x = c
assert a.y.y.z.txt == " | d" | 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: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: C = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = b
a.y = d
b.z = a
b.y = a
c.z = d
c.y = d
c.x = d
d.z = c
d.y = c
d.x = c
assert a.y.y.z.txt == "d" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 2 | 2.333333 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
153 | 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: 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")
a.z = d
b.z = a
b.y = c
c.z = a
c.y = b
d.z = a
d.y = c
assert b.y.z.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: 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")
a.z = d
b.z = a
b.y = c
c.z = a
c.y = b
d.z = a
d.y = c
assert b.y.z.z.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 1 | 1 | 4 | 1 | 3 | 0.428571 | 0 | null | null | null | 2 | 2 | 2 | 1 |
154 | 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = b
a.y = c
b.z = a
b.y = c
c.z = d
c.y = b
d.z = b
d.y = b
assert d.y.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: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = b
a.y = c
b.z = a
b.y = c
c.z = d
c.y = b
d.z = b
d.y = b
assert d.y.y.y.txt == "b" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
155 | 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: D = None
self.x: 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.y: B = None
self.x: B = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.y = d
b.x = c
c.z = b
d.z = c
d.y = b
d.x = b
d.w = b
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: D = None
self.y: D = None
self.x: 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.y: B = None
self.x: B = None
self.w: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.y = d
b.x = c
c.z = b
d.z = c
d.y = b
d.x = b
d.w = b
assert d.z.z.y.txt == "d" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 2.25 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
156 | 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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.y = c
c.z = d
c.y = a
d.z = a
d.x = a
d.y = b
assert b.y.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: D = None
self.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.y = c
c.z = d
c.y = a
d.z = a
d.x = a
d.y = b
assert b.y.y.z.y.txt == "a" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 3 | 1 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
157 | 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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = d
a.y = b
b.z = d
b.y = c
c.z = d
c.y = b
d.z = b
d.y = c
assert c.y.y.z.y.txt == " | c" | 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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = d
a.y = b
b.z = d
b.y = c
c.z = d
c.y = b
d.z = b
d.y = c
assert c.y.y.z.y.txt == "c" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 2 | 2 | 2 | 4 | 3 | 1 | 3 | 0.75 | 4 | 0.5 | 2 | 2 | 4 | 2.666667 | 2 | 3 | 2 | 2 |
158 | 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: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = d
b.z = c
b.y = a
c.z = b
c.y = b
c.x = b
d.z = b
d.y = b
d.x = b
assert d.z.y.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: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = d
b.z = c
b.y = a
c.z = b
c.y = b
c.x = b
d.z = b
d.y = b
d.x = b
assert d.z.y.z.txt == "d" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
159 | 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = b
b.z = c
b.y = a
c.z = b
c.y = a
d.z = b
assert c.z.y.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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = b
b.z = c
b.y = a
c.z = b
c.y = a
d.z = b
assert c.z.y.z.txt == "b" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
160 | 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = b
a.y = d
b.z = d
b.y = a
c.z = b
c.y = b
d.z = b
d.y = a
assert b.y.y.y.y.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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = b
a.y = d
b.z = d
b.y = a
c.z = b
c.y = b
d.z = b
d.y = a
assert b.y.y.y.y.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
161 | 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")
a.z = d
b.z = c
c.z = b
d.z = a
assert d.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")
a.z = d
b.z = c
c.z = b
d.z = a
assert d.z.z.z.txt == "a" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
162 | 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")
a.z = b
b.z = a
c.z = d
d.z = b
assert b.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")
a.z = b
b.z = a
c.z = d
d.z = b
assert b.z.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
163 | 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: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = b
b.z = d
c.z = b
c.y = b
c.x = b
d.z = b
assert d.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = b
b.z = d
c.z = b
c.y = b
c.x = b
d.z = b
assert d.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 3 | 1 | 1.666667 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
164 | 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.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.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = b
b.z = a
c.z = a
d.z = c
d.y = c
d.x = c
assert d.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: 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: C = None
self.y: C = None
self.x: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = b
b.z = a
c.z = a
d.z = c
d.y = c
d.x = c
assert d.z.z.y.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 1.75 | 3 | 1 | 1 | 4 | 1 | 3 | 0.6 | 0 | null | null | null | 2 | 2 | 2 | 1 |
165 | 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")
a.z = c
b.z = a
c.z = d
d.z = b
assert c.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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = c
b.z = a
c.z = d
d.z = b
assert c.z.z.z.txt == "a" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 1 | 3 | 3 | 1 |
166 | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
a.y = d
b.z = c
c.z = a
d.z = c
d.y = a
assert c.z.y.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: C = None
self.y: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
a.y = d
b.z = c
c.z = a
d.z = c
d.y = a
assert c.z.y.y.txt == "a" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 2 | 1 | 1.333333 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
167 | 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: D = None
self.y: B = None
self.x: B = None
self.txt = txt
class D:
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 = D("d")
a.z = b
b.z = d
c.z = d
c.y = b
c.x = b
d.z = a
d.y = a
assert d.y.z.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: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: B = None
self.txt = txt
class D:
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 = D("d")
a.z = b
b.z = d
c.z = d
c.y = b
c.x = b
d.z = a
d.y = a
assert d.y.z.z.txt == "d" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 1.75 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
168 | 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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = c
a.y = d
b.z = a
c.z = d
d.z = c
d.y = a
assert a.y.y.y.txt == " | d" | 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
a = A("a")
b = B("b")
c = B("c")
d = A("d")
a.z = c
a.y = d
b.z = a
c.z = d
d.z = c
d.y = a
assert a.y.y.y.txt == "d" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
169 | 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: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = b
b.z = d
b.y = a
c.z = d
c.y = b
d.z = b
d.y = a
assert d.y.z.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: B = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = b
b.z = d
b.y = a
c.z = d
c.y = b
d.z = b
d.y = a
assert d.y.z.z.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
170 | 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: A = None
self.y: A = None
self.x: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = c
a.x = b
b.z = a
b.y = a
b.x = a
c.z = b
d.z = a
assert c.z.z.y.z.txt == " | b" | 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: A = None
self.y: A = None
self.x: 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
a.y = c
a.x = b
b.z = a
b.y = a
b.x = a
c.z = b
d.z = a
assert c.z.z.y.z.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 2 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
171 | 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: C = None
self.y: D = None
self.x: D = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class D:
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 = D("d")
a.z = c
a.y = c
b.z = c
b.y = d
b.x = d
b.w = a
c.z = d
c.y = a
d.z = b
d.y = b
d.x = b
assert c.y.y.z.txt == " | d" | 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: C = None
self.y: D = None
self.x: D = None
self.w: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: A = None
self.txt = txt
class D:
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 = D("d")
a.z = c
a.y = c
b.z = c
b.y = d
b.x = d
b.w = a
c.z = d
c.y = a
d.z = b
d.y = b
d.x = b
assert c.y.y.z.txt == "d" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 2 | 2.75 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
172 | 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")
a.z = b
b.z = c
c.z = b
d.z = c
assert b.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.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = b
b.z = c
c.z = b
d.z = c
assert b.z.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
173 | 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.y: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = b
a.y = b
b.z = d
b.y = a
b.x = a
c.z = b
c.y = b
d.z = b
d.y = b
assert a.y.x.y.x.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: A = None
self.y: A = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = b
a.y = b
b.z = d
b.y = a
b.x = a
c.z = b
c.y = b
d.z = b
d.y = b
assert a.y.x.y.x.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 3 | 2 | 2.333333 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.4 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
174 | 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.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")
a.z = c
a.y = c
b.z = a
c.z = a
c.y = d
d.z = a
assert a.y.y.z.txt == " | a" | 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.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")
a.z = c
a.y = c
b.z = a
c.z = a
c.y = d
d.z = a
assert a.y.y.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
175 | 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 = B("d")
a.z = b
b.z = a
b.y = c
c.z = a
c.y = d
d.z = a
d.y = b
assert c.z.z.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = b
b.z = a
b.y = c
c.z = a
c.y = d
d.z = a
d.y = b
assert c.z.z.y.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
176 | 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: A = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = b
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert c.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.y: 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 = B("d")
a.z = b
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert c.z.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
177 | 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: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
b.z = c
b.y = d
c.z = b
c.y = b
d.z = c
assert c.y.y.z.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: C = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
b.z = c
b.y = d
c.z = b
c.y = b
d.z = c
assert c.y.y.z.z.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.666667 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.8 | 2 | 3 | 3 | 3 | 2 | 2 | 2 | 2 |
178 | 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.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")
a.z = d
a.y = c
a.x = c
b.z = d
b.y = c
c.z = a
d.z = a
d.y = c
d.x = c
assert b.z.z.x.z.txt == " | a" | 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.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")
a.z = d
a.y = c
a.x = c
b.z = d
b.y = c
c.z = a
d.z = a
d.y = c
d.x = c
assert b.z.z.x.z.txt == "a" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 1 | 2 | 4 | 2 | 1 | 4 | 1 | 4 | 0.571429 | 1 | 2 | 2 | 2 | 2 | 3 | 2 | 1 |
179 | 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 = A("c")
d = B("d")
a.z = d
b.z = d
c.z = d
d.z = b
assert d.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 = A("c")
d = B("d")
a.z = d
b.z = d
c.z = d
d.z = b
assert d.z.z.z.txt == "b" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.5 | 2 | 0.5 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
180 | 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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = c
a.y = b
b.z = c
c.z = a
c.y = a
d.z = a
d.y = a
assert b.z.y.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: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = c
a.y = b
b.z = c
c.z = a
c.y = a
d.z = a
d.y = a
assert b.z.y.y.txt == "b" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
181 | 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.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = d
a.y = d
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert a.z.z.z.y.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: A = None
self.y: A = None
self.txt = txt
a = A("a")
b = B("b")
c = B("c")
d = B("d")
a.z = d
a.y = d
b.z = a
b.y = a
c.z = a
c.y = a
d.z = a
d.y = a
assert a.z.z.z.y.txt == "a" | 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 4 | 3 | 2 | 2 | 0.5 | 3 | 0.75 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
182 | class A:
def __init__(self, txt: str):
self.z: B = 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: D = None
self.y: D = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: A = None
self.w: D = 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")
a.z = b
a.w = b
a.y = c
a.x = c
b.z = d
b.y = d
b.x = a
c.z = b
c.y = a
c.x = a
c.w = d
d.z = a
assert c.x.z.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = 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: D = None
self.y: D = None
self.x: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: A = None
self.x: A = None
self.w: D = 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")
a.z = b
a.w = b
a.y = c
a.x = c
b.z = d
b.y = d
b.x = a
c.z = b
c.y = a
c.x = a
c.w = d
d.z = a
assert c.x.z.x.txt == "a" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 4 | 1 | 3 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
183 | 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: B = None
self.y: B = None
self.x: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
b.z = c
b.y = c
b.x = c
c.z = b
c.y = b
c.x = b
d.z = c
assert d.z.y.z.y.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: C = 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = c
b.z = c
b.y = c
b.x = c
c.z = b
c.y = b
c.x = b
d.z = c
assert d.z.y.z.y.txt == "b" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 3 | 1 | 2.333333 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.75 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
184 | 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 = A("c")
d = B("d")
a.z = c
b.z = a
b.y = d
c.z = a
d.z = a
d.y = b
assert b.y.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: A = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = A("c")
d = B("d")
a.z = c
b.z = a
b.y = d
c.z = a
d.z = a
d.y = b
assert b.y.z.z.txt == "c" | 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 1 | 3 | 0.5 | 0 | null | null | null | 2 | 2 | 2 | 1 |
185 | 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.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.w: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.x = d
b.y = a
c.z = b
c.y = b
d.z = b
d.y = c
d.x = c
d.w = c
assert a.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: D = None
self.y: A = None
self.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.y: C = None
self.x: C = None
self.w: C = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = c
b.z = d
b.x = d
b.y = a
c.z = b
c.y = b
d.z = b
d.y = c
d.x = c
d.w = c
assert a.z.z.y.z.txt == "c" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 4 | 1 | 2.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.5 | 2 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
186 | 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.y: D = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = 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")
a.z = c
a.y = b
b.z = c
b.x = c
b.y = d
c.z = d
d.z = a
assert a.z.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.y: D = None
self.x: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = 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")
a.z = c
a.y = b
b.z = c
b.x = c
b.y = d
c.z = d
d.z = a
assert a.z.z.z.y.txt == "b" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 1.75 | 4 | 2 | 1 | 4 | 1 | 4 | 0.666667 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 2 |
187 | class A:
def __init__(self, txt: str):
self.z: D = 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: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
a.y = b
a.x = c
a.w = c
b.z = d
c.z = b
c.y = d
c.x = d
d.z = b
assert a.y.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.z: D = 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: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: D = None
self.x: D = None
self.txt = txt
class D:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
a.y = b
a.x = c
a.w = c
b.z = d
c.z = b
c.y = d
c.x = d
d.z = b
assert a.y.z.z.txt == "b" | 4 | 7 | 1.75 | 0.583333 | 4 | 1 | 4 | 1 | 2.25 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
188 | 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: 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")
a.z = b
b.z = d
b.y = c
c.z = b
d.z = b
assert a.z.z.z.y.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.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")
a.z = b
b.z = d
b.y = c
c.z = b
d.z = b
assert a.z.z.z.y.txt == "c" | 4 | 5 | 1.25 | 0.416667 | 3 | 1.333333 | 2 | 1 | 1.333333 | 4 | 2 | 1 | 4 | 1 | 4 | 0.8 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
189 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = 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: D = 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")
a.z = b
a.y = c
a.x = c
b.z = c
c.z = d
d.z = a
assert d.z.y.z.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: C = 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: D = 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")
a.z = b
a.y = c
a.x = c
b.z = c
c.z = d
d.z = a
assert d.z.y.z.z.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 4 | 1 | 3 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.75 | 3 | 0.6 | 2 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
190 | 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: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = c
b.z = a
b.y = a
c.z = b
c.y = b
d.z = b
d.y = b
assert d.y.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: A = None
self.y: A = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = C("d")
a.z = c
b.z = a
b.y = a
c.z = b
c.y = b
d.z = b
d.y = b
assert d.y.y.z.txt == "c" | 4 | 4 | 1 | 0.333333 | 3 | 1.333333 | 2 | 1 | 1.666667 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 2 | 2 | 2 | 1 |
191 | 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: D = None
self.txt = txt
class D:
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 = D("d")
a.z = b
b.z = c
c.z = d
d.z = a
d.y = a
assert d.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: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class D:
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 = D("d")
a.z = b
b.z = c
c.z = d
d.z = a
d.y = a
assert d.z.z.z.txt == "c" | 4 | 4 | 1 | 0.333333 | 4 | 1 | 2 | 1 | 1.25 | 3 | 1 | 1 | 4 | 1 | 3 | 0.75 | 0 | null | null | null | 1 | 3 | 3 | 1 |
192 | 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: A = None
self.y: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
a.y = d
a.x = b
b.z = a
b.y = a
c.z = a
d.z = a
d.y = b
assert a.y.z.x.txt == " | b" | 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: A = None
self.y: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = D("d")
a.z = d
a.y = d
a.x = b
b.z = a
b.y = a
c.z = a
d.z = a
d.y = b
assert a.y.z.x.txt == "b" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 2 |
193 | 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.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: D = 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")
a.z = c
a.y = b
b.z = c
b.y = c
c.z = d
c.x = d
c.y = b
d.z = c
assert c.y.z.y.y.txt == " | c" | 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.y: C = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.y: B = None
self.x: D = 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")
a.z = c
a.y = b
b.z = c
b.y = c
c.z = d
c.x = d
c.y = b
d.z = c
assert c.y.z.y.y.txt == "c" | 4 | 6 | 1.5 | 0.5 | 4 | 1 | 3 | 1 | 2 | 4 | 3 | 2 | 2 | 0.5 | 3 | 0.5 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
194 | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class D:
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 = D("d")
a.z = d
a.y = d
a.x = c
b.z = a
b.y = d
b.x = d
c.z = d
d.z = c
d.y = a
d.x = b
assert d.z.z.y.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.z: D = None
self.y: D = None
self.x: C = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: D = None
self.x: D = None
self.txt = txt
class C:
def __init__(self, txt: str):
self.z: D = None
self.txt = txt
class D:
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 = D("d")
a.z = d
a.y = d
a.x = c
b.z = a
b.y = d
b.x = d
c.z = d
d.z = c
d.y = a
d.x = b
assert d.z.z.y.x.txt == "c" | 4 | 8 | 2 | 0.666667 | 4 | 1 | 3 | 1 | 2.5 | 4 | 2 | 1 | 3 | 0.75 | 4 | 0.5 | 2 | 2 | 3 | 2.5 | 3 | 2 | 2 | 2 |
195 | 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: 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 = B("d")
a.z = c
a.y = c
a.x = d
b.z = a
b.y = c
c.z = d
d.z = a
d.y = c
assert d.y.z.z.txt == " | a" | 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: 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 = B("d")
a.z = c
a.y = c
a.x = d
b.z = a
b.y = c
c.z = d
d.z = a
d.y = c
assert d.y.z.z.txt == "a" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
196 | 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.txt = txt
class C:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.x: A = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = c
b.z = d
b.y = c
c.z = a
c.x = a
c.y = b
d.z = b
d.y = c
assert d.y.y.y.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: B = None
self.y: 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.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = B("d")
a.z = c
b.z = d
b.y = c
c.z = a
c.x = a
c.y = b
d.z = b
d.y = c
assert d.y.y.y.txt == "c" | 4 | 7 | 1.75 | 0.583333 | 3 | 1.333333 | 3 | 1 | 2 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
197 | class A:
def __init__(self, txt: str):
self.z: A = 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = d
a.y = c
b.z = c
b.x = c
b.y = a
c.z = d
c.y = b
d.z = a
d.y = c
assert c.z.z.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: A = 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.y: B = None
self.txt = txt
a = A("a")
b = B("b")
c = C("c")
d = A("d")
a.z = d
a.y = c
b.z = c
b.x = c
b.y = a
c.z = d
c.y = b
d.z = a
d.y = c
assert c.z.z.z.txt == "d" | 4 | 8 | 2 | 0.666667 | 3 | 1.333333 | 3 | 2 | 2.333333 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.375 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
198 | 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 = A("c")
d = A("d")
a.z = c
a.y = d
b.z = d
c.z = a
c.y = a
d.z = a
d.y = a
assert d.z.z.y.txt == " | a" | 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 = A("c")
d = A("d")
a.z = c
a.y = d
b.z = d
c.z = a
c.y = a
d.z = a
d.y = a
assert d.z.z.y.txt == "a" | 4 | 5 | 1.25 | 0.416667 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
199 | 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.x: 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")
a.z = d
b.z = d
b.y = d
b.x = c
c.z = a
d.z = b
d.y = b
d.x = c
assert d.y.x.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: B = None
self.y: B = None
self.x: 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")
a.z = d
b.z = d
b.y = d
b.x = c
c.z = a
d.z = b
d.y = b
d.x = c
assert d.y.x.z.txt == "a" | 4 | 6 | 1.5 | 0.5 | 3 | 1.333333 | 3 | 1 | 1.666667 | 3 | 1 | 1 | 4 | 1 | 3 | 0.5 | 0 | null | null | null | 3 | 1 | 1 | 1 |