Spaces:
Build error
Build error
Remove unnecessary test case and update test case results
Browse files
tests.py
CHANGED
@@ -20,11 +20,6 @@ test_cases = [
|
|
20 |
{
|
21 |
"predictions": ["1111", "1113", "1120", "1211"],
|
22 |
"references": ["1111", "1112", "1113", "1114"],
|
23 |
-
"result": {"metric_score": 0},
|
24 |
-
},
|
25 |
-
{
|
26 |
-
"predictions": [1, 1],
|
27 |
-
"references": [1, 1],
|
28 |
"result": {
|
29 |
"accuracy": 0.25,
|
30 |
"hierarchical_precision": 0.7142857142857143,
|
@@ -32,5 +27,6 @@ test_cases = [
|
|
32 |
"hierarchical_fmeasure": 0.588235294117647,
|
33 |
},
|
34 |
},
|
|
|
35 |
# {"predictions": [1, 0], "references": [1, 1], "result": {"metric_score": 0.5}},
|
36 |
]
|
|
|
20 |
{
|
21 |
"predictions": ["1111", "1113", "1120", "1211"],
|
22 |
"references": ["1111", "1112", "1113", "1114"],
|
|
|
|
|
|
|
|
|
|
|
23 |
"result": {
|
24 |
"accuracy": 0.25,
|
25 |
"hierarchical_precision": 0.7142857142857143,
|
|
|
27 |
"hierarchical_fmeasure": 0.588235294117647,
|
28 |
},
|
29 |
},
|
30 |
+
# {"predictions": [1, 1], "references": [1, 1], "result": {"metric_score": 1}},
|
31 |
# {"predictions": [1, 0], "references": [1, 1], "result": {"metric_score": 0.5}},
|
32 |
]
|