# ndeirm/exams-scheduling-with-ai architecture

> Architecture diagram of the GitHub repository ndeirm/exams-scheduling-with-ai, 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/ndeirm/exams-scheduling-with-ai
- Repository: https://github.com/ndeirm/exams-scheduling-with-ai

## Overview

This is a Java exam-scheduling application that takes student course selections from an Excel workbook and searches for a schedule with few close-together exams while meeting an average-performance target. The README describes randomized 28-day schedules, fixed weekend exams, student scoring, and repeated attempts with an adaptive problem-student target. The JAR is the only application implementation available in the tree; these internal stages are therefore based on README documentation, not inspected source code.

Main entry points: [`Exams_Scheduling.jar`](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar) (Scheduling application), [`StudentsExcel.xls`](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/StudentsExcel.xls) (Student workbook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Inputs"]
  node_workbook["Student workbook<br/>[StudentsExcel.xls]"]
end

subgraph group_optimizer["Schedule optimizer"]
  node_app["Scheduling application"]
  node_load["Read course choices"]
  node_schedule["Generate schedule"]
  node_score["Score student spacing"]
  node_search["Evaluate and retry"]
end

subgraph group_results["Results"]
  node_result["Exam schedule"]
end

node_user(("Scheduler"))
node_jre["Java runtime"]

node_user -->|"runs"| node_app
node_jre -->|"runs"| node_app
node_workbook -->|"provides selections"| node_load
node_app -->|"reads input"| node_load
node_app -->|"generates candidates"| node_schedule
node_schedule -->|"scores students"| node_score
node_score -->|"provides metrics"| node_search
node_search -->|"retries"| node_schedule
node_search -->|"selects schedule"| node_result
node_app -->|"produces"| node_result

click node_workbook "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/StudentsExcel.xls"
click node_app "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"
click node_load "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"
click node_schedule "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"
click node_score "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"
click node_search "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"
click node_result "https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar"

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_workbook toneBlue
class node_app,node_load,node_schedule,node_score,node_search toneAmber
class node_result toneMint
class node_user toneRose
class node_jre toneIndigo
```

## Components

### Inputs

- [Student workbook](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/StudentsExcel.xls): `StudentsExcel.xls`

### Schedule optimizer

- [Scheduling application](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`
- [Read course choices](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`
- [Generate schedule](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`
- [Score student spacing](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`
- [Evaluate and retry](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`

### Results

- [Exam schedule](https://github.com/ndeirm/exams-scheduling-with-ai/blob/main/Exams_Scheduling.jar): `Exams_Scheduling.jar`

### Other components

- **Scheduler**
- **Java runtime**

## Connections

- Scheduler → Scheduling application: runs (evidence: `README.md`)
- Java runtime → Scheduling application: runs (evidence: `README.md`)
- Student workbook → Read course choices: provides selections (evidence: `README.md`)
- Scheduling application → Read course choices: reads input (evidence: `README.md`)
- Scheduling application → Generate schedule: generates candidates (evidence: `README.md`)
- Generate schedule → Score student spacing: scores students (evidence: `README.md`)
- Score student spacing → Evaluate and retry: provides metrics (evidence: `README.md`)
- Evaluate and retry → Generate schedule: retries (evidence: `README.md`)
- Evaluate and retry → Exam schedule: selects schedule (evidence: `README.md`)
- Scheduling application → Exam schedule: produces (evidence: `README.md`)
