How umesh-kale0777/rolefit-ai works
RoleFit AI is a resume-screening product. A job seeker submits a PDF and job description in the React interface; the backend parses and preprocesses them, extracts skills, computes hybrid scoring and explainability, and concurrently produces project analysis, bias findings, and interview questions before the frontend displays results. The README documents the main capabilities; unsampled-module links are included only where the source index or README supports them.
Main entry points: analyze.py Analysis endpoint · Home.jsx Analysis page · scorer.py Hybrid scoring · analyze.js Analysis API client
Components 21
Web client
- Analysis page
frontend/src/pages/Home.jsx - Resume uploader
frontend/src/components/ResumeUploader.jsx - Analysis API client
frontend/src/api/analyze.js - Results views
frontend/src/components/ScoreCard.jsx - Project results
frontend/src/components/ProjectAnalysis.jsx - Score explanation
frontend/src/components/Explainability.jsx - Bias report
frontend/src/components/BiasReport.jsx - Interview questions
frontend/src/components/InterviewQuestions.jsx
API and orchestration
- FastAPI application
backend/app/main.py - Analysis endpoint
backend/app/routers/analyze.py - Response schema
backend/app/models/schemas.py
Resume analysis
- PDF parser
backend/app/ai/parser.py - Text preprocessing
backend/app/ai/preprocessor.py - Skill extraction
backend/app/ai/skill_extractor.py - Hybrid scoring
backend/app/ai/scorer.py - Text embeddings
backend/app/ai/embedder.py - Project analysis
backend/app/ai/project_extractor.py
AI insights
- Bias detection
backend/app/ai/bias_detector.py - Question generation
backend/app/ai/interview_gen.py
Other components
- Job seeker
- Gemini API
Connections 21
- Job seeker → Analysis page: submits inputs
frontend/src/pages/Home.jsx - Analysis page → Resume uploader: renders
frontend/src/pages/Home.jsx - Analysis page → Analysis API client: calls analysis
frontend/src/pages/Home.jsx - Analysis API client → Analysis endpoint: POST analysis
README.md - Analysis page → Results views: renders results
frontend/src/pages/Home.jsx - Analysis page → Project results: renders results
frontend/src/pages/Home.jsx - Analysis page → Score explanation: renders results
frontend/src/pages/Home.jsx - Analysis page → Bias report: renders results
frontend/src/pages/Home.jsx - Analysis page → Interview questions: renders results
frontend/src/pages/Home.jsx - FastAPI application → Analysis endpoint: mounts router
backend/app/main.py - Analysis endpoint → PDF parser: parses PDF
backend/app/routers/analyze.py - Analysis endpoint → Text preprocessing: preprocesses text
backend/app/routers/analyze.py - Analysis endpoint → Skill extraction: extracts skills
backend/app/routers/analyze.py - Analysis endpoint → Hybrid scoring: calculates score
backend/app/routers/analyze.py - Hybrid scoring → Text embeddings: uses embeddings
backend/app/ai/scorer.py - Hybrid scoring → Skill extraction: uses skill coverage
backend/app/ai/scorer.py - Hybrid scoring → Project analysis: analyzes projects
backend/app/ai/scorer.py - Analysis endpoint → Bias detection: checks job text
backend/app/routers/analyze.py - Analysis endpoint → Question generation: generates questions
backend/app/routers/analyze.py - Question generation → Gemini API: requests questions
backend/app/ai/interview_gen.py - Analysis endpoint → Response schema: builds response
backend/app/routers/analyze.py