# ajaysaware000/pragyanai_demo_project architecture

> Architecture diagram of the GitHub repository ajaysaware000/pragyanai_demo_project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ajaysaware000/pragyanai_demo_project
- Repository: https://github.com/ajaysaware000/pragyanai_demo_project

## Overview

K-SIWAP is a single-file Streamlit district skill-planning dashboard using illustrative synthetic data. The user selects districts and scoring weights, reviews prioritisation and capacity/budget views, monitors training and placement outcomes, and can export selected district data. The graph separates these domain views from the shared data and scoring layer. The excerpt omits some wiring, so only visible interactions are linked; there is no live government data connection.

Main entry points: [`app.py`](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py) (Streamlit dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Planning workflow"]
  node_filters["District filters<br/>[app.py]"]
  node_priority["Priority ranking<br/>[app.py]"]
  node_capacity["Capacity planning<br/>[app.py]"]
  node_budget["Budget estimate<br/>[app.py]"]
end

subgraph group_insight["Programme insights"]
  node_outcomes["Training outcomes<br/>[app.py]"]
  node_validation["Data transparency<br/>[app.py]"]
  node_export["CSV export<br/>[app.py]"]
end

subgraph group_core["Dashboard core"]
  node_dataset[("Synthetic district data<br/>[app.py]")]
  node_scoring["Derived metrics<br/>[app.py]"]
  node_dashboard["Streamlit dashboard<br/>[app.py]"]
end

node_planner(("Planner user"))

node_planner -->|"uses"| node_dashboard
node_dashboard -->|"loads"| node_dataset
node_dashboard -->|"presents"| node_filters
node_filters -->|"sets inputs"| node_scoring
node_dashboard -->|"derives metrics"| node_scoring
node_dashboard -->|"renders"| node_priority
node_dashboard -->|"renders"| node_capacity
node_dashboard -->|"calculates"| node_budget
node_dashboard -->|"renders"| node_outcomes
node_dashboard -->|"presents"| node_validation
node_dashboard -->|"offers"| node_export
node_dataset -->|"supplies data"| node_scoring
node_scoring -->|"ranks districts"| node_priority
node_scoring -->|"supplies measures"| node_capacity
node_scoring -->|"supplies rates"| node_outcomes
node_dataset -->|"provides rows"| node_export

click node_filters "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_priority "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_capacity "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_budget "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_outcomes "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_validation "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_export "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_dataset "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_scoring "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"
click node_dashboard "https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_filters,node_priority,node_capacity,node_budget,node_planner toneBlue
class node_outcomes,node_validation,node_export toneAmber
class node_dataset,node_scoring,node_dashboard toneMint
```

## Components

### Planning workflow

- [District filters](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Priority ranking](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Capacity planning](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Budget estimate](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`

### Programme insights

- [Training outcomes](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Data transparency](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [CSV export](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`

### Dashboard core

- [Synthetic district data](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Derived metrics](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`
- [Streamlit dashboard](https://github.com/ajaysaware000/pragyanai_demo_project/blob/main/app.py): `app.py`

### Other components

- **Planner user**

## Connections

- Planner user → Streamlit dashboard: uses (evidence: `app.py`)
- Streamlit dashboard → Synthetic district data: loads (evidence: `app.py`)
- Streamlit dashboard → District filters: presents (evidence: `app.py`)
- District filters → Derived metrics: sets inputs (evidence: `app.py`)
- Streamlit dashboard → Derived metrics: derives metrics (evidence: `app.py`)
- Streamlit dashboard → Priority ranking: renders (evidence: `app.py`)
- Streamlit dashboard → Capacity planning: renders (evidence: `app.py`)
- Streamlit dashboard → Budget estimate: calculates (evidence: `app.py`)
- Streamlit dashboard → Training outcomes: renders (evidence: `app.py`)
- Streamlit dashboard → Data transparency: presents (evidence: `app.py`)
- Streamlit dashboard → CSV export: offers (evidence: `app.py`)
- Synthetic district data → Derived metrics: supplies data (evidence: `app.py`)
- Derived metrics → Priority ranking: ranks districts (evidence: `app.py`)
- Derived metrics → Capacity planning: supplies measures (evidence: `app.py`)
- Derived metrics → Training outcomes: supplies rates (evidence: `app.py`)
- Synthetic district data → CSV export: provides rows (evidence: `app.py`)
