# rajshree1102/athena_assignment architecture

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

- Interactive diagram: https://gitdiagram.com/rajshree1102/athena_assignment
- Repository: https://github.com/rajshree1102/athena_assignment

## Overview

Global Numeral Systems Explorer is a Streamlit learning app whose main workflow lets a learner explore numeral systems, request conversions, or practice generated puzzles. All runtime responsibilities are implemented in app.py; the README documents capabilities whose implementation details are not fully excerpted. The visible source shows the system library, deep-dive and conversion prompts, and Groq client call. Puzzle hints and evaluation are documented but their wiring is not shown, so those links are marked unverified.

Main entry points: [`app.py`](https://github.com/rajshree1102/athena_assignment/blob/main/app.py) (Prompt Handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Numeral Learning"]
  node_app["Streamlit App<br/>[app.py]"]
  node_library["Systems Library<br/>[app.py]"]
  node_deepdives["AI Deep Dives<br/>[app.py]"]
  node_examples["Interactive Examples<br/>[app.py]"]
end

subgraph group_conversion["Numeral Conversion"]
  node_converter["Smart Converter<br/>[app.py]"]
  node_batch["Batch Conversion<br/>[app.py]"]
end

subgraph group_practice["Practice Zone"]
  node_puzzles["Puzzle Generation<br/>[app.py]"]
  node_hints["Hints and Evaluation<br/>[app.py]"]
end

subgraph group_ai["AI Services"]
  node_llm["Prompt Handler<br/>[app.py]"]
  node_client["Groq Client<br/>[app.py]"]
end

node_learner(("Learner"))
node_groq{{"Groq API"}}

node_learner -->|"uses"| node_app
node_app -->|"routes to"| node_library
node_app -->|"routes to"| node_converter
node_app -->|"routes to"| node_puzzles
node_library -->|"requests"| node_deepdives
node_library -->|"requests"| node_examples
node_deepdives -->|"prompts"| node_llm
node_examples -->|"prompts"| node_llm
node_converter -->|"prompts"| node_llm
node_batch -.->|"prompts"| node_llm
node_puzzles -.->|"generates with"| node_llm
node_hints -.->|"requests help"| node_llm
node_llm -->|"calls"| node_client
node_client -->|"sends prompts"| node_groq

click node_app "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_library "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_deepdives "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_examples "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_converter "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_batch "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_puzzles "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_hints "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_llm "https://github.com/rajshree1102/athena_assignment/blob/main/app.py"
click node_client "https://github.com/rajshree1102/athena_assignment/blob/main/app.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_app,node_library,node_deepdives,node_examples toneBlue
class node_converter,node_batch toneAmber
class node_puzzles,node_hints,node_groq toneMint
class node_llm,node_client toneRose
class node_learner toneIndigo
```

## Components

### Numeral Learning

- [Streamlit App](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [Systems Library](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [AI Deep Dives](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [Interactive Examples](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`

### Numeral Conversion

- [Smart Converter](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [Batch Conversion](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`

### Practice Zone

- [Puzzle Generation](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [Hints and Evaluation](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`

### AI Services

- [Prompt Handler](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`
- [Groq Client](https://github.com/rajshree1102/athena_assignment/blob/main/app.py): `app.py`

### Other components

- **Learner**
- **Groq API**

## Connections

- Learner → Streamlit App: uses (evidence: `README.md`)
- Streamlit App → Systems Library: routes to (evidence: `app.py`)
- Streamlit App → Smart Converter: routes to (evidence: `app.py`)
- Streamlit App → Puzzle Generation: routes to (evidence: `app.py`)
- Systems Library → AI Deep Dives: requests (evidence: `app.py`)
- Systems Library → Interactive Examples: requests (evidence: `app.py`)
- AI Deep Dives → Prompt Handler: prompts (evidence: `app.py`)
- Interactive Examples → Prompt Handler: prompts (evidence: `app.py`)
- Smart Converter → Prompt Handler: prompts (evidence: `app.py`)
- Batch Conversion → Prompt Handler: prompts (evidence: `README.md`)
- Puzzle Generation → Prompt Handler: generates with (evidence: `README.md`)
- Hints and Evaluation → Prompt Handler: requests help (evidence: `README.md`)
- Prompt Handler → Groq Client: calls (evidence: `app.py`)
- Groq Client → Groq API: sends prompts (evidence: `app.py`)
