# dharanipvt01-collab/student-mark-analysis architecture

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

- Interactive diagram: https://gitdiagram.com/dharanipvt01-collab/student-mark-analysis
- Repository: https://github.com/dharanipvt01-collab/student-mark-analysis

## Overview

This is a small student-marks analysis project with a Streamlit web interface and a separate command-line script. In the web workflow, a user opens the app, which calculates summary statistics from a fixed list and displays the marks and results. The README also documents Streamlit Community Cloud hosting. The notebook is present in the tree, but its contents were not sampled, so its behavior and connections are omitted.

Main entry points: [`app.py`](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py) (Streamlit app), [`Student-Mark-Analysis.py`](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/Student-Mark-Analysis.py) (CLI analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_webapp["Streamlit app<br/>[app.py]"]
  node_webstats["Mark statistics<br/>[app.py]"]
  node_webdisplay["Results display<br/>[app.py]"]
end

subgraph group_cli["Standalone script"]
  node_cliapp["CLI analysis"]
  node_clistats["CLI statistics"]
end

node_user(("User"))
node_streamlit["Streamlit framework"]
node_cloud["Community Cloud"]

node_user -->|"opens"| node_webapp
node_webapp -->|"calculates"| node_webstats
node_webapp -->|"renders"| node_webdisplay
node_webapp -->|"calls UI"| node_streamlit
node_webapp -.->|"hosted on"| node_cloud
node_cliapp -->|"calculates"| node_clistats

click node_webapp "https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py"
click node_webstats "https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py"
click node_webdisplay "https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py"
click node_cliapp "https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/Student-Mark-Analysis.py"
click node_clistats "https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/Student-Mark-Analysis.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_webapp,node_webstats,node_webdisplay,node_user toneBlue
class node_cliapp,node_clistats toneAmber
class node_streamlit,node_cloud toneIndigo
```

## Components

### Web application

- [Streamlit app](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py): `app.py`
- [Mark statistics](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py): `app.py`
- [Results display](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/app.py): `app.py`

### Standalone script

- [CLI analysis](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/Student-Mark-Analysis.py): `Student-Mark-Analysis.py`
- [CLI statistics](https://github.com/dharanipvt01-collab/student-mark-analysis/blob/main/Student-Mark-Analysis.py): `Student-Mark-Analysis.py`

### Other components

- **User**
- **Streamlit framework**
- **Community Cloud**

## Connections

- User → Streamlit app: opens (evidence: `README.md`)
- Streamlit app → Mark statistics: calculates (evidence: `app.py`)
- Streamlit app → Results display: renders (evidence: `app.py`)
- Streamlit app → Streamlit framework: calls UI (evidence: `app.py`)
- Streamlit app → Community Cloud: hosted on (evidence: `README.md`)
- CLI analysis → CLI statistics: calculates (evidence: `Student-Mark-Analysis.py`)
