# snmiitb-bit/chemskillass architecture

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

- Interactive diagram: https://gitdiagram.com/snmiitb-bit/chemskillass
- Repository: https://github.com/snmiitb-bit/chemskillass

## Overview

This is a Streamlit skill competency assessment portal. A student selects a target sector, rates its listed skills, and supplies evidence, development plans, and priorities; submitting a named profile generates a downloadable PDF certificate. The catalog, interface, validation, and PDF generation are all implemented in one file. The graph reflects only the sampled source; no separate storage or external service is shown.

Main entry points: [`chemskilass.py`](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py) (Assessment Portal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assessment["Assessment"]
  node_portal["Assessment Portal<br/>[chemskilass.py]"]
  node_catalog["Sector Skill Catalog<br/>[chemskilass.py]"]
  node_profile["Skill Profile<br/>[chemskilass.py]"]
  node_validation["Name Validation<br/>[chemskilass.py]"]
end

subgraph group_reporting["Certificate"]
  node_pdf["PDF Generator<br/>[chemskilass.py]"]
  node_download["Certificate Download<br/>[chemskilass.py]"]
end

node_student(("Student"))

node_student -->|"enters assessment"| node_portal
node_portal -->|"selects sector"| node_catalog
node_portal -->|"collects ratings"| node_profile
node_portal -->|"checks name"| node_validation
node_validation -->|"generates certificate"| node_pdf
node_pdf -->|"provides PDF bytes"| node_download
node_portal -->|"offers download"| node_download

click node_portal "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py"
click node_catalog "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py"
click node_profile "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py"
click node_validation "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py"
click node_pdf "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py"
click node_download "https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.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_portal,node_catalog,node_profile,node_validation toneBlue
class node_pdf,node_download toneAmber
class node_student toneIndigo
```

## Components

### Assessment

- [Assessment Portal](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`
- [Sector Skill Catalog](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`
- [Skill Profile](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`
- [Name Validation](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`

### Certificate

- [PDF Generator](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`
- [Certificate Download](https://github.com/snmiitb-bit/chemskillass/blob/main/chemskilass.py): `chemskilass.py`

### Other components

- **Student**

## Connections

- Student → Assessment Portal: enters assessment (evidence: `chemskilass.py`)
- Assessment Portal → Sector Skill Catalog: selects sector (evidence: `chemskilass.py`)
- Assessment Portal → Skill Profile: collects ratings (evidence: `chemskilass.py`)
- Assessment Portal → Name Validation: checks name (evidence: `chemskilass.py`)
- Name Validation → PDF Generator: generates certificate (evidence: `chemskilass.py`)
- PDF Generator → Certificate Download: provides PDF bytes (evidence: `chemskilass.py`)
- Assessment Portal → Certificate Download: offers download (evidence: `chemskilass.py`)
