# ctum0/altrium-hiring-tracker architecture

> Architecture diagram of the GitHub repository ctum0/altrium-hiring-tracker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ctum0/altrium-hiring-tracker
- Repository: https://github.com/ctum0/altrium-hiring-tracker

## Overview

Altrium Hiring Tracker is a Django recruitment platform. HR or a public applicant submits a candidate, CV text is extracted and parsed, candidates are deduplicated and scored, then HR manages a round-based Kanban pipeline. Interviewers provide gated scorecards, AI assists evaluation and panel consensus, and management monitors reporting. Scheduling, talent-pool reuse, role-scoped access, storage, and automated email escalation are supporting branches. Some view and model implementations were not sampled, so uncertain internal calls are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access &amp; Oversight"]
  node_auth["Auth &amp; RBAC<br/>[views.py]"]
  node_dashboards["Role Dashboards<br/>[views.py]"]
  node_reports["Reports &amp; Exports<br/>[views.py]"]
end

subgraph group_hiring["Jobs &amp; Scheduling"]
  node_jobs["Jobs &amp; Rounds<br/>[views.py]"]
  node_job_store[("Hiring Database<br/>[models.py]")]
  node_availability["Availability<br/>[views.py]"]
  node_scheduling["Interview Scheduling<br/>[views.py]"]
end

subgraph group_intake["Candidate Intake"]
  node_intake["Candidate Intake<br/>[views.py]"]
  node_cv_extract["CV Extraction<br/>[cv_parser.py]"]
  node_ai_engine["AI Hiring Assistant<br/>[services.py]"]
  node_local_fallback["Local AI Fallback<br/>[services.py]"]
  node_dedup["Deduplication<br/>[dedup.py]"]
  node_intake_rules["Intake Rules<br/>[intake_rules.py]"]
  node_candidate_store[("Candidate Records<br/>[models.py]")]
end

subgraph group_evaluation["Pipeline &amp; Evaluation"]
  node_pipeline["Kanban Pipeline<br/>[views.py]"]
  node_feedback_gate["Feedback Gate<br/>[views.py]"]
  node_scorecards["Interview Scorecards<br/>[views.py]"]
  node_feedback_store[("Feedback Records<br/>[models.py]")]
  node_talent_pool["Talent Pool<br/>[talent_pool.py]"]
end

subgraph group_communications["Notifications"]
  node_notifications["Notification Dispatch<br/>[tasks.py]"]
  node_notification_store[("Notification Records<br/>[models.py]")]
end

node_hr(("HR User"))
node_interviewer(("Interviewer"))
node_management(("Management"))
node_applicant(("Public Applicant"))
node_email["Email Delivery"]
node_groq["Groq LLM"]
node_cv_storage[("CV Object Storage")]

node_hr -->|"signs in"| node_auth
node_interviewer -->|"signs in"| node_auth
node_management -->|"signs in"| node_auth
node_auth -->|"routes by role"| node_dashboards
node_management -->|"reviews KPIs"| node_reports
node_hr -->|"manages jobs"| node_jobs
node_jobs -->|"reads and writes"| node_job_store
node_interviewer -->|"declares windows"| node_availability
node_hr -->|"books interviews"| node_scheduling
node_scheduling -->|"checks windows"| node_availability
node_applicant -->|"submits application"| node_intake
node_hr -->|"uploads CVs"| node_intake
node_intake -->|"extracts text"| node_cv_extract
node_intake -->|"requests parsing"| node_ai_engine
node_ai_engine -.->|"calls LLM"| node_groq
node_ai_engine -->|"falls back"| node_local_fallback
node_intake -->|"checks duplicates"| node_dedup
node_intake -->|"applies scoring"| node_intake_rules
node_intake -->|"stores application"| node_candidate_store
node_intake -.->|"stores CV"| node_cv_storage
node_hr -->|"moves candidates"| node_pipeline
node_pipeline -->|"checks feedback"| node_feedback_gate
node_feedback_gate -->|"reads feedback"| node_feedback_store
node_pipeline -->|"updates stage"| node_candidate_store
node_interviewer -->|"submits evaluation"| node_scorecards
node_scorecards -->|"requests suggestions"| node_ai_engine
node_scorecards -->|"saves scorecard"| node_feedback_store
node_ai_engine -->|"reads evaluations"| node_feedback_store
node_hr -->|"re-engages talent"| node_talent_pool
node_talent_pool -->|"finds candidates"| node_candidate_store
node_talent_pool -->|"matches roles"| node_job_store
node_pipeline -->|"triggers notices"| node_notifications
node_jobs -->|"notifies closure"| node_notifications
node_notifications -->|"records notices"| node_notification_store
node_notifications -->|"sends email"| node_email
node_reports -->|"reads metrics"| node_candidate_store
node_reports -->|"reads job data"| node_job_store

