# mepravi25/student_burnout_ml architecture

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

- Interactive diagram: https://gitdiagram.com/mepravi25/student_burnout_ml
- Repository: https://github.com/mepravi25/student_burnout_ml

## Overview

#### Purpose and Entry Points
The repository is a small data-backed application with a Python entry point and a browser UI. The primary executable is `app.py`; the client entry document is `index.html`.

#### Application Runtime
`app.py` is the server-side control boundary and likely owns application startup, request handling, and access to repository data. Python dependencies and the intended server/runtime stack are defined in `requirements.txt`.

#### Browser Presentation Layer
`index.html` provides the document shell loaded by users. `style.css` owns visual layout and presentation, while `script.js` contains browser-side behavior, UI state, and any client requests or data rendering.

Grounding paths:
- `index.html`
- `style.css`
- `script.js`

#### Data Boundary
`dataset.csv` is the repository’s persisted dataset and separates application behavior from source data. Server-side code in `app.py` may load or expose it; alternatively, browser code in `script.js` may consume it directly. The actual access pattern must be confirmed from source contents.

Grounding paths:
- `dataset.csv`
- `app.py`
- `script.js`

#### Primary Control Flow
1. A Python process starts through `app.py`.
2. A user loads the browser document from `index.html`.
3. The browser applies `style.css` and executes `script.js`.
4. UI logic obtains, filters, or renders records originating from `dataset.csv`, either through the Python application or direct static loading.
5. Rendered results and interactions remain in the browser layer.

#### Deployment and External Dependencies
No infrastructure-as-code, container configuration, CI configuration, database schema, or explicit third-party service integration is present in the supplied tree. `requirements.txt` is the authoritative dependency boundary for Python-side libraries. Static assets are colocated with the application rather than split into a separate frontend package or build system.

Main entry points: [`index.html`](https://github.com/mepravi25/student_burnout_ml/blob/main/index.html) (Document shell), [`script.js`](https://github.com/mepravi25/student_burnout_ml/blob/main/script.js) (UI logic), [`app.py`](https://github.com/mepravi25/student_burnout_ml/blob/main/app.py) (Application server), [`dataset.csv`](https://github.com/mepravi25/student_burnout_ml/blob/main/dataset.csv) (Dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_server["Python Runtime"]
  node_python_process(("Python process<br/>runtime"))
  node_app["Application server<br/>Python entry point<br/>[app.py]"]
  node_requirements["Python dependencies<br/>dependency manifest<br/>[requirements.txt]"]
end

subgraph group_browser["Browser UI"]
  node_user(("User"))
  node_index["Document shell<br/>HTML entry document<br/>[index.html]"]
  node_styles["Presentation<br/>CSS stylesheet<br/>[style.css]"]
  node_ui_logic["UI logic<br/>browser JavaScript<br/>[script.js]"]
end

subgraph group_data["Data &amp; Dependencies"]
  node_dataset[("Dataset<br/>CSV data store<br/>[dataset.csv]")]
end

node_requirements -.->|"defines runtime"| node_python_process
node_python_process -->|"starts"| node_app
node_user -->|"loads"| node_index
node_index -->|"applies"| node_styles
node_index -->|"executes"| node_ui_logic
node_app -.->|"may load or expose"| node_dataset
node_ui_logic -.->|"may load directly"| node_dataset
node_ui_logic -->|"renders results"| node_user

click node_app "https://github.com/mepravi25/student_burnout_ml/blob/main/app.py"
click node_requirements "https://github.com/mepravi25/student_burnout_ml/blob/main/requirements.txt"
click node_index "https://github.com/mepravi25/student_burnout_ml/blob/main/index.html"
click node_styles "https://github.com/mepravi25/student_burnout_ml/blob/main/style.css"
click node_ui_logic "https://github.com/mepravi25/student_burnout_ml/blob/main/script.js"
click node_dataset "https://github.com/mepravi25/student_burnout_ml/blob/main/dataset.csv"

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_python_process,node_app,node_requirements toneBlue
class node_user,node_index,node_styles,node_ui_logic toneAmber
class node_dataset toneMint
```

## Components

### Python Runtime

- **Python process**: runtime · Starts the application server.
- [Application server](https://github.com/mepravi25/student_burnout_ml/blob/main/app.py): Python entry point · Owns startup, request handling, and data access. · `app.py`
- [Python dependencies](https://github.com/mepravi25/student_burnout_ml/blob/main/requirements.txt): dependency manifest · Defines the server runtime stack. · `requirements.txt`

### Browser UI

- **User**: browser user
- [Document shell](https://github.com/mepravi25/student_burnout_ml/blob/main/index.html): HTML entry document · Browser entry page. · `index.html`
- [Presentation](https://github.com/mepravi25/student_burnout_ml/blob/main/style.css): CSS stylesheet · Provides layout and visual styling. · `style.css`
- [UI logic](https://github.com/mepravi25/student_burnout_ml/blob/main/script.js): browser JavaScript · Manages interactions, state, and record rendering. · `script.js`

### Data & Dependencies

- [Dataset](https://github.com/mepravi25/student_burnout_ml/blob/main/dataset.csv): CSV data store · Persisted application records. · `dataset.csv`

## Connections

- Python dependencies → Python process: defines runtime
- Python process → Application server: starts
- User → Document shell: loads
- Document shell → Presentation: applies
- Document shell → UI logic: executes
- Application server → Dataset: may load or expose · Server-side access is inferred and requires source confirmation.
- UI logic → Dataset: may load directly · Direct browser access is inferred and requires source confirmation.
- UI logic → User: renders results
