Issue Description
The test function in test_score2.py has an incorrect name that doesn't match what it's testing.
Problem
- tests/test_score2.py:17 - Function is named
test_phenoage but it's testing the SCORE2 algorithm
Current Code
def test_phenoage(filename, expected):
# Get the actual fixture value using request.getfixturevalue
age, pred_risk, pred_risk_category = compute.cardiovascular_risk(OUT_FILEPATH / filename)
...
Expected Fix
def test_score2(filename, expected):
# Get the actual fixture value using request.getfixturevalue
age, pred_risk, pred_risk_category = compute.cardiovascular_risk(OUT_FILEPATH / filename)
...
Impact
This is a simple naming issue but should be fixed for code clarity and consistency.
Related
Issue Description
The test function in test_score2.py has an incorrect name that doesn't match what it's testing.
Problem
test_phenoagebut it's testing the SCORE2 algorithmCurrent Code
Expected Fix
Impact
This is a simple naming issue but should be fixed for code clarity and consistency.
Related