click node_auth "https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py"
click node_dashboards "https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py"
click node_reports "https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py"
click node_jobs "https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/views.py"
click node_job_store "https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/models.py"
click node_availability "https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py"
click node_scheduling "https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/views.py"
click node_intake "https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/views.py"
click node_cv_extract "https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/cv_parser.py"
click node_ai_engine "https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/services.py"
click node_local_fallback "https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/services.py"
click node_dedup "https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/dedup.py"
click node_intake_rules "https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/intake_rules.py"
click node_candidate_store "https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/models.py"
click node_pipeline "https://github.com/ctum0/altrium-hiring-tracker/blob/main/pipeline/views.py"
click node_feedback_gate "https://github.com/ctum0/altrium-hiring-tracker/blob/main/pipeline/views.py"
click node_scorecards "https://github.com/ctum0/altrium-hiring-tracker/blob/main/feedback/views.py"
click node_feedback_store "https://github.com/ctum0/altrium-hiring-tracker/blob/main/feedback/models.py"
click node_talent_pool "https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/talent_pool.py"
click node_notifications "https://github.com/ctum0/altrium-hiring-tracker/blob/main/notifications/tasks.py"
click node_notification_store "https://github.com/ctum0/altrium-hiring-tracker/blob/main/notifications/models.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_auth,node_dashboards,node_reports,node_hr,node_interviewer toneBlue
class node_jobs,node_job_store,node_availability,node_scheduling,node_cv_storage toneAmber
class node_intake,node_cv_extract,node_ai_engine,node_local_fallback,node_dedup,node_intake_rules,node_candidate_store toneMint
class node_pipeline,node_feedback_gate,node_scorecards,node_feedback_store,node_talent_pool toneRose
class node_notifications,node_notification_store,node_management,node_applicant,node_email,node_groq toneIndigo
```

## Components

### Access & Oversight

- [Auth & RBAC](https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py): `accounts/views.py`
- [Role Dashboards](https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py): `accounts/views.py`
- [Reports & Exports](https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py): `accounts/views.py`

### Jobs & Scheduling

- [Jobs & Rounds](https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/views.py): `jobs/views.py`
- [Hiring Database](https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/models.py): `jobs/models.py`
- [Availability](https://github.com/ctum0/altrium-hiring-tracker/blob/main/accounts/views.py): `accounts/views.py`
- [Interview Scheduling](https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/views.py): `jobs/views.py`

### Candidate Intake

- [Candidate Intake](https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/views.py): `candidates/views.py`
- [CV Extraction](https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/cv_parser.py): `ai/cv_parser.py`
- [AI Hiring Assistant](https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/services.py): `ai/services.py`
- [Local AI Fallback](https://github.com/ctum0/altrium-hiring-tracker/blob/main/ai/services.py): `ai/services.py`
- [Deduplication](https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/dedup.py): `candidates/dedup.py`
- [Intake Rules](https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/intake_rules.py): `candidates/intake_rules.py`
- [Candidate Records](https://github.com/ctum0/altrium-hiring-tracker/blob/main/candidates/models.py): `candidates/models.py`

### Pipeline & Evaluation

- [Kanban Pipeline](https://github.com/ctum0/altrium-hiring-tracker/blob/main/pipeline/views.py): `pipeline/views.py`
- [Feedback Gate](https://github.com/ctum0/altrium-hiring-tracker/blob/main/pipeline/views.py): `pipeline/views.py`
- [Interview Scorecards](https://github.com/ctum0/altrium-hiring-tracker/blob/main/feedback/views.py): `feedback/views.py`
- [Feedback Records](https://github.com/ctum0/altrium-hiring-tracker/blob/main/feedback/models.py): `feedback/models.py`
- [Talent Pool](https://github.com/ctum0/altrium-hiring-tracker/blob/main/jobs/talent_pool.py): `jobs/talent_pool.py`

### Notifications

- [Notification Dispatch](https://github.com/ctum0/altrium-hiring-tracker/blob/main/notifications/tasks.py): `notifications/tasks.py`
- [Notification Records](https://github.com/ctum0/altrium-hiring-tracker/blob/main/notifications/models.py): `notifications/models.py`

### Other components

- **HR User**
- **Interviewer**
- **Management**
- **Public Applicant**
- **Email Delivery**
- **Groq LLM**
- **CV Object Storage**

## Connections

- HR User → Auth & RBAC: signs in
- Interviewer → Auth & RBAC: signs in
- Management → Auth & RBAC: signs in
- Auth & RBAC → Role Dashboards: routes by role
- Management → Reports & Exports: reviews KPIs
- HR User → Jobs & Rounds: manages jobs
- Jobs & Rounds → Hiring Database: reads and writes
- Interviewer → Availability: declares windows
- HR User → Interview Scheduling: books interviews
- Interview Scheduling → Availability: checks windows
- Public Applicant → Candidate Intake: submits application
- HR User → Candidate Intake: uploads CVs
- Candidate Intake → CV Extraction: extracts text
- Candidate Intake → AI Hiring Assistant: requests parsing
- AI Hiring Assistant → Groq LLM: calls LLM
- AI Hiring Assistant → Local AI Fallback: falls back
- Candidate Intake → Deduplication: checks duplicates
- Candidate Intake → Intake Rules: applies scoring
- Candidate Intake → Candidate Records: stores application
- Candidate Intake → CV Object Storage: stores CV
- HR User → Kanban Pipeline: moves candidates
- Kanban Pipeline → Feedback Gate: checks feedback
- Feedback Gate → Feedback Records: reads feedback
- Kanban Pipeline → Candidate Records: updates stage
- Interviewer → Interview Scorecards: submits evaluation
- Interview Scorecards → AI Hiring Assistant: requests suggestions
- Interview Scorecards → Feedback Records: saves scorecard
- AI Hiring Assistant → Feedback Records: reads evaluations
- HR User → Talent Pool: re-engages talent
- Talent Pool → Candidate Records: finds candidates
- Talent Pool → Hiring Database: matches roles
- Kanban Pipeline → Notification Dispatch: triggers notices
- Jobs & Rounds → Notification Dispatch: notifies closure
- Notification Dispatch → Notification Records: records notices
- Notification Dispatch → Email Delivery: sends email
- Reports & Exports → Candidate Records: reads metrics
- Reports & Exports → Hiring Database: reads job data
