Skip to content

Remove legacy lifelines Cox smoothing - #318

Merged
uriahf merged 7 commits into
mainfrom
agent/remove-legacy-lifelines
Aug 19, 2026
Merged

Remove legacy lifelines Cox smoothing#318
uriahf merged 7 commits into
mainfrom
agent/remove-legacy-lifelines

Conversation

@uriahf

@uriahf uriahf commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Clean up the secondary-Cox calibration path now that smoothstate is the active implementation.

This PR removes the old in-module lifelines/RCS implementation, routes secondary-Cox smoothing directly through src/rtichoke/calibration/_secondary_cox.py, and removes the import-time secondary-Cox monkey patch from calibration/__init__.py.

lifelines intentionally remains a dev-only dependency because tests/test_calibration_times.py still uses its Kaplan-Meier and Aalen-Johansen estimators as independent validation references. Runtime users do not install it.

The cleanup preserves the existing Aalen-Johansen fallback behavior and keeps the public calibration API unchanged.

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-19 13:11 UTC

@uriahf uriahf closed this Aug 19, 2026
@uriahf uriahf reopened this Aug 19, 2026
@uriahf
uriahf merged commit 0825315 into main Aug 19, 2026
4 checks passed
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.

1 participant