File size: 353 Bytes
dbf7be3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
test_cases = [
    {
        "predictions": [0, 0],
        "references": [1, 1],
        "result": {"metric_score": 0}
    },
    {
        "predictions": [1, 1],
        "references": [1, 1],
        "result": {"metric_score": 1}
    },
    {
        "predictions": [1, 0],
        "references": [1, 1],
        "result": {"metric_score": 0.5}
    }
]