I built VoltRelay-Energy-Data-Analytics-Hackathon, a Jupyter Notebook project on my @Kiran-bioinfo GitHub, for the Gradient Learnings Data Analytics Hackathon in Nov 2026. My central finding is that the network is healthier than its dashboard suggests: growth and per-swap margin improved, while several apparent problems were measurement artefacts. The substantive issues are three bad battery lots from one supplier and riders abandoning queues at ten minutes.
The dataset covers 3,877,013 swap events; 1 Jan 2024 – 30 Jun 2025; 150 live (149 active in the final quarter); 6 cities; 20,000 riders; 6,500 packs.
My growth and unit-economics results were 108 k → 299 k swaps/month; ₹17.51 → ₹36.24 net per swap; revenue per swap up 8 %.
The apparent failure-rate rise from 4.4 % to 8.4 % compares January with June; matched-season rates fell instead: winter 4.41 % → 4.32 %, summer 9.95 % → 8.36 %.
Failure conditions and station differences: peak 21:00 at 6.65 %; heat 4.9 % → 12.3 % above 36 °C; Gen1 7.23 % vs Gen3 4.84 %; capacity r = 0.009. The results point to charger generation and throughput mismatch rather than station load.
Battery degradation was concentrated in three Kyron lots: Kyron 56.7 vs Cellora 19.5 SoH pts/year; three lots carry almost all of the damage.
My pricing analysis found that peak is under-used and the partner discount buys volume: peak 4.57 % of swaps at ₹65.19; partner 66 % at ₹41.51.
I use a fixed 90-day churn window to avoid censoring recent riders. Results were 90-day churn 18.26 %; censored calculation 39.74 %; largest driver spread 3.74 pp; queue abandonment begins at ten minutes; 0.5 % under four minutes and 49 % past fifteen. Churn is inferred from swap silence, so riders who leave for a competitor cannot be distinguished from riders who stop riding.
I identified a proven timezone defect: 5 h 30 m shift; 139,490 rows; v3.2.0, Mar–Apr 2025; overlap 49.3 % → 99.0 % after correction against v3.2.1 control stations.
The duplicate detector, not the data, produced false positives because pandas string dtype propagated NA through key concatenation. NA-safe keys showed 37,039 rows flagged; 5 real duplicates; naive deduplication would collapse 231,204 legitimate events.
I keep raw data unchanged and make reversible, additive corrections: Nothing is deleted; corrections use event_ts_fixed and km_fixed; implausible values are nulled; 9,760 sensor-cap rows, 1.6 % test-rig events, and 5 duplicate rows are flagged and retained.
I fixed thresholds before viewing results: IQR fences per vehicle class, 30- and 90-day churn windows, and minimum segment size 50. I report ticket analysis as inconclusive by construction. Contribution margin excludes staff, logistics, and battery capex amortisation, so it is not profit. The heat relationship is observational, not experimental.
The pipeline streams event-table passes at 3.9 M rows / 160 MB parquet, peak memory around 1 GB, suitable for a 4 GB machine. Raw inputs total 695 MB across 8 tables; the audit matches 8/8 row counts, verification has 8 quality gates, and feature generation has 12 reconciliation checks.
Re-running 05 → 05b → 05c → 05d reproduced 12 output JSONs byte-identically; 14 of 14 code cells, zero errors, four inline figures were confirmed by end-to-end notebook execution with nbconvert.
pip install -r requirements.txt
python scripts/02c_clean_swap_events.py
python scripts/02e_clean_dimensions.py
python scripts/03_verify.py
python scripts/04_features.py
python scripts/05_analysis.py
python scripts/05b_refinements.py
python scripts/05c_q1_seasonal.py
python scripts/05d_pricing.py
The notebook reads data/clean/*.parquet and runs in about two minutes. I open the repository folder itself as the editor workspace because the notebook locates the project by walking up from the working directory. Raw CSVs and parquet are gitignored; raw CSVs belong in data/ as described by data/README.md.
The repository includes notebook/voltrelay_analysis.ipynb (36 cells, 14 code), docs/report.md (six questions and 12 tables), a timed 3:00 video script, figures for questions 1–6, 17 JSON and Markdown output files, and pipeline scripts through 05d. analysis_plan.md and cleaning_and_flow_plan.md document thresholds and cleaning rules written before results.