Technical Documentation
Download the complete reproducible case study.
Completed synthetic-data analysis · Executed Python and local SQLite. No actual Home Depot records, live PostgreSQL connection, or native Power BI report.
Complete evidence package
Download everythingAll numerical outputs below were produced by the included Python source and local SQL execution. Dataset assumptions, tests and the completed written report are included. No native Power BI file, confidential company data or hosted database deployment is represented as completed.
Complete analysis package
Data, Python, tests, SQL, results, database, and report
Completed case-study report
Findings, methods, recommendations, and limitations
Daily inventory CSV
5,400 validated synthetic store-product-days
Synthetic demand CSV
Generated demand and modeled unmet units
Executed Python analysis
Fixed-seed generator, validation, forecasts, and simulation
Analysis tests
Reconciliation, forecast integrity, and fair comparisons
Executed SQLite queries
Availability, revenue exposure, and category turnover
Populated SQLite database
Eight local tables used for the executed analysis
Store / SKU SQL results
90 combinations ranked by modeled exposure
Forecast evaluation CSV
Three models, 1,800 held-out observations each
Policy comparison CSV
Identical 20-day demand and starting inventory
Dashboard data CSV
Daily store and category aggregates
Reproduction & database guide
Local execution and optional PostgreSQL / Power BI steps
PostgreSQL schema blueprint
Optional deployment draft; not the executed engine
Reproduce the case study
python -m venv .venv
# Activate your virtual environment
python -m pip install -r requirements.txt
python run_analysis.py --output reproduced
python -m unittest test_analysis.pyPython 3.10+ required. The package pins the NumPy and pandas versions used for this run. Seed 20261114 reproduces the generated data. SQL runs with Python’s built-in SQLite. Compare reproduced CSVs and numerical outputs; manifest.json lists SHA-256 hashes for the shipped artifacts. Optional PostgreSQL deployment and Power BI reconstruction are documented separately.