# saikrishna2004205/ai-resume-screening-candidate-ranking-system architecture

> Architecture diagram of the GitHub repository saikrishna2004205/ai-resume-screening-candidate-ranking-system, 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/saikrishna2004205/ai-resume-screening-candidate-ranking-system
- Repository: https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system

## Overview

This small Streamlit app lets a user enter a job description and upload multiple PDFs, extracts resume text, scores each resume against the description, then sorts and displays the results. PDF extraction and ranking are separate stages; TF-IDF vectorization and cosine similarity are combined as the scoring layer. The implementation is in one source file, so the nodes share its path. The README and source excerpt support the shown workflow; no persistent storage or external services are evident.

Main entry points: [`resume_ranking.py`](https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py) (Streamlit app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Screening interface"]
  node_app["Streamlit app<br/>[resume_ranking.py]"]
  node_results["Ranked results<br/>[resume_ranking.py]"]
end

subgraph group_processing["Resume processing"]
  node_extract["PDF extraction<br/>[resume_ranking.py]"]
  node_score["Similarity scoring<br/>[resume_ranking.py]"]
end

node_user(("Hiring user"))

node_user -->|"enters and uploads"| node_app
node_app -->|"extracts text"| node_extract
node_app -->|"ranks resumes"| node_score
node_score -->|"returns scores"| node_results
node_app -->|"sorts and displays"| node_results
node_results -->|"shows rankings"| node_user

click node_app "https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py"
click node_extract "https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py"
click node_score "https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py"
click node_results "https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.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_results,node_user toneBlue
class node_extract,node_score toneAmber
```

## Components

### Screening interface

- [Streamlit app](https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py): `resume_ranking.py`
- [Ranked results](https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py): `resume_ranking.py`

### Resume processing

- [PDF extraction](https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py): `resume_ranking.py`
- [Similarity scoring](https://github.com/saikrishna2004205/ai-resume-screening-candidate-ranking-system/blob/main/resume_ranking.py): `resume_ranking.py`

### Other components

- **Hiring user**

## Connections

- Hiring user → Streamlit app: enters and uploads (evidence: `resume_ranking.py`)
- Streamlit app → PDF extraction: extracts text (evidence: `resume_ranking.py`)
- Streamlit app → Similarity scoring: ranks resumes (evidence: `resume_ranking.py`)
- Similarity scoring → Ranked results: returns scores (evidence: `resume_ranking.py`)
- Streamlit app → Ranked results: sorts and displays (evidence: `resume_ranking.py`)
- Ranked results → Hiring user: shows rankings (evidence: `resume_ranking.py`)
