PyCVDRisk
Fast, vectorised implementations of 49 published risk scores from the Americas, Europe, the Middle East and the Asia-Pacific region, each reproduced from its original publication and compared with every reference available.

49
published risk scores
92
models within them
23
scores verified against the developers' software, or an independent package and the developers' material, in whole
129
comparisons with references (72 executable, 57 fixed)
A risk score is only as trustworthy as its transcription. Every score passes the first two stages, and the third wherever an independent implementation exists. Each ships a verification report that records what was compared and what was found.
Stage 1
Every coefficient, baseline survival and point table is taken from the original publication or its supplement, and the code cites the table or line it came from.
Stage 2
Each implementation reproduces the worked examples, printed tables and risk charts its paper provides. Errors found in the publications are documented in the verification report rather than silently corrected.
Stage 3
Where an independent implementation exists (the authors' own code or spreadsheet, official charts, or an established R package), outputs are compared directly, across thousands of simulated patients wherever the reference can be run.
On each score below, Reference-verified means the developers' own code or calculator agrees for the whole score, or an independent package and the developers' charts, tables or rules both agree; Paper-checked means the score rests on the developers' published material alone, or on a reference that covers part of it.
49 scores, grouped by clinical setting. Each page gives the source publication, the verification evidence and a runnable example.
EuropeReference-verified2021 BC
10-year fatal and non-fatal CVD, ages 40-69, four ESC risk regions
EuropeReference-verified2021 BC
10-year fatal and non-fatal CVD, ages 70-89, adjusted for competing risk
Asia-PacificReference-verified2024 BC
10-year fatal and non-fatal CVD, ages 40-69, four Asia-Pacific risk regions
EuropePaper-checked2003 C
10-year fatal CVD, total-cholesterol model, high- and low-risk regions
Global, 182 countriesReference-verified2015-2017 A
10-year CVD risk recalibrated to each country and calendar year
Global, 21 regions / 190 countriesPaper-checked2019 BC
10-year fatal and non-fatal CVD, laboratory and non-laboratory versions
United StatesReference-verified2024 ABC
10- and 30-year total CVD, ASCVD, heart failure, CHD and stroke; base, UACR, HbA1c, SDI and full models
United StatesReference-verified2013 BC
10-year hard ASCVD, ages 40-79, white and African American
Framingham, MassachusettsReference-verified2008 ABC
10-year general CVD, laboratory and BMI versions
United States (Boston)Paper-checked2007-2008 AC
10-year CVD risk with hsCRP and parental history
United KingdomReference-verified2017 AB
10-year CVD risk with ethnicity, deprivation and clinical conditions
United KingdomReference-verified2014 AB
10-year CVD risk with ethnicity, deprivation and clinical conditions
FinlandReference-verified2020 AC
10-year CHD, stroke and combined risk, ages 30-74
United Arab EmiratesPaper-checked2024 C
10-year ASCVD, hard CAD and stroke, ages 18+
GermanyPaper-checked2007 C
10-year major coronary event category (men and women 20-75) and ischaemic stroke/TIA risk (35-65)
SpainPaper-checked2003 C
10-year coronary events, ages 35-74
New ZealandPaper-checked2018-2022 AC
5-year CVD (primary prevention, BMI, policy, type 2 diabetes), major bleeding, after CVD and after ACS
EuropePaper-checked2024 C
Lifetime risk to 80, CVD-free life expectancy and treatment benefit
ScotlandReference-verified2007-2025 AC
10-year CVD risk with social deprivation (SIMD) and family history, ages 30-74
ItalyReference-verified2007 AC
10-year first major CVD event, ages 35-69
ChinaPaper-checked2016 AC
10-year first ASCVD event (MI, CHD death, stroke) with waist, region and urbanisation
JapanPaper-checked2014 BC
10-year CHD points with CKD, total- or LDL-cholesterol sheet
JapanPaper-checked2020 BC
10-year stroke or CHD points, with and without ECG
JapanPaper-checked2022 ABC
10-year first ASCVD event (CHD or atherothrombotic infarction), ages 40-84; equation and point score
JapanPaper-checked2021 BC
10-year death from CHD, stroke or CVD, ages 40-79
JapanPaper-checked2019 BC
5- and 10-year stroke, AMI, stroke + AMI and CVD death, with and without AF; points (risk via jals_risk)
Global, 14 WHO subregionsReference-verified2007 BC
10-year fatal and non-fatal CVD risk band, with and without cholesterol
United States (multi-ethnic)Paper-checked2015 C
10-year coronary heart disease, ages 45-85, four ethnic groups, optional CAC score
United StatesReference-verified2018 AC
10-year ASCVD in black and white adults, ages 40-79, re-estimated in six cohorts
Latin America and the Caribbean, 31 countriesReference-verified2022 AC
10-year fatal and non-fatal CVD, ages 40-74, laboratory and office versions
ChinaPaper-checked2023 C
ASCVD risk level (low to ultra-high) from the guideline flowchart, with lifetime-risk step
SingaporePaper-checked2023 C
10-year CHD in Chinese, Malay and Indian adults, ages 20-79; equation and point score
EuropeReference-verified2023 ABC
10-year CVD risk in type 2 diabetes, ages 40-69
EuropePaper-checked2022 ABC
10-year CVD risk with eGFR (and optionally albuminuria) add-ons
InternationalPaper-checked2018 A
10-year recurrent CVD risk and CVD-free life expectancy in established CVD
Europe (derived in Sweden)Reference-verified2023 AC
10-year and lifetime CVD risk and CVD-free life expectancy in type 2 diabetes
EuropeReference-verified2010 BC
Stroke risk points in atrial fibrillation (0-9)
United StatesReference-verified2001 BC
Stroke risk points in atrial fibrillation (0-6)
EuropeReference-verified2010 BC
Major bleeding risk points on anticoagulation (0-9)
Europe and five other world regionsPaper-checked2022 A
10-year recurrent MI, stroke or vascular death, ages 40-80
United States (California)Paper-checked2013 C
Thromboembolism in atrial fibrillation off warfarin, points 0-15
United States (California)Paper-checked2011 C
Major haemorrhage on warfarin, points 0-10
United StatesPaper-checked2015 C
Major bleeding on oral anticoagulation, points 0-7
NetherlandsReference-verified2008 BC
Major adverse cardiac events in chest pain (0-10)
United States (Boston)Reference-verified2000 ABC
14-day adverse events in UA/NSTEMI (0-7)
Australia & New ZealandReference-verified2014 BC
Low-risk chest pain identification in the emergency department
International, 14 countriesPaper-checked2003-2004 AC
In-hospital (Granger 2003) and 6-month post-discharge (Eagle 2004) mortality points in ACS
InternationalPaper-checked2014 AC
1- and 3-year death, and death or MI, after ACS admission; with substitutions for creatinine and Killip class
United StatesPaper-checked2009 C
In-hospital major bleeding in non-ST-elevation myocardial infarction, points 1-100
pip install cvd-risk
from cvd_risk import score2
score2(age=[50, 62], sex=["male", "female"], smoker=[1, 0], sbp=[140, 130],
total_chol=[5.5, 6.1], hdl_chol=[1.3, 1.6], diabetes=0, region="low")
# array([0.0591, 0.0379]) 10-year risk as a fractionAll scores share one API: the same argument names and units (cholesterol in mmol/L, blood pressure in mmHg), any argument may be an array, risks are returned as fractions in [0, 1], and invalid inputs return NaN rather than being silently clamped.