CricScope is a luxury-grade IPL match intelligence dashboard that computes real-time win probabilities using machine learning β trained on historical ball-by-ball delivery data spanning 2008β2020.
Built with a fintech-inspired dark UI featuring glassmorphism cards, gold gradients, and a premium serif + mono type system. Every design decision was intentional: this is not a student project β it's a production-grade sports analytics product.
GSSoC '26 & NSoC 2026 β Project Admin: Arnav Singh
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CricScope Pipeline β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β matches.csv βββββ β
β ββββΊ Merge on match_id βββΊ Filter: Inning 2 β
β deliveries.csv ββ β β
β β β
β βββββββββββββββΌββββββββββββββββ β
β β Feature Engineering β β
β β β β
β β current_score (cumsum) β β
β β runs_left target-score β β
β β balls_left 120-ball no. β β
β β wickets 10-dismissed β β
β β CRR score/over β β
β β RRR runs*6/balls β β
β βββββββββββββββ¬ββββββββββββββββ β
β β β
β βββββββββββββββΌββββββββββββββββ β
β β Sklearn Pipeline β β
β β β β
β β ColumnTransformer β β
β β OneHotEncoder β β
β β batting_team β β
β β bowling_team β β
β β city β β
β β passthrough β β
β β numeric features β β
β β β β
β β LogisticRegression β β
β β max_iter = 1000 β β
β βββββββββββββββ¬ββββββββββββββββ β
β β β
β βββββββββββββββΌββββββββββββββββ β
β β predict_proba() β [0, 1] β β
β β Confidence: High/Mod/Close β β
β βββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The prediction engine uses a Logistic Regression classifier trained on IPL ball-by-ball match data spanning IPL seasons from 2008β2020.
| Split Type | Ratio |
|---|---|
| Training Data | 80% |
| Testing Data | 20% |
- Real-time win probability prediction
- Ball-by-ball dynamic recalculation
- Match-state feature engineering
- OneHotEncoded categorical preprocessing
- Optimized scikit-learn pipeline
- Context-aware chase prediction logic
Detailed evaluation metrics and expanded cross-validation results will be added in future model benchmarking updates.
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Streamlit + Custom CSS | UI rendering & layout |
| Styling | Glassmorphism + Premium CSS | Luxury UI/UX |
| ML Pipeline | scikit-learn | Preprocessing + Logistic Regression |
| Data | Pandas + NumPy | Feature engineering |
| Deployment | Streamlit Cloud | Live hosting |
cricscope/
β
βββ assets/
β βββ dashboard.png
β βββ prediction-page.png
β βββ analytics.png
β
βββ app.py
βββ matches.csv
βββ deliveries.csv
βββ requirements.txt
βββ README.md
βββ demo_.gif- Python 3.9+
- IPL Dataset
Dataset: https://www.kaggle.com/datasets/patrickb1912/ipl-complete-dataset-20082020
git clone https://github.com/Arnav-Singh-5080/cricscope.git
cd cricscopepython -m venv venv
# Linux / macOS
source venv/bin/activate
# Windows
venv\Scripts\activatepip install -r requirements.txtcricscope/
βββ app.py
βββ matches.csv
βββ deliveries.csv
streamlit run app.pyVisit:
http://localhost:8501
CricScope is an officially selected project under:
- GirlScript Summer of Code 2026 (GSSoC '26)
- Nexus Summer of Code 2026 (NSoC 2026)
Contributors are evaluated on:
- Code quality
- UI consistency
- ML innovation
- Documentation quality
- Feature implementation
This repository welcomes:
- Beginners
- Open-source contributors
- UI/UX developers
- ML engineers
- Competitive programmers
- Beginner-friendly contribution environment
- Real-world ML engineering exposure
- Production-grade UI/UX experience
- Active mentoring & PR reviews
- Portfolio-worthy open-source project
- Industry-style collaboration workflow
# 1. Fork the repository
# 2. Clone your fork
git clone https://github.com/<your-username>/cricscope.git
# 3. Move into project
cd cricscope
# 4. Create feature branch
git checkout -b feature/your-feature-name
# 5. Make changes
# 6. Commit
git add .
git commit -m "feat: describe your changes"
# 7. Push
git push origin feature/your-feature-name
# 8. Open Pull Request- Maintain the premium dark luxury aesthetic
- Follow the existing project structure
- Keep pull requests focused
- Test locally before opening PR
- Write meaningful commit messages
- Respect UI consistency
Please review the Security Policy for vulnerability reporting guidelines and supported versions.
Please read our Code of Conduct before contributing to the project.
| Area | Task | Difficulty |
|---|---|---|
| UI | Animated win probability graph | Medium |
| UI | Mobile responsiveness | Medium |
| UI | Team stat pills | Easy |
| ML | IPL 2021β2024 integration | Easy |
| ML | SHAP interaction visualizations | Medium |
| ML | Cross-validation metrics | Medium |
| Feature | Match report PDF export | Hard |
| Feature | Head-to-head analytics | Medium |
| Docs | Add screenshots & GIF demo | Easy |