Skip to content

Add visit - #25

Merged
ryan-odea merged 8 commits into
mainfrom
add-visit
Dec 9, 2025
Merged

ryan-odea merged 8 commits into
mainfrom
add-visit

Conversation

@ryan-odea

Copy link
Copy Markdown
Collaborator

Lineage of version-wise, this comes after #24
This adds the visit option - rather than having visit_process=True, entering the visit process is inferred if visit_colname is given.

A bug was also found in the python version where censoring weights (LTFU) were not being multiplied by the base adherence weights.

@ryan-odea
ryan-odea requested a review from remlapmot December 9, 2025 13:32

@remlapmot remlapmot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work Ryan.

Possible small improvement to tests suggested.

Comment thread tests/test_coefficients.py Resolved
Comment thread tests/test_coefficients.py Resolved
Comment thread tests/test_coefficients.py Resolved
@ryan-odea

Copy link
Copy Markdown
Collaborator Author

Great work Ryan.

Possible small improvement to tests suggested.

Thanks! Looks much cleaner (and probably preforms a bit better)
Additionally, I'm not sure what version of polars the GH runners are pulling, but it seems like you need to explicitly cast the type for method quantile

@ryan-odea
ryan-odea merged commit 145e0fb into main Dec 9, 2025
5 checks passed
@ryan-odea
ryan-odea deleted the add-visit branch December 9, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants