Lifelines Survival Analysis

Lifelines Survival Analysis: Lifelines Survival Analysis: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

Lifelines Survival Analysis skill for finance analytics + 信用. Covers 3+ use cases. (batch-v1 draft, needs English review) This skill is built on open-source project tangweigang-jpg/doramagic-skills and embeds 15 anti-pattern constraints. Visit doramagic.ai/r/lifelines-survival-analysis for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-126

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

68total
53fatal
53 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

53 non-negotiable constraints

FATALdomain_rulefinance-C-001

WHENWhen validating duration inputs in survival analysis

ACTIONReject negative or zero durations with ValueError

CONSEQUENCENegative durations are mathematically invalid in survival analysis, causing incorrect hazard rate calculations and producing meaningless survival curves that misrepresent actual time-to-event distributions

FATALdomain_rulefinance-C-002

WHENWhen processing event_observed array for survival models

ACTIONCast event_observed to integer type and then to boolean

CONSEQUENCEInvalid event values (non-0/1, non-boolean) will produce undefined behavior in likelihood calculations, potentially causing silent errors in survival function estimation

FATALdomain_rulefinance-C-003

WHENWhen accepting user-provided DataFrame in fit() method

ACTIONCreate a shallow copy of the input DataFrame before extraction operations

CONSEQUENCEThe original DataFrame will be permanently modified by .pop() operations on duration/event/weights columns, corrupting user data and violating data isolation principles

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v0.1.02026-04-23·Contributors: tangweigang-jpg

v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.