File size: 1,908 Bytes
64ec34e
 
361b7e8
 
 
64ec34e
 
361b7e8
 
 
64ec34e
 
361b7e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
test_cases = [
    {
        "predictions": ["M530x538S37602508x462S15a11493x494S20e00488x510S22f03469x517"],
        "references": ["M519x534S37900497x466S3770b497x485S15a51491x501S22f03481x513"],
        "result": {"score": 0.5509574768254414},
    },
    {
        "predictions": ["M530x538S37602508x462S15a11493x494S20e00488x510S22f03469x517"],
        "references": ["M530x538S22f03469x517S37602508x462S20e00488x510S15a11493x494"],
        "result": {"score": 1.0},
    },
    {
        "predictions": ["M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517"],
        "references": ["M530x538S17600508x462S12a11493x494S20e00488x510S22f13469x517"],
        "result": {"score": 0.8326259781509948},
    },
    {
        "predictions": ["M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517"],
        "references": [
            "M530x538S17600508x462S12a11493x494S20e00488x510S22f13469x517",
            "M530x538S17600508x462"
        ],
        "result": {"score": 0.8326259781509948},
    },
    {
        "predictions": [
            "M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517 "
            "M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517"
        ],
        "references": ["M530x538S17600508x462S12a11493x494S20e00488x510S22f13469x517"],
        "result": {"score": 0.4163129890754974},
    },
    {
        "predictions": [
            "M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517 "
            "M530x538S17600508x462S12a11493x494S20e00488x510S22f13469x517"
        ],
        "references": [
            "M530x538S17600508x462S12a11493x494S20e00488x510S22f13469x517 "
            "M530x538S17600508x462S15a11493x494S20e00488x510S22f03469x517"
        ],
        "result": {"score": 1.0},
    },
    {
        "predictions": ["M<s><s>M<s>p483"],
        "references": ["M<s><s>M<s>p483"],
        "result": {"score": 0.0},
    },
]