healthcare-predictive-modeling — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited healthcare-predictive-modeling (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.
This skill builds predictive models the right way with the statistical-learning discipline that separates a model that demos well from one that holds up in production. The emphasis is on methodology (validation design, bias-variance management, regularization, calibration, leakage control) as much as on algorithms, because in healthcare a miscalibrated or leaky model is worse than none.
claim denial.
spark-healthcare-data-pipeline into a scored model.explainable-ml-healthcare) and validation(ml-model-validation-regulatory).
(group + temporal split) so no patient/future leaks across folds.
transforms inside the CV fold (pipelines, not pre-computed scalers).
boosted trees (XGBoost/LightGBM), then deep nets only if warranted.
more regularization/data; high bias → richer features/model.
nested or grouped CV (never tune on test).
class weights, scale_pos_weight); resample thoughtfully.
curve clinical decisions use the probability, not just the rank.
curve/net-benefit; report subgroup performance for fairness.
from sklearn.model_selection import StratifiedGroupKFold
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegression
from sklearn.calibration import CalibratedClassifierCV
from sklearn.metrics import roc_auc_score, average_precision_score
import xgboost as xgb, numpy as np
cv = StratifiedGroupKFold(n_splits=5) # group=member_id prevents leakage
pipe = Pipeline([("scale", StandardScaler()),
("clf", LogisticRegression(penalty="l2", C=1.0, max_iter=1000))])
aucs, aps = [], []
for tr, va in cv.split(X, y, groups):
pipe.fit(X[tr], y[tr]); p = pipe.predict_proba(X[va])[:,1]
aucs.append(roc_auc_score(y[va], p)); aps.append(average_precision_score(y[va], p))
print(f"AUROC {np.mean(aucs):.3f} AUPRC {np.mean(aps):.3f}")
booster = xgb.XGBClassifier(max_depth=4, n_estimators=400, learning_rate=0.05,
subsample=0.8, reg_lambda=1.0, scale_pos_weight=(y==0).sum()/(y==1).sum())
cal = CalibratedClassifierCV(booster, method="isotonic", cv=5).fit(X, y) # calibrated probsmodel_card.md data, intended use, metrics (AUROC/AUPRC/calibration), subgroupperformance, limitations.
cv_results.csv fold metrics, learning curves, hyperparameter search.explainable-ml-healthcare.Encodes the healthcare-specific failure modes: target leakage from post-outcome codes, patient-level (not row-level) splits, severe class imbalance, and the need for calibrated probabilities and subgroup fairness. Deep-learning frameworks (PyTorch/TensorFlow/Keras) slot in for text/image/sequence inputs; the validation discipline is identical.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.