-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.py
More file actions
92 lines (81 loc) · 4.67 KB
/
tests.py
File metadata and controls
92 lines (81 loc) · 4.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
from oracle import (
oracle_1,
oracle_2,
oracle_3,
oracle_2_atribs_as_nodes,
oracle_3_pos_as_nodes,
oracle_4,
accuracy_of_representation_with_oracle,
)
# Test 1
print("Test 1 with oracle 1")
accuracy_of_representation_with_oracle("1", oracle_1)
accuracy_of_representation_with_oracle("2", oracle_1)
accuracy_of_representation_with_oracle("3", oracle_1)
accuracy_of_representation_with_oracle("4", oracle_1)
accuracy_of_representation_with_oracle("5", oracle_1)
accuracy_of_representation_with_oracle("6", oracle_1)
accuracy_of_representation_with_oracle("7", oracle_1)
accuracy_of_representation_with_oracle("8", oracle_1)
accuracy_of_representation_with_oracle("1_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("2_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("3_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("4_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("5_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("6_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("7_attribs-as-nodes", oracle_1)
accuracy_of_representation_with_oracle("8_attribs-as-nodes", oracle_1)
# Test 2
print("Test 2 with oracle 2")
accuracy_of_representation_with_oracle("1", oracle_2)
accuracy_of_representation_with_oracle("2", oracle_2)
accuracy_of_representation_with_oracle("3", oracle_2)
accuracy_of_representation_with_oracle("4", oracle_2)
accuracy_of_representation_with_oracle("5", oracle_2)
accuracy_of_representation_with_oracle("6", oracle_2)
accuracy_of_representation_with_oracle("7", oracle_2)
accuracy_of_representation_with_oracle("8", oracle_2)
accuracy_of_representation_with_oracle("1_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("2_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("3_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("4_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("5_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("6_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("7_attribs-as-nodes", oracle_2_atribs_as_nodes)
accuracy_of_representation_with_oracle("8_attribs-as-nodes", oracle_2_atribs_as_nodes)
# Test 3
print("Test 3 with oracle 3")
accuracy_of_representation_with_oracle("1_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("2_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("3_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("4_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("5_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("6_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("7_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("8_attribs-as-nodes", oracle_3)
accuracy_of_representation_with_oracle("1_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("2_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("3_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("4_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("5_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("6_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("7_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
accuracy_of_representation_with_oracle("8_attribs-pos-as-nodes", oracle_3_pos_as_nodes)
# Test 4
print("Test 4 with oracle 4")
accuracy_of_representation_with_oracle("1", oracle_4)
accuracy_of_representation_with_oracle("2", oracle_4)
accuracy_of_representation_with_oracle("3", oracle_4)
accuracy_of_representation_with_oracle("4", oracle_4)
accuracy_of_representation_with_oracle("5", oracle_4)
accuracy_of_representation_with_oracle("6", oracle_4)
accuracy_of_representation_with_oracle("7", oracle_4)
accuracy_of_representation_with_oracle("8", oracle_4)
accuracy_of_representation_with_oracle("1_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("2_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("3_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("4_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("5_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("6_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("7_attribs-pos-as-nodes", oracle_4)
accuracy_of_representation_with_oracle("8_attribs-pos-as-nodes", oracle_4)