Method
How we build every tool
Published score, our own plain wording, code checked against the source, limits stated, dated review.
Our rules
- A published score. Each tool uses a method from a peer-reviewed paper or a national health body, named on the page.
- Tested against the source. Our calculations are checked by automated tests against the worked examples in the paper or a reference implementation, before launch and on every change.
- Limits stated plainly. Who the score was validated for, what it cannot tell you, and when to talk to a doctor.
- Our own words. We write questions and explanations ourselves and do not copy questionnaires whose wording is owned by someone else.
- Private by design. All calculations run in your browser. See Privacy.
Tool by tool
| Tool | Method | How we test it |
|---|---|---|
| Heart risk (PREVENT) | AHA PREVENT base model, total CVD, 10 and 30 year (Khan 2024). Coefficients copied from the preventr R package 0.12.1 (MIT licence), which implements the published supplement tables (preventr). | Matches preventr's own test cases to 3 decimals: a 50-year-old woman (14.7% at 10 years, 53.0% at 30 years) and man (16.3%, 51.4%) with total cholesterol 200, HDL 45, systolic 160 on treatment, diabetes, non-smoker, eGFR 90. |
| eGFR helper | CKD-EPI 2021, race-free (Inker 2021) | Matches preventr's test cases: creatinine 1.5 mg/dL, woman, 43 gives 44; 88 µmol/L, man, 43 gives 96. |
| Diabetes risk | Bang 2009 points and cut point of 5 (Bang 2009), plus the ADA risk test's gestational diabetes point (ADA). Questions in our own words. | Every age and BMI band edge, and full example cases scored by hand from the published table. |
| Sleep apnea (STOP-Bang) | Chung 2008 and 2016 (Chung 2008) (Chung 2016). The interactive version is off until we hold a licence from University Health Network (stopbang.ca). | Score bands 0 to 2, 3 to 4, 5 to 8 and the 2016 rule for the middle band. |
| FIB-4 | Sterling 2006 formula (Sterling 2006); cutoffs 1.30 and 2.67 (Shah 2009); 2.0 low cutoff at 65+ (McPherson 2017). | Hand-checked arithmetic examples and every cutoff edge. |
| Stroke | CDC risk factor list (CDC) (a checklist, not a score); CHA2DS2-VASc (Lip 2010) with 2023 guideline zones (ACC/AHA 2023). | Point values, age bands and the maximum of 9. |
All uncovermyrisk.com tools are plain JavaScript. The test suite runs with Node's built-in test runner. Papers that publish a formula without numeric patient examples are tested with hand-worked arithmetic, and we say so in the test file.
Review dates
Every page shows when it was last reviewed. We re-check sources when a guideline or score is updated, for example a new USPSTF recommendation or a correction to a paper, and change the date when we do.
Sources
- Khan SS, Matsushita K, Sang Y, et al. Development and Validation of the American Heart Association's PREVENT Equations. Circulation. 2024;149(6):430-449. doi.org/10.1161/CIRCULATIONAHA.123.067626
- Mayer M. preventr: An Implementation of the PREVENT and Pooled Cohort Equations. R package version 0.12.1, CRAN, 2026 (MIT licence). Source of the coefficient tables we use. cran.r-project.org/package=preventr
- Inker LA, Eneanya ND, Coresh J, et al. New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race. N Engl J Med. 2021;385:1737-1749. doi.org/10.1056/NEJMoa2102953
- Bang H, Edwards AM, Bomback AS, et al. Development and validation of a patient self-assessment score for diabetes risk. Ann Intern Med. 2009;151(11):775-783. doi.org/10.7326/0003-4819-151-11-200912010-00005
- American Diabetes Association. Type 2 Diabetes Risk Test. diabetes.org/diabetes-risk-test
- Chung F, Yegneswaran B, Liao P, et al. STOP questionnaire: a tool to screen patients for obstructive sleep apnea. Anesthesiology. 2008;108(5):812-821. doi.org/10.1097/ALN.0b013e31816d83e4
- Chung F, Abdullah HR, Liao P. STOP-Bang Questionnaire: A Practical Approach to Screen for Obstructive Sleep Apnea. Chest. 2016;149(3):631-638. doi.org/10.1378/chest.15-0903
- University Health Network. STOP-Bang Questionnaire (official site and licensing). www.stopbang.ca/
- Sterling RK, Lissen E, Clumeck N, et al. Development of a simple noninvasive index to predict significant fibrosis in patients with HIV/HCV coinfection. Hepatology. 2006;43(6):1317-1325. doi.org/10.1002/hep.21178
- Shah AG, Lydecker A, Murray K, et al. Comparison of noninvasive markers of fibrosis in patients with nonalcoholic fatty liver disease. Clin Gastroenterol Hepatol. 2009;7(10):1104-1112. doi.org/10.1016/j.cgh.2009.05.033
- McPherson S, Hardy T, Dufour JF, et al. Age as a Confounding Factor for the Accurate Non-Invasive Diagnosis of Advanced NAFLD Fibrosis. Am J Gastroenterol. 2017;112(5):740-751. doi.org/10.1038/ajg.2016.453
- Lip GY, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ. Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach. Chest. 2010;137(2):263-272. doi.org/10.1378/chest.09-1584
- Joglar JA, Chung MK, et al. 2023 ACC/AHA/ACCP/HRS Guideline for the Diagnosis and Management of Atrial Fibrillation. J Am Coll Cardiol. 2024;83(1):109-279. doi.org/10.1016/j.jacc.2023.08.017
- Centers for Disease Control and Prevention. Stroke Risk Factors. www.cdc.gov/stroke/risk-factors/index.html
Written and maintained by the uncovermyrisk.com editorial team. We do not have a medical reviewer; every claim links to its primary source above. Last reviewed: 2026-10-25. Spotted an error? See About.