Reporting Derived Metrics

Compute statistics, scores, and flags from samples that may be too small to support them — undefined dispersion returned as 0.0 and tripping a minimum threshold, sentinel choice (None vs 0 vs NaN), threshold blocks gated on "was this measured", reports that narrate findings from absent data, nullability as a public API change, `is None` vs truthiness, and broad excepts that turn a metric bug into a normal-shaped result. Use when writing or reviewing a scoring/analysis pipeline, a z-score or outlier check, a quality or anomaly flag, a metrics rollup, or any function that reduces a list of observations to one number a threshold reads.

wdm0006 Updated

File contents

wdm0006/python-skills/tree/main/skills/common/derived-metrics commit 8ace6f6243

Frequently asked questions

npx skillmds@latest add wdm0006/reporting-derived-metrics