danieldux commited on
Commit
db5e7a3
1 Parent(s): 095925d

Update test case references and predictions to use string values

Browse files
Files changed (1) hide show
  1. tests.py +2 -2
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,