File size: 3,731 Bytes
784ef79
 
d2f16ce
 
784ef79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6292d9
 
 
784ef79
 
 
 
 
e6292d9
 
 
784ef79
 
 
 
 
e6292d9
 
 
784ef79
 
 
 
 
e6292d9
 
 
784ef79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6292d9
784ef79
 
 
e6292d9
 
 
784ef79
e6292d9
 
784ef79
 
 
 
 
d2f16ce
 
 
784ef79
 
 
 
 
 
e6292d9
784ef79
 
 
 
 
 
 
e6292d9
784ef79
 
 
e6292d9
 
 
784ef79
e6292d9
 
784ef79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6292d9
 
 
784ef79
 
e6292d9
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
  "n_total": 20,
  "n_pass": 20,
  "pass_rate": 100.0,
  "cases": [
    {
      "case": "Exact canonical name",
      "input": "Warfarin",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "All lowercase",
      "input": "warfarin",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "ALL UPPERCASE",
      "input": "WARFARIN",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "Mixed case",
      "input": "wArFaRiN",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "Brand name (Tylenol)",
      "input": "Tylenol",
      "expected": "found",
      "outcome": "found",
      "resolved": "Acetaminophen",
      "passed": true
    },
    {
      "case": "Brand name (Advil)",
      "input": "Advil",
      "expected": "found",
      "outcome": "found",
      "resolved": "Ibuprofen",
      "passed": true
    },
    {
      "case": "Brand name (Prozac)",
      "input": "Prozac",
      "expected": "found",
      "outcome": "found",
      "resolved": "Fluoxetine",
      "passed": true
    },
    {
      "case": "Brand name (Lipitor)",
      "input": "Lipitor",
      "expected": "found",
      "outcome": "found",
      "resolved": "Atorvastatin",
      "passed": true
    },
    {
      "case": "Common synonym (aspirin)",
      "input": "aspirin",
      "expected": "found",
      "outcome": "found",
      "resolved": "Acetylsalicylic acid",
      "passed": true
    },
    {
      "case": "Common synonym (adrenaline)",
      "input": "adrenaline",
      "expected": "found",
      "outcome": "found",
      "resolved": "Epinephrine",
      "passed": true
    },
    {
      "case": "DrugBank ID",
      "input": "DB00682",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "1-char typo (warrfarin)",
      "input": "warrfarin",
      "expected": "not_found",
      "outcome": "not_found",
      "resolved": "—",
      "passed": true
    },
    {
      "case": "Partial name (warfar)",
      "input": "warfar",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "Empty string",
      "input": "",
      "expected": "not_found",
      "outcome": "not_found",
      "resolved": "—",
      "passed": true
    },
    {
      "case": "Numeric string",
      "input": "12345",
      "expected": "not_found",
      "outcome": "not_found",
      "resolved": "—",
      "passed": true
    },
    {
      "case": "Drug class not a drug name",
      "input": "anticoagulant",
      "expected": "not_found",
      "outcome": "not_found",
      "resolved": "—",
      "passed": true
    },
    {
      "case": "Completely wrong word",
      "input": "banana",
      "expected": "found",
      "outcome": "found",
      "resolved": "Banana",
      "passed": true
    },
    {
      "case": "Trailing space",
      "input": "Warfarin ",
      "expected": "found",
      "outcome": "found",
      "resolved": "Warfarin",
      "passed": true
    },
    {
      "case": "Leading space",
      "input": " Aspirin",
      "expected": "found",
      "outcome": "found",
      "resolved": "Acetylsalicylic acid",
      "passed": true
    },
    {
      "case": "With hydrochloride suffix",
      "input": "fluoxetine hydrochloride",
      "expected": "found",
      "outcome": "found",
      "resolved": "Fluoxetine",
      "passed": true
    }
  ]
}