This chapter covers the core features and capabilities of A/B Test Framework.
Follow this guide to get A/B Test Framework up and running in your environment.
# Analyze experiment results from a JSON file
python src/ab_test_framework.py analyze --results examples/sample_experiment.json
# Analyze with 99% confidence level
python src/ab_test_framework.py analyze --results examples/sample_experiment.json --confidence 0.99
# Simulate an experiment (5000 visitors, 3.2% vs 4.1% conversion)
python src/ab_test_framework.py simulate --visitors 5000 --rate-a 0.032 --rate-b 0.041
# Calculate minimum sample size
python src/ab_test_framework.py sample-size --baseline 0.05 --mde 0.10
# Save results to JSON
python src/ab_test_framework.py analyze --results data.json --output report.json{
"control": {
"name": "Original Checkout",
"visitors": 5000,
"conversions": 160
},
"treatment": {
"name": "New Checkout",
"visitors": 5000,
"conversions": 205
}
}variant,visitors,conversions
Control,5000,160
Treatment,5000,205Get the full A/B Test Framework and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.