pystra.reporting.reliability_row#

reliability_row(result, *, probability_name='failure_probability')[source]#

Return probabilities and explicit analysis status for a table row.

Parameters:
  • result (Any) – Records retain their method, status and message. For an analytic callback, a probability, (pf, beta) pair or mapping with pf and/or beta is also accepted; without status it denotes a completed evaluation. Failed records retain their diagnostics, with NaN table estimates so downstream calculations cannot reuse an untrusted value.

  • probability_name (str) – Column name; decision tables use pf.

Returns:

Probability, beta, converged, status, message and method. Probability and beta are dimensionless, for the input event and reference period. No reference-period conversion or independence assumption is made.

Return type:

dict