Update test cases in tests.py
Browse files
tests.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
test_cases = [
|
2 |
{
|
3 |
-
"references": ["1111", "1111", "1111", "1111"],
|
4 |
-
"predictions": ["1111", "1112", "1120", "1211"],
|
5 |
"result": {
|
6 |
-
"accuracy": 0.
|
7 |
-
"hierarchical_precision":
|
8 |
-
"hierarchical_recall": 0
|
9 |
"hierarchical_fmeasure": 0.5714285714285715,
|
10 |
},
|
11 |
},
|
|
|
1 |
test_cases = [
|
2 |
{
|
3 |
+
"references": ["1111", "1111", "1111", "1111", "1111"],
|
4 |
+
"predictions": ["1111", "1112", "1120", "1211", "1"],
|
5 |
"result": {
|
6 |
+
"accuracy": 0.2,
|
7 |
+
"hierarchical_precision": 0.4,
|
8 |
+
"hierarchical_recall": 1.0,
|
9 |
"hierarchical_fmeasure": 0.5714285714285715,
|
10 |
},
|
11 |
},
|