Skip to content

Commit 1a25f48

Browse files
fbrazaopencode
andcommitted
fix: rename test_phenoage to test_score2 in test_score2.py
Fixes #4 - The test function was incorrectly named test_phenoage when it should be test_score2 since it's testing the SCORE2 cardiovascular risk algorithm, not the PhenoAge algorithm. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
1 parent cb352bf commit 1a25f48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_score2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
("test__output__patient_26.json", (50.00, 6.31, "High")),
1515
],
1616
)
17-
def test_phenoage(filename, expected):
17+
def test_score2(filename, expected):
1818
# Get the actual fixture value using request.getfixturevalue
1919
age, pred_risk, pred_risk_category = compute.cardiovascular_risk(OUT_FILEPATH / filename)
2020
expected_age, expected_risk, expected_category = expected

0 commit comments

Comments
 (0)