Published November 6, 2026 | Version 1.0.0

Analysis code for "Same grade, different risk: a confident-learning audit of WHO COVID-19 severity grading at six Ugandan hospitals"

  • 1. ROR icon Uganda Virus Research Institute
  • 2. ROR icon Busitema University

Description

Python code for the paper "Same grade, different risk: a confident-learning audit of WHO COVID-19 severity grading at six Ugandan hospitals" (Wayesu RR, Nantale R; submitted to PLOS Global Public Health).

The code audits the WHO COVID-19 severity grade recorded at hospital admission against each patient's recorded objective findings, using the WHO rule and confident learning (Northcutt, Jiang and Chuang, JAIR 2021). It then estimates the consequences for in-hospital mortality, care received, mortality-risk models and hospital benchmarking. It contains the data-cleaning script, the shared cohort modules and the nine analysis scripts that produce every number, table and figure in the paper.

No patient data are included. The data contain potentially identifying patient information and are available on request from Ritah Nantale (ritahclaire24@gmail.com), subject to approval by the Mengo Hospital Research and Ethics Committee, for researchers who meet the criteria for access to confidential data. With the data in data/raw/, running "bash run_analysis.sh" reproduces all results.

Files

severity_grading_audit_code_v1.0.0.zip

Files (75.6 kB)

Name Size
md5:d0f3e763c35ec9cb3f8d968b1badeed9
75.6 kB Preview Download

Additional details

Software

Programming language
Python