Reliability Workbench¶
Reliability covers three views: Kaplan-Meier & Log-Rank, parametric Life Test, and Cox PH / ALT. All fits run locally; results render through the panel's chart renderer.

Access¶
(Ctrl+Alt+Shift+M)Kaplan-Meier,(Ctrl+Alt+Shift+L)Life Test,(Ctrl+Alt+Shift+X)Cox PH / ALT.- CLI:
leap survival ...,leap lifetest ...,leap cox ...,leap alt ....
Kaplan-Meier & Log-Rank¶
For right-censored data, the Kaplan-Meier step estimator is
where \(n_i\) is the number at risk at \(t_i\) and \(d_i\) the number of events. Its Greenwood standard error is
Log-rank tests two groups via the \(\chi^2\) statistic
with matched observed/expected event counts \(O_i, E_i\).
Life test¶
Weibull, Lognormal and Exponential fits to right-censored lifetimes by maximum likelihood (Nelder-Mead / numeric simplex), with delta-method standard errors from a numeric Hessian.
Weibull:
Lognormal:
Exponential: \(\hat\lambda = d / \sum t_i\) with 95% scale intervals from \(\ln\lambda \pm 1.96/\sqrt{d}\).
AIC/BIC rank fitted distributions:
B-life quantiles (e.g. B10/B50) are reported with delta-method standard errors.
Cox PH & ALT¶
Cox proportional-hazards model with a single numeric covariate:
Fit by Newton-Raphson on the partial log-likelihood
with a numerically estimated information matrix for the standard error; a C index (concordance) is also reported.
Accelerated-life-test (Arrhenius / Inverse Power Law):
Arrhenius uses \(\ln(\text{life}) = \beta_0 + \beta_1 / T\) with Kelvin-temperature columns; Inverse Power Law uses \(\ln(\text{life}) = \beta_0 + \beta_1 \ln\,\text{stress}\). The panel also reports the acceleration factor \(AF = t_{B10}(\text{ref}) / t_{B10}(\text{use})\).
Active-table integration¶
The Data Source bar selects between the Demo Preset and active table
columns. KM view loads time/event/group columns; Life Test loads
time/event; Cox PH loads time/event/x; ALT loads lifetime/event
plus stress/temperature columns as applicable. Non-finite or too-short
columns are rejected with the panel unchanged.
GUI / CLI parity¶
Open KM with (Ctrl+Alt+Shift+M), Life Test with (Ctrl+Alt+Shift+L) or
Cox PH / ALT with (Ctrl+Alt+Shift+X). Switch views; step the survival curve,
compare parametric fits, or predict use-level B10.
leap survival data.csv --time time_hours --event event --test kaplan-meier --svg km.svg
leap survival data.csv --time time_hours --event event --group arm --test log-rank
leap lifetest data.csv --time time_hours --event event --dist weibull --ranks "10,50" --svg life.svg
leap cox data.csv --time time_hours --event event --x temperature_c,strain --ties efron --svg cox.svg
leap alt data.csv --lifetime failure_h --event failed --model Arrhenius --distribution weibull --temperature-k temperature_k --test-condition 400 --use-condition 350 --svg alt.svg
leap alt data.csv --lifetime failure_h --event failed --model InversePowerLaw --distribution lognormal --stress stress --test-condition 80 --use-condition 60