How lochan87/resume_ranker works
This is a resume-screening and ranking product exposed through a CLI and a FastAPI wrapper. Its principal workflow ingests and deduplicates resumes, extracts candidate details, applies deterministic eligibility rules, enriches eligible candidates with GitHub data, assesses and scores them, then exports ranked results. The pipeline owns the screening-stage calls; the CLI and API own pipeline invocation and report handling. The graph also shows configuration, shared schemas, and external services. Some pipeline wiring is supported by the source index rather than a complete excerpt; unsampled implementation details are not inferred.
Main entry points: pipeline.py Screening pipeline · main.py CLI · api.py Screening API · report.py Report exporters
Components 17
Entry points
- CLI
main.py - Screening API
src/api.py
Resume screening
- Screening pipeline
src/pipeline.py - Resume ingestion
src/ingestion.py - Candidate extraction
src/extraction.py - Eligibility filter
src/eligibility.py
Assessment and enrichment
- GitHub enrichment
src/github_enrichment.py - LLM assessment
src/llm.py - Scoring and ranking
src/scoring.py
Configuration and results
- Runtime configuration
src/config.py - Shared data models
src/models.py - Report exporters
src/report.py - JSON and CSV files
Other components
- CLI user
- API client
- Google Gemini
- GitHub REST API
Connections 19
- CLI user → CLI: runs CLI
main.py - CLI → Screening pipeline: runs screening
main.py - CLI → Report exporters: exports results
main.py - API client → Screening API: submits request
src/api.py - Screening API → Screening pipeline: runs screening
src/api.py - Screening API → Report exporters: exports results
src/api.py - Screening API → JSON and CSV files: reads results
src/api.py - Screening pipeline → Resume ingestion: ingests resumes
src/pipeline.py - Screening pipeline → Candidate extraction: extracts details
src/pipeline.py - Screening pipeline → Eligibility filter: checks eligibility
src/pipeline.py - Screening pipeline → GitHub enrichment: fetches profiles
src/pipeline.py - Screening pipeline → LLM assessment: assesses candidates
src/pipeline.py - Screening pipeline → Scoring and ranking: assembles scores
src/pipeline.py - Screening pipeline → Shared data models: uses schemas
src/pipeline.py - LLM assessment → Google Gemini: requests evaluation
src/llm.py - GitHub enrichment → GitHub REST API: queries profiles
src/github_enrichment.py - CLI → Runtime configuration: reads defaults
main.py - Report exporters → Runtime configuration: reads privacy setting
src/report.py - Report exporters → JSON and CSV files: writes exports