Skip to content

About

๐Ÿ‡ฎ๐Ÿ‡ณ ProjectSetu โ€” Integrated Infrastructure Intelligence Platform (SIH26103 MoSPI). AI delay prediction, satellite geospatial radar, automated escalation workflows & public transparency portal.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

1 Commit

Folders and files

Repository files navigation

๐Ÿ‡ฎ๐Ÿ‡ณ ProjectSetu โ€” Integrated Infrastructure Intelligence

AI-Powered Predictive Monitoring, High-Res Satellite Geospatial Radar & Automated Intervention Platform

Smart India Hackathon (SIH26103) โ€ข Ministry of Statistics & Programme Implementation (MoSPI) โ€ข IPMD

Live Demo GitHub Stars License


React 18 Vite 6 Tailwind CSS Leaflet Python 3.11 CI Status

Transforming India's โ‚น100+ Lakh Crore National Infrastructure Pipeline (NIP) & PM Gati Shakti into a predictive, transparent, and accountable delivery ecosystem.

๐ŸŒ Live Web Platform โ€ข ๐Ÿ›ฐ๏ธ Satellite Radar View โ€ข ๐Ÿ›๏ธ Citizen Portal โ€ข ๐Ÿ“– Documentation โ€ข โšก Quickstart


๐Ÿ“Œ Executive Summary

India's mega infrastructure investmentsโ€”spanning highways (NHAI), railways (RVNL), metros, bulk water pipelines, and power evacuation corridorsโ€”frequently encounter substantial schedule slippages and cost overruns. Traditional oversight relies on static PDF submissions, disjointed inter-agency communications, outdated milestone baselines, and post-facto audit postmortems.

ProjectSetu reimagines national project governance by implementing a continuous, closed-loop intelligence cycle:

flowchart LR
    A[๐Ÿ“ฅ COLLECT<br/>Observations & Geo-Telemetry] --> B[๐Ÿ” VALIDATE<br/>Evidence & CAPEX Cross-Audit]
    B --> C[๐Ÿง  PREDICT<br/>Calibrated Dual-Engine ML]
    C --> D[๐Ÿ’ก EXPLAIN<br/>SHAP Attribution & Freshness Lens]
    D --> E[๐ŸŽฏ PRIORITIZE<br/>Composite Risk Scoring]
    E --> F[โšก INTERVENE<br/>SLA-Enforced Escalations]
    F --> G[โœ… MEASURE<br/>Decision Replay & Verification]
    G --> A
Loading

๐ŸŒŸ Key Innovations & Differentiators

Innovation Operational Impact Governance Benefit
๐Ÿ›ฐ๏ธ Exclusive High-Res Satellite Radar Real-time orbital imagery via Esri Multispectral tiles paired with dark-line infrastructure corridors and anti-overlap smart telemetry pins. Eliminates reliance on watermarked map services; provides instant ground-truth spatial context.
๐Ÿ›ก๏ธ Cryptographic Risk Passport Generates an immutable, SHA-256 fingerprint snapshot recording input features, model version (v1.2.0-xgb), policy weights, and officer determinations. Guarantees non-repudiation; allows officers to inspect past reviews without dynamic recomputation.
โฑ๏ธ Freshness & Evidence Lens Decouples data currency (e.g. 45-day reporting lag) from intrinsic structural engineering risks. Prevents false alarms on physically sound projects while highlighting delinquent reporting agencies.
โช Decision Replay Narrative Reconstructs the 5-step institutional memory: Observation โ†’ AI Prediction โ†’ Officer Deliberation โ†’ Assigned Escalation โ†’ Verified Outcome. Comprehensive institutional accountability for Parliamentary Committees and CAG audits.
๐Ÿ•ธ๏ธ Dependency Cascade Graph Graph-traversal engine mapping critical prerequisite chains: Land Acquisition โ†’ Forest Clearance โ†’ Utility Shifting โ†’ Civil Construction โ†’ Grid Sync. Early warning indicator for downstream bottlenecks before execution begins.
๐ŸŽ›๏ธ What-If Scenario Sandbox Real-time recovery simulation allowing officers to evaluate contractor augmentation, fund injections, and fast-track statutory clearances. Quantifies expected risk reduction delta before capital allocation.
๐Ÿ‘ฅ Cross-Portal Interconnection & Simulation Live interconnected portals for MoSPI Officers, Line Agencies, CAG Auditors, Field Contributors, and Citizens with real-time sync. Multi-stakeholder coordination with built-in action simulation workflows.

๐Ÿ–ฅ๏ธ Platform Screens & Feature Walkthrough

