23
23
< a href ="https://github.com/rljacobson/BayesTesting/watchers/ "> < img src ="https://camo.githubusercontent.com/c4a95f8295a39056927edc7eec5a9d1b341453be/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f726c6a61636f62736f6e2f426179657354657374696e672e7376673f7374796c653d736f6369616c266c6162656c3d5761746368266d61784167653d32353932303030 " alt ="GitHub watchers " data-canonical-src ="https://img.shields.io/github/watchers/rljacobson/BayesTesting.svg?style=social&label=Watch&maxAge=2592000 " style ="max-width:100%; "> </ a >
24
24
< a href ="https://github.com/rljacobson?tab=followers "> < img src ="https://camo.githubusercontent.com/c48b0d33bd59711449b85b7283e2057971c260e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f726c6a61636f62736f6e2e7376673f7374796c653d736f6369616c266c6162656c3d466f6c6c6f77266d61784167653d32353932303030 " alt ="GitHub followers " data-canonical-src ="https://img.shields.io/github/followers/rljacobson.svg?style=social&label=Follow&maxAge=2592000 " style ="max-width:100%; "> </ a >
25
25
</ p >
26
- < h1 id ="page-heading "> Comparison Between Naïve Testing and Sample Pooling for Whole Populations</ h1 >
26
+ < h1 id ="page-heading "> Comparison Between Individual Testing and Sample Pooling for Whole Populations</ h1 >
27
27
28
28
29
29
< div id ="center_content ">
@@ -37,10 +37,6 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
37
37
< input type ="number " min ="100 " max ="1000000000 " step ="10 "
38
38
value ="2500 " id ="people_count_slider "
39
39
oninput ="sliderUpdate(value, '#people_count_slider') "/>
40
- <!--div id="people_count_label" class="slider-labels">Number of
41
- People:
42
- <div id="people_count" class="slider-labels">2500</div>
43
- </div-->
44
40
</ div >
45
41
< div id ="people_dots_group " class ="column-item row-container ">
46
42
< div id ="people_dots " class ="row-item "> </ div >
@@ -87,6 +83,15 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
87
83
max ="0.2 " step ="any " value ="0.05 " oninput ="sliderUpdate(value,
88
84
'#infection_rate') "/>
89
85
</ div >
86
+
87
+ < div id ="cost_per_test_group " class ="column-item slider-labels ">
88
+ < label for ="cost_per_test_slider " id ="cost_per_test_label ">
89
+ Cost Per Test: < span id ="cost_per_test "> </ span >
90
+ </ label >
91
+ < input type ="number " min ="1 " max ="200 " step ="1 "
92
+ value ="100 " id ="cost_per_test_slider "
93
+ oninput ="sliderUpdate(value, '#cost_per_test_slider') "/>
94
+ </ div >
90
95
</ div >
91
96
92
97
< div id ="naive-testing " class ="row-item column-container ">
@@ -96,11 +101,11 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
96
101
< div class ="data-metric-def ">
97
102
< dl >
98
103
< dt > Total Cost</ dt >
99
- < dd > at $22 per test</ dd >
104
+ < dd > at < span id =" naive_cost_per_test_out " > </ span > per test</ dd >
100
105
</ dl >
101
106
</ div >
102
107
< div class ="answer-equals "> $$=$$</ div >
103
- < div id ="total_cost " class ="answer-value "> </ div >
108
+ < div id ="naive_total_cost " class ="answer-value "> </ div >
104
109
</ div >
105
110
< div class ="data-metric ">
106
111
< div class ="data-metric-def ">
@@ -110,7 +115,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
110
115
</ dl >
111
116
</ div >
112
117
< div class ="answer-equals "> $$=$$</ div >
113
- < div id ="tests_used " class ="answer-value "> </ div >
118
+ < div id ="naive_tests_used " class ="answer-value "> </ div >
114
119
</ div >
115
120
< hr class ="row-line ">
116
121
< div class ="data-metric ">
@@ -121,7 +126,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
121
126
</ dl >
122
127
</ div >
123
128
< div class ="answer-equals "> $$=$$</ div >
124
- < div id ="true_positive_count " class ="answer-value "> </ div >
129
+ < div id ="naive_true_positive_count " class ="answer-value "> </ div >
125
130
</ div >
126
131
< div class ="data-metric ">
127
132
< div class ="data-metric-def ">
@@ -131,7 +136,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
131
136
</ dl >
132
137
</ div >
133
138
< div class ="answer-equals "> $$=$$</ div >
134
- < div id ="true_negative_count " class ="answer-value "> </ div >
139
+ < div id ="naive_true_negative_count " class ="answer-value "> </ div >
135
140
</ div >
136
141
< div class ="data-metric ">
137
142
< div class ="data-metric-def ">
@@ -146,7 +151,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
146
151
</ dl >
147
152
</ div >
148
153
< div class ="answer-equals "> $$=$$</ div >
149
- < div id ="false_positive_count " class ="answer-value "> </ div >
154
+ < div id ="naive_false_positive_count " class ="answer-value "> </ div >
150
155
</ div >
151
156
< div class ="data-metric ">
152
157
< div class ="data-metric-def ">
@@ -157,7 +162,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
157
162
</ dl >
158
163
</ div >
159
164
< div class ="answer-equals "> $$=$$</ div >
160
- < div id ="false_negative_count " class ="answer-value "> </ div >
165
+ < div id ="naive_false_negative_count " class ="answer-value "> </ div >
161
166
</ div >
162
167
163
168
< hr class ="row-line ">
@@ -182,7 +187,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
182
187
</ dl >
183
188
</ div >
184
189
< div class ="answer-equals "> $$=$$</ div >
185
- < div id ="sensitivity " class ="answer-value "> </ div >
190
+ < div id ="naive_sensitivity " class ="answer-value "> </ div >
186
191
</ div >
187
192
< div class ="data-metric ">
188
193
< div class ="data-metric-def ">
@@ -202,32 +207,32 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
202
207
</ dl >
203
208
</ div >
204
209
< div class ="answer-equals "> $$=$$</ div >
205
- < div id ="specificity " class ="answer-value "> </ div >
210
+ < div id ="naive_specificity " class ="answer-value "> </ div >
206
211
</ div >
207
212
208
213
< div class ="slider-group column-item ">
209
214
< label class ="slider-labels " for ="true_positive_rate_slider ">
210
215
Sensitivity (True Positive Rate): </ label >
211
- < output for ="true_positive_rate_slider " id ="true_positive_rate "
212
- class ="slider-labels "> 41 .00%
216
+ < output for ="true_positive_rate_slider " id ="naive_true_positive_rate "
217
+ class ="slider-labels "> 85 .00%
213
218
</ output >
214
219
< br >
215
220
< input type ="range "
216
221
id ="true_positive_rate_slider " class ="slider-widget " min ="0.0 "
217
- max ="1.0 " step ="any " value ="0.41 " oninput ="sliderUpdate(value,
222
+ max ="1.0 " step ="any " value ="0.85 " oninput ="sliderUpdate(value,
218
223
'#true_positive_rate') "/> < br >
219
224
220
225
< label class ="slider-labels " for ="true_negative_rate_slider ">
221
226
Specificity (True Negative Rate):
222
227
</ label >
223
- < output for ="true_negative_rate_slider " id ="true_negative_rate "
228
+ < output for ="true_negative_rate_slider " id ="naive_true_negative_rate "
224
229
class ="slider-labels ">
225
- 94 .00%
230
+ 100 .00%
226
231
</ output >
227
232
< br >
228
233
< input type ="range "
229
234
id ="true_negative_rate_slider " class ="slider-widget " min ="0.30 "
230
- max ="1.0 " step ="any " value ="0.94 "
235
+ max ="1.0 " step ="any " value ="1.0 "
231
236
oninput ="sliderUpdate(value, '#true_negative_rate') "/> < br >
232
237
</ div >
233
238
@@ -240,7 +245,7 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
240
245
< div class ="data-metric-def ">
241
246
< dl >
242
247
< dt > Total Cost</ dt >
243
- < dd > at $22 per test</ dd >
248
+ < dd > at < span id =" pooling_cost_per_test_out " > </ span > per test</ dd >
244
249
</ dl >
245
250
</ div >
246
251
< div class ="answer-equals "> $$=$$</ div >
@@ -355,12 +360,14 @@ <h1 id="page-heading">Comparison Between Naïve Testing and Sample Pooling for W
355
360
< hr id ="pane-separator ">
356
361
357
362
< div id ="bottom_pane " class ="">
358
- <!-- Tab 1 -->
359
- < input type ="radio " name ="tabset " id ="naive-tab " aria-controls ="Individual Testing " checked >
360
- < label for ="naive-tab "> Individual Testing</ label >
361
- <!-- Tab 2 -->
362
- < input type ="radio " name ="tabset " id ="pooling-tab " aria-controls ="Sample Pooling ">
363
- < label for ="pooling-tab "> Sample Pooling</ label >
363
+ < div class ="tabset ">
364
+ <!-- Tab 1 -->
365
+ < input type ="radio " name ="tabset " id ="naive-tab " aria-controls ="Individual Testing " value ="naive " checked >
366
+ < label for ="naive-tab "> Individual Testing</ label >
367
+ <!-- Tab 2 -->
368
+ < input type ="radio " name ="tabset " id ="pooling-tab " aria-controls ="Sample Pooling " value ="sample_pooling ">
369
+ < label for ="pooling-tab "> Sample Pooling</ label >
370
+ </ div >
364
371
365
372
< div class ="data-metric ">
366
373
< div class ="data-metric-def ">
0 commit comments