How rshashank20/vastra-returns-fix works
Vastra Returns Fix is a synthetic-data business analysis of return costs and refund delays, not an operational returns platform. Its main workflow is to generate data, analyze return economics and process bottlenecks in SQL, then use workbooks and a recommendation memo to evaluate actions; a separate dashboard builder queries a local database and produces the web dashboard. The README documents the analytical capabilities and proposed policy/process changes. SQL, workbook, and document internals are represented at their documented subsystem level; their execution wiring is not shown.
Main entry points: data_generator.py Synthetic data · build_dashboard.py Dashboard builder · recommendation_memo.md Recommendation · index.html Interactive dashboard
Components 20
Data generation
- Synthetic data
data_generator.py - Local dataset
Returns analysis
- Return cost
sql/00_cost_view.sql - Return reasons
sql/03_true_reason.sql - Bracketing
sql/04_bracketing.sql - Cost concentration
sql/05_concentration.sql - SKU toxicity
sql/06_toxicity.sql - Exchange economics
sql/07_exchange_economics.sql - Cohort analysis
sql/08_cohorts.sql - Journey bottlenecks
sql/09_journey_bottleneck.sql - SLA breaches
sql/10_breach_anatomy.sql - WISMO analysis
sql/11_wismo.sql - QC and pickups
sql/12_qc_backlog.sql
Decision support
- Scenario models
excel - BA deliverables
docs - Recommendation
recommendation_memo.md
Dashboard
- Dashboard builder
dashboard/build_dashboard.py - Interactive dashboard
dashboard/index.html
Other components
- Analyst
- Leadership
Connections 20
- Analyst → Synthetic data: runs
README.md - Synthetic data → Local dataset: generates data
README.md - Local dataset → Return cost: analyzes
README.md - Local dataset → Return reasons: analyzes
README.md - Local dataset → Bracketing: analyzes
README.md - Local dataset → Cost concentration: analyzes
README.md - Local dataset → SKU toxicity: analyzes
README.md - Local dataset → Exchange economics: analyzes
README.md - Local dataset → Cohort analysis: analyzes
README.md - Local dataset → Journey bottlenecks: analyzes
README.md - Local dataset → SLA breaches: analyzes
README.md - Local dataset → WISMO analysis: analyzes
README.md - Local dataset → QC and pickups: analyzes
README.md - Analyst → Scenario models: models options
README.md - Analyst → BA deliverables: documents findings
README.md - Analyst → Recommendation: synthesizes
README.md - Local dataset → Dashboard builder: queries
dashboard/build_dashboard.py - Dashboard builder → Interactive dashboard: writes
dashboard/build_dashboard.py - Leadership → Interactive dashboard: reviews
README.md - Leadership → Recommendation: reviews
README.md