How sansk552/upworthy-headline-ab-testing works
This repository is an analysis project for finding how headline features relate to click-through rate in Upworthy A/B tests. The documented workflow validates the archive, identifies and excludes a period with randomization problems, builds clean test/package data, then analyzes headline features with SQL summaries and Python statistical analysis. The graph follows the README’s numbered stages and capabilities; source excerpts were not provided, so implementation-level calls and data transfers beyond those documented are not asserted.
Main entry points: sql12_create_packages_clean.sql Clean package creation · upworthy_ab_testing.ipynb Feature engineering · sql1_row_count.sql Initial data checks · sql6_test_size.sql Test structure checks
Components 17
SQL data quality
- Initial data checks
sql/sql1_row_count.sql - Test structure checks
sql/sql6_test_size.sql - Randomization check
sql/sql9_randomization_check.sql - Valid test creation
sql/sql11_create_valid_tests.sql - Clean package creation
sql/sql12_create_packages_clean.sql
SQL analysis
- Clean data summary
sql/sql13_clean_data_summary.sql - Headline feature summaries
sql/sql14_headline_features.sql - Winner analysis
sql/sql15_winner_analysis.sql - Paired test analysis
sql/sql16_test_level_analysis.sql
Python analysis
- Experiment case study
notebooks/upworthy_ab_testing.ipynb - Feature engineering
notebooks/upworthy_ab_testing.ipynb - Paired meta-analysis
notebooks/upworthy_ab_testing.ipynb - Length correlation
notebooks/upworthy_ab_testing.ipynb - Analysis visualizations
notebooks/upworthy_ab_testing.ipynb
Other components
- Analyst
- Upworthy archive
- Raw packages
data/raw
Connections 17
- Upworthy archive → Raw packages: provides dataset
README.md - Analyst → Initial data checks: runs checks
- Raw packages → Initial data checks: checks rows
README.md - Initial data checks → Test structure checks: examines tests
README.md - Test structure checks → Randomization check: checks assignment
README.md - Randomization check → Valid test creation: identifies exclusions
README.md - Valid test creation → Clean package creation: filters packages
README.md - Clean package creation → Clean data summary: summarizes data
README.md - Clean package creation → Headline feature summaries: summarizes features
README.md - Clean package creation → Winner analysis: analyzes winners
README.md - Clean package creation → Paired test analysis: compares within tests
README.md - Analyst → Experiment case study: runs analysis
- Experiment case study → Feature engineering: prepares features
README.md - Feature engineering → Paired meta-analysis: compares features
README.md - Feature engineering → Length correlation: measures association
README.md - Paired meta-analysis → Analysis visualizations: visualizes findings
- Length correlation → Analysis visualizations: visualizes findings