Skip to content

0.15.2 hardening: xcnt truncation warning, renewal guard, CSV engine - #208

Merged
derrynknife merged 1 commit into
masterfrom
claude/surpyval-next-steps-7uatqe
Jul 20, 2026
Merged

0.15.2 hardening: xcnt truncation warning, renewal guard, CSV engine#208
derrynknife merged 1 commit into
masterfrom
claude/surpyval-next-steps-7uatqe

Conversation

@derrynknife

Copy link
Copy Markdown
Owner

Three small fixes for the 0.15.2 patch, closing #195, #206 and #207:

Tests: warning fires exactly when it should (and not for inf-tr or uncensored rows), renewal reader rejects a real-but-wrong attribute name, all 12 loaders return non-empty frames. flake8/black/mypy clean.

Generated with Claude Code
https://claude.ai/code/session_01TRhKL2fJBiAAfNo9rihwts


Generated by Claude Code

Three small fixes for the 0.15.2 patch:

- xcnt_handler warns when right-censored observations carry a finite
  right-truncation time (#195). The combination is contradictory and
  can make truncation-adjusted likelihoods unbounded.
- RenewalModel.from_dict validates that the stored distribution name
  resolves to a genuine ParametricFitter (#206), matching the guard in
  every other reader; the ARI branch already resolved through the
  restricted intensity map.
- The bundled dataset loaders drop engine="python" (#207): all 12
  loaders parse identically with pandas' default C engine, now pinned
  by a loader test sweep.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TRhKL2fJBiAAfNo9rihwts
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