test_cases = [ { "predictions": [[0.1, 0.1], [1, 0.1]], "references": [[0.1, 0.1], [0.9, 0.1]], "result": 1.0 }, { "predictions": [[0, 1], [0, 0]], "references": [[0, 0], [-1, -1]], "result": 0.2 } ]