Model QA Specialist

Audits ML and statistical models through replication, calibration testing, and interpretability analysis.

2|Updated May 21, 2026
One-click install
npx skills add https://github.com/tcvdog/agency-agents-hermes --skill model-qa-specialist-tcvdog
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Model QA Specialist
Source: https://github.com/tcvdog/agency-agents-hermes/tree/main/specialized/model-qa-specialist
Command: npx skills add https://github.com/tcvdog/agency-agents-hermes --skill model-qa-specialist-tcvdog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, scikit-learn, scipy, shap, matplotlib.

What problem does it solve? Machine learning models often pass paper metrics yet fail in production due to data drift, miscalibration, or undocumented assumptions. This Skill provides an independent, evidence-based audit of models across their full lifecycle, producing severity-rated findings and audit-grade reports. ## Core Features & Use Cases - End-to-End Model Audit: Covers 10 domains from documentation and governance review through data reconstruction, feature analysis, replication, calibration, performance, fairness, and business impact. - Statistical Testing Toolkit: Includes ready-to-use Python implementations for PSI, Gini/KS discrimination metrics, Hosmer-Lemeshow calibration tests, SHAP global/local analysis, and Partial Dependence Plots. - Audit-Grade Reporting: Generates a structured QA report with severity-rated findings (High/Medium/Low/Info), quantified business impact, and remediation tracking. - Use Case: A bank's risk team needs to validate a credit scoring model before regulatory review. Use this Skill to reconstruct the modeling population, replicate training, test calibration across segments, run SHAP fairness analysis, and deliver a governance-ready QA report. ## Quick Start Audit my XGBoost credit risk model by replicating the training pipeline, testing calibration with Hosmer-Lemeshow, and producing a severity-rated QA report.

Frequently Asked Questions about Model QA Specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a machine learning model before deployment?▼

Audit a model by reviewing its methodology documentation, reconstructing the modeling population, replicating the training pipeline, and testing calibration and discrimination metrics. This Skill follows a 10-domain methodology ending in a severity-rated QA report.

How to test probability calibration with the Hosmer-Lemeshow test?▼

The Hosmer-Lemeshow test groups predictions into decile buckets and compares observed versus expected event rates using a chi-squared statistic. A p-value below 0.05 indicates significant miscalibration requiring remediation.

What PSI threshold indicates data drift in model features?▼

A Population Stability Index below 0.10 indicates no significant shift, 0.10 to 0.25 signals moderate drift needing investigation, and 0.25 or above indicates significant shift requiring action. Compute PSI per feature against a baseline period.

Does SHAP analysis work with non-tree-based models?▼

SHAP TreeExplainer works natively with XGBoost, LightGBM, and random forests. For other model types, the code falls back to KernelExplainer using a sampled background dataset, which is slower but model-agnostic.

When should a model be considered unsound in a QA audit?▼

A model is unsound when findings rated High severity exist, such as failed replication, significant miscalibration, or unstable feature contributions. Every finding must include evidence, quantified impact, and a remediation recommendation.