ab-test-framework-ml

Provides a framework for A/B testing machine learning models in production.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill ab-test-framework-ml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-test-framework-ml
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/ab-test-framework-ml
Command: npx skills add https://github.com/Nir-Bhay/markups --skill ab-test-framework-ml

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy, statsmodels, hashlib, random, time, pymc3, arviz, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework for designing, implementing, and analyzing A/B tests specifically for machine learning models, addressing the unique challenges of ML experimentation in production.

Core Features & Use Cases

  • ML-Specific A/B Testing: Handles statistical rigor, sample size calculation, and traffic splitting for ML models.
  • Model Deployment & Monitoring: Integrates with feature stores and monitors for concept drift and performance degradation.
  • Statistical Analysis: Supports both frequentist and Bayesian analysis, including sequential testing.
  • Use Case: A data science team can use this Skill to test a new recommendation engine model against the current one, ensuring statistically significant improvements in user engagement before full deployment.

Quick Start

Use the ab-test-framework-ml skill to calculate the required sample size for an A/B test with a baseline conversion rate of 0.15 and a minimum detectable effect of 0.03.

Frequently Asked Questions about ab-test-framework-ml

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

FAQPage Schema
How do I set up A/B testing for machine learning models in production?

A/B testing for machine learning models in production requires a framework for experiment design, sample size calculation, traffic splitting, and statistical analysis to evaluate model performance before full rollout.

How do I calculate sample size for an ML A/B test with a baseline conversion rate?

To calculate sample size for an ML A/B test, you need the baseline conversion rate and the minimum detectable effect. This framework computes the required sample size using libraries like numpy and statsmodels to ensure statistical rigor.

Does this A/B testing framework support Bayesian analysis and concept drift detection?

Yes, this A/B testing framework supports Bayesian analysis using pymc3 and arviz, alongside frequentist methods. It also monitors production models for concept drift and performance degradation over time.

Can I use this framework to monitor inference latency during machine learning experimentation?

Yes, you can use this framework to monitor inference latency during machine learning experimentation. It explicitly addresses ML-specific production challenges like concept drift and inference latency alongside performance tracking.

What is the best way to compare a new recommendation engine against the current model in production?

The best way to compare a new recommendation engine against the current model is using an ML-specific A/B testing framework. It handles traffic splitting and statistical analysis to ensure improvements in metrics like user engagement are statistically significant.