How isarojpandit/abforge works
abforge is a Python library for the A/B experiment lifecycle: plan sample size, test observed outcomes, monitor sequentially, and reduce variance with CUPED; it also provides visualizations. The package API re-exports these capabilities, while CUPED uses the hypothesis-testing functions and power-curve plotting uses power calculations. The notebook demonstrates the lifecycle but is not part of the runtime architecture. Relationships among the unsampled notebook and modules are omitted; edges reflect excerpts or README statements.
Main entry points: __init__.py Package API · cuped.py CUPED adjustment · viz.py Result plots · power.py Power analysis
Components 7
Experiment Design
- Power analysis
abforge/power.py
Statistical Analysis
- Hypothesis tests
abforge/stats.py - Sequential monitoring
abforge/sequential.py - CUPED adjustment
abforge/cuped.py
Visualization
- Result plots
abforge/viz.py
Other components
- Experiment analyst
- Package API
abforge/__init__.py
Connections 8
- Experiment analyst → Package API: uses
README.md - Package API → Power analysis: exports
abforge/__init__.py - Package API → Hypothesis tests: exports
abforge/__init__.py - Package API → Sequential monitoring: exports
abforge/__init__.py - Package API → CUPED adjustment: exports
abforge/__init__.py - Package API → Result plots: exports
abforge/__init__.py - CUPED adjustment → Hypothesis tests: runs tests
abforge/cuped.py - Result plots → Power analysis: computes curve
abforge/viz.py