# srirama23/project-recommendation-v1 architecture

> Architecture diagram of the GitHub repository srirama23/project-recommendation-v1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/srirama23/project-recommendation-v1
- Repository: https://github.com/srirama23/project-recommendation-v1

## Overview

#### Purpose and entry point
This is a Python resume-to-career-planning application. It appears to ingest a resume PDF, derive a candidate skill profile, compare it with role requirements, score fit, recommend roles, and generate a development roadmap. The primary entry point is `app.py`; reusable pipeline stages are under `modules/`.

#### Resume ingestion and text extraction
`modules/pdf_parser.py` is the boundary between uploaded/local resume documents and the internal pipeline. Resume samples are present at `resume.pdf` and `modules/resume.pdf.pdf`. Parsed resume text is the likely input to downstream skill extraction and profile construction.

#### Skill extraction and profile construction
`modules/skill_extractor.py` identifies skills from resume content. `modules/profile_builder.py` converts extracted information into a normalized candidate profile suitable for comparison and recommendation. This establishes the core internal representation: resume-derived candidate attributes rather than raw PDF text.

#### Role and skill knowledge base
Static CSV datasets provide the application’s reference data:
- `data/roles.csv`
- `data/skills.csv`
- `data/projects.csv`

These files are the boundary between the candidate profile and curated career/role information. Roles likely define target requirements; skills and projects support matching and roadmap outputs.

#### Fit scoring and gap analysis
`modules/scorer.py` computes candidate-to-role compatibility or ranking metrics. `modules/gap_analyzer.py` identifies missing or insufficient skills relative to a selected/recommended role. The control flow is likely: candidate profile + role requirements → score → skill-gap result.

#### Recommendations and roadmap generation
`modules/recommender.py` uses profile, role data, and scoring results to select or rank relevant career roles. `modules/roadmap_generator.py` transforms a target role and identified gaps into actionable learning or project recommendations, likely drawing on `data/projects.csv`.

#### Runtime and orchestration boundaries
The repository is a Python application, with dependencies declared in `requirements.txt` and environment setup available through `.devcontainer/devcontainer.json`. `app.py` is responsible for orchestrating the end-to-end flow and presenting results; `modules/` should remain the domain-processing layer. The only visible external-data dependencies are local PDFs and CSV knowledge-base files; no hosted service, database, or API integration is evident from the repository tree.

