# suhana-thabassum/student-performance-analytics architecture

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

- Interactive diagram: https://gitdiagram.com/suhana-thabassum/student-performance-analytics
- Repository: https://github.com/suhana-thabassum/student-performance-analytics

## Overview

This is a small, single-script student analytics program. The documented workflow is to run the script, load the student CSV, compute per-student totals, averages, grades and pass/fail results, then print class, subject, top-student and attendance analyses. The implementation excerpt supports these stages and their data flow; the README documents running the program and its outputs. The repository has no separate storage or analytics layers, so the nodes reflect responsibilities within main.py rather than invented modules.

Main entry points: [`main.py`](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py) (Student Metrics), [`students.csv`](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/students.csv) (Student Records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Input Data"]
  node_dataset["Student Records<br/>[students.csv]"]
end

subgraph group_analysis["Performance Analysis"]
  node_script["Analytics Script<br/>[main.py]"]
  node_metrics["Student Metrics<br/>[main.py]"]
end

subgraph group_outputs["Analysis Outputs"]
  node_class["Class Statistics<br/>[main.py]"]
  node_subjects["Subject Analysis<br/>[main.py]"]
  node_top["Top Students<br/>[main.py]"]
  node_attendance["Attendance Analysis<br/>[main.py]"]
  node_console["Printed Results<br/>[main.py]"]
end

node_user(("User"))

node_user -->|"runs"| node_script
node_script -->|"reads"| node_dataset
node_script -->|"computes"| node_metrics
node_metrics -->|"summarizes"| node_class
node_metrics -->|"analyzes"| node_subjects
node_metrics -->|"ranks"| node_top
node_metrics -->|"analyzes"| node_attendance
node_script -->|"prints"| node_console

click node_script "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_dataset "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/students.csv"
click node_metrics "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_class "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_subjects "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_top "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_attendance "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py"
click node_console "https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.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_dataset,node_user toneBlue
class node_script,node_metrics toneAmber
class node_class,node_subjects,node_top,node_attendance,node_console toneMint
```

## Components

### Input Data

- [Student Records](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/students.csv): `students.csv`

### Performance Analysis

- [Analytics Script](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`
- [Student Metrics](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`

### Analysis Outputs

- [Class Statistics](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`
- [Subject Analysis](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`
- [Top Students](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`
- [Attendance Analysis](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`
- [Printed Results](https://github.com/suhana-thabassum/student-performance-analytics/blob/main/main.py): `main.py`

### Other components

- **User**

## Connections

- User → Analytics Script: runs (evidence: `README.md`)
- Analytics Script → Student Records: reads (evidence: `main.py`)
- Analytics Script → Student Metrics: computes (evidence: `main.py`)
- Student Metrics → Class Statistics: summarizes (evidence: `main.py`)
- Student Metrics → Subject Analysis: analyzes (evidence: `main.py`)
- Student Metrics → Top Students: ranks (evidence: `main.py`)
- Student Metrics → Attendance Analysis: analyzes (evidence: `main.py`)
- Analytics Script → Printed Results: prints (evidence: `main.py`)
