# ericavymai/project-1 architecture

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

- Interactive diagram: https://gitdiagram.com/ericavymai/project-1
- Repository: https://github.com/ericavymai/project-1

## Overview

This repository contains two small, independent Python scripts: one computes average attendance rates by school district, and the other calculates a weighted grade. The attendance script reads a hard-coded Attendance.txt file and prints results; that input file is not present in the supplied tree. The README is empty, and the listed Attendance and COVID directories have no sampled contents, so their roles and any relationship to the scripts are unknown.

Main entry points: [`main.py`](https://github.com/ericavymai/project-1/blob/main/main.py) (District averages), [`GradeCalculations.py`](https://github.com/ericavymai/project-1/blob/main/GradeCalculations.py) (Weighted grade)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_attendance_input["Attendance input"]
node_district_means["District averages<br/>[main.py]"]
node_console["Console output"]
node_weighted_grade["Weighted grade"]

node_district_means -->|"reads"| node_attendance_input
node_district_means -->|"prints means"| node_console
node_weighted_grade -->|"prints grade"| node_console

click node_district_means "https://github.com/ericavymai/project-1/blob/main/main.py"
click node_weighted_grade "https://github.com/ericavymai/project-1/blob/main/GradeCalculations.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_attendance_input,node_console toneIndigo
class node_district_means,node_weighted_grade toneTeal
```

## Components

### Other components

- **Attendance input**
- [District averages](https://github.com/ericavymai/project-1/blob/main/main.py): `main.py`
- **Console output**
- [Weighted grade](https://github.com/ericavymai/project-1/blob/main/GradeCalculations.py): `GradeCalculations.py`

## Connections

- District averages → Attendance input: reads (evidence: `main.py`)
- District averages → Console output: prints means (evidence: `main.py`)
- Weighted grade → Console output: prints grade (evidence: `GradeCalculations.py`)