1. ๐Ÿ›ฐ๏ธ National Satellite Geospatial Radar (/app)

  • Orbital Multispectral Terrain: Powered by Esri World Imagery with zero API key dependencies and zero watermarks.
  • Dark Infrastructure Corridors: High-contrast obsidian outlines (#020617, weight 8) with dynamic cyan radar cores showing India's critical transit spines (Delhi-Katra Expressway, Western DFC, Eastern DFC, North-South Spine, and Saurashtra Coastal Pipeline).
  • Anti-Overlap Smart Pins: Responsive markers adapt smoothly between zoom levelsโ€”sleek 28px circular target pins at national zoom to prevent badge collision, expanding into rich telemetry cards with #proj-code, budget in โ‚น Cr, and risk rating on hover or selection.
  • Right Telemetry Drawer: Instant access to delay forecasts, physical vs. financial progress gaps, contractor rating, and direct drilldown links.

2. ๐Ÿ›๏ธ MoSPI National Portfolio Command Center (/app)

  • Key Metrics Overview: Total Capital Outlay, Overrun Exposure, Milestone Slippages, and National Average Health Index.
  • Multi-Dimensional Filtering: Slice portfolio across ministries (MoRTH, Railways, Power, MoHUA, Jal Shakti), states, risk categories, and physical progress bands.
  • Dual Perspective: Seamless 1-click toggle between Geospatial Satellite Radar and High-Density Tabular Data Grid.

3. ๐Ÿ” Explainable AI & Project Dossier (/app/projects/:id)

  • Baseline Revisions: Track original vs. current sanctioned outlay with cost escalation percentages and authorized revision justifications.
  • SHAP Feature Attributions: Transparent top-5 delay drivers (e.g., Inter-tidal Marine Piling Constraints, Land Acquisition Delays, Material Cost Inflation).
  • Evidence Verification Queue: Cross-audit comparing physical execution against cumulative financial disbursements to detect anomalous billing.
  • Printable Dossier: One-click generation of the official MoSPI Project Monitoring Dossier ready for review meetings.

4. โšก Inter-Agency Escalation & Intervention Matrix (/app/interventions)

  • Multi-Tier Escalation: Rule-based routing to District Magistrates, State Chief Secretaries, Railway Boards, or Cabinet Committees.
  • SLA Enforcement: Target resolution dates with automatic overdue warnings and escalation triggers.
  • Evidence-Backed Closure: Line agencies must submit geotagged photos or formal statutory clearances before an officer can mark an intervention verified.

5. ๐Ÿ—๏ธ Contractor 360 Evaluation (/app/contractors)

  • Performance Rating Index: Composite rating (1.0 to 5.0) evaluated across on-time delivery, cost adherence, safety compliance, and dispute history.
  • Active Exposure Analysis: Real-time visibility into contractor workload across multiple simultaneous national projects to detect bandwidth strain.

6. ๐ŸŒ Public Transparency & Citizen Grievance Portal (/public)

  • Open Governance: Unauthenticated public access to whitelisted project summaries, physical progress meters, and geotagged project locations.
  • Citizen Feedback & Grievance Lodging: Citizens can submit geo-localized observations or concerns directly to MoSPI with automated tracking tokens.

๐Ÿ—๏ธ System Architecture

graph TD
    subgraph Client Layer [Modern Web Frontend - React 18 + TypeScript + Vite]
        UI[Landing Page & Portal Switcher]
        MAP[Esri Satellite Radar + Leaflet]
        CMD[Officer Command Center]
        AGENCY[Agency Submission Workspace]
        AUDIT[CAG Audit Trail & Dossier]
        PUB[Citizen Transparency Portal]
    end

    subgraph Intelligence Engine [Predictive ML & Decision Logic]
        ML[Python FastAPI Microservice v1.2.0-xgb]
        XGB_REG[Gradient Boosted Delay Regressor]
        XGB_CLS[Calibrated Cost Overrun Classifier]
        SHAP_EXP[SHAP TreeExplainer Attributions]
        FALLBACK[Deterministic Rule-Based Engine]
    end

    subgraph Data & Storage [Persistence & Integrity]
        STORAGE[Local Persistent Storage / Firebase Backend]
        RBAC[Fine-Grained Role-Based Access Control]
        AUDIT_LOG[SHA-256 Cryptographic Audit Ledger]
    end

    UI --> CMD & MAP & AGENCY & AUDIT & PUB
    CMD --> ML
    ML --> XGB_REG & XGB_CLS & SHAP_EXP
    ML -. Fallback Mode .-> FALLBACK
    CMD & AGENCY & AUDIT --> STORAGE
    STORAGE --> RBAC & AUDIT_LOG
Loading

๐Ÿง  Machine Learning Engine (v1.2.0-xgb)

1. Leakage-Free Temporal Group Strategy

  • Synthetic Training Corpus: 200 diverse infrastructure projects across 5 sectors (Highways, Rail, Metro, Energy, Water) generating 4,741 longitudinal monthly observations.
  • Strict Group Splitting: Grouped by project_id (80% Train, 20% Test) to ensure no temporal leakage occurs between training features and test outcomes.

2. Dual Predictive Targets

  1. Cost Overrun Classifier: Calibrated probability $C \in [0, 1]$ of completed expenditure exceeding the baseline by $\ge 10%$.
    • ROC-AUC: 0.8037 โ€ข PR-AUC: 0.8172 โ€ข Brier Score: 0.1420
  2. Schedule Delay Regressor: Predicts positive slippage in days $S \in [0, \infty)$ beyond the contractual completion date.
    • MAE: 158.8 days โ€ข Median AE: 122.5 days โ€ข 80% Prediction Interval

3. MoSPI Composite Risk Score Formula

$$\text{RiskScore} = \text{round}\Big(100 \times \big(0.40,C + 0.30,S_{\text{norm}} + 0.20,M + 0.10,B\big)\Big)$$

Where:

  • $C$ = Calibrated Cost Overrun Probability
  • $S_{\text{norm}} = \text{clamp}\left(\frac{\text{Predicted Delay Days}}{\max(90,, 0.25 \times \text{Original Duration Days})},, 0,, 1\right)$
  • $M$ = Milestone Slippage Ratio
  • $B$ = Review Blocker Severity Index

๐Ÿ’ป Tech Stack & Languages

Layer Technologies
Frontend Framework React 18, TypeScript 5.3, Vite 6 (Blazing Fast HMR & Tree-Shaking)
Styling & Motion Tailwind CSS 3.4, Lucide Icons, GSAP Motion, Framer Motion
Geospatial & Mapping Leaflet 1.9, Esri World Imagery, ArcGIS REST Services, SVG Vector Overlays
State & Data Store React Hooks, Modular Context, IndexedDB / LocalStorage, Firebase Cloud Firestore
Predictive Backend Python 3.11, FastAPI, scikit-learn, XGBoost, SHAP, Uvicorn
DevOps & Hosting Vercel Edge Network, GitHub Actions CI/CD, Docker, Monorepo Workspaces

โšก Quickstart & Local Development

Prerequisites

  • Node.js v18+ or v20+ / npm v10+
  • Python 3.10+ (Optional, for training/running ML microservice)
  • Git

1. Clone the Repository

git clone https://github.com/codexanjan/projectsetu.git
cd projectsetu

2. Install Monorepo Dependencies

npm install

3. Launch the Web Platform

cd apps/web
npm run dev

Open http://localhost:5173 in your browser.

4. (Optional) Run the Python ML Microservice

cd services/ml
python -m venv venv
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate

pip install -r requirements.txt
python -m uvicorn app.main:app --port 8000 --reload

Interactive API Docs available at: http://localhost:8000/docs

5. Build for Production

cd apps/web
npm run build

๐ŸŽฏ Smart India Hackathon Demonstration Walkthrough

  1. Landing Page (/): View the mission statement, live satellite radar preview, and portal selection cards.
  2. Interactive Role Switcher (/app): Instant 1-click switching between MoSPI Officer, Agency Manager, CAG Auditor, and Field Contributor.
  3. Satellite Radar (/app): Explore India's 5 major multi-modal transit corridors and click pins to inspect live telemetry.
  4. Project Deep Dive (/app/projects/proj-nhai-001): Inspect the Risk Passport, Baseline Comparison, SHAP Drivers, and Scenario Workspace.
  5. Contractor Analysis (/app/contractors): Review performance scores, ongoing commitments, and delivery speed across agencies.
  6. Citizen Portal (/public): Test public-facing transparency with unauthenticated access.

๐Ÿท๏ธ Keywords & Hashtags

#SmartIndiaHackathon #SIH2024 #SIH26103 #MoSPI #PMGatiShakti #NationalInfrastructurePipeline #GeospatialAI #SatelliteImagery #MachineLearning #ExplainableAI #XGBoost #ReactJS #TypeScript #Vite #TailwindCSS #Leaflet #PublicProcurement #InfrastructureMonitoring #GovTech #DigitalIndia


๐Ÿ“„ License & Ethical Disclosures

This project is open-source software licensed under the Apache License 2.0.

Statutory Disclaimer: ProjectSetu is an AI-assisted decision-support prototype engineered for the Smart India Hackathon (SIH26103). Project records, financial figures, contractor evaluations, and risk classifications represented in demonstration datasets are synthetic and designed for educational and analytical purposes.


Built with โค๏ธ for Digital India & Smart India Hackathon 2024
Ministry of Statistics and Programme Implementation (MoSPI) โ€ข Infrastructure and Project Monitoring Division (IPMD)

About

๐Ÿ‡ฎ๐Ÿ‡ณ ProjectSetu โ€” Integrated Infrastructure Intelligence Platform (SIH26103 MoSPI). AI delay prediction, satellite geospatial radar, automated escalation workflows & public transparency portal.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages