CV Matcher is a tool designed to match job descriptions with candidate CVs/resumes using advanced text analysis and matching algorithms.
cv_matcher/
├── README.md # Project documentation and setup instructions
├── Dockerfile # Container configuration
├── requirements.txt # Python dependencies
├── src/
│ ├── __init__.py
│ ├── main.py # Application entry point
│ ├── api/ # API endpoints
│ ├── core/ # Core matching logic
│ ├── models/ # Data models
│ └── utils/ # Utility functions
├── tests/ # Test suite
└── docs/ # Additional documentation
- Backend: Python 3.12+
- API Framework: FastAPI
- Text Processing: MarkItDown
- ML/AI: Pydantic AI
- Docker: Containerization
- Testing: pytest
-
CV Processing
- PDF/DOCX parsing
- Text extraction
- Structure recognition
- Skills extraction
- Experience mapping
-
Job Description Processing
- Requirements extraction
- Skills identification
- Experience level detection
- Must-have vs. nice-to-have classification
-
Matching Engine
- Skills matching
- Experience matching
- Education matching
- Scoring system
- Ranking algorithm
-
API Endpoints
- Upload CV
- Submit job description
- Get matching results
- Manage candidates
- Manage job postings
classDiagram
class AIClient {
-_model
-_model_settings
-_cache_dir
+run(prompt, max_tokens, system_prompt, result_type, use_cache)
}
class ResumeAnalysisService {
-client: AIClient
-analyzer: JobAnalyzer
-markitdown: MarkItDown
-console: Console
+process_files(resume_path, job_desc_path)
+analyze_resume(resume_text, job_description)
+show_analysis_result(result)
}
class JobAnalyzer {
-client: AIClient
-_resume_processor: ResumeProcessor
-_criteria_evaluator: CriteriaEvaluator
-_red_flag_analyzer: RedFlagAnalyzer
+unify_resume(resume_text)
+extract_job_requirements(job_description)
+match_resume(resume_text, job_description, job_requirements)
}
class ResumeProcessor {
-client: AIClient
+unify_resume(resume_text)
+get_website(resume_text)
}
class CriteriaEvaluator {
-client: AIClient
+evaluate_criterion(criterion, resume_text, job_requirements)
}
class RedFlagAnalyzer {
+analyze(criteria)
}
class DetailedMatchResult {
+overall_score: int
+criteria_scores: List[ScoringCriterion]
+match_reasons: str
+red_flags: Dict[str, List[str]]
+website: Optional[str]
}
class ScoringCriterion {
+name: str
+key: str
+weight: int
+description: str
+factors: List[str]
+score: Optional[int]
}
class JobRequirements {
+required_experience_years: int
+required_education_level: str
+required_skills: List[str]
+optional_skills: List[str]
+certifications_preferred: List[str]
+soft_skills: List[str]
+keywords_to_match: List[str]
+location: Location
+emphasis: Emphasis
}
ResumeAnalysisService --> AIClient
ResumeAnalysisService --> JobAnalyzer
JobAnalyzer --> ResumeProcessor
JobAnalyzer --> CriteriaEvaluator
JobAnalyzer --> RedFlagAnalyzer
JobAnalyzer --> AIClient
ResumeProcessor --> AIClient
CriteriaEvaluator --> AIClient
JobAnalyzer ..> DetailedMatchResult
JobAnalyzer ..> JobRequirements
DetailedMatchResult --> ScoringCriterion
- Initialize project structure
- Set up development environment
- Configure Docker
- Implement basic API structure
- Set up database models
- Implement CV parsing
- Implement job description parsing
- Create basic text processing utilities
- Set up initial matching logic
- Implement ML-based matching
- Add scoring system
- Create ranking algorithm
- Implement advanced filters
- Complete REST API endpoints
- Add authentication
- Implement rate limiting
- Add API documentation
- Write unit tests
- Add integration tests
- Set up CI/CD
- Prepare production deployment
- Implement JWT authentication
- Secure file uploads
- Rate limiting
- Input validation
- Data encryption
- CORS configuration
- Environment variables for sensitive data
- Request logging
- Error tracking
- Performance metrics
- API usage statistics
- System health monitoring
- Follow PEP 8 style guide
- Write comprehensive docstrings
- Maintain test coverage >80%
- Use type hints
- Regular code reviews
- Version control best practices
- Docker-based deployment
- Scalable architecture
- Load balancing
- Monitoring setup
- CI/CD pipeline
- AI-powered matching improvements
- Resume parsing accuracy
- Additional file format support
- Advanced analytics