Main entry points: [`modules/recommender.py`](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/recommender.py) (Role Recommender), [`modules/gap_analyzer.py`](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/gap_analyzer.py) (Gap Analyzer), [`modules/roadmap_generator.py`](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/roadmap_generator.py) (Roadmap Generator), [`data/roles.csv`](https://github.com/srirama23/project-recommendation-v1/blob/main/data/roles.csv) (Roles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application"]
  node_app["App Orchestrator<br/>Python entry point<br/>[app.py]"]
  node_resume_pdfs["Resume PDFs<br/>local documents<br/>[resume.pdf]"]
  node_career_plan["Career Results<br/>application output"]
end

subgraph group_pipeline["Candidate Pipeline"]
  node_pdf_parser["PDF Parser<br/>ingestion module<br/>[pdf_parser.py]"]
  node_resume_text["Resume Text<br/>pipeline data"]
  node_skill_extractor["Skill Extractor<br/>analysis module<br/>[skill_extractor.py]"]
  node_candidate_profile["Candidate Profile<br/>normalized profile"]
  node_profile_builder["Profile Builder<br/>profile module<br/>[profile_builder.py]"]
end

subgraph group_knowledge["Career Knowledge Base"]
  node_roles_csv[("Roles<br/>role dataset<br/>[roles.csv]")]
  node_skills_csv[("Skills<br/>skill dataset<br/>[skills.csv]")]
  node_projects_csv[("Projects<br/>project dataset<br/>[projects.csv]")]
end

subgraph group_planning["Matching &amp; Planning"]
  node_scorer["Fit Scorer<br/>scoring module<br/>[scorer.py]"]
  node_recommender["Role Recommender<br/>recommendation module<br/>[recommender.py]"]
  node_gap_analyzer["Gap Analyzer<br/>analysis module<br/>[gap_analyzer.py]"]
  node_roadmap_generator["Roadmap Generator<br/>planning module"]
end

node_resume_pdfs -->|"parse"| node_pdf_parser
node_app -->|"orchestrates"| node_pdf_parser
node_pdf_parser -->|"extracts"| node_resume_text
node_resume_text -->|"analyze"| node_skill_extractor
node_skill_extractor -->|"extracted skills"| node_profile_builder
node_profile_builder -->|"normalizes"| node_candidate_profile
node_skills_csv -->|"skill reference"| node_skill_extractor
node_candidate_profile -->|"candidate attributes"| node_scorer
node_roles_csv -->|"role requirements"| node_scorer
node_candidate_profile -->|"candidate profile"| node_recommender
node_roles_csv -->|"available roles"| node_recommender
node_scorer -->|"fit scores"| node_recommender
node_candidate_profile -->|"current skills"| node_gap_analyzer
node_roles_csv -->|"target requirements"| node_gap_analyzer
node_recommender -->|"selected role"| node_gap_analyzer
node_gap_analyzer -->|"skill gaps"| node_roadmap_generator
node_recommender -->|"target role"| node_roadmap_generator
node_projects_csv -->|"project options"| node_roadmap_generator
node_roadmap_generator -->|"development roadmap"| node_career_plan
node_app -->|"presents"| node_career_plan

click node_app "https://github.com/srirama23/project-recommendation-v1/blob/main/app.py"
click node_resume_pdfs "https://github.com/srirama23/project-recommendation-v1/blob/main/resume.pdf"
click node_pdf_parser "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/pdf_parser.py"
click node_skill_extractor "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/skill_extractor.py"
click node_profile_builder "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/profile_builder.py"
click node_roles_csv "https://github.com/srirama23/project-recommendation-v1/blob/main/data/roles.csv"
click node_skills_csv "https://github.com/srirama23/project-recommendation-v1/blob/main/data/skills.csv"
click node_projects_csv "https://github.com/srirama23/project-recommendation-v1/blob/main/data/projects.csv"
click node_scorer "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/scorer.py"
click node_recommender "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/recommender.py"
click node_gap_analyzer "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/gap_analyzer.py"
click node_roadmap_generator "https://github.com/srirama23/project-recommendation-v1/blob/main/modules/roadmap_generator.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_resume_pdfs,node_career_plan toneBlue
class node_pdf_parser,node_resume_text,node_skill_extractor,node_candidate_profile,node_profile_builder toneAmber
class node_roles_csv,node_skills_csv,node_projects_csv toneMint
class node_scorer,node_recommender,node_gap_analyzer,node_roadmap_generator toneRose
```

## Components

### Application

- [App Orchestrator](https://github.com/srirama23/project-recommendation-v1/blob/main/app.py): Python entry point · Coordinates the resume-to-career-planning flow and presents results. · `app.py`
- [Resume PDFs](https://github.com/srirama23/project-recommendation-v1/blob/main/resume.pdf): local documents · `resume.pdf`
- **Career Results**: application output · Role recommendations, fit, gaps, and development roadmap.

### Candidate Pipeline

- [PDF Parser](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/pdf_parser.py): ingestion module · `modules/pdf_parser.py`
- **Resume Text**: pipeline data
- [Skill Extractor](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/skill_extractor.py): analysis module · `modules/skill_extractor.py`
- **Candidate Profile**: normalized profile · Internal representation of resume-derived candidate attributes.
- [Profile Builder](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/profile_builder.py): profile module · `modules/profile_builder.py`

### Career Knowledge Base

- [Roles](https://github.com/srirama23/project-recommendation-v1/blob/main/data/roles.csv): role dataset · Curated target-role requirements. · `data/roles.csv`
- [Skills](https://github.com/srirama23/project-recommendation-v1/blob/main/data/skills.csv): skill dataset · `data/skills.csv`
- [Projects](https://github.com/srirama23/project-recommendation-v1/blob/main/data/projects.csv): project dataset · `data/projects.csv`

### Matching & Planning

- [Fit Scorer](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/scorer.py): scoring module · `modules/scorer.py`
- [Role Recommender](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/recommender.py): recommendation module · Ranks relevant career roles. · `modules/recommender.py`
- [Gap Analyzer](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/gap_analyzer.py): analysis module · Finds missing or insufficient target-role skills. · `modules/gap_analyzer.py`
- [Roadmap Generator](https://github.com/srirama23/project-recommendation-v1/blob/main/modules/roadmap_generator.py): planning module · Produces actionable learning and project recommendations. · `modules/roadmap_generator.py`

## Connections

- Resume PDFs → PDF Parser: parse
- App Orchestrator → PDF Parser: orchestrates
- PDF Parser → Resume Text: extracts
- Resume Text → Skill Extractor: analyze
- Skill Extractor → Profile Builder: extracted skills
- Profile Builder → Candidate Profile: normalizes
- Skills → Skill Extractor: skill reference
- Candidate Profile → Fit Scorer: candidate attributes
- Roles → Fit Scorer: role requirements
- Candidate Profile → Role Recommender: candidate profile
- Roles → Role Recommender: available roles
- Fit Scorer → Role Recommender: fit scores
- Candidate Profile → Gap Analyzer: current skills
- Roles → Gap Analyzer: target requirements
- Role Recommender → Gap Analyzer: selected role
- Gap Analyzer → Roadmap Generator: skill gaps
- Role Recommender → Roadmap Generator: target role
- Projects → Roadmap Generator: project options
- Roadmap Generator → Career Results: development roadmap
- App Orchestrator → Career Results: presents
