Update test case references and predictions to use string values
Browse files
tests.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
test_cases = [
|
2 |
{
|
3 |
-
"references": [1111, 1111, 1111, 1111],
|
4 |
-
"predictions": [1111, 1112, 1120, 1211],
|
5 |
"result": {
|
6 |
"accuracy": 0.25,
|
7 |
"hierarchical_precision": 1.0,
|
|
|
1 |
test_cases = [
|
2 |
{
|
3 |
+
"references": ["1111", "1111", "1111", "1111"],
|
4 |
+
"predictions": ["1111", "1112", "1120", "1211"],
|
5 |
"result": {
|
6 |
"accuracy": 0.25,
|
7 |
"hierarchical_precision": 1.0,
|