# dummycodertech/talentlens architecture

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

- Interactive diagram: https://gitdiagram.com/dummycodertech/talentlens
- Repository: https://github.com/dummycodertech/talentlens

## Overview

This is a Streamlit recruiting application that takes candidates from CSV intake through resume and GitHub analysis, AI evaluation, archetype assignment, scoring, test-result re-ranking, and interview scheduling. The app is the workflow orchestrator; SQLite holds candidate, score, and interview state. The README documents several external integrations and stages beyond the sampled call excerpts, so those links are included as documented relationships; source-level detail is limited to the excerpts provided.

Main entry points: [`app.py`](https://github.com/dummycodertech/talentlens/blob/main/app.py) (Streamlit App), [`db.py`](https://github.com/dummycodertech/talentlens/blob/main/db.py) (SQLite Data Layer), [`modules/resume_parser.py`](https://github.com/dummycodertech/talentlens/blob/main/modules/resume_parser.py) (Resume Parser), [`modules/github_analyzer.py`](https://github.com/dummycodertech/talentlens/blob/main/modules/github_analyzer.py) (GitHub Analyzer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Recruiter Workflow"]
  node_app["Streamlit App<br/>[app.py]"]
end

subgraph group_signals["Candidate Signals"]
  node_resume["Resume Parser<br/>[resume_parser.py]"]
  node_github["GitHub Analyzer<br/>[github_analyzer.py]"]
  node_evaluator["AI Evaluator<br/>[ai_evaluator.py]"]
end

subgraph group_ranking["Ranking and Segmentation"]
  node_archetypes["Archetype Clustering"]
  node_scorer["WSM Scorer<br/>[scorer.py]"]
end

subgraph group_operations["Outreach and Scheduling"]
  node_emailer["Email Sender<br/>[emailer.py]"]
  node_scheduler["Calendar Scheduler"]
end

subgraph group_persistence["Application State"]
  node_db[("SQLite Data Layer<br/>[db.py]")]
end

node_recruiter(("Recruiter"))
node_csv["Candidate CSV"]
node_jd["Job Description"]
node_drive["Google Drive PDFs"]
node_github_api["GitHub REST API"]
node_minilm["MiniLM Embeddings"]
node_groq["Groq LLM"]
node_test_results["Test Results CSV"]
node_gmail["Gmail SMTP"]
node_calendar["Google Calendar"]

node_recruiter -->|"uses"| node_app
node_recruiter -->|"uploads"| node_csv
node_recruiter -->|"provides"| node_jd
node_csv -->|"supplies candidates"| node_app
node_jd -->|"supplies criteria"| node_app
node_app -->|"imports candidates"| node_db
node_app -->|"runs parsing"| node_resume
node_resume -->|"downloads PDFs"| node_drive
node_resume -->|"stores resume text"| node_db
node_app -->|"runs analysis"| node_github
node_github -->|"queries repositories"| node_github_api
node_github -->|"stores analysis"| node_db
node_app -->|"runs evaluation"| node_evaluator
node_evaluator -->|"computes similarity"| node_minilm
node_evaluator -->|"requests reasoning"| node_groq
node_app -->|"assigns archetypes"| node_archetypes
node_app -->|"scores candidates"| node_scorer
node_scorer -->|"reads and writes scores"| node_db
node_recruiter -->|"uploads results"| node_test_results
node_test_results -->|"supplies test scores"| node_app
node_app -->|"merges results"| node_db
node_app -->|"sends test links"| node_emailer
node_emailer -->|"sends mail"| node_gmail
node_app -->|"schedules interviews"| node_scheduler
node_scheduler -->|"creates events"| node_calendar
node_scheduler -->|"stores event details"| node_db

click node_app "https://github.com/dummycodertech/talentlens/blob/main/app.py"
click node_db "https://github.com/dummycodertech/talentlens/blob/main/db.py"
click node_resume "https://github.com/dummycodertech/talentlens/blob/main/modules/resume_parser.py"
click node_github "https://github.com/dummycodertech/talentlens/blob/main/modules/github_analyzer.py"
click node_evaluator "https://github.com/dummycodertech/talentlens/blob/main/modules/ai_evaluator.py"
click node_archetypes "https://github.com/dummycodertech/talentlens/blob/main/modules/archetype_clustering.py"
click node_scorer "https://github.com/dummycodertech/talentlens/blob/main/modules/scorer.py"
click node_emailer "https://github.com/dummycodertech/talentlens/blob/main/modules/emailer.py"
click node_scheduler "https://github.com/dummycodertech/talentlens/blob/main/modules/calendar_scheduler.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 toneBlue
class node_resume,node_github,node_evaluator toneAmber
class node_archetypes,node_scorer,node_github_api toneMint
class node_emailer,node_scheduler toneRose
class node_db,node_recruiter,node_csv,node_jd,node_drive,node_minilm,node_groq,node_test_results,node_gmail,node_calendar toneIndigo
```

## Components

### Recruiter Workflow

- [Streamlit App](https://github.com/dummycodertech/talentlens/blob/main/app.py): `app.py`

### Candidate Signals

- [Resume Parser](https://github.com/dummycodertech/talentlens/blob/main/modules/resume_parser.py): `modules/resume_parser.py`
- [GitHub Analyzer](https://github.com/dummycodertech/talentlens/blob/main/modules/github_analyzer.py): `modules/github_analyzer.py`
- [AI Evaluator](https://github.com/dummycodertech/talentlens/blob/main/modules/ai_evaluator.py): `modules/ai_evaluator.py`

### Ranking and Segmentation

- [Archetype Clustering](https://github.com/dummycodertech/talentlens/blob/main/modules/archetype_clustering.py): `modules/archetype_clustering.py`
- [WSM Scorer](https://github.com/dummycodertech/talentlens/blob/main/modules/scorer.py): `modules/scorer.py`

### Outreach and Scheduling

- [Email Sender](https://github.com/dummycodertech/talentlens/blob/main/modules/emailer.py): `modules/emailer.py`
- [Calendar Scheduler](https://github.com/dummycodertech/talentlens/blob/main/modules/calendar_scheduler.py): `modules/calendar_scheduler.py`

### Application State

- [SQLite Data Layer](https://github.com/dummycodertech/talentlens/blob/main/db.py): `db.py`

### Other components

- **Recruiter**
- **Candidate CSV**
- **Job Description**
- **Google Drive PDFs**
- **GitHub REST API**
- **MiniLM Embeddings**
- **Groq LLM**
- **Test Results CSV**
- **Gmail SMTP**
- **Google Calendar**

## Connections

- Recruiter → Streamlit App: uses (evidence: `README.md`)
- Recruiter → Candidate CSV: uploads (evidence: `README.md`)
- Recruiter → Job Description: provides (evidence: `README.md`)
- Candidate CSV → Streamlit App: supplies candidates (evidence: `README.md`)
- Job Description → Streamlit App: supplies criteria (evidence: `README.md`)
- Streamlit App → SQLite Data Layer: imports candidates (evidence: `README.md`)
- Streamlit App → Resume Parser: runs parsing (evidence: `app.py`)
- Resume Parser → Google Drive PDFs: downloads PDFs (evidence: `modules/resume_parser.py`)
- Resume Parser → SQLite Data Layer: stores resume text (evidence: `modules/resume_parser.py`)
- Streamlit App → GitHub Analyzer: runs analysis (evidence: `app.py`)
- GitHub Analyzer → GitHub REST API: queries repositories (evidence: `README.md`)
- GitHub Analyzer → SQLite Data Layer: stores analysis (evidence: `modules/github_analyzer.py`)
- Streamlit App → AI Evaluator: runs evaluation (evidence: `app.py`)
- AI Evaluator → MiniLM Embeddings: computes similarity (evidence: `README.md`)
- AI Evaluator → Groq LLM: requests reasoning (evidence: `README.md`)
- Streamlit App → Archetype Clustering: assigns archetypes (evidence: `app.py`)
- Streamlit App → WSM Scorer: scores candidates (evidence: `app.py`)
- WSM Scorer → SQLite Data Layer: reads and writes scores (evidence: `modules/scorer.py`)
- Recruiter → Test Results CSV: uploads results (evidence: `README.md`)
- Test Results CSV → Streamlit App: supplies test scores (evidence: `README.md`)
- Streamlit App → SQLite Data Layer: merges results (evidence: `README.md`)
- Streamlit App → Email Sender: sends test links (evidence: `app.py`)
- Email Sender → Gmail SMTP: sends mail (evidence: `modules/emailer.py`)
- Streamlit App → Calendar Scheduler: schedules interviews (evidence: `app.py`)
- Calendar Scheduler → Google Calendar: creates events (evidence: `modules/calendar_scheduler.py`)
- Calendar Scheduler → SQLite Data Layer: stores event details (evidence: `modules/calendar_scheduler.py`)
