ab-testing-healthcare — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited ab-testing-healthcare (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Did the new model, workflow, or outreach actually help or did we get lucky? This skill plans and analyzes controlled experiments with the statistical rigor to answer that, including the parts teams usually skip: a pre-registered hypothesis, an honest power analysis, the right randomization unit, and guardrail metrics so a "win" on one metric isn't a loss on safety.
clinical-text-search-elk) or modelvariants.
safety, cost). Pre-register to avoid metric-shopping.
when the intervention spills across patients within a provider, and account for intra-cluster correlation.
α/power before launch; avoid underpowered tests that can't conclude.
or a Bayesian posterior on the effect (P(better) and expected loss).
valid (mSPRT) methods so early stopping doesn't inflate false positives.
for sample-ratio mismatch (SRM) as a trust signal; control multiple testing (BH/FDR).
import numpy as np
from statsmodels.stats.power import NormalIndPower
from statsmodels.stats.proportion import proportions_ztest, proportion_effectsize
# Sample size: baseline 12% readmit, detect a 2-point absolute drop, 80% power
eff = proportion_effectsize(0.12, 0.10)
n = NormalIndPower().solve_power(effect_size=eff, alpha=0.05, power=0.80, alternative="two-sided")
print(f"n per arm ≈ {np.ceil(n):.0f}")
# Analyze
z, p = proportions_ztest([n_ctrl_event, n_trt_event], [n_ctrl, n_trt])
print(f"z={z:.2f} p={p:.4f}")# Bayesian read: posterior probability treatment beats control (Beta-Binomial)
a_c, b_c = 1+ctrl_succ, 1+ctrl_fail
a_t, b_t = 1+trt_succ, 1+trt_fail
s_c = np.random.beta(a_c, b_c, 200000); s_t = np.random.beta(a_t, b_t, 200000)
print("P(treatment > control) =", (s_t > s_c).mean())Confounds that bite healthcare experiments: novelty/seasonality, non-compliance (analyze intention-to-treat), spillover between arms, and peeking without sequential correction. A statistically significant but clinically trivial effect is not a win pre-define a meaningful effect size. Where randomization is impossible, fall back to quasi-experimental / causal-inference designs and say so.
experiment_design.md hypothesis, metrics/guardrails, unit, MDE, sample size, duration.analysis.md effect estimate, CI, p-value/posterior, SRM check, decision.Reflects healthcare realities: clustered randomization by provider/site, regulatory and ethical constraints, intention-to-treat, and safety guardrails alongside the primary metric. Directly supports controlled, statistically valid rollout of any model built with healthcare-predictive-modeling.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.