CodeForPhilly / CodeForPhilly/chime
["bug"] The current % acutity (Hosp, ICU, and Vent are error prone)
- 主要言語
- Python
- スター
- 210
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The current parameters are dependent but the promoted input and use don't keep that constraint.
- Hospitalization %(total infections)
- ICU %(total infections)
- Ventilated %(total infections)
One could put int a hirer Ventilated rate the ICU or Hosptial, but this is not actually possible.
Furthermore, publications report rates of ICU (Critica Care) as rate hospitalizations. And rate of ventilated patients as rate of critical care patients
### Fix
These fields should be updated to:
Hosp %(total infections)
ICU (% total hosp)
Vent (% critical care)
The code should be updated to translate those numbers into %'s of total infections.
For example
Hosp %(total infections) = 2.5
ICU (% total hosp) = 30%
Vent (% critical care) = 66%
```
ICU % Total infections = Hosp %(total infections) * ICU (% total hosp)
Vent % Total infections = ICU % Total infections * Vent (% critical care)
Where
ICU % Total infections = 0.75
Vent % Total infections = 0.495
```
### Expected behavior:
### What I got instead:
(screenshots if applicable)
コントリビューションガイド
調査の方向性
まず、Hospitalization、ICU、Ventilated の入力を受け取るモデルのエントリポイントを特定します。issue ではファイルもテストも指定されていません。これらの値が現在どのように解釈されているかを確認し、続いて ICU と Vent の割合が記載された従属率から変換され、例の計算でその制約が維持されていることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100