id
int64 0
25k
| prompt
stringlengths 265
3.39k
| answer
stringclasses 14
values | pythoncode
stringlengths 267
3.39k
| num_nodes
int64 3
10
| num_edges
int64 3
56
| avg_node_edge
float64 1
5.6
| graph_density
float64 0.11
1
| num_classes
int64 2
10
| avg_node_class
float64 1
5
| max_num_field
int64 1
10
| min_num_field
int64 1
5
| avg_num_field
float64 1
7.8
| path_length
int64 3
10
| max_node_visits
int64 1
6
| max_edge_visits
int64 1
5
| unique_node_number
int64 2
10
| path_node_coverage
float64 0.2
1
| unique_edge_number
int64 2
10
| path_edge_coverage
float64 0.04
1
| num_cycle
int64 0
9
| shortest_cycle
int64 2
9
⌀ | longest_cycle
int64 2
10
⌀ | average_cycle
float64 2
9
⌀ | unique_edge_label
int64 1
9
| max_label_occurrences
int64 1
10
| max_label_consecutive
int64 1
10
| max_node_outdegree
int64 1
5
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
300 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
a = A("a")
e = B("e")
b = B("b")
d = B("d")
h = B("h")
l = B("l")
k = A("k")
f = B("f")
j = B("j")
a.p = k
e.o = f
b.o = j
d.o = b
h.o = e
l.o = b
k.p = a
f.o = b
j.o = e
assert l.o.o.o.o.o.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
a = A("a")
e = B("e")
b = B("b")
d = B("d")
h = B("h")
l = B("l")
k = A("k")
f = B("f")
j = B("j")
a.p = k
e.o = f
b.o = j
d.o = b
h.o = e
l.o = b
k.p = a
f.o = b
j.o = e
assert l.o.o.o.o.o.txt == "b"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 5 | 2 | 1 | 5 | 0.555556 | 5 | 0.555556 | 1 | 4 | 4 | 4 | 1 | 5 | 5 | 1 |
301 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
g = A("g")
n = B("n")
j = B("j")
i = A("i")
f = B("f")
e = B("e")
c = A("c")
k = A("k")
g.u = f
g.z = k
n.w = k
n.t = k
j.w = g
j.t = c
i.u = e
i.z = k
f.w = k
f.t = i
e.w = c
e.t = i
c.u = f
c.z = k
k.u = n
k.z = i
assert f.w.u.w.u.w.u.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
g = A("g")
n = B("n")
j = B("j")
i = A("i")
f = B("f")
e = B("e")
c = A("c")
k = A("k")
g.u = f
g.z = k
n.w = k
n.t = k
j.w = g
j.t = c
i.u = e
i.z = k
f.w = k
f.t = i
e.w = c
e.t = i
c.u = f
c.z = k
k.u = n
k.z = i
assert f.w.u.w.u.w.u.txt == "n"
| 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 6 | 3 | 3 | 3 | 0.375 | 3 | 0.2 | 4 | 2 | 4 | 2.666667 | 2 | 3 | 1 | 1 |
302 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
i = B("i")
c = A("c")
e.p = h
h.w = i
i.w = h
c.p = i
assert e.p.w.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
i = B("i")
c = A("c")
e.p = h
h.w = i
i.w = h
c.p = i
assert e.p.w.w.txt == "h"
| 4 | 4 | 1 | 0.333333 | 2 | 2 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
303 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
g = A("g")
i = B("i")
l = A("l")
c = B("c")
b = B("b")
g.q = l
g.s = l
i.x = c
i.s = b
l.q = g
l.s = g
c.x = i
c.s = b
b.x = c
b.s = c
assert i.s.x.x.x.x.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.s: B = None
self.txt = txt
g = A("g")
i = B("i")
l = A("l")
c = B("c")
b = B("b")
g.q = l
g.s = l
i.x = c
i.s = b
l.q = g
l.s = g
c.x = i
c.s = b
b.x = c
b.s = c
assert i.s.x.x.x.x.txt == "i"
| 5 | 7 | 1.4 | 0.35 | 2 | 2.5 | 2 | 2 | 2 | 5 | 3 | 2 | 3 | 0.6 | 4 | 0.571429 | 3 | 2 | 5 | 3 | 2 | 4 | 4 | 2 |
304 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
l = A("l")
a = B("a")
k = A("k")
g = B("g")
l.y = a
l.u = k
a.q = k
k.y = a
k.u = l
g.q = l
assert k.y.q.y.q.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
l = A("l")
a = B("a")
k = A("k")
g = B("g")
l.y = a
l.u = k
a.q = k
k.y = a
k.u = l
g.q = l
assert k.y.q.y.q.txt == "k"
| 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 | 2 | 2 | 1 | 1 |
305 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
a = B("a")
l = B("l")
h = A("h")
c = A("c")
k = A("k")
n.y = c
a.v = l
l.v = a
h.y = k
c.y = n
k.y = n
assert h.y.y.y.y.y.y.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
a = B("a")
l = B("l")
h = A("h")
c = A("c")
k = A("k")
n.y = c
a.v = l
l.v = a
h.y = k
c.y = n
k.y = n
assert h.y.y.y.y.y.y.txt == "n"
| 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 6 | 3 | 2 | 4 | 0.666667 | 4 | 0.666667 | 3 | 2 | 4 | 2.5 | 1 | 6 | 6 | 1 |
306 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
k = B("k")
e = A("e")
f = B("f")
g.v = d
d.z = k
c.v = k
k.z = d
e.v = k
f.z = d
assert f.z.z.z.z.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
k = B("k")
e = A("e")
f = B("f")
g.v = d
d.z = k
c.v = k
k.z = d
e.v = k
f.z = d
assert f.z.z.z.z.txt == "k"
| 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.5 | 2 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
307 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.r: A = None
self.txt = txt
b = A("b")
j = B("j")
m = B("m")
h = A("h")
c = B("c")
n = A("n")
k = A("k")
l = B("l")
f = B("f")
i = A("i")
b.p = n
j.w = n
j.r = h
m.w = i
m.r = h
h.p = n
c.w = b
c.r = i
n.p = h
k.p = n
l.w = n
l.r = h
f.w = b
f.r = h
i.p = b
assert h.p.p.p.p.p.p.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.r: A = None
self.txt = txt
b = A("b")
j = B("j")
m = B("m")
h = A("h")
c = B("c")
n = A("n")
k = A("k")
l = B("l")
f = B("f")
i = A("i")
b.p = n
j.w = n
j.r = h
m.w = i
m.r = h
h.p = n
c.w = b
c.r = i
n.p = h
k.p = n
l.w = n
l.r = h
f.w = b
f.r = h
i.p = b
assert h.p.p.p.p.p.p.txt == "h"
| 10 | 15 | 1.5 | 0.166667 | 2 | 5 | 2 | 1 | 1.5 | 6 | 4 | 3 | 2 | 0.2 | 2 | 0.133333 | 5 | 2 | 6 | 3.111111 | 1 | 6 | 6 | 1 |
308 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
a = A("a")
m = B("m")
i = A("i")
e = A("e")
f = B("f")
a.u = m
m.o = f
m.v = f
i.u = f
e.u = f
f.o = m
f.v = m
assert i.u.v.v.o.txt == "
|
m"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
a = A("a")
m = B("m")
i = A("i")
e = A("e")
f = B("f")
a.u = m
m.o = f
m.v = f
i.u = f
e.u = f
f.o = m
f.v = m
assert i.u.v.v.o.txt == "m"
| 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 3 | 0.6 | 4 | 0.8 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
309 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: A = None
self.txt = txt
d = A("d")
e = B("e")
a = A("a")
i = B("i")
m = A("m")
c = A("c")
b = B("b")
d.w = m
d.v = c
e.o = m
e.p = c
a.w = c
a.v = d
i.o = d
i.p = a
m.w = c
m.v = c
c.w = d
c.v = d
b.o = d
b.p = d
assert m.v.v.v.v.v.w.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.p: A = None
self.txt = txt
d = A("d")
e = B("e")
a = A("a")
i = B("i")
m = A("m")
c = A("c")
b = B("b")
d.w = m
d.v = c
e.o = m
e.p = c
a.w = c
a.v = d
i.o = d
i.p = a
m.w = c
m.v = c
c.w = d
c.v = d
b.o = d
b.p = d
assert m.v.v.v.v.v.w.txt == "d"
| 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 2 | 2 | 6 | 3 | 2 | 3 | 0.428571 | 4 | 0.363636 | 4 | 2 | 4 | 2.666667 | 2 | 5 | 5 | 2 |
310 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
f = A("f")
d = B("d")
e = B("e")
g = A("g")
i = B("i")
l = B("l")
m = B("m")
n = A("n")
a = A("a")
b = B("b")
f.w = l
f.v = l
d.u = l
e.u = i
g.w = m
g.v = b
i.u = l
l.u = m
m.u = e
n.w = d
n.v = e
a.w = i
a.v = d
b.u = i
assert m.u.u.u.u.u.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
f = A("f")
d = B("d")
e = B("e")
g = A("g")
i = B("i")
l = B("l")
m = B("m")
n = A("n")
a = A("a")
b = B("b")
f.w = l
f.v = l
d.u = l
e.u = i
g.w = m
g.v = b
i.u = l
l.u = m
m.u = e
n.w = d
n.v = e
a.w = i
a.v = d
b.u = i
assert m.u.u.u.u.u.txt == "e"
| 10 | 13 | 1.3 | 0.144444 | 2 | 5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.4 | 4 | 0.307692 | 2 | 4 | 4 | 4 | 1 | 5 | 5 | 1 |
311 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: A = None
self.txt = txt
a = A("a")
i = B("i")
d = B("d")
h = B("h")
a.t = d
i.t = a
i.s = a
d.t = a
d.s = a
h.t = a
h.s = a
assert i.t.t.s.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: A = None
self.txt = txt
a = A("a")
i = B("i")
d = B("d")
h = B("h")
a.t = d
i.t = a
i.s = a
d.t = a
d.s = a
h.t = a
h.s = a
assert i.t.t.s.txt == "a"
| 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.75 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
312 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.s: B = None
self.txt = txt
l = A("l")
b = B("b")
c = A("c")
f = B("f")
l.p = c
l.u = b
b.z = l
b.s = f
c.p = l
c.u = f
f.z = l
f.s = b
assert l.p.u.s.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.s: B = None
self.txt = txt
l = A("l")
b = B("b")
c = A("c")
f = B("f")
l.p = c
l.u = b
b.z = l
b.s = f
c.p = l
c.u = f
f.z = l
f.s = b
assert l.p.u.s.txt == "b"
| 4 | 8 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 1 | 3 | 0.375 | 0 | null | null | null | 3 | 1 | 1 | 1 |
313 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
j = B("j")
d = B("d")
n = A("n")
i = A("i")
e = A("e")
f = A("f")
c.t = j
j.q = f
d.q = f
n.t = j
i.t = j
e.t = j
f.t = j
assert n.t.q.t.q.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
j = B("j")
d = B("d")
n = A("n")
i = A("i")
e = A("e")
f = A("f")
c.t = j
j.q = f
d.q = f
n.t = j
i.t = j
e.t = j
f.t = j
assert n.t.q.t.q.txt == "f"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.428571 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
314 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
c = A("c")
b = B("b")
i = A("i")
f = B("f")
l = B("l")
c.s = i
b.t = i
i.s = c
f.t = i
l.t = c
assert b.t.s.s.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
c = A("c")
b = B("b")
i = A("i")
f = B("f")
l = B("l")
c.s = i
b.t = i
i.s = c
f.t = i
l.t = c
assert b.t.s.s.txt == "i"
| 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
315 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.y: A = None
self.txt = txt
h = A("h")
j = B("j")
c = B("c")
h.w = j
j.p = c
j.y = h
c.p = j
c.y = h
assert h.w.y.w.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.y: A = None
self.txt = txt
h = A("h")
j = B("j")
c = B("c")
h.w = j
j.p = c
j.y = h
c.p = j
c.y = h
assert h.w.y.w.txt == "j"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
316 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
e = B("e")
k = A("k")
h = A("h")
g.r = h
g.t = e
e.p = g
k.r = g
k.t = e
h.r = k
h.t = e
assert k.r.r.r.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
e = B("e")
k = A("k")
h = A("h")
g.r = h
g.t = e
e.p = g
k.r = g
k.t = e
h.r = k
h.t = e
assert k.r.r.r.txt == "k"
| 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 | 1 | 3 | 3 | 1 |
317 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.r: B = None
self.txt = txt
l = A("l")
k = B("k")
g = B("g")
l.o = k
k.q = l
k.r = g
g.q = l
g.r = k
assert l.o.q.o.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.r: B = None
self.txt = txt
l = A("l")
k = B("k")
g = B("g")
l.o = k
k.q = l
k.r = g
g.q = l
g.r = k
assert l.o.q.o.txt == "k"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
318 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
n = B("n")
i = A("i")
m = B("m")
b = A("b")
l = B("l")
c = B("c")
a = B("a")
f = A("f")
h = A("h")
e.p = m
e.t = l
n.q = e
i.p = n
i.t = c
m.q = f
b.p = c
b.t = n
l.q = f
c.q = i
a.q = h
f.p = n
f.t = n
h.p = m
h.t = l
assert c.q.p.q.p.q.p.q.p.q.t.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
n = B("n")
i = A("i")
m = B("m")
b = A("b")
l = B("l")
c = B("c")
a = B("a")
f = A("f")
h = A("h")
e.p = m
e.t = l
n.q = e
i.p = n
i.t = c
m.q = f
b.p = c
b.t = n
l.q = f
c.q = i
a.q = h
f.p = n
f.t = n
h.p = m
h.t = l
assert c.q.p.q.p.q.p.q.p.q.t.txt == "n"
| 10 | 14 | 1.4 | 0.155556 | 2 | 5 | 2 | 1 | 1.5 | 10 | 3 | 2 | 6 | 0.6 | 7 | 0.5 | 5 | 4 | 8 | 4.666667 | 3 | 5 | 1 | 2 |
319 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: B = None
self.txt = txt
n = A("n")
g = B("g")
j = A("j")
m = A("m")
h = A("h")
l = B("l")
n.q = l
n.y = g
g.w = l
g.y = l
j.q = l
j.y = g
m.q = g
m.y = l
h.q = l
h.y = l
l.w = g
l.y = g
assert m.q.y.y.w.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: B = None
self.txt = txt
n = A("n")
g = B("g")
j = A("j")
m = A("m")
h = A("h")
l = B("l")
n.q = l
n.y = g
g.w = l
g.y = l
j.q = l
j.y = g
m.q = g
m.y = l
h.q = l
h.y = l
l.w = g
l.y = g
assert m.q.y.y.w.txt == "l"
| 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 2 | 2 | 4 | 2 | 1 | 3 | 0.5 | 4 | 0.444444 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
320 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
e = A("e")
m = B("m")
b = B("b")
k = A("k")
j = A("j")
n = B("n")
f = A("f")
e.x = k
m.q = b
b.q = n
k.x = f
j.x = e
n.q = m
f.x = k
assert f.x.x.x.x.x.x.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
e = A("e")
m = B("m")
b = B("b")
k = A("k")
j = A("j")
n = B("n")
f = A("f")
e.x = k
m.q = b
b.q = n
k.x = f
j.x = e
n.q = m
f.x = k
assert f.x.x.x.x.x.x.txt == "f"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 6 | 4 | 3 | 2 | 0.285714 | 2 | 0.285714 | 5 | 2 | 6 | 3.111111 | 1 | 6 | 6 | 1 |
321 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
j = A("j")
g = B("g")
n = A("n")
k = B("k")
h = B("h")
l = A("l")
c = A("c")
a = A("a")
j.p = h
g.z = a
n.p = k
k.z = c
h.z = j
l.p = h
c.p = g
a.p = k
assert h.z.p.z.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
j = A("j")
g = B("g")
n = A("n")
k = B("k")
h = B("h")
l = A("l")
c = A("c")
a = A("a")
j.p = h
g.z = a
n.p = k
k.z = c
h.z = j
l.p = h
c.p = g
a.p = k
assert h.z.p.z.txt == "j"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.25 | 2 | 0.25 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
322 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: B = None
self.txt = txt
m = A("m")
j = B("j")
c = B("c")
m.x = c
j.u = m
j.w = c
c.u = m
c.w = j
assert j.w.u.x.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: B = None
self.txt = txt
m = A("m")
j = B("j")
c = B("c")
m.x = c
j.u = m
j.w = c
c.u = m
c.w = j
assert j.w.u.x.txt == "c"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
323 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
c = A("c")
h = B("h")
i = A("i")
a = A("a")
g = B("g")
c.o = i
h.r = i
i.o = c
a.o = c
g.r = c
assert a.o.o.o.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
c = A("c")
h = B("h")
i = A("i")
a = A("a")
g = B("g")
c.o = i
h.r = i
i.o = c
a.o = c
g.r = c
assert a.o.o.o.txt == "c"
| 5 | 5 | 1 | 0.25 | 2 | 2.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.6 | 1 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
324 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
g = B("g")
f = A("f")
j = B("j")
k = B("k")
n = A("n")
h = B("h")
d = B("d")
l = A("l")
b = B("b")
a.q = f
g.v = l
f.q = l
j.v = f
k.v = f
n.q = l
h.v = n
d.v = a
l.q = f
b.v = n
assert g.v.q.q.q.q.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
g = B("g")
f = A("f")
j = B("j")
k = B("k")
n = A("n")
h = B("h")
d = B("d")
l = A("l")
b = B("b")
a.q = f
g.v = l
f.q = l
j.v = f
k.v = f
n.q = l
h.v = n
d.v = a
l.q = f
b.v = n
assert g.v.q.q.q.q.txt == "l"
| 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.3 | 3 | 0.3 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
325 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
m = B("m")
c = B("c")
i.t = c
i.w = m
m.v = i
c.v = i
assert i.w.v.w.txt == "
|
m"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
m = B("m")
c = B("c")
i.t = c
i.w = m
m.v = i
c.v = i
assert i.w.v.w.txt == "m"
| 3 | 4 | 1.333333 | 0.666667 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
326 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.o: B = None
self.txt = txt
f = A("f")
g = B("g")
n = A("n")
m = B("m")
d = A("d")
i = A("i")
h = B("h")
f.y = g
f.u = n
g.v = h
g.o = h
n.y = h
n.u = i
m.v = g
m.o = h
d.y = g
d.u = n
i.y = m
i.u = f
h.v = m
h.o = m
assert n.u.u.u.y.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.o: B = None
self.txt = txt
f = A("f")
g = B("g")
n = A("n")
m = B("m")
d = A("d")
i = A("i")
h = B("h")
f.y = g
f.u = n
g.v = h
g.o = h
n.y = h
n.u = i
m.v = g
m.o = h
d.y = g
d.u = n
i.y = m
i.u = f
h.v = m
h.o = m
assert n.u.u.u.y.txt == "h"
| 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.571429 | 4 | 0.333333 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 2 |
327 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
i = A("i")
m = B("m")
e = A("e")
c = B("c")
b = A("b")
a = B("a")
g = B("g")
n = B("n")
j = B("j")
i.u = n
m.t = i
e.u = c
c.t = e
b.u = m
a.t = b
g.t = b
n.t = e
j.t = e
assert j.t.u.t.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
i = A("i")
m = B("m")
e = A("e")
c = B("c")
b = A("b")
a = B("a")
g = B("g")
n = B("n")
j = B("j")
i.u = n
m.t = i
e.u = c
c.t = e
b.u = m
a.t = b
g.t = b
n.t = e
j.t = e
assert j.t.u.t.txt == "e"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 0.333333 | 3 | 0.333333 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
328 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: A = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
k = A("k")
b = A("b")
h = A("h")
l = A("l")
i = B("i")
g = B("g")
e = B("e")
j.u = k
j.z = b
f.x = i
f.p = j
a.x = e
a.p = j
k.u = h
k.z = l
b.u = h
b.z = h
h.u = l
h.z = l
l.u = k
l.z = b
i.x = e
i.p = b
g.x = e
g.p = l
e.x = g
e.p = k
assert i.p.z.z.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: A = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
k = A("k")
b = A("b")
h = A("h")
l = A("l")
i = B("i")
g = B("g")
e = B("e")
j.u = k
j.z = b
f.x = i
f.p = j
a.x = e
a.p = j
k.u = h
k.z = l
b.u = h
b.z = h
h.u = l
h.z = l
l.u = k
l.z = b
i.x = e
i.p = b
g.x = e
g.p = l
e.x = g
e.p = k
assert i.p.z.z.txt == "l"
| 10 | 18 | 1.8 | 0.2 | 2 | 5 | 2 | 2 | 2 | 3 | 1 | 1 | 4 | 0.4 | 3 | 0.166667 | 0 | null | null | null | 2 | 2 | 2 | 1 |
329 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
g = B("g")
a = A("a")
l = B("l")
f = B("f")
d = A("d")
b = B("b")
h = B("h")
c = B("c")
e = A("e")
j.z = d
g.q = a
a.z = j
l.q = j
f.q = j
d.z = e
b.q = j
h.q = e
c.q = e
e.z = j
assert c.q.z.z.z.z.z.z.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
g = B("g")
a = A("a")
l = B("l")
f = B("f")
d = A("d")
b = B("b")
h = B("h")
c = B("c")
e = A("e")
j.z = d
g.q = a
a.z = j
l.q = j
f.q = j
d.z = e
b.q = j
h.q = e
c.q = e
e.z = j
assert c.q.z.z.z.z.z.z.txt == "e"
| 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 7 | 3 | 2 | 4 | 0.4 | 4 | 0.4 | 4 | 3 | 6 | 3.6 | 2 | 6 | 6 | 1 |
330 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
h = A("h")
b = B("b")
m = B("m")
l = A("l")
d = A("d")
g = A("g")
j = A("j")
h.p = g
h.o = g
b.x = l
b.r = m
m.x = h
m.r = b
l.p = d
l.o = d
d.p = j
d.o = l
g.p = d
g.o = j
j.p = l
j.o = h
assert b.r.r.r.x.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.r: B = None
self.txt = txt
h = A("h")
b = B("b")
m = B("m")
l = A("l")
d = A("d")
g = A("g")
j = A("j")
h.p = g
h.o = g
b.x = l
b.r = m
m.x = h
m.r = b
l.p = d
l.o = d
d.p = j
d.o = l
g.p = d
g.o = j
j.p = l
j.o = h
assert b.r.r.r.x.txt == "h"
| 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.428571 | 3 | 0.25 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
331 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
i = A("i")
l = B("l")
k = A("k")
n = A("n")
j = B("j")
h = B("h")
b = A("b")
i.p = b
i.s = k
l.s = n
k.p = b
k.s = i
n.p = k
n.s = k
j.s = k
h.s = b
b.p = k
b.s = k
assert n.s.s.p.s.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
i = A("i")
l = B("l")
k = A("k")
n = A("n")
j = B("j")
h = B("h")
b = A("b")
i.p = b
i.s = k
l.s = n
k.p = b
k.s = i
n.p = k
n.s = k
j.s = k
h.s = b
b.p = k
b.s = k
assert n.s.s.p.s.txt == "k"
| 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.571429 | 4 | 0.444444 | 1 | 3 | 3 | 3 | 2 | 3 | 2 | 1 |
332 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
l = A("l")
h = B("h")
c = A("c")
e = B("e")
k = A("k")
n = A("n")
b = A("b")
g = A("g")
m = B("m")
a = B("a")
l.t = k
h.s = l
c.t = l
e.s = c
k.t = n
n.t = k
b.t = n
g.t = b
m.s = g
a.s = c
assert k.t.t.t.t.t.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
l = A("l")
h = B("h")
c = A("c")
e = B("e")
k = A("k")
n = A("n")
b = A("b")
g = A("g")
m = B("m")
a = B("a")
l.t = k
h.s = l
c.t = l
e.s = c
k.t = n
n.t = k
b.t = n
g.t = b
m.s = g
a.s = c
assert k.t.t.t.t.t.txt == "n"
| 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 5 | 3 | 3 | 2 | 0.2 | 2 | 0.2 | 4 | 2 | 4 | 2.666667 | 1 | 5 | 5 | 1 |
333 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.r: A = None
self.txt = txt
k = A("k")
e = B("e")
i = A("i")
a = A("a")
b = B("b")
k.z = a
e.p = a
e.r = a
i.z = k
a.z = i
b.p = a
b.r = a
assert b.r.z.z.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.r: A = None
self.txt = txt
k = A("k")
e = B("e")
i = A("i")
a = A("a")
b = B("b")
k.z = a
e.p = a
e.r = a
i.z = k
a.z = i
b.p = a
b.r = a
assert b.r.z.z.txt == "k"
| 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.8 | 3 | 0.6 | 0 | null | null | null | 2 | 2 | 2 | 1 |
334 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
h = A("h")
b = B("b")
f = A("f")
c = B("c")
l = B("l")
e = B("e")
m = B("m")
h.r = f
h.x = f
b.s = m
f.r = h
f.x = h
c.s = l
l.s = b
e.s = m
m.s = l
assert l.s.s.s.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
h = A("h")
b = B("b")
f = A("f")
c = B("c")
l = B("l")
e = B("e")
m = B("m")
h.r = f
h.x = f
b.s = m
f.r = h
f.x = h
c.s = l
l.s = b
e.s = m
m.s = l
assert l.s.s.s.txt == "l"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.428571 | 3 | 0.428571 | 1 | 3 | 3 | 3 | 1 | 3 | 3 | 1 |
335 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
e = A("e")
h = B("h")
f = A("f")
n = A("n")
i = A("i")
l = B("l")
b = B("b")
d = B("d")
a = B("a")
e.q = h
h.q = f
h.s = f
f.q = l
n.q = b
i.q = l
l.q = f
l.s = f
b.q = i
b.s = f
d.q = e
d.s = e
a.q = e
a.s = n
assert e.q.q.q.s.q.q.q.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
e = A("e")
h = B("h")
f = A("f")
n = A("n")
i = A("i")
l = B("l")
b = B("b")
d = B("d")
a = B("a")
e.q = h
h.q = f
h.s = f
f.q = l
n.q = b
i.q = l
l.q = f
l.s = f
b.q = i
b.s = f
d.q = e
d.s = e
a.q = e
a.s = n
assert e.q.q.q.s.q.q.q.txt == "l"
| 9 | 11 | 1.222222 | 0.152778 | 2 | 4.5 | 2 | 1 | 1.5 | 7 | 3 | 3 | 4 | 0.444444 | 5 | 0.454545 | 4 | 2 | 4 | 2.666667 | 2 | 6 | 3 | 2 |
336 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
i = A("i")
l = B("l")
e = A("e")
h = B("h")
b = A("b")
d = A("d")
c = A("c")
i.q = d
i.y = c
l.t = h
e.q = b
e.y = c
h.t = l
b.q = d
b.y = c
d.q = e
d.y = i
c.q = b
c.y = d
assert i.q.q.q.y.q.y.y.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
i = A("i")
l = B("l")
e = A("e")
h = B("h")
b = A("b")
d = A("d")
c = A("c")
i.q = d
i.y = c
l.t = h
e.q = b
e.y = c
h.t = l
b.q = d
b.y = c
d.q = e
d.y = i
c.q = b
c.y = d
assert i.q.q.q.y.q.y.y.txt == "d"
| 7 | 12 | 1.714286 | 0.285714 | 2 | 3.5 | 2 | 1 | 1.5 | 7 | 2 | 2 | 5 | 0.714286 | 6 | 0.5 | 3 | 2 | 6 | 3.333333 | 2 | 4 | 3 | 2 |
337 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
h = A("h")
n = B("n")
m = A("m")
i = B("i")
j = A("j")
h.x = n
n.o = i
n.t = i
m.x = n
i.o = n
i.t = n
j.x = i
assert m.x.t.t.o.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
h = A("h")
n = B("n")
m = A("m")
i = B("i")
j = A("j")
h.x = n
n.o = i
n.t = i
m.x = n
i.o = n
i.t = n
j.x = i
assert m.x.t.t.o.txt == "i"
| 5 | 5 | 1 | 0.25 | 2 | 2.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 3 | 0.6 | 4 | 0.8 | 2 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
338 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
i = B("i")
d = A("d")
h = A("h")
g = A("g")
c = B("c")
a = A("a")
n.x = i
i.z = c
d.x = c
h.x = c
g.x = i
c.z = i
a.x = i
assert g.x.z.z.z.z.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
n = A("n")
i = B("i")
d = A("d")
h = A("h")
g = A("g")
c = B("c")
a = A("a")
n.x = i
i.z = c
d.x = c
h.x = c
g.x = i
c.z = i
a.x = i
assert g.x.z.z.z.z.txt == "i"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.428571 | 3 | 0.428571 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
339 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
i = A("i")
a = B("a")
h = B("h")
f = B("f")
c = B("c")
e = B("e")
i.v = c
i.x = a
a.y = i
h.y = i
f.y = i
c.y = i
e.y = i
assert e.y.x.y.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
i = A("i")
a = B("a")
h = B("h")
f = B("f")
c = B("c")
e = B("e")
i.v = c
i.x = a
a.y = i
h.y = i
f.y = i
c.y = i
e.y = i
assert e.y.x.y.txt == "i"
| 6 | 7 | 1.166667 | 0.233333 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.428571 | 1 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
340 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
m = A("m")
k = B("k")
a = B("a")
d = A("d")
n = A("n")
m.w = d
k.x = n
k.t = n
a.x = n
a.t = m
d.w = m
n.w = m
assert k.t.w.w.w.w.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
m = A("m")
k = B("k")
a = B("a")
d = A("d")
n = A("n")
m.w = d
k.x = n
k.t = n
a.x = n
a.t = m
d.w = m
n.w = m
assert k.t.w.w.w.w.txt == "d"
| 5 | 6 | 1.2 | 0.3 | 2 | 2.5 | 2 | 1 | 1.5 | 5 | 2 | 2 | 4 | 0.8 | 4 | 0.666667 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
341 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.t: B = None
self.txt = txt
g = A("g")
b = B("b")
c = B("c")
a = A("a")
n = A("n")
i = A("i")
g.r = n
g.u = n
b.u = n
b.t = c
c.u = g
c.t = b
a.r = i
a.u = i
n.r = g
n.u = g
i.r = n
i.u = a
assert n.u.u.u.u.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.t: B = None
self.txt = txt
g = A("g")
b = B("b")
c = B("c")
a = A("a")
n = A("n")
i = A("i")
g.r = n
g.u = n
b.u = n
b.t = c
c.u = g
c.t = b
a.r = i
a.u = i
n.r = g
n.u = g
i.r = n
i.u = a
assert n.u.u.u.u.txt == "n"
| 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 2 | 2 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.222222 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
342 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
f = B("f")
l = B("l")
b = B("b")
j = A("j")
g = A("g")
n.p = l
n.x = j
f.v = l
l.v = b
b.v = l
j.p = l
j.x = g
g.p = b
g.x = j
assert b.v.v.v.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
f = B("f")
l = B("l")
b = B("b")
j = A("j")
g = A("g")
n.p = l
n.x = j
f.v = l
l.v = b
b.v = l
j.p = l
j.x = g
g.p = b
g.x = j
assert b.v.v.v.txt == "l"
| 6 | 9 | 1.5 | 0.3 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.333333 | 2 | 0.222222 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
343 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
m = B("m")
i = B("i")
d = B("d")
h = A("h")
f = B("f")
c.t = h
c.z = j
a.q = c
j.q = c
m.q = h
i.q = h
d.q = c
h.t = c
h.z = j
f.q = h
assert d.q.z.q.z.q.t.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
a = B("a")
j = B("j")
m = B("m")
i = B("i")
d = B("d")
h = A("h")
f = B("f")
c.t = h
c.z = j
a.q = c
j.q = c
m.q = h
i.q = h
d.q = c
h.t = c
h.z = j
f.q = h
assert d.q.z.q.z.q.t.txt == "h"
| 8 | 10 | 1.25 | 0.178571 | 2 | 4 | 2 | 1 | 1.5 | 6 | 3 | 2 | 4 | 0.5 | 4 | 0.4 | 3 | 2 | 4 | 2.5 | 3 | 3 | 1 | 2 |
344 |
class A:
def __init__(self, txt: str):
self.r: 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")
n = B("n")
a.r = n
b.z = n
n.z = b
assert a.r.z.z.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.r: 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")
n = B("n")
a.r = n
b.z = n
n.z = b
assert a.r.z.z.txt == "n"
| 3 | 3 | 1 | 0.5 | 2 | 1.5 | 1 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 3 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
345 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
l = B("l")
g = B("g")
j = B("j")
c = A("c")
e = B("e")
f = B("f")
a = A("a")
i.t = l
l.q = g
g.q = e
j.q = e
c.t = e
e.q = j
f.q = j
a.t = j
assert a.t.q.q.q.q.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
l = B("l")
g = B("g")
j = B("j")
c = A("c")
e = B("e")
f = B("f")
a = A("a")
i.t = l
l.q = g
g.q = e
j.q = e
c.t = e
e.q = j
f.q = j
a.t = j
assert a.t.q.q.q.q.txt == "j"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 5 | 3 | 2 | 3 | 0.375 | 3 | 0.375 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
346 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.w: A = None
self.txt = txt
c = A("c")
d = B("d")
m = B("m")
n = B("n")
h = A("h")
g = A("g")
b = A("b")
c.t = h
c.x = g
d.v = m
d.w = c
m.v = n
m.w = b
n.v = m
n.w = g
h.t = b
h.x = g
g.t = h
g.x = b
b.t = g
b.x = c
assert h.x.x.t.x.t.x.x.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.w: A = None
self.txt = txt
c = A("c")
d = B("d")
m = B("m")
n = B("n")
h = A("h")
g = A("g")
b = A("b")
c.t = h
c.x = g
d.v = m
d.w = c
m.v = n
m.w = b
n.v = m
n.w = g
h.t = b
h.x = g
g.t = h
g.x = b
b.t = g
b.x = c
assert h.x.x.t.x.t.x.x.txt == "c"
| 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 7 | 3 | 3 | 4 | 0.571429 | 4 | 0.285714 | 4 | 2 | 4 | 2.666667 | 2 | 5 | 2 | 2 |
347 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
a = A("a")
i = B("i")
l = B("l")
k = A("k")
f = A("f")
h = A("h")
g = A("g")
a.y = h
i.u = l
l.u = i
k.y = f
f.y = h
h.y = k
g.y = f
assert g.y.y.y.y.y.y.y.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
a = A("a")
i = B("i")
l = B("l")
k = A("k")
f = A("f")
h = A("h")
g = A("g")
a.y = h
i.u = l
l.u = i
k.y = f
f.y = h
h.y = k
g.y = f
assert g.y.y.y.y.y.y.y.txt == "f"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 7 | 3 | 2 | 4 | 0.571429 | 4 | 0.571429 | 4 | 3 | 6 | 3.6 | 1 | 7 | 7 | 1 |
348 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
j = A("j")
n = B("n")
l = A("l")
a = A("a")
g = A("g")
d = A("d")
i = A("i")
h = A("h")
k = B("k")
j.v = k
n.s = k
n.u = k
l.v = k
a.v = k
g.v = n
d.v = k
i.v = n
h.v = n
k.s = n
k.u = n
assert k.u.s.u.s.u.u.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
j = A("j")
n = B("n")
l = A("l")
a = A("a")
g = A("g")
d = A("d")
i = A("i")
h = A("h")
k = B("k")
j.v = k
n.s = k
n.u = k
l.v = k
a.v = k
g.v = n
d.v = k
i.v = n
h.v = n
k.s = n
k.u = n
assert k.u.s.u.s.u.u.txt == "k"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 2 | 1 | 1.5 | 6 | 4 | 3 | 2 | 0.222222 | 3 | 0.333333 | 5 | 2 | 6 | 3.111111 | 2 | 4 | 2 | 2 |
349 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.z: B = None
self.txt = txt
g = A("g")
j = B("j")
n = B("n")
i = A("i")
b = B("b")
k = B("k")
f = B("f")
m = A("m")
l = A("l")
g.z = i
j.q = n
j.z = k
n.q = j
n.z = f
i.z = m
b.q = f
b.z = k
k.q = f
k.z = f
f.q = b
f.z = k
m.z = g
l.z = i
assert m.z.z.z.z.z.z.z.z.z.txt == "
|
m"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.z: B = None
self.txt = txt
g = A("g")
j = B("j")
n = B("n")
i = A("i")
b = B("b")
k = B("k")
f = B("f")
m = A("m")
l = A("l")
g.z = i
j.q = n
j.z = k
n.q = j
n.z = f
i.z = m
b.q = f
b.z = k
k.q = f
k.z = f
f.q = b
f.z = k
m.z = g
l.z = i
assert m.z.z.z.z.z.z.z.z.z.txt == "m"
| 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 9 | 4 | 3 | 3 | 0.333333 | 3 | 0.230769 | 7 | 3 | 9 | 4.5 | 1 | 9 | 9 | 1 |
350 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
l = B("l")
i = B("i")
g = B("g")
j = A("j")
n = A("n")
f = B("f")
c = A("c")
h = A("h")
a = B("a")
b.w = i
l.q = h
i.q = j
g.q = h
j.w = g
n.w = f
f.q = h
c.w = f
h.w = i
a.q = b
assert a.q.w.q.w.q.w.q.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
l = B("l")
i = B("i")
g = B("g")
j = A("j")
n = A("n")
f = B("f")
c = A("c")
h = A("h")
a = B("a")
b.w = i
l.q = h
i.q = j
g.q = h
j.w = g
n.w = f
f.q = h
c.w = f
h.w = i
a.q = b
assert a.q.w.q.w.q.w.q.txt == "j"
| 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 7 | 2 | 2 | 6 | 0.6 | 6 | 0.6 | 2 | 4 | 4 | 4 | 2 | 4 | 1 | 1 |
351 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
d = A("d")
f = B("f")
m = B("m")
e = A("e")
h = A("h")
b = A("b")
c = B("c")
n = A("n")
a = B("a")
d.r = c
d.u = b
f.t = b
f.s = a
m.t = d
m.s = f
e.r = f
e.u = d
h.r = c
h.u = d
b.r = a
b.u = n
c.t = d
c.s = f
n.r = f
n.u = b
a.t = n
a.s = c
assert d.u.r.s.t.u.u.u.r.t.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
d = A("d")
f = B("f")
m = B("m")
e = A("e")
h = A("h")
b = A("b")
c = B("c")
n = A("n")
a = B("a")
d.r = c
d.u = b
f.t = b
f.s = a
m.t = d
m.s = f
e.r = f
e.u = d
h.r = c
h.u = d
b.r = a
b.u = n
c.t = d
c.s = f
n.r = f
n.u = b
a.t = n
a.s = c
assert d.u.r.s.t.u.u.u.r.t.txt == "n"
| 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 9 | 3 | 2 | 5 | 0.555556 | 7 | 0.388889 | 5 | 2 | 6 | 4.166667 | 4 | 4 | 3 | 2 |
352 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
e = A("e")
l = B("l")
f = A("f")
n = B("n")
b = B("b")
h = A("h")
i = B("i")
e.v = i
l.u = h
l.z = f
f.v = b
n.u = f
n.z = e
b.u = f
b.z = e
h.v = i
i.u = f
i.z = e
assert n.u.v.z.v.u.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
e = A("e")
l = B("l")
f = A("f")
n = B("n")
b = B("b")
h = A("h")
i = B("i")
e.v = i
l.u = h
l.z = f
f.v = b
n.u = f
n.z = e
b.u = f
b.z = e
h.v = i
i.u = f
i.z = e
assert n.u.v.z.v.u.txt == "f"
| 7 | 11 | 1.571429 | 0.261905 | 2 | 3.5 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 0.714286 | 5 | 0.454545 | 1 | 4 | 4 | 4 | 3 | 2 | 1 | 1 |
353 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
c = A("c")
j = B("j")
f = A("f")
m = B("m")
g = A("g")
h = B("h")
b = B("b")
n = B("n")
e = A("e")
c.q = j
j.u = e
f.q = n
m.u = c
g.q = m
h.u = f
b.u = g
n.u = c
e.q = j
assert f.q.u.q.u.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
c = A("c")
j = B("j")
f = A("f")
m = B("m")
g = A("g")
h = B("h")
b = B("b")
n = B("n")
e = A("e")
c.q = j
j.u = e
f.q = n
m.u = c
g.q = m
h.u = f
b.u = g
n.u = c
e.q = j
assert f.q.u.q.u.txt == "e"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 4 | 1 | 1 | 5 | 0.555556 | 4 | 0.444444 | 0 | null | null | null | 2 | 2 | 1 | 1 |
354 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
b = B("b")
c = B("c")
h = A("h")
f.x = b
b.y = c
c.y = b
h.x = b
assert c.y.y.y.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
b = B("b")
c = B("c")
h = A("h")
f.x = b
b.y = c
c.y = b
h.x = b
assert c.y.y.y.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 |
355 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.y: B = None
self.txt = txt
n = A("n")
h = B("h")
l = A("l")
d = B("d")
f = A("f")
n.p = f
n.t = l
h.r = n
h.y = d
l.p = n
l.t = n
d.r = n
d.y = h
f.p = n
f.t = l
assert d.y.y.r.p.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.y: B = None
self.txt = txt
n = A("n")
h = B("h")
l = A("l")
d = B("d")
f = A("f")
n.p = f
n.t = l
h.r = n
h.y = d
l.p = n
l.t = n
d.r = n
d.y = h
f.p = n
f.t = l
assert d.y.y.r.p.txt == "f"
| 5 | 9 | 1.8 | 0.45 | 2 | 2.5 | 2 | 2 | 2 | 4 | 2 | 1 | 4 | 0.8 | 4 | 0.444444 | 1 | 2 | 2 | 2 | 3 | 2 | 2 | 2 |
356 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
b = A("b")
i = B("i")
h = B("h")
l = A("l")
a = B("a")
b.v = l
b.t = l
i.s = l
i.p = a
h.s = b
h.p = i
l.v = b
l.t = b
a.s = l
a.p = i
assert b.t.v.v.v.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
b = A("b")
i = B("i")
h = B("h")
l = A("l")
a = B("a")
b.v = l
b.t = l
i.s = l
i.p = a
h.s = b
h.p = i
l.v = b
l.t = b
a.s = l
a.p = i
assert b.t.v.v.v.txt == "b"
| 5 | 8 | 1.6 | 0.4 | 2 | 2.5 | 2 | 2 | 2 | 4 | 3 | 2 | 2 | 0.4 | 3 | 0.375 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
357 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: B = None
self.txt = txt
g = A("g")
e = B("e")
f = B("f")
d = B("d")
n = A("n")
g.o = e
g.s = n
e.y = f
e.w = f
f.y = d
f.w = e
d.y = e
d.w = f
n.o = d
n.s = g
assert n.s.s.s.o.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: B = None
self.txt = txt
g = A("g")
e = B("e")
f = B("f")
d = B("d")
n = A("n")
g.o = e
g.s = n
e.y = f
e.w = f
f.y = d
f.w = e
d.y = e
d.w = f
n.o = d
n.s = g
assert n.s.s.s.o.txt == "e"
| 5 | 9 | 1.8 | 0.45 | 2 | 2.5 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.6 | 3 | 0.333333 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 2 |
358 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
f = A("f")
n = B("n")
l = A("l")
i = B("i")
m = B("m")
b = A("b")
k = A("k")
d = B("d")
h = B("h")
g = B("g")
f.z = b
n.q = l
l.z = b
i.q = l
m.q = b
b.z = f
k.z = b
d.q = k
h.q = f
g.q = f
assert n.q.z.z.z.z.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
f = A("f")
n = B("n")
l = A("l")
i = B("i")
m = B("m")
b = A("b")
k = A("k")
d = B("d")
h = B("h")
g = B("g")
f.z = b
n.q = l
l.z = b
i.q = l
m.q = b
b.z = f
k.z = b
d.q = k
h.q = f
g.q = f
assert n.q.z.z.z.z.txt == "f"
| 10 | 10 | 1 | 0.111111 | 2 | 5 | 1 | 1 | 1 | 5 | 2 | 2 | 4 | 0.4 | 4 | 0.4 | 2 | 2 | 2 | 2 | 2 | 4 | 4 | 1 |
359 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
k = A("k")
c = B("c")
e = A("e")
b = A("b")
l = A("l")
m = A("m")
f = A("f")
k.w = m
c.q = b
e.w = l
b.w = m
l.w = f
m.w = e
f.w = k
assert c.q.w.w.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
k = A("k")
c = B("c")
e = A("e")
b = A("b")
l = A("l")
m = A("m")
f = A("f")
k.w = m
c.q = b
e.w = l
b.w = m
l.w = f
m.w = e
f.w = k
assert c.q.w.w.txt == "e"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.571429 | 3 | 0.428571 | 0 | null | null | null | 2 | 2 | 2 | 1 |
360 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.txt = txt
n = A("n")
d = B("d")
m = A("m")
l = A("l")
g = A("g")
h = A("h")
f = A("f")
b = A("b")
a = B("a")
n.t = m
d.s = a
d.y = a
m.t = f
l.t = h
g.t = l
h.t = f
f.t = m
b.t = l
a.s = d
a.y = d
assert a.s.y.y.y.y.s.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.txt = txt
n = A("n")
d = B("d")
m = A("m")
l = A("l")
g = A("g")
h = A("h")
f = A("f")
b = A("b")
a = B("a")
n.t = m
d.s = a
d.y = a
m.t = f
l.t = h
g.t = l
h.t = f
f.t = m
b.t = l
a.s = d
a.y = d
assert a.s.y.y.y.y.s.txt == "a"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 2 | 1 | 1.5 | 6 | 4 | 2 | 2 | 0.222222 | 4 | 0.444444 | 5 | 2 | 6 | 3.111111 | 2 | 4 | 4 | 2 |
361 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.txt = txt
n = A("n")
f = B("f")
c = A("c")
m = A("m")
j = B("j")
k = B("k")
i = B("i")
n.t = f
f.p = m
f.x = c
c.t = j
m.t = f
j.p = n
j.x = n
k.p = m
k.x = m
i.p = m
i.x = c
assert m.t.p.t.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.txt = txt
n = A("n")
f = B("f")
c = A("c")
m = A("m")
j = B("j")
k = B("k")
i = B("i")
n.t = f
f.p = m
f.x = c
c.t = j
m.t = f
j.p = n
j.x = n
k.p = m
k.x = m
i.p = m
i.x = c
assert m.t.p.t.txt == "f"
| 7 | 9 | 1.285714 | 0.214286 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.285714 | 2 | 0.222222 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
362 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
m = B("m")
d = A("d")
g = B("g")
k = B("k")
n = B("n")
b.w = n
b.t = n
m.r = b
d.w = g
d.t = m
g.r = b
k.r = d
n.r = b
assert n.r.w.r.w.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
m = B("m")
d = A("d")
g = B("g")
k = B("k")
n = B("n")
b.w = n
b.t = n
m.r = b
d.w = g
d.t = m
g.r = b
k.r = d
n.r = b
assert n.r.w.r.w.txt == "n"
| 6 | 7 | 1.166667 | 0.233333 | 2 | 3 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 2 | 2 | 1 | 1 |
363 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: B = None
self.txt = txt
d = A("d")
f = B("f")
a = A("a")
n = B("n")
j = B("j")
l = B("l")
d.v = n
f.t = d
f.p = n
a.v = n
n.t = d
n.p = f
j.t = d
j.p = n
l.t = d
l.p = j
assert d.v.p.t.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.p: B = None
self.txt = txt
d = A("d")
f = B("f")
a = A("a")
n = B("n")
j = B("j")
l = B("l")
d.v = n
f.t = d
f.p = n
a.v = n
n.t = d
n.p = f
j.t = d
j.p = n
l.t = d
l.p = j
assert d.v.p.t.txt == "d"
| 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.5 | 3 | 0.3 | 1 | 3 | 3 | 3 | 3 | 1 | 1 | 1 |
364 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
l = A("l")
n = B("n")
f = B("f")
d = A("d")
h = B("h")
j = A("j")
c = B("c")
i = B("i")
k = A("k")
l.z = k
n.t = j
n.y = j
f.t = l
f.y = k
d.z = l
h.t = d
h.y = k
j.z = k
c.t = l
c.y = j
i.t = l
i.y = k
k.z = d
assert i.t.z.z.z.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
l = A("l")
n = B("n")
f = B("f")
d = A("d")
h = B("h")
j = A("j")
c = B("c")
i = B("i")
k = A("k")
l.z = k
n.t = j
n.y = j
f.t = l
f.y = k
d.z = l
h.t = d
h.y = k
j.z = k
c.t = l
c.y = j
i.t = l
i.y = k
k.z = d
assert i.t.z.z.z.txt == "l"
| 9 | 13 | 1.444444 | 0.180556 | 2 | 4.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.444444 | 4 | 0.307692 | 1 | 3 | 3 | 3 | 2 | 3 | 3 | 1 |
365 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
c = A("c")
n = B("n")
i = B("i")
c.y = i
n.q = i
n.t = c
i.q = n
i.t = c
assert i.q.q.t.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
c = A("c")
n = B("n")
i = B("i")
c.y = i
n.q = i
n.t = c
i.q = n
i.t = c
assert i.q.q.t.txt == "c"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
366 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
a = A("a")
d = B("d")
n = B("n")
b = B("b")
l = B("l")
m = A("m")
k = B("k")
g = A("g")
c = B("c")
a.y = g
a.u = m
d.u = b
d.x = c
n.u = b
n.x = c
b.u = l
b.x = c
l.u = c
l.x = c
m.y = a
m.u = g
k.u = c
k.x = b
g.y = m
g.u = a
c.u = l
c.x = l
assert g.y.u.y.y.u.txt == "
|
m"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
a = A("a")
d = B("d")
n = B("n")
b = B("b")
l = B("l")
m = A("m")
k = B("k")
g = A("g")
c = B("c")
a.y = g
a.u = m
d.u = b
d.x = c
n.u = b
n.x = c
b.u = l
b.x = c
l.u = c
l.x = c
m.y = a
m.u = g
k.u = c
k.x = b
g.y = m
g.u = a
c.u = l
c.x = l
assert g.y.u.y.y.u.txt == "m"
| 9 | 16 | 1.777778 | 0.222222 | 2 | 4.5 | 2 | 2 | 2 | 5 | 3 | 2 | 3 | 0.333333 | 4 | 0.25 | 3 | 2 | 4 | 2.5 | 2 | 3 | 2 | 2 |
367 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
m = A("m")
k = B("k")
b = A("b")
g = B("g")
m.o = b
m.s = b
k.v = g
b.o = m
b.s = m
g.v = k
assert g.v.v.v.v.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.o: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
m = A("m")
k = B("k")
b = A("b")
g = B("g")
m.o = b
m.s = b
k.v = g
b.o = m
b.s = m
g.v = k
assert g.v.v.v.v.txt == "g"
| 4 | 4 | 1 | 0.333333 | 2 | 2 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.5 | 2 | 0.5 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
368 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
i = B("i")
h = B("h")
c = A("c")
b = B("b")
j = A("j")
k = B("k")
n = A("n")
a.y = b
i.v = a
h.v = n
c.y = k
b.v = c
j.y = h
k.v = a
n.y = i
assert c.y.v.y.v.y.v.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
i = B("i")
h = B("h")
c = A("c")
b = B("b")
j = A("j")
k = B("k")
n = A("n")
a.y = b
i.v = a
h.v = n
c.y = k
b.v = c
j.y = h
k.v = a
n.y = i
assert c.y.v.y.v.y.v.txt == "a"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 6 | 2 | 2 | 4 | 0.5 | 4 | 0.5 | 3 | 4 | 4 | 4 | 2 | 3 | 1 | 1 |
369 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.q: A = None
self.txt = txt
f = A("f")
h = B("h")
e = A("e")
l = B("l")
k = A("k")
j = B("j")
n = B("n")
a = A("a")
f.o = k
h.z = f
h.q = k
e.o = a
l.z = e
l.q = a
k.o = a
j.z = a
j.q = k
n.z = k
n.q = f
a.o = e
assert l.z.o.o.o.o.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.q: A = None
self.txt = txt
f = A("f")
h = B("h")
e = A("e")
l = B("l")
k = A("k")
j = B("j")
n = B("n")
a = A("a")
f.o = k
h.z = f
h.q = k
e.o = a
l.z = e
l.q = a
k.o = a
j.z = a
j.q = k
n.z = k
n.q = f
a.o = e
assert l.z.o.o.o.o.txt == "e"
| 8 | 12 | 1.5 | 0.214286 | 2 | 4 | 2 | 1 | 1.5 | 5 | 3 | 2 | 3 | 0.375 | 3 | 0.25 | 3 | 2 | 4 | 2.5 | 2 | 4 | 4 | 1 |
370 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: A = None
self.txt = txt
i = A("i")
a = B("a")
n = B("n")
i.w = a
a.t = i
a.w = i
n.t = i
n.w = i
assert i.w.w.w.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.w: A = None
self.txt = txt
i = A("i")
a = B("a")
n = B("n")
i.w = a
a.t = i
a.w = i
n.t = i
n.w = i
assert i.w.w.w.txt == "a"
| 3 | 3 | 1 | 0.5 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.666667 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
371 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
j = A("j")
e = B("e")
i = A("i")
n = A("n")
f = B("f")
h = A("h")
k = A("k")
b = B("b")
l = A("l")
j.y = i
j.w = b
e.v = f
e.z = h
i.y = l
i.w = e
n.y = i
n.w = f
f.v = b
f.z = j
h.y = l
h.w = f
k.y = j
k.w = f
b.v = e
b.z = l
l.y = h
l.w = b
assert f.z.w.v.z.y.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
j = A("j")
e = B("e")
i = A("i")
n = A("n")
f = B("f")
h = A("h")
k = A("k")
b = B("b")
l = A("l")
j.y = i
j.w = b
e.v = f
e.z = h
i.y = l
i.w = e
n.y = i
n.w = f
f.v = b
f.z = j
h.y = l
h.w = f
k.y = j
k.w = f
b.v = e
b.z = l
l.y = h
l.w = b
assert f.z.w.v.z.y.txt == "l"
| 9 | 18 | 2 | 0.25 | 2 | 4.5 | 2 | 2 | 2 | 5 | 1 | 1 | 6 | 0.666667 | 5 | 0.277778 | 0 | null | null | null | 4 | 2 | 1 | 1 |
372 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: A = None
self.txt = txt
b = A("b")
k = B("k")
m = B("m")
l = B("l")
h = B("h")
j = A("j")
d = B("d")
e = B("e")
a = A("a")
c = A("c")
b.u = h
b.v = d
k.o = a
k.u = c
m.o = c
m.u = b
l.o = j
l.u = j
h.o = c
h.u = a
j.u = l
j.v = m
d.o = c
d.u = j
e.o = a
e.u = c
a.u = h
a.v = k
c.u = k
c.v = e
assert a.v.u.v.u.v.o.v.u.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: A = None
self.txt = txt
b = A("b")
k = B("k")
m = B("m")
l = B("l")
h = B("h")
j = A("j")
d = B("d")
e = B("e")
a = A("a")
c = A("c")
b.u = h
b.v = d
k.o = a
k.u = c
m.o = c
m.u = b
l.o = j
l.u = j
h.o = c
h.u = a
j.u = l
j.v = m
d.o = c
d.u = j
e.o = a
e.u = c
a.u = h
a.v = k
c.u = k
c.v = e
assert a.v.u.v.u.v.o.v.u.txt == "c"
| 10 | 19 | 1.9 | 0.211111 | 2 | 5 | 2 | 2 | 2 | 8 | 3 | 2 | 4 | 0.4 | 5 | 0.263158 | 5 | 2 | 6 | 4.333333 | 3 | 4 | 1 | 2 |
373 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
h = B("h")
j = A("j")
n = B("n")
g = B("g")
c = B("c")
a = B("a")
d = A("d")
k.s = a
h.y = j
j.s = n
n.y = k
g.y = k
c.y = j
a.y = j
d.s = h
assert d.s.y.s.y.s.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
k = A("k")
h = B("h")
j = A("j")
n = B("n")
g = B("g")
c = B("c")
a = B("a")
d = A("d")
k.s = a
h.y = j
j.s = n
n.y = k
g.y = k
c.y = j
a.y = j
d.s = h
assert d.s.y.s.y.s.txt == "a"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 5 | 1 | 1 | 6 | 0.75 | 5 | 0.625 | 0 | null | null | null | 2 | 3 | 1 | 1 |
374 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
h = B("h")
m = B("m")
b = A("b")
k = A("k")
a = B("a")
l = A("l")
c = A("c")
i = B("i")
d.p = c
h.t = c
m.t = c
b.p = d
k.p = d
a.t = k
l.p = k
c.p = b
i.t = d
assert k.p.p.p.p.p.p.p.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
h = B("h")
m = B("m")
b = A("b")
k = A("k")
a = B("a")
l = A("l")
c = A("c")
i = B("i")
d.p = c
h.t = c
m.t = c
b.p = d
k.p = d
a.t = k
l.p = k
c.p = b
i.t = d
assert k.p.p.p.p.p.p.p.txt == "d"
| 9 | 9 | 1 | 0.125 | 2 | 4.5 | 1 | 1 | 1 | 7 | 3 | 2 | 4 | 0.444444 | 4 | 0.444444 | 4 | 3 | 6 | 3.6 | 1 | 7 | 7 | 1 |
375 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
f = B("f")
k = B("k")
h = B("h")
m = B("m")
a = B("a")
n = A("n")
d.o = a
f.z = h
k.z = a
h.z = f
m.z = h
a.z = f
n.o = m
assert f.z.z.z.z.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
d = A("d")
f = B("f")
k = B("k")
h = B("h")
m = B("m")
a = B("a")
n = A("n")
d.o = a
f.z = h
k.z = a
h.z = f
m.z = h
a.z = f
n.o = m
assert f.z.z.z.z.txt == "f"
| 7 | 7 | 1 | 0.166667 | 2 | 3.5 | 1 | 1 | 1 | 4 | 3 | 2 | 2 | 0.285714 | 2 | 0.285714 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
376 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
g = B("g")
b = A("b")
i = A("i")
c = A("c")
k = B("k")
d = A("d")
l = B("l")
e.p = b
e.o = k
g.q = b
b.p = i
b.o = g
i.p = b
i.o = g
c.p = b
c.o = g
k.q = d
d.p = b
d.o = g
l.q = c
assert b.o.q.p.p.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
g = B("g")
b = A("b")
i = A("i")
c = A("c")
k = B("k")
d = A("d")
l = B("l")
e.p = b
e.o = k
g.q = b
b.p = i
b.o = g
i.p = b
i.o = g
c.p = b
c.o = g
k.q = d
d.p = b
d.o = g
l.q = c
assert b.o.q.p.p.txt == "b"
| 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 1 | 1.5 | 4 | 3 | 1 | 3 | 0.375 | 4 | 0.307692 | 2 | 2 | 4 | 2.666667 | 3 | 2 | 2 | 2 |
377 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
m = A("m")
i = B("i")
b = B("b")
j = B("j")
g = A("g")
l = A("l")
m.x = i
m.r = i
i.t = b
b.t = i
j.t = i
g.x = b
g.r = i
l.x = b
l.r = i
assert g.x.t.t.t.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
m = A("m")
i = B("i")
b = B("b")
j = B("j")
g = A("g")
l = A("l")
m.x = i
m.r = i
i.t = b
b.t = i
j.t = i
g.x = b
g.r = i
l.x = b
l.r = i
assert g.x.t.t.t.txt == "i"
| 6 | 8 | 1.333333 | 0.266667 | 2 | 3 | 2 | 1 | 1.5 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.375 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 1 |
378 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
l = A("l")
j = B("j")
k = B("k")
m = B("m")
b = A("b")
l.r = j
l.p = m
j.t = m
j.z = k
k.t = m
k.z = j
m.t = j
m.z = k
b.r = m
b.p = m
assert l.r.t.t.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
l = A("l")
j = B("j")
k = B("k")
m = B("m")
b = A("b")
l.r = j
l.p = m
j.t = m
j.z = k
k.t = m
k.z = j
m.t = j
m.z = k
b.r = m
b.p = m
assert l.r.t.t.txt == "j"
| 5 | 9 | 1.8 | 0.45 | 2 | 2.5 | 2 | 2 | 2 | 3 | 2 | 1 | 3 | 0.6 | 3 | 0.333333 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 1 |
379 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
c = A("c")
h = B("h")
m = B("m")
f = B("f")
g = A("g")
d = B("d")
c.p = g
c.w = g
h.o = c
h.t = d
m.o = c
m.t = d
f.o = c
f.t = m
g.p = c
g.w = c
d.o = c
d.t = m
assert g.p.p.p.p.w.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
c = A("c")
h = B("h")
m = B("m")
f = B("f")
g = A("g")
d = B("d")
c.p = g
c.w = g
h.o = c
h.t = d
m.o = c
m.t = d
f.o = c
f.t = m
g.p = c
g.w = c
d.o = c
d.t = m
assert g.p.p.p.p.w.txt == "c"
| 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 2 | 2 | 5 | 3 | 2 | 2 | 0.333333 | 3 | 0.3 | 4 | 2 | 4 | 2.666667 | 2 | 4 | 4 | 2 |
380 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
j = A("j")
i = B("i")
n = A("n")
h = A("h")
e = A("e")
m = A("m")
a = B("a")
g = B("g")
j.t = g
i.x = m
n.t = a
h.t = a
e.t = i
m.t = i
a.x = j
g.x = e
assert j.t.x.t.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
j = A("j")
i = B("i")
n = A("n")
h = A("h")
e = A("e")
m = A("m")
a = B("a")
g = B("g")
j.t = g
i.x = m
n.t = a
h.t = a
e.t = i
m.t = i
a.x = j
g.x = e
assert j.t.x.t.txt == "i"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 3 | 1 | 1 | 4 | 0.5 | 3 | 0.375 | 0 | null | null | null | 2 | 2 | 1 | 1 |
381 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
a = A("a")
j = B("j")
f = B("f")
b = A("b")
h = B("h")
n = A("n")
i = B("i")
d = B("d")
a.w = b
a.p = n
j.w = a
j.s = i
f.w = a
f.s = d
b.w = a
b.p = n
h.w = a
h.s = j
n.w = b
n.p = b
i.w = a
i.s = j
d.w = b
d.s = j
assert b.w.p.w.w.p.w.w.p.txt == "
|
n"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: B = None
self.txt = txt
a = A("a")
j = B("j")
f = B("f")
b = A("b")
h = B("h")
n = A("n")
i = B("i")
d = B("d")
a.w = b
a.p = n
j.w = a
j.s = i
f.w = a
f.s = d
b.w = a
b.p = n
h.w = a
h.s = j
n.w = b
n.p = b
i.w = a
i.s = j
d.w = b
d.s = j
assert b.w.p.w.w.p.w.w.p.txt == "n"
| 8 | 15 | 1.875 | 0.267857 | 2 | 4 | 2 | 2 | 2 | 8 | 3 | 3 | 3 | 0.375 | 3 | 0.2 | 6 | 3 | 6 | 4 | 2 | 5 | 2 | 1 |
382 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
j = B("j")
n = B("n")
a = A("a")
k = A("k")
f = B("f")
l = B("l")
e = A("e")
g.u = f
g.r = j
j.o = e
n.o = g
a.u = n
a.r = n
k.u = l
k.r = j
f.o = k
l.o = g
e.u = l
e.r = j
assert g.u.o.r.o.r.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
j = B("j")
n = B("n")
a = A("a")
k = A("k")
f = B("f")
l = B("l")
e = A("e")
g.u = f
g.r = j
j.o = e
n.o = g
a.u = n
a.r = n
k.u = l
k.r = j
f.o = k
l.o = g
e.u = l
e.r = j
assert g.u.o.r.o.r.txt == "j"
| 8 | 11 | 1.375 | 0.196429 | 2 | 4 | 2 | 1 | 1.5 | 5 | 2 | 1 | 5 | 0.625 | 5 | 0.454545 | 1 | 2 | 2 | 2 | 3 | 2 | 1 | 1 |
383 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.s: B = None
self.txt = txt
e = A("e")
f = B("f")
j = B("j")
e.v = f
f.o = e
f.s = j
j.o = e
j.s = f
assert j.s.o.v.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.s: B = None
self.txt = txt
e = A("e")
f = B("f")
j = B("j")
e.v = f
f.o = e
f.s = j
j.o = e
j.s = f
assert j.s.o.v.txt == "f"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 3 | 1 | 1 | 1 |
384 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
m = A("m")
f = B("f")
j = B("j")
l = B("l")
e = B("e")
i = A("i")
m.t = i
f.p = j
f.v = i
j.p = l
j.v = i
l.p = f
l.v = i
e.p = l
e.v = m
i.t = m
assert i.t.t.t.t.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
m = A("m")
f = B("f")
j = B("j")
l = B("l")
e = B("e")
i = A("i")
m.t = i
f.p = j
f.v = i
j.p = l
j.v = i
l.p = f
l.v = i
e.p = l
e.v = m
i.t = m
assert i.t.t.t.t.txt == "i"
| 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 1 | 1.5 | 4 | 3 | 2 | 2 | 0.333333 | 2 | 0.2 | 3 | 2 | 4 | 2.5 | 1 | 4 | 4 | 1 |
385 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
i = A("i")
n = B("n")
d = B("d")
m = A("m")
j = A("j")
c = A("c")
i.o = c
i.r = c
n.p = m
n.o = c
d.p = j
d.o = c
m.o = i
m.r = j
j.o = c
j.r = c
c.o = i
c.r = m
assert m.r.r.r.r.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.o: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
i = A("i")
n = B("n")
d = B("d")
m = A("m")
j = A("j")
c = A("c")
i.o = c
i.r = c
n.p = m
n.o = c
d.p = j
d.o = c
m.o = i
m.r = j
j.o = c
j.r = c
c.o = i
c.r = m
assert m.r.r.r.r.txt == "j"
| 6 | 10 | 1.666667 | 0.333333 | 2 | 3 | 2 | 2 | 2 | 4 | 2 | 2 | 3 | 0.5 | 3 | 0.3 | 2 | 3 | 3 | 3 | 1 | 4 | 4 | 1 |
386 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
b = B("b")
g = A("g")
a = B("a")
c = B("c")
k = B("k")
f = A("f")
h.w = g
h.p = k
b.r = h
g.w = f
g.p = a
a.r = g
c.r = f
k.r = h
f.w = g
f.p = b
assert g.w.p.r.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
h = A("h")
b = B("b")
g = A("g")
a = B("a")
c = B("c")
k = B("k")
f = A("f")
h.w = g
h.p = k
b.r = h
g.w = f
g.p = a
a.r = g
c.r = f
k.r = h
f.w = g
f.p = b
assert g.w.p.r.txt == "h"
| 7 | 10 | 1.428571 | 0.238095 | 2 | 3.5 | 2 | 1 | 1.5 | 3 | 1 | 1 | 4 | 0.571429 | 3 | 0.3 | 0 | null | null | null | 3 | 1 | 1 | 1 |
387 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
k = A("k")
i = B("i")
c = A("c")
j = B("j")
a = A("a")
b = B("b")
n = B("n")
l = A("l")
k.s = a
k.y = a
i.x = c
i.v = n
c.s = l
c.y = l
j.x = c
j.v = b
a.s = l
a.y = l
b.x = k
b.v = j
n.x = l
n.v = j
l.s = a
l.y = c
assert l.y.y.s.y.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
k = A("k")
i = B("i")
c = A("c")
j = B("j")
a = A("a")
b = B("b")
n = B("n")
l = A("l")
k.s = a
k.y = a
i.x = c
i.v = n
c.s = l
c.y = l
j.x = c
j.v = b
a.s = l
a.y = l
b.x = k
b.v = j
n.x = l
n.v = j
l.s = a
l.y = c
assert l.y.y.s.y.txt == "l"
| 8 | 13 | 1.625 | 0.232143 | 2 | 4 | 2 | 2 | 2 | 4 | 3 | 1 | 3 | 0.375 | 4 | 0.307692 | 2 | 2 | 4 | 2.666667 | 2 | 3 | 2 | 2 |
388 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
l = A("l")
h = B("h")
g = A("g")
f = B("f")
l.w = g
h.u = f
g.w = l
f.u = h
assert l.w.w.w.w.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
l = A("l")
h = B("h")
g = A("g")
f = B("f")
l.w = g
h.u = f
g.w = l
f.u = h
assert l.w.w.w.w.txt == "l"
| 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 |
389 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
f = A("f")
g = B("g")
b = B("b")
d = A("d")
e = A("e")
l = B("l")
i = A("i")
h = B("h")
f.p = l
g.o = f
b.o = f
d.p = h
e.p = b
l.o = i
i.p = l
h.o = e
assert i.p.o.p.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
f = A("f")
g = B("g")
b = B("b")
d = A("d")
e = A("e")
l = B("l")
i = A("i")
h = B("h")
f.p = l
g.o = f
b.o = f
d.p = h
e.p = b
l.o = i
i.p = l
h.o = e
assert i.p.o.p.txt == "l"
| 8 | 8 | 1 | 0.142857 | 2 | 4 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.25 | 2 | 0.25 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
390 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
f = A("f")
b = B("b")
l = A("l")
f.z = l
f.v = b
b.s = l
l.z = f
l.v = b
assert l.z.z.v.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
f = A("f")
b = B("b")
l = A("l")
f.z = l
f.v = b
b.s = l
l.z = f
l.v = b
assert l.z.z.v.txt == "b"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 1 | 3 | 0.6 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
391 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
l = B("l")
d = B("d")
b = A("b")
e = A("e")
c = A("c")
n.t = d
l.v = d
d.v = l
b.t = d
e.t = d
c.t = d
assert d.v.v.v.txt == "
|
l"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
n = A("n")
l = B("l")
d = B("d")
b = A("b")
e = A("e")
c = A("c")
n.t = d
l.v = d
d.v = l
b.t = d
e.t = d
c.t = d
assert d.v.v.v.txt == "l"
| 6 | 6 | 1 | 0.2 | 2 | 3 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 0.333333 | 2 | 0.333333 | 2 | 2 | 2 | 2 | 1 | 3 | 3 | 1 |
392 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.p: A = None
self.txt = txt
h = A("h")
f = B("f")
c = A("c")
i = A("i")
e = A("e")
d = B("d")
h.t = d
h.v = d
f.r = c
f.p = c
c.t = d
c.v = f
i.t = f
i.v = f
e.t = d
e.v = d
d.r = c
d.p = c
assert d.p.v.p.t.p.v.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.p: A = None
self.txt = txt
h = A("h")
f = B("f")
c = A("c")
i = A("i")
e = A("e")
d = B("d")
h.t = d
h.v = d
f.r = c
f.p = c
c.t = d
c.v = f
i.t = f
i.v = f
e.t = d
e.v = d
d.r = c
d.p = c
assert d.p.v.p.t.p.v.txt == "f"
| 6 | 7 | 1.166667 | 0.233333 | 2 | 3 | 2 | 2 | 2 | 6 | 3 | 2 | 3 | 0.5 | 4 | 0.571429 | 4 | 2 | 4 | 3.2 | 3 | 3 | 1 | 2 |
393 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
g = A("g")
j = B("j")
i = A("i")
g.p = i
g.x = j
j.v = i
i.p = g
i.x = j
assert i.x.v.x.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
g = A("g")
j = B("j")
i = A("i")
g.p = i
g.x = j
j.v = i
i.p = g
i.x = j
assert i.x.v.x.txt == "j"
| 3 | 5 | 1.666667 | 0.833333 | 2 | 1.5 | 2 | 1 | 1.5 | 3 | 2 | 2 | 2 | 0.666667 | 2 | 0.4 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 |
394 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
f = A("f")
k = B("k")
b = A("b")
m = B("m")
j = A("j")
c = B("c")
n = A("n")
f.v = j
f.x = j
k.v = b
k.r = m
b.v = j
b.x = n
m.v = f
m.r = k
j.v = f
j.x = n
c.v = f
c.r = m
n.v = j
n.x = f
assert n.v.v.x.x.x.x.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
f = A("f")
k = B("k")
b = A("b")
m = B("m")
j = A("j")
c = B("c")
n = A("n")
f.v = j
f.x = j
k.v = b
k.r = m
b.v = j
b.x = n
m.v = f
m.r = k
j.v = f
j.x = n
c.v = f
c.r = m
n.v = j
n.x = f
assert n.v.v.x.x.x.x.txt == "j"
| 7 | 13 | 1.857143 | 0.309524 | 2 | 3.5 | 2 | 2 | 2 | 6 | 3 | 2 | 3 | 0.428571 | 5 | 0.384615 | 4 | 2 | 5 | 3.4 | 2 | 4 | 4 | 2 |
395 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
a = A("a")
f = B("f")
e = B("e")
j = B("j")
i = B("i")
c = A("c")
a.v = c
a.w = c
f.u = a
e.u = a
j.u = a
i.u = c
c.v = a
c.w = a
assert a.v.v.w.w.w.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
a = A("a")
f = B("f")
e = B("e")
j = B("j")
i = B("i")
c = A("c")
a.v = c
a.w = c
f.u = a
e.u = a
j.u = a
i.u = c
c.v = a
c.w = a
assert a.v.v.w.w.w.txt == "c"
| 6 | 6 | 1 | 0.2 | 2 | 3 | 2 | 1 | 1.5 | 5 | 3 | 2 | 2 | 0.333333 | 4 | 0.666667 | 4 | 2 | 4 | 2.666667 | 2 | 3 | 3 | 2 |
396 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.o: B = None
self.txt = txt
n = A("n")
d = B("d")
a = A("a")
k = B("k")
e = B("e")
j = A("j")
c = B("c")
n.u = a
n.v = e
d.t = a
d.o = k
a.u = n
a.v = d
k.t = a
k.o = d
e.t = j
e.o = d
j.u = n
j.v = e
c.t = n
c.o = k
assert k.o.o.t.v.o.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.o: B = None
self.txt = txt
n = A("n")
d = B("d")
a = A("a")
k = B("k")
e = B("e")
j = A("j")
c = B("c")
n.u = a
n.v = e
d.t = a
d.o = k
a.u = n
a.v = d
k.t = a
k.o = d
e.t = j
e.o = d
j.u = n
j.v = e
c.t = n
c.o = k
assert k.o.o.t.v.o.txt == "k"
| 7 | 14 | 2 | 0.333333 | 2 | 3.5 | 2 | 2 | 2 | 5 | 3 | 2 | 3 | 0.428571 | 4 | 0.285714 | 3 | 2 | 5 | 3.25 | 3 | 3 | 2 | 2 |
397 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
k = A("k")
h = B("h")
f = B("f")
g = A("g")
d = B("d")
b = A("b")
k.w = h
k.u = d
h.z = d
h.r = f
f.z = d
f.r = h
g.w = f
g.u = h
d.z = h
d.r = h
b.w = f
b.u = d
assert h.r.r.z.z.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
k = A("k")
h = B("h")
f = B("f")
g = A("g")
d = B("d")
b = A("b")
k.w = h
k.u = d
h.z = d
h.r = f
f.z = d
f.r = h
g.w = f
g.u = h
d.z = h
d.r = h
b.w = f
b.u = d
assert h.r.r.z.z.z.txt == "d"
| 6 | 11 | 1.833333 | 0.366667 | 2 | 3 | 2 | 2 | 2 | 5 | 3 | 2 | 3 | 0.5 | 4 | 0.363636 | 3 | 2 | 4 | 2.5 | 2 | 3 | 3 | 2 |
398 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
n = B("n")
b = B("b")
d = A("d")
f = A("f")
e = B("e")
j = B("j")
a.u = f
a.s = f
n.t = e
b.t = j
d.u = f
d.s = f
f.u = a
f.s = d
e.t = j
j.t = b
assert n.t.t.t.t.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
n = B("n")
b = B("b")
d = A("d")
f = A("f")
e = B("e")
j = B("j")
a.u = f
a.s = f
n.t = e
b.t = j
d.u = f
d.s = f
f.u = a
f.s = d
e.t = j
j.t = b
assert n.t.t.t.t.txt == "j"
| 7 | 8 | 1.142857 | 0.190476 | 2 | 3.5 | 2 | 1 | 1.5 | 4 | 2 | 1 | 4 | 0.571429 | 4 | 0.5 | 1 | 2 | 2 | 2 | 1 | 4 | 4 | 1 |
399 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: B = None
self.txt = txt
k = A("k")
f = B("f")
e = B("e")
h = A("h")
k.t = f
f.w = k
f.t = e
e.w = k
e.t = f
h.t = f
assert k.t.t.w.txt == "
|
k"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: B = None
self.txt = txt
k = A("k")
f = B("f")
e = B("e")
h = A("h")
k.t = f
f.w = k
f.t = e
e.w = k
e.t = f
h.t = f
assert k.t.t.w.txt == "k"
| 4 | 6 | 1.5 | 0.5 | 2 | 2 | 2 | 1 | 1.5 | 3 | 2 | 1 | 3 | 0.75 | 3 | 0.5 | 1 | 3 | 3 | 3 | 2 | 2 | 2 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.