danieldux commited on
Commit
377a0b6
1 Parent(s): f8859ea

Update test cases in tests.py

Browse files
Files changed (1) hide show
  1. tests.py +5 -5
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.25,
7
- "hierarchical_precision": 1.0,
8
- "hierarchical_recall": 0.4,
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
  },