# amumalyada/student-burnout-analytics architecture

> Architecture diagram of the GitHub repository amumalyada/student-burnout-analytics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amumalyada/student-burnout-analytics
- Repository: https://github.com/amumalyada/student-burnout-analytics

## Overview

Student Burnout Analytics is an aggregate student-wellbeing data and reporting project, not an individual diagnostic product. Its main workflow downloads or reads public datasets, cleans and derives comparable observations, persists CSV and SQLite outputs, then supports SQL analysis, model comparison, and Power BI reporting. The ETL, feature engineering, preprocessing, model, visualization, and shared utilities are supported by excerpts; SQL and dashboard capabilities are documented in the README, but their implementation details were not sampled.

Main entry points: [`python/etl.py`](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/etl.py) (ETL orchestration), [`data/processed/mindpulse.sqlite`](https://github.com/amumalyada/student-burnout-analytics/blob/main/data/processed/mindpulse.sqlite) (SQLite warehouse), [`data/processed`](https://github.com/amumalyada/student-burnout-analytics/tree/main/data/processed) (Processed observations), [`python/model.py`](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/model.py) (Model comparison)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Data ingestion"]
  node_downloader["Dataset acquisition<br/>[etl.py]"]
  node_rawdata["Raw datasets"]
end

subgraph group_analytics["Data preparation"]
  node_cleaning["Dataset cleaning<br/>[preprocessing.py]"]
  node_features["Risk features"]
  node_etl["ETL orchestration<br/>[etl.py]"]
  node_processed["Processed observations"]
end

subgraph group_warehouse["Warehouse and SQL"]
  node_sqlite[("SQLite warehouse<br/>[mindpulse.sqlite]")]
  node_schema["Warehouse schema<br/>[schema.sql]"]
  node_sqlclean["Cleaning and checks<br/>[cleaning.sql]"]
  node_views["KPI views<br/>[views.sql]"]
end

subgraph group_insights["Analysis and reporting"]
  node_analysis["Analytical queries<br/>[analysis.sql]"]
  node_model["Model comparison<br/>[model.py]"]
  node_visuals["EDA charts<br/>[visualization.py]"]
  node_reports["Quality and model reports"]
  node_powerbi["Power BI reporting"]
end

subgraph group_shared["Internal utilities"]
  node_utils["Shared data utilities<br/>[utils.py]"]
end

node_sources(("Public datasets"))

node_sources -->|"provides data"| node_downloader
node_downloader -->|"downloads"| node_rawdata
node_rawdata -->|"supplies files"| node_etl
node_etl -->|"calls cleaners"| node_cleaning
node_etl -->|"derives features"| node_features
node_etl -->|"writes tables"| node_processed
node_etl -->|"persists tables"| node_sqlite
node_etl -->|"creates charts"| node_visuals
node_etl -->|"writes reports"| node_reports
node_etl -->|"uses utilities"| node_utils
node_cleaning -->|"standardizes columns"| node_utils
node_features -->|"enriches observations"| node_processed
node_schema -.->|"defines schema"| node_sqlite
node_sqlclean -.->|"checks data"| node_sqlite
node_views -.->|"defines KPIs"| node_sqlite
node_analysis -->|"queries warehouse"| node_sqlite
node_processed -->|"provides training data"| node_model
node_model -->|"saves metrics"| node_reports
node_model -->|"saves model"| node_processed
node_sqlite -.->|"feeds dashboard"| node_powerbi
node_views -->|"supports reporting"| node_powerbi

click node_downloader "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/etl.py"
click node_rawdata "https://github.com/amumalyada/student-burnout-analytics/tree/main/data/raw"
click node_cleaning "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/preprocessing.py"
click node_features "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/feature_engineering.py"
click node_etl "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/etl.py"
click node_processed "https://github.com/amumalyada/student-burnout-analytics/tree/main/data/processed"
click node_sqlite "https://github.com/amumalyada/student-burnout-analytics/blob/main/data/processed/mindpulse.sqlite"
click node_schema "https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/schema.sql"
click node_sqlclean "https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/cleaning.sql"
click node_views "https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/views.sql"
click node_analysis "https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/analysis.sql"
click node_model "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/model.py"
click node_visuals "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/visualization.py"
click node_reports "https://github.com/amumalyada/student-burnout-analytics/tree/main/reports"
click node_powerbi "https://github.com/amumalyada/student-burnout-analytics/blob/main/documentation/POWERBI_BUILD_GUIDE.md"
click node_utils "https://github.com/amumalyada/student-burnout-analytics/blob/main/python/utils.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_downloader,node_rawdata toneBlue
class node_cleaning,node_features,node_etl,node_processed toneAmber
class node_sqlite,node_schema,node_sqlclean,node_views toneMint
class node_analysis,node_model,node_visuals,node_reports,node_powerbi toneRose
class node_utils,node_sources toneIndigo
```

## Components

### Data ingestion

- [Dataset acquisition](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/etl.py): `python/etl.py`
- [Raw datasets](https://github.com/amumalyada/student-burnout-analytics/tree/main/data/raw): `data/raw`

### Data preparation

- [Dataset cleaning](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/preprocessing.py): `python/preprocessing.py`
- [Risk features](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/feature_engineering.py): `python/feature_engineering.py`
- [ETL orchestration](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/etl.py): `python/etl.py`
- [Processed observations](https://github.com/amumalyada/student-burnout-analytics/tree/main/data/processed): `data/processed`

### Warehouse and SQL

- [SQLite warehouse](https://github.com/amumalyada/student-burnout-analytics/blob/main/data/processed/mindpulse.sqlite): `data/processed/mindpulse.sqlite`
- [Warehouse schema](https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/schema.sql): `sql/schema.sql`
- [Cleaning and checks](https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/cleaning.sql): `sql/cleaning.sql`
- [KPI views](https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/views.sql): `sql/views.sql`

### Analysis and reporting

- [Analytical queries](https://github.com/amumalyada/student-burnout-analytics/blob/main/sql/analysis.sql): `sql/analysis.sql`
- [Model comparison](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/model.py): `python/model.py`
- [EDA charts](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/visualization.py): `python/visualization.py`
- [Quality and model reports](https://github.com/amumalyada/student-burnout-analytics/tree/main/reports): `reports`
- [Power BI reporting](https://github.com/amumalyada/student-burnout-analytics/blob/main/documentation/POWERBI_BUILD_GUIDE.md): `documentation/POWERBI_BUILD_GUIDE.md`

### Internal utilities

- [Shared data utilities](https://github.com/amumalyada/student-burnout-analytics/blob/main/python/utils.py): `python/utils.py`

### Other components

- **Public datasets**

## Connections

- Public datasets → Dataset acquisition: provides data (evidence: `README.md`)
- Dataset acquisition → Raw datasets: downloads (evidence: `python/etl.py`)
- Raw datasets → ETL orchestration: supplies files (evidence: `README.md`)
- ETL orchestration → Dataset cleaning: calls cleaners (evidence: `python/etl.py`)
- ETL orchestration → Risk features: derives features (evidence: `python/etl.py`)
- ETL orchestration → Processed observations: writes tables (evidence: `python/etl.py`)
- ETL orchestration → SQLite warehouse: persists tables (evidence: `python/etl.py`)
- ETL orchestration → EDA charts: creates charts (evidence: `python/etl.py`)
- ETL orchestration → Quality and model reports: writes reports (evidence: `python/etl.py`)
- ETL orchestration → Shared data utilities: uses utilities (evidence: `python/etl.py`)
- Dataset cleaning → Shared data utilities: standardizes columns (evidence: `python/preprocessing.py`)
- Risk features → Processed observations: enriches observations
- Warehouse schema → SQLite warehouse: defines schema
- Cleaning and checks → SQLite warehouse: checks data
- KPI views → SQLite warehouse: defines KPIs
- Analytical queries → SQLite warehouse: queries warehouse (evidence: `README.md`)
- Processed observations → Model comparison: provides training data (evidence: `README.md`)
- Model comparison → Quality and model reports: saves metrics (evidence: `python/model.py`)
- Model comparison → Processed observations: saves model (evidence: `python/model.py`)
- SQLite warehouse → Power BI reporting: feeds dashboard
- KPI views → Power BI reporting: supports reporting (evidence: `README.md`)
