How karanzaveri/olist-analytics-engineering-platform works
This repository is an analytics engineering platform: it loads historical e-commerce and FX data, builds reporting models, and supports dashboards and separate analytical studies. The main Olist workflow runs from CSV loading through dbt staging, intermediate, and mart models to Power BI reporting. Additional branches cover GA4 session analytics, synthetic experimentation, revenue forecasting, and AI-generated commentary. Relationships for unsampled capabilities are limited to those documented in the README; source excerpts and the index provide more detail for experimentation, FX, and forecasting.
Main entry points: weekly_revenue.py Weekly revenue baseline · simulate_experiment.py Experiment simulation · export_powerbi.py Experiment reporting · analyze_experiment.py Conversion analysis
Components 31
Olist reporting
- Olist loader
ingestion/olist/load_olist_bigquery.py - Olist warehouse
- Olist staging
analytics/models/staging/olist - Olist intermediate
analytics/models/intermediate - Olist marts
analytics/models/marts - Olist dashboard
dashboard/Data Analytics.Report
GA4 analytics
- GA4 staging
analytics/models/ga4/staging - GA4 intermediate
analytics/models/ga4/intermediate - GA4 funnel mart
analytics/models/ga4/marts/fct_ga4_session_funnel.sql - GA4 dashboard
dashboard/ga4/GA4 Product Analytics.Report
Experimentation
- Sample-size planning
experimentation/sample_size.py - Experiment simulation
experimentation/simulate_experiment.py - Conversion analysis
experimentation/analyze_experiment.py - Allocation check
experimentation/srm_check.py - Guardrail assessment
experimentation/guardrails.py - Business impact
experimentation/business_impact.py - Monte Carlo analysis
experimentation/monte_carlo.py - Experiment reporting
experimentation/export_powerbi.py
Revenue forecasting
- Weekly revenue baseline
forecasting/weekly_revenue.py - Forecast backtesting
forecasting/backtesting.py - Error analysis
forecasting/error_analysis.py - Model candidates
forecasting/statistical_candidates.py - Prediction intervals
forecasting/prediction_intervals.py
AI insights
- KPI extraction
ai/fetch_kpis.py - Insight generation
ai/generate_insights.py - Insight validation
ai/validate_insights.py
Other components
- Analyst
- Olist CSVs
- Public GA4 sample
- Olist revenue data
- Gemini
Connections 29
- Analyst → Olist loader: loads CSVs
README.md - Olist CSVs → Olist loader: provides files
README.md - Olist loader → Olist warehouse: replaces raw tables
README.md - Olist warehouse → Olist staging: stages sources
README.md - Olist staging → Olist intermediate: enriches records
README.md - Olist intermediate → Olist marts: builds marts
README.md - Olist marts → Olist dashboard: reports metrics
README.md - Analyst → Olist dashboard: explores results
README.md - Public GA4 sample → GA4 staging: stages events
README.md - GA4 staging → GA4 intermediate: reconstructs sessions
README.md - GA4 intermediate → GA4 funnel mart: builds funnel
README.md - GA4 funnel mart → GA4 dashboard: reports funnel
README.md - Analyst → GA4 dashboard: explores results
README.md - Sample-size planning → Experiment simulation: sets arm size
experimentation/simulate_experiment.py - Experiment simulation → Conversion analysis: analyzes outcomes
experimentation/export_powerbi.py - Experiment simulation → Allocation check: checks allocation
experimentation/srm_check.py - Conversion analysis → Business impact: projects economics
experimentation/business_impact.py - Conversion analysis → Experiment reporting: exports results
experimentation/export_powerbi.py - Experiment simulation → Experiment reporting: generates reporting data
experimentation/export_powerbi.py - Guardrail assessment → Experiment reporting: exports assessments
experimentation/export_powerbi.py - Monte Carlo analysis → Experiment reporting: adds diagnostics
experimentation/export_powerbi.py - Olist revenue data → Weekly revenue baseline: queries history
forecasting/weekly_revenue.py - Weekly revenue baseline → Forecast backtesting: evaluates forecasts
forecasting/backtesting.py - Weekly revenue baseline → Error analysis: scores predictions
forecasting/error_analysis.py - Weekly revenue baseline → Model candidates: compares methods
forecasting/statistical_candidates.py - Weekly revenue baseline → Prediction intervals: calibrates intervals
forecasting/prediction_intervals.py - KPI extraction → Insight generation: supplies KPIs
ai/generate_insights.py - Insight generation → Insight validation: validates commentary
ai/generate_insights.py - Insight generation → Gemini: generates commentary
README